WO2016155248A1 - Method and device for using software - Google Patents

Method and device for using software Download PDF

Info

Publication number
WO2016155248A1
WO2016155248A1 PCT/CN2015/089463 CN2015089463W WO2016155248A1 WO 2016155248 A1 WO2016155248 A1 WO 2016155248A1 CN 2015089463 W CN2015089463 W CN 2015089463W WO 2016155248 A1 WO2016155248 A1 WO 2016155248A1
Authority
WO
WIPO (PCT)
Prior art keywords
software
running
information
installation package
virtual disk
Prior art date
Application number
PCT/CN2015/089463
Other languages
French (fr)
Chinese (zh)
Inventor
张蕾
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016155248A1 publication Critical patent/WO2016155248A1/en

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

Definitions

  • Embodiments of the present invention relate to, but are not limited to, computer software technology, and more particularly to a method and apparatus for using software.
  • the software installation package is mainly used to set the operating environment of the software in the computer, such as the registry information in the Windows operating system, and save the software data in the computer. It is not difficult to see that the software installation package mainly consists of environment setting information for setting the software running environment and data information for obtaining software data by mapping such as decompression.
  • the environment setting information is much smaller than the data information, so the size of the installation package is mainly determined by the size of the data information; accordingly, the size of the software running environment is also much smaller than the software data. the size of.
  • the operating environment of the software taking the Windows operating system as an example, usually includes registry information and system files for software startup and operation; software data refers to a specific directory structure obtained by installing software and specific data stored therein, In order to implement specific functions of the software, it is obvious that different software has different software data.
  • the software is usually started by calling the startup program provided by the software, such as by double-clicking the software startup program icon in the Windows operating system. It is easily understood by those skilled in the art that after the software is started, the method for using the software in the related art includes: querying the location information of the software data saved by the software running environment, and reading the software data for running the software from the queried location information. Run information in and load into local memory. At this point, the software has finished booting.
  • the method of using the software in the related art is generally divided into a method of locally using software and a method of remotely using software.
  • the method of using software locally is essentially to support the use of software by installing the operating environment and software data of the software on a local computer.
  • the method of remotely using software is essentially a method of installing the software's operating environment and software data in a remote computer and supporting the remote use of the software by the local computer.
  • the method of remotely using software has The advantages of saving local storage space and effectively managing software in a centralized manner have been widely used.
  • the method of remotely using software in the related art requires stability and network transmission delay for a communication network supporting the remote communication due to the need to support remote communication between the local computer and the remote computer in real time to support remote use of the software by the local computer.
  • the requirements are relatively high, and the transmission delay of the interactive command for running the software operation from the local computer to the remote computer is usually large, and the delay corresponding to the interactive command is also increased accordingly, so that the software needs to frequently send interactive commands. Reduces the fluency of software interaction and affects the user experience.
  • Embodiments of the present invention provide a method and apparatus for using software, which can save local storage space, implement effective management software, and ensure software interaction fluency.
  • the location information of the software data saved by the software running environment of the software is inquired, and the running information in the software data is read from the queried location information and loaded into the local memory;
  • the queried location information points to the storage space of the mounted local virtual disk.
  • the running environment of the setting software includes: setting a software running environment by running a preset software installation package, where the software installation package is used to set an operating environment of the software to be used.
  • the software installation package is green
  • the running environment of the software is set in a silent manner during operation.
  • the software installation package includes mounting indication information
  • the mounting means mounting the remote meter according to the mounting indication information in the software installation package.
  • the computer is a local virtual disk.
  • the method further includes: after the software is closed, releasing the loaded device in the memory The operating information of the software is required.
  • An embodiment of the present invention further provides an apparatus for using software, including a running environment setting unit, a virtual disk mounting unit, and a running information loading unit, where
  • the operating environment setting unit is configured to set an operating environment in which software is to be used
  • the virtual disk mount unit is configured to mount a remote computer for storing software data of a preset software to be used as a local virtual disk;
  • the operation information loading unit is configured to query the location information of the software data saved by the software running environment of the software to be used, and read the running information in the software data from the queried location information and load the information into the local memory;
  • the location information that is queried refers to the storage space of the mounted local virtual disk.
  • the running environment setting unit is configured to: set an operating environment of the software by running a preset software installation package, where the software installation package is used to set an operating environment of the software to be used.
  • the software installation package is green
  • the running environment of the software is set in a silent manner during operation.
  • the software installation package includes mounting indication information
  • the virtual disk mount unit is configured to mount the remote computer as a local virtual disk according to the mount indication information in the software installation package.
  • the running information loading unit is further configured to: release the running information of the software to be used loaded in the memory.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
  • the technical solution of the embodiment of the present invention includes: setting an operating environment of the software;
  • the remote computer for storing the software data of the preset software to be used is a local virtual disk; after starting the software, the location information of the software data saved by the software running environment of the software is used for querying, and the location information from the query is obtained.
  • the running information in the software data is read and loaded into the local memory; wherein the queried location information points to the storage space of the mounted local virtual disk.
  • the running information of the software is loaded from the remote computer into the local memory through the locally set software running environment, and the software data containing the running information is saved in the remote computer, so that, on the one hand, The software data stored remotely is much larger than the software running environment of the local storage, thus saving the local storage space; on the other hand, by supporting the remote management software in a centralized manner, the efficiency of the management software is improved, and the effective management software is realized; After loading the running information of the software into the local memory, the interaction fluency of the software is equivalent to the interaction fluency of the locally used software, thus ensuring the smoothness of the software interaction.
  • FIG. 1 is a flow chart of a method for using software according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a device for using software according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for using software according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
  • Step 101 Set an operating environment in which the software is to be used
  • the running environment of the software may be set by running a software installation package set in advance, and the software installation package is used to set an operating environment in which software (ie, software to be used) is to be used.
  • the set running environment includes the startup program that needs to use the software.
  • the environment information of the operating system before and after the software installation can be compared, and the new information in the environment information of the operating system after the software installation can be obtained, and the required information can be generated according to the obtained new information.
  • a software installation package that uses the software's runtime environment.
  • the software installation package can be greened (green software refers to software that can be run without installation) to realize the running environment in which the software is set in a silent manner during operation.
  • Step 102 Mounting a remote computer for storing software data of a preset software to be used as a local virtual disk;
  • the software installation package further includes the mounting indication information.
  • the mounting in step 102 refers to: mounting the remote computer as a local virtual disk according to the mounting indication information in the software installation package. among them,
  • the remote computer can be mounted as a local virtual disk according to a remote mount protocol in the related art, such as the Common Internet File System (CIFS) protocol.
  • CIFS Common Internet File System
  • Step 103 After starting the software to be used, query the location information of the software data saved by the software running environment of the software, and read the running information in the software data from the queried location information and load it into the local memory. . among them,
  • the operational information is information required to run the software.
  • the queried location information points to the storage space of the mounted local virtual disk, corresponding to the storage space in the remote computer that has been mounted as a local virtual disk. Therefore, the operation information in the software data is read from the queried location information in step 103, and the operation information is substantially read from the storage space in the corresponding remote computer that has been mounted as a local virtual disk.
  • the method further includes: after the software is used to be closed, releasing the running information of the software to be used loaded in the memory.
  • FIG. 2 is a schematic diagram showing the structure of an apparatus for using software according to an embodiment of the present invention, and the apparatus is disposed in a local computer.
  • the operating environment setting unit 201, the virtual disk mounting unit 202, and the running information loading unit 203 are included, wherein
  • the operating environment setting unit 201 is configured to set an operating environment in which software is to be used
  • the virtual disk mount unit 202 is configured to mount a remote computer for storing software data of a preset software to be used as a local virtual disk;
  • the operation information loading unit 203 is configured to query the location information of the software data saved by the software running environment of the software to be used, and read the running information in the software data from the queried location information and load the information into the local memory;
  • the location information that is queried refers to the storage space of the mounted local virtual disk.
  • the running environment setting unit 201 is configured to: set an operating environment of the software by running a preset software installation package, where the software installation package is used to set an operating environment in which the software is to be used.
  • the software installation package further includes the mounting indication information.
  • the virtual disk mounting unit 202 is configured to mount the remote computer as a local virtual disk according to the mounting indication information in the software installation package.
  • the software installation package is green, and the running environment of the software is set in a silent manner during operation.
  • the operation information loading unit 201 is further configured to: release the running information of the software to be used loaded in the memory.
  • the running information of the software is loaded from the remote computer into the local memory through the locally set software running environment, and the software data containing the running information is saved in the remote computer, so that, on the one hand, Remotely stored software data is much larger than the locally stored software operating environment, thus saving local storage space; on the other hand, due to support set
  • the medium-mode remote management software improves the efficiency of the management software and realizes effective management software.
  • the interaction fluency of the software is equivalent to the interaction fluency of the local software, and thus The software interaction fluency is guaranteed.

Abstract

A method and device for using software. The method comprises: setting a running environment in which software is required to be used (101);mounting a remote computer, which is used for storing preset software data of the software required to be used, as a local virtual disk (102); and after starting the software required to be used, querying position information about the software data saved in the software running environment thereof, reading running information in the software data from the queried position information and loading same to a local memory, wherein the queried position information points to a storage space (103) of the mounted local virtual disk.

Description

一种使用软件的方法和装置Method and device for using software 技术领域Technical field
本发明实施例涉及但不限于计算机软件技术,尤指一种使用软件的方法和装置。Embodiments of the present invention relate to, but are not limited to, computer software technology, and more particularly to a method and apparatus for using software.
背景技术Background technique
随着计算机的日益普及,计算机软件(本文中简称软件)成为人们日常生活中经常需要使用的工具。通常,在使用软件之前需要通过运行软件安装包安装软件,软件安装包主要用于设置计算机中软件的运行环境如视窗操作系统中的注册表信息,以及将软件数据保存在计算机中。不难看出,软件安装包主要由用于设置软件运行环境的环境设置信息和用于通过映射如解压缩得到软件数据的数据信息组成。本领域技术人员可以理解的是,通常软件安装包中,环境设置信息远小于数据信息,这样安装包的大小主要由其中数据信息的大小决定;相应地,软件运行环境的大小也远小于软件数据的大小。软件的运行环境,以视窗操作系统为例来看,通常包括用于软件启动和运行的注册表信息和系统文件;软件数据是指通过安装软件得到的特定目录结构和其中存储的特定数据,用于实现软件的特定功能,显然,不同的软件具有不同的软件数据。With the increasing popularity of computers, computer software (referred to as software in this article) has become a tool that people often need in their daily lives. Usually, you need to install the software by running the software installation package before using the software. The software installation package is mainly used to set the operating environment of the software in the computer, such as the registry information in the Windows operating system, and save the software data in the computer. It is not difficult to see that the software installation package mainly consists of environment setting information for setting the software running environment and data information for obtaining software data by mapping such as decompression. It can be understood by those skilled in the art that in the software installation package, the environment setting information is much smaller than the data information, so the size of the installation package is mainly determined by the size of the data information; accordingly, the size of the software running environment is also much smaller than the software data. the size of. The operating environment of the software, taking the Windows operating system as an example, usually includes registry information and system files for software startup and operation; software data refers to a specific directory structure obtained by installing software and specific data stored therein, In order to implement specific functions of the software, it is obvious that different software has different software data.
通常通过调用软件对外提供的启动程序,如在视窗操作系统中通过双击软件启动程序图标,启动软件。本领域技术人员容易理解的是,启动软件后,相关技术中使用软件的方法包括:查询软件运行环境保存的软件数据的位置信息,从查询到的位置信息处读取用于运行软件的软件数据中的运行信息并加载到本地内存中。至此软件完成启动。The software is usually started by calling the startup program provided by the software, such as by double-clicking the software startup program icon in the Windows operating system. It is easily understood by those skilled in the art that after the software is started, the method for using the software in the related art includes: querying the location information of the software data saved by the software running environment, and reading the software data for running the software from the queried location information. Run information in and load into local memory. At this point, the software has finished booting.
按照软件的安装位置,相关技术中使用软件的方法通常分为本地使用软件的方法和远程使用软件的方法。本地使用软件的方法实质上是,通过将软件的运行环境和软件数据安装在本地计算机中支持使用软件的方法。远程使用软件的方法实质上是,通过将软件的运行环境和软件数据安装在远程计算机中并支持本地计算机远程使用软件的方法。远程使用软件的方法由于具有 节省本地存储空间,以及以集中方式有效管理软件等优势,得到了广泛地应用。然而,相关技术中的远程使用软件的方法,由于需要实时支持本地计算机与远程计算机之间的远程通信以支持本地计算机远程使用软件,对支持该远程通信的通信网络的稳定性和网络传输延时均要求较高,而且通常从本地计算机向远程计算机发送运行软件操作的交互命令的传输延时较大,相应地响应交互命令的延时也随之增大,这样对于需要频繁发送交互命令的软件,降低了软件交互流畅度,影响了用户体验。According to the installation location of the software, the method of using the software in the related art is generally divided into a method of locally using software and a method of remotely using software. The method of using software locally is essentially to support the use of software by installing the operating environment and software data of the software on a local computer. The method of remotely using software is essentially a method of installing the software's operating environment and software data in a remote computer and supporting the remote use of the software by the local computer. The method of remotely using software has The advantages of saving local storage space and effectively managing software in a centralized manner have been widely used. However, the method of remotely using software in the related art requires stability and network transmission delay for a communication network supporting the remote communication due to the need to support remote communication between the local computer and the remote computer in real time to support remote use of the software by the local computer. The requirements are relatively high, and the transmission delay of the interactive command for running the software operation from the local computer to the remote computer is usually large, and the delay corresponding to the interactive command is also increased accordingly, so that the software needs to frequently send interactive commands. Reduces the fluency of software interaction and affects the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种使用软件的方法和装置,能够节省本地存储空间,实现有效管理软件,同时也能够保证软件交互流畅度。Embodiments of the present invention provide a method and apparatus for using software, which can save local storage space, implement effective management software, and ensure software interaction fluency.
本发明实施例提供的一种使用软件的方法,包括:A method for using software provided by an embodiment of the present invention includes:
设置需使用软件的运行环境;Set the operating environment in which the software is to be used;
挂载用于存储预先设置的需使用软件的软件数据的远程计算机为本地虚拟磁盘;Mounting a remote computer for storing software data of a preset software to be used as a local virtual disk;
启动所述需使用软件后,查询所述需使用软件的软件运行环境保存的软件数据的位置信息,从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中;其中,所述查询到的位置信息指向已挂载的本地虚拟磁盘的存储空间。After the software is started, the location information of the software data saved by the software running environment of the software is inquired, and the running information in the software data is read from the queried location information and loaded into the local memory; The queried location information points to the storage space of the mounted local virtual disk.
可选地,其中,所述设置软件的运行环境包括:通过运行预先设置的软件安装包设置软件运行环境,所述软件安装包用于设置所述需使用软件的运行环境。Optionally, the running environment of the setting software includes: setting a software running environment by running a preset software installation package, where the software installation package is used to set an operating environment of the software to be used.
可选地,其中,所述软件安装包被绿色化,运行中以静默方式设置软件的运行环境。Optionally, wherein the software installation package is green, and the running environment of the software is set in a silent manner during operation.
可选地,其中,所述软件安装包包括挂载指示信息;Optionally, wherein the software installation package includes mounting indication information;
所述挂载是指:根据所述软件安装包中的挂载指示信息挂载所述远程计 算机为本地虚拟磁盘。The mounting means: mounting the remote meter according to the mounting indication information in the software installation package. The computer is a local virtual disk.
可选地,所述从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中之后,所述方法还包括:关闭所述需使用软件后,释放内存中已加载的所述需使用软件的运行信息。Optionally, after the running information in the software data is read from the queried location information and loaded into the local memory, the method further includes: after the software is closed, releasing the loaded device in the memory The operating information of the software is required.
本发明实施例还提供了一种使用软件的装置,包括运行环境设置单元、虚拟磁盘挂载单元和运行信息加载单元,其中,An embodiment of the present invention further provides an apparatus for using software, including a running environment setting unit, a virtual disk mounting unit, and a running information loading unit, where
所述运行环境设置单元,设置为设置需使用软件的运行环境;The operating environment setting unit is configured to set an operating environment in which software is to be used;
所述虚拟磁盘挂载单元,设置为挂载用于存储预先设置的需使用软件的软件数据的远程计算机为本地虚拟磁盘;The virtual disk mount unit is configured to mount a remote computer for storing software data of a preset software to be used as a local virtual disk;
所述运行信息加载单元,设置为查询所述需使用软件的软件运行环境保存的软件数据的位置信息,从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中;其中,所述查询到的位置信息指向已挂载的本地虚拟磁盘的存储空间。The operation information loading unit is configured to query the location information of the software data saved by the software running environment of the software to be used, and read the running information in the software data from the queried location information and load the information into the local memory; The location information that is queried refers to the storage space of the mounted local virtual disk.
可选地,其中,所述运行环境设置单元是设置为:通过运行预先设置的软件安装包设置软件的运行环境,所述软件安装包用于设置所述需使用软件的运行环境。Optionally, the running environment setting unit is configured to: set an operating environment of the software by running a preset software installation package, where the software installation package is used to set an operating environment of the software to be used.
可选地,其中,所述软件安装包被绿色化,运行中以静默方式设置软件的运行环境。Optionally, wherein the software installation package is green, and the running environment of the software is set in a silent manner during operation.
可选地,其中,所述软件安装包包括挂载指示信息;Optionally, wherein the software installation package includes mounting indication information;
所述虚拟磁盘挂载单元是设置为:根据所述软件安装包中的挂载指示信息挂载所述远程计算机为本地虚拟磁盘。The virtual disk mount unit is configured to mount the remote computer as a local virtual disk according to the mount indication information in the software installation package.
可选地,其中,所述运行信息加载单元还设置为:释放内存中已加载的所述需使用软件的运行信息。Optionally, the running information loading unit is further configured to: release the running information of the software to be used loaded in the memory.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上述方法。The embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
与相关技术相比,本发明实施例技术方案包括:设置软件的运行环境; 挂载用于存储预先设置的需使用软件的软件数据的远程计算机为本地虚拟磁盘;启动需使用软件后,查询需使用软件的软件运行环境保存的软件数据的位置信息,从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中;其中,查询到的位置信息指向已挂载的本地虚拟磁盘的存储空间。通过本发明实施例技术方案,实现了通过本地设置的软件运行环境来从远程计算机加载软件的运行信息到本地内存中,包含有运行信息的软件数据保存在远程计算机中,这样,一方面,由于远程存储的软件数据远大于本地存储的软件运行环境,因此节省了本地存储空间;另一方面,由于支持以集中方式远程管理软件,因此提高了管理软件的效率,实现了有效管理软件;而且,加载软件的运行信息到本地内存中后,软件的交互流畅度相当于本地使用软件的交互流畅度,这样也保证了软件交互流畅度。Compared with the related art, the technical solution of the embodiment of the present invention includes: setting an operating environment of the software; The remote computer for storing the software data of the preset software to be used is a local virtual disk; after starting the software, the location information of the software data saved by the software running environment of the software is used for querying, and the location information from the query is obtained. The running information in the software data is read and loaded into the local memory; wherein the queried location information points to the storage space of the mounted local virtual disk. Through the technical solution of the embodiment of the present invention, the running information of the software is loaded from the remote computer into the local memory through the locally set software running environment, and the software data containing the running information is saved in the remote computer, so that, on the one hand, The software data stored remotely is much larger than the software running environment of the local storage, thus saving the local storage space; on the other hand, by supporting the remote management software in a centralized manner, the efficiency of the management software is improved, and the effective management software is realized; After loading the running information of the software into the local memory, the interaction fluency of the software is equivalent to the interaction fluency of the locally used software, thus ensuring the smoothness of the software interaction.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例使用软件的方法的流程图;1 is a flow chart of a method for using software according to an embodiment of the present invention;
图2为本发明实施例使用软件的装置的组成结构示意图。FIG. 2 is a schematic structural diagram of a device for using software according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
图1为本发明实施例使用软件的方法的流程图,如图1所示,包括:FIG. 1 is a flowchart of a method for using software according to an embodiment of the present invention. As shown in FIG. 1, the method includes:
步骤101:设置需使用软件的运行环境;Step 101: Set an operating environment in which the software is to be used;
本步骤中,可以通过运行预先设置的软件安装包设置软件的运行环境,所述软件安装包用于设置需使用软件(即待使用软件)的运行环境。In this step, the running environment of the software may be set by running a software installation package set in advance, and the software installation package is used to set an operating environment in which software (ie, software to be used) is to be used.
需要说明的是,设置后的运行环境中包括需使用软件的启动程序。 It should be noted that the set running environment includes the startup program that needs to use the software.
本领域技术人员可以理解的是,可以通过比较软件安装前后的操作系统的环境信息,获取软件安装后的操作系统的环境信息中的新增信息,并根据获得的新增信息生成用于设置需使用软件的运行环境的软件安装包。It can be understood by those skilled in the art that the environment information of the operating system before and after the software installation can be compared, and the new information in the environment information of the operating system after the software installation can be obtained, and the required information can be generated according to the obtained new information. A software installation package that uses the software's runtime environment.
可选地,为了简化设置软件运行环境的复杂度,软件安装包可以被绿色化(绿色软件是指不需要安装就可以运行的软件),以实现其运行中以静默方式设置软件的运行环境。Optionally, in order to simplify the complexity of setting the software running environment, the software installation package can be greened (green software refers to software that can be run without installation) to realize the running environment in which the software is set in a silent manner during operation.
步骤102:挂载用于存储预先设置的需使用软件的软件数据的远程计算机为本地虚拟磁盘;Step 102: Mounting a remote computer for storing software data of a preset software to be used as a local virtual disk;
可选地,软件安装包还包括挂载指示信息,此时,步骤102中的挂载是指:根据软件安装包中的挂载指示信息挂载远程计算机为本地虚拟磁盘。其中,Optionally, the software installation package further includes the mounting indication information. In this case, the mounting in step 102 refers to: mounting the remote computer as a local virtual disk according to the mounting indication information in the software installation package. among them,
可以根据相关技术中远程挂载协议如普通互联网文件系统(CIFS,Common Internet File System)协议实现挂载远程计算机为本地虚拟磁盘。The remote computer can be mounted as a local virtual disk according to a remote mount protocol in the related art, such as the Common Internet File System (CIFS) protocol.
步骤103:启动所述需使用软件后,查询所述需使用软件的软件运行环境保存的软件数据的位置信息,从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中。其中,Step 103: After starting the software to be used, query the location information of the software data saved by the software running environment of the software, and read the running information in the software data from the queried location information and load it into the local memory. . among them,
所述运行信息为运行软件所需的信息。The operational information is information required to run the software.
所述查询到的位置信息指向已挂载的本地虚拟磁盘的存储空间,对应于已挂载为本地虚拟磁盘的远程计算机中的存储空间。因此,步骤103中的从查询到的位置信息处读取软件数据中的运行信息,实质上是从对应的已挂载为本地虚拟磁盘的远程计算机中的存储空间中读取运行信息。The queried location information points to the storage space of the mounted local virtual disk, corresponding to the storage space in the remote computer that has been mounted as a local virtual disk. Therefore, the operation information in the software data is read from the queried location information in step 103, and the operation information is substantially read from the storage space in the corresponding remote computer that has been mounted as a local virtual disk.
容易理解的是,可以通过调用需使用软件的启动程序启动需使用软件。It is easy to understand that the software to be used can be started by calling the startup program that needs to use the software.
可选地,为了节省内存空间,在步骤103之后还包括:关闭需使用软件后,释放内存中已加载的需使用软件的运行信息。Optionally, in order to save the memory space, after the step 103, the method further includes: after the software is used to be closed, releasing the running information of the software to be used loaded in the memory.
图2为本发明实施例使用软件的装置的组成结构示意图,该装置设置在本地计算机中。如图2所示,包括运行环境设置单元201、虚拟磁盘挂载单元202和运行信息加载单元203,其中,2 is a schematic diagram showing the structure of an apparatus for using software according to an embodiment of the present invention, and the apparatus is disposed in a local computer. As shown in FIG. 2, the operating environment setting unit 201, the virtual disk mounting unit 202, and the running information loading unit 203 are included, wherein
所述运行环境设置单元201,设置为设置需使用软件的运行环境; The operating environment setting unit 201 is configured to set an operating environment in which software is to be used;
所述虚拟磁盘挂载单元202,设置为挂载用于存储预先设置的需使用软件的软件数据的远程计算机为本地虚拟磁盘;The virtual disk mount unit 202 is configured to mount a remote computer for storing software data of a preset software to be used as a local virtual disk;
所述运行信息加载单元203,设置为查询所述需使用软件的软件运行环境保存的软件数据的位置信息,从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中;其中,所述查询到的位置信息指向已挂载的本地虚拟磁盘的存储空间。The operation information loading unit 203 is configured to query the location information of the software data saved by the software running environment of the software to be used, and read the running information in the software data from the queried location information and load the information into the local memory; The location information that is queried refers to the storage space of the mounted local virtual disk.
可选地,所述运行环境设置单元201是设置为:通过运行预先设置的软件安装包设置软件的运行环境,所述软件安装包用于设置需使用软件的运行环境。Optionally, the running environment setting unit 201 is configured to: set an operating environment of the software by running a preset software installation package, where the software installation package is used to set an operating environment in which the software is to be used.
可选地,所述软件安装包还包括挂载指示信息,此时,所述虚拟磁盘挂载单元202是设置为:根据软件安装包中的挂载指示信息挂载远程计算机为本地虚拟磁盘。Optionally, the software installation package further includes the mounting indication information. In this case, the virtual disk mounting unit 202 is configured to mount the remote computer as a local virtual disk according to the mounting indication information in the software installation package.
可选地,所述软件安装包被绿色化,运行中以静默方式设置软件的运行环境。Optionally, the software installation package is green, and the running environment of the software is set in a silent manner during operation.
可选地,运行信息加载单元201还设置为:释放内存中已加载的需使用软件的运行信息。Optionally, the operation information loading unit 201 is further configured to: release the running information of the software to be used loaded in the memory.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
工业实用性Industrial applicability
通过本发明实施例技术方案,实现了通过本地设置的软件运行环境来从远程计算机加载软件的运行信息到本地内存中,包含有运行信息的软件数据保存在远程计算机中,这样,一方面,由于远程存储的软件数据远大于本地存储的软件运行环境,因此节省了本地存储空间;另一方面,由于支持以集 中方式远程管理软件,因此提高了管理软件的效率,实现了有效管理软件;而且,加载软件的运行信息到本地内存中后,软件的交互流畅度相当于本地使用软件的交互流畅度,这样也保证了软件交互流畅度。 Through the technical solution of the embodiment of the present invention, the running information of the software is loaded from the remote computer into the local memory through the locally set software running environment, and the software data containing the running information is saved in the remote computer, so that, on the one hand, Remotely stored software data is much larger than the locally stored software operating environment, thus saving local storage space; on the other hand, due to support set The medium-mode remote management software improves the efficiency of the management software and realizes effective management software. Moreover, after loading the running information of the software into the local memory, the interaction fluency of the software is equivalent to the interaction fluency of the local software, and thus The software interaction fluency is guaranteed.

Claims (11)

  1. 一种使用软件的方法,包括:A method of using software, including:
    设置需使用软件的运行环境;Set the operating environment in which the software is to be used;
    挂载用于存储预先设置的需使用软件的软件数据的远程计算机为本地虚拟磁盘;Mounting a remote computer for storing software data of a preset software to be used as a local virtual disk;
    启动所述需使用软件后,查询所述需使用软件的软件运行环境保存的软件数据的位置信息,从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中;其中,所述查询到的位置信息指向已挂载的本地虚拟磁盘的存储空间。After the software is started, the location information of the software data saved by the software running environment of the software is inquired, and the running information in the software data is read from the queried location information and loaded into the local memory; The queried location information points to the storage space of the mounted local virtual disk.
  2. 根据权利要求1所述的方法,其中,所述设置需使用软件的运行环境包括:通过运行预先设置的软件安装包设置软件运行环境,所述软件安装包用于设置所述需使用软件的运行环境。The method according to claim 1, wherein the setting of the operating environment in which the software is to be used comprises: setting a software running environment by running a preset software installation package, the software installation package is used to set the running of the software to be used. surroundings.
  3. 根据权利要求2所述的方法,其中,所述软件安装包被绿色化,运行中以静默方式设置软件的运行环境。The method of claim 2, wherein the software installation package is greened, and the running environment of the software is set in a silent manner during operation.
  4. 根据权利要求2所述的方法,其中,所述软件安装包包括挂载指示信息;The method of claim 2, wherein the software installation package comprises mount indication information;
    所述挂载是指:根据所述软件安装包中的挂载指示信息挂载所述远程计算机为本地虚拟磁盘。The mounting means that the remote computer is mounted as a local virtual disk according to the mounting indication information in the software installation package.
  5. 根据权利要求1~4任一项所述的方法,所述从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中之后,所述方法还包括:关闭所述需使用软件后,释放内存中已加载的所述需使用软件的运行信息。The method according to any one of claims 1 to 4, after the operation information in the software data is read from the queried location information and loaded into the local memory, the method further comprises: closing the required use After the software, the running information of the software to be used loaded in the memory is released.
  6. 一种使用软件的装置,包括运行环境设置单元、虚拟磁盘挂载单元和运行信息加载单元,其中,An apparatus for using software, comprising a running environment setting unit, a virtual disk mounting unit, and a running information loading unit, wherein
    所述运行环境设置单元,设置为设置需使用软件的运行环境;The operating environment setting unit is configured to set an operating environment in which software is to be used;
    所述虚拟磁盘挂载单元,设置为挂载用于存储预先设置的需使用软件的软件数据的远程计算机为本地虚拟磁盘;The virtual disk mount unit is configured to mount a remote computer for storing software data of a preset software to be used as a local virtual disk;
    所述运行信息加载单元,设置为查询所述需使用软件的软件运行环境保 存的软件数据的位置信息,从查询到的位置信息处读取软件数据中的运行信息并加载到本地内存中;其中,所述查询到的位置信息指向已挂载的本地虚拟磁盘的存储空间。The operation information loading unit is configured to query the software running environment of the software to be used. The location information of the stored software data, the running information in the software data is read from the queried location information and loaded into the local memory; wherein the queried location information points to the storage space of the mounted local virtual disk .
  7. 根据权利要求6所述的装置,其中,所述运行环境设置单元是设置为:通过运行预先设置的软件安装包设置软件的运行环境,所述软件安装包用于设置所述需使用软件的运行环境。The apparatus according to claim 6, wherein the operating environment setting unit is configured to: set an operating environment of the software by running a software installation package set in advance, the software installation package for setting the running of the software to be used surroundings.
  8. 根据权利要求7所述的装置,其中,所述软件安装包被绿色化,运行中以静默方式设置软件的运行环境。The apparatus of claim 7, wherein the software installation package is greened, and the operating environment of the software is set in a silent manner during operation.
  9. 根据权利要求7所述的装置,其中,所述软件安装包包括挂载指示信息;The apparatus of claim 7, wherein the software installation package comprises mount indication information;
    所述虚拟磁盘挂载单元是设置为:根据所述软件安装包中的挂载指示信息挂载所述远程计算机为本地虚拟磁盘。The virtual disk mount unit is configured to mount the remote computer as a local virtual disk according to the mount indication information in the software installation package.
  10. 根据权利要求6~9任一项所述的装置,其中,所述运行信息加载单元还设置为:释放内存中已加载的所述需使用软件的运行信息。The apparatus according to any one of claims 6 to 9, wherein the operation information loading unit is further configured to: release operation information of the software to be used loaded in the memory.
  11. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-5任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed, can implement the method of any of claims 1-5.
PCT/CN2015/089463 2015-03-27 2015-09-11 Method and device for using software WO2016155248A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510142471.0A CN106155714A (en) 2015-03-27 2015-03-27 A kind of method and apparatus using software
CN201510142471.0 2015-03-27

Publications (1)

Publication Number Publication Date
WO2016155248A1 true WO2016155248A1 (en) 2016-10-06

Family

ID=57003916

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089463 WO2016155248A1 (en) 2015-03-27 2015-09-11 Method and device for using software

Country Status (2)

Country Link
CN (1) CN106155714A (en)
WO (1) WO2016155248A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5860012A (en) * 1993-09-30 1999-01-12 Intel Corporation Installation of application software through a network from a source computer system on to a target computer system
CN1916860A (en) * 2005-11-30 2007-02-21 许先才 Method and device for saving and restoring application environment of personal information in computer
CN101290584A (en) * 2007-04-17 2008-10-22 焦秀琴 Migrating software use mode based on system call wrapping technology
CN102279748A (en) * 2011-08-29 2011-12-14 焦秀琴 Method, system, server and client side for remotely storing locally executed software

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4788128B2 (en) * 2004-11-10 2011-10-05 セイコーエプソン株式会社 Execution environment maintenance system, execution environment maintenance device, and execution environment maintenance method
CN101771682A (en) * 2009-01-05 2010-07-07 英业达集团(天津)电子技术有限公司 System for realizing remote testing on computer device without storage device and testing method thereof
CN102054005A (en) * 2009-10-29 2011-05-11 腾讯科技(深圳)有限公司 Method and device for loading file
CN102722392B (en) * 2012-06-07 2015-11-25 腾讯科技(深圳)有限公司 Software running method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5860012A (en) * 1993-09-30 1999-01-12 Intel Corporation Installation of application software through a network from a source computer system on to a target computer system
CN1916860A (en) * 2005-11-30 2007-02-21 许先才 Method and device for saving and restoring application environment of personal information in computer
CN101290584A (en) * 2007-04-17 2008-10-22 焦秀琴 Migrating software use mode based on system call wrapping technology
CN102279748A (en) * 2011-08-29 2011-12-14 焦秀琴 Method, system, server and client side for remotely storing locally executed software

Also Published As

Publication number Publication date
CN106155714A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US8370826B2 (en) Automatically managing versioning of mashup widgets
US10042623B2 (en) Cloud based file system surpassing device storage limits
US9710186B2 (en) Performing online data migration with concurrent active user access to the data
TWI533213B (en) Storing and resuming application runtime state
US11899618B2 (en) Architecture for management of digital files across distributed network
US10146556B2 (en) System and method to perform an OS boot using service location protocol and launching OS using a dynamic update of network boot order without a reboot
US10282427B2 (en) Metadata storing technique
RU2009140733A (en) NETWORK DATA MANAGEMENT IN A DISTRIBUTED SET OF DEVICES
US11029932B2 (en) Hydration of applications
US20140082275A1 (en) Server, host and method for reading base image through storage area network
CN104808953B (en) Control the method, device and mobile terminal of data storage
US20210392091A1 (en) User-mode protocol stack-based network isolation method and device
US10389697B1 (en) Software container activation and throttling
US11176089B2 (en) Systems and methods for implementing dynamic file systems
CN107193563B (en) Method for managing server stateless firmware version
JP5876017B2 (en) Peripheral device control apparatus and information processing apparatus
WO2016155248A1 (en) Method and device for using software
WO2016188200A1 (en) Method and device for implementing partition switching
US20160062926A1 (en) Storage control devices and method therefor to invoke address thereof
CN114039851A (en) Automatic operation and maintenance method for communication equipment
TW201525724A (en) Portable electronic device, method for sharing file between two heterogeneous operating systems, recording medium and computer programs
WO2014009846A1 (en) Hybrid computer thread creation and management
KR20110068302A (en) System and method for controlling access based on shell in unix/linux system
US20130246614A1 (en) Method of updating agent service
JP2009211688A (en) Method, system, and computer program for migrating file

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15887204

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15887204

Country of ref document: EP

Kind code of ref document: A1