CN114546508B - Cloud access method and device for tool type application software - Google Patents

Cloud access method and device for tool type application software Download PDF

Info

Publication number
CN114546508B
CN114546508B CN202210187349.5A CN202210187349A CN114546508B CN 114546508 B CN114546508 B CN 114546508B CN 202210187349 A CN202210187349 A CN 202210187349A CN 114546508 B CN114546508 B CN 114546508B
Authority
CN
China
Prior art keywords
file
application software
browser
cloud
dependent
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
CN202210187349.5A
Other languages
Chinese (zh)
Other versions
CN114546508A (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.)
Glodon Co Ltd
Original Assignee
Glodon 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 Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202210187349.5A priority Critical patent/CN114546508B/en
Publication of CN114546508A publication Critical patent/CN114546508A/en
Application granted granted Critical
Publication of CN114546508B publication Critical patent/CN114546508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]
    • 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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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/44589Program code verification, e.g. Java bytecode verification, proof-carrying code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a cloud access method and device for tool type application software, wherein the method comprises the following steps: acquiring all dependent files corresponding to tool type application software, and storing all the dependent files to a cloud server; generating a second dynamic library file, a file list and a field definition file based on the all dependent files; the field definition file is used for determining display information of the application software in the browser; sending a cloud access request corresponding to the application software to the cloud server through a local browser, wherein the cloud access request comprises a unique identification of the application software; the cloud server receives the cloud access request and sends a background entry page to the local browser; rendering the functional components of the application software by the local browser based on the background portal page; and displaying and running the application software through a local browser.

Description

Cloud access method and device for tool type application software
Technical Field
The invention relates to the technical field of software remote access, in particular to a cloud access method and device for tool type application software.
Background
With the rapid development of the internet and information technology, the cloud service capability of enterprises is continuously increased, and in order to more efficiently improve the service value and service capability of self products, more and more enterprises migrate the old business of the enterprises to the cloud to meet the increasing demands of clients. Many enterprise products were just under development as pure tool type applications running on an operating system, i.e. software installed on an operating system running on a local device (such as Windows, android, IOS, linux, MAC, etc.) that can independently perform a certain class of functions.
The prior art provides some schemes for deploying pure tool type software to a cloud, including migrating all core services of a product to cloud services for rewriting, and providing corresponding SDKs to provide interface support for clients; or the pure tool type software is subjected to code level rewriting to finish WEB upgrading of the pure tool type software; or logically splitting the service functions of the pure tool software, carrying out background reconstruction and cloud deployment on a part of services based on COM or SOAP, and keeping a part of service blocks such as an interactive interface and the like on the client. However, these solutions require more or less code-level or architecture-level modification for the pure tool-type software, and require significant labor and time costs to complete, which is not appreciated by the enterprise.
Disclosure of Invention
The invention aims to provide a technical scheme for rapidly and simply deploying pure tool type application software to a cloud server, so that a user can directly run the application software through a local browser without installing the application software.
In order to achieve the above object, the present invention provides a cloud access method for tool type application software, comprising the following steps:
acquiring all dependent files corresponding to tool type application software, and storing all the dependent files to a cloud server; wherein, the all dependent files comprise a main program executable file, a first dynamic library file and a data file;
generating a second dynamic library file, a file list and a field definition file based on the all dependent files; the second dynamic library file is generated by recompiling the main program executable file, and the file list is used for describing names and paths of all the dependent files; the field definition file is used for determining display information of the application software in the browser;
sending a cloud access request corresponding to the application software to the cloud server through a local browser, wherein the cloud access request comprises a unique identification of the application software;
the cloud server receives the cloud access request and sends a background entry page to the local browser, wherein the background entry page contains the content in the field definition file; the main program window corresponding to the application software is displayed in the local browser;
rendering the functional components of the application software by the local browser based on the background portal page;
and displaying and running the application software through a local browser.
According to the cloud access method of tool type application software provided by the invention, the step of generating the second dynamic library file, the file list and the field definition file based on the all dependent files comprises the following steps:
compiling the main program executable file in the exe form into a second dynamic library file in the dll form;
acquiring a file name and a storage path corresponding to each dependent file, and recording the file name and the storage path in a list form in the file list;
acquiring software information corresponding to the application software and recording the software information in the field definition file, wherein the software information at least comprises the following contents: application name, identification, access path.
According to the cloud access method of the tool type application software provided by the invention, the step of receiving the cloud access request by the cloud server and sending the background entry page to the local browser comprises the following steps:
acquiring an HTML template stored in the server, and updating the HTML template according to the field definition file so that the updated HTML template displays the content contained in the field definition file;
and sending the updated HTML template to the local browser as the background entry page.
According to the cloud access method based on the client application software provided by the invention, the step of rendering the functional components of the application software by the local browser based on the background entry page comprises the following steps:
detecting whether a browser plug-in corresponding to the browser is contained in the local equipment;
if yes, downloading the second dynamic library file, the file list and the data file from the cloud server by using the browser plug-in;
and if not, downloading the browser plug-in through the cloud server, and downloading the second dynamic library file, the file list and the data file from the cloud server by utilizing the browser plug-in.
According to the cloud access method of tool type application software provided by the invention, the file list further includes a first hash value of each dependent file, and after the step of downloading the second dynamic library file, the file list and other dependent files in the all dependent files from the cloud server by using the browser plug-in, the method further includes:
calculating a second hash value corresponding to each file downloaded from the cloud server;
and comparing the second hash value with a corresponding first hash value in the file list, and checking the accuracy of each downloaded file.
According to the cloud access method of the tool type application software provided by the invention, the step of running the application software through the local browser comprises the following steps:
running the second dynamic library file through an entry program, and displaying a main program window corresponding to the application software in the local browser;
monitoring a file operation function in a local device windows operation system to obtain a dependent file corresponding to the file operation function;
and executing corresponding functions in the application software based on the dependent file.
According to the cloud access method of tool type application software provided by the invention, the step of monitoring the file operation function in the local device windows operation system to obtain the dependent file corresponding to the file operation function comprises the following steps:
hooking the file operation function by using a HOOK mechanism to acquire identification information of the dependent file corresponding to the file operation function;
determining whether the dependent file is stored in the local device based on the identification information;
if yes, directly calling the dependent file from the local equipment;
if not, the dependent file is downloaded from the cloud server and stored in the local device, and the dependent file is called from the local device.
In order to achieve the above object, the present invention further provides a cloud access device for tool-type application software, comprising the following steps:
the file storage module is suitable for acquiring all the dependent files corresponding to the tool type application software and storing the all the dependent files to the cloud server; wherein, the all dependent files comprise a main program executable file, a first dynamic library file and a data file;
the recompilation module is suitable for generating a second dynamic library file, a file list and a field definition file based on the all dependent files; the second dynamic library file is generated by recompiling the main program executable file, and the file list is used for describing names and paths of all the dependent files; the field definition file is used for determining display information of the application software in the browser;
the cloud request module is suitable for sending a cloud access request corresponding to the application software to the cloud server through a local browser, wherein the cloud access request comprises a unique identification of the application software;
the access page module is suitable for receiving the cloud access request by the cloud server and sending a background access page to the local browser, wherein the background access page comprises the content in the field definition file; the main program window corresponding to the application software is displayed in the local browser;
the browser rendering module is suitable for rendering the functional components of the application software by the local browser based on the background entry page;
and the browser running module is suitable for displaying and running the application software through a local browser.
To achieve the above object, the present invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above method.
The cloud access method and the cloud access device for the tool type application software can deploy the pure tool type application software to the cloud server in a low-cost and high-efficiency mode, so that a user can access and operate the pure tool type application software through a local browser, and real-time online update of the pure tool type application software is facilitated. Specifically, the invention reforms the pure tool type application software based on the AOP non-invasive idea, monitors all file operations of the tool type software and realizes function replacement, thereby realizing the automatic hot update mechanism of the module of the pure tool type software under the condition of zero code invasion. Furthermore, the invention realizes the capability of rapidly deploying the pure tool type software to the cloud based on the hot update mechanism and combining with the browser plug-in mechanism.
Drawings
FIG. 1 is a flowchart of a first embodiment of a cloud access method based on client application software according to the present invention;
fig. 2 is a schematic diagram of a file list according to a first embodiment of a cloud access method of the present invention;
fig. 3 is a schematic diagram of a field definition file according to a first embodiment of the cloud access method of the present invention;
FIG. 4 is a schematic diagram of loading application software through a local browser according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a Windows native function used in an embodiment of the present invention;
fig. 6 is a schematic program module of a first embodiment of a cloud access device according to the present invention;
fig. 7 is a schematic hardware structure of a first embodiment of a cloud access device according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, the present embodiment provides a cloud access method based on client application software, which includes the following steps:
s100, acquiring all dependent files corresponding to the client application software, and storing all the dependent files to a cloud server; wherein the all dependent files include a main program executable file, a first dynamic library file, and a data file.
The client application software in this embodiment refers to pure tool type application software that needs to be installed on the local device of the client. It can be understood that the client application software includes a main program with a suffix of. Exe, a dynamic link library file with a suffix of. Dll, a data file with a suffix of. Dat, and the like in an originally developed installation package. All files included in the originally developed installation package are all dependent files called in the step, the suffix is the main program of the exe, namely a main program executable file, the suffix is the dynamic link library file of the dll, namely a first dynamic library file, and the suffix is the data file of the dat.
S200, generating a second dynamic library file, a file list and a field definition file based on the all dependent files; the second dynamic library file is generated by recompiling the main program executable file, and the file list is used for describing names and paths of all the dependent files; the field definition file is used for determining display information of the application software in the browser.
The second dynamic library file is obtained by recompilation of the main program executable file. For example, a main program (main.exe) of the application software is acquired, and compiled into a second dynamic library file (main.dll) according to the standard of the AOP hot update device. The file list is a list generated based on all the current files corresponding to the application software, and is used for describing the name, path and other information of each file. Fig. 2 shows a schematic diagram of a file manifest list. As can be seen from fig. 2, the main file includes a main file, an msvcr100 file, and a product file, where each file corresponds to a different path, a first hash value, and a data amount. The purpose of the present embodiment of calculating the first hash value corresponding to each file is to verify the downloaded file locally in the subsequent step, so as to determine whether the downloaded file is accurate. This embodiment will be further described later. The field definition file is used to determine the display information of the application software in the browser, and gcp is used as the name of the field definition file in this embodiment. Fig. 3 shows a schematic diagram of a field definition file. As shown in fig. 3, the fields included in the file include information such as a name, an application identifier, a title, a main module, an access path, a version number, and a description, and when the user opens the application software through the browser, the information appears in a corresponding display window of the browser page.
S300, sending a cloud access request corresponding to the application software to the cloud server through a local browser, wherein the cloud access request comprises a unique identification of the application software.
The cloud access request may be issued by the user by entering a related domain name or URL address in the browser address bar, which may be a unique identification of the application software. The request is sent directly to the remote server where all dependent files of the application have been stored.
S400, the cloud server receives the cloud access request and sends a background entry page to the local browser, wherein the background entry page contains the content in the field definition file; and displaying a main program window corresponding to the application software in the local browser.
The cloud server is pre-stored with an HTML template, and the HTML can generate different forms corresponding to the application software according to different parameters or information, for example, a background entry page is generated according to the content in the field definition file. In this step, an HTML template stored in the server may be first acquired, and the HTML template may be updated according to the field definition file, so that the updated HTML template displays contents included in the field definition file; and then sending the updated HTML template to the local browser as the background portal page.
And S500, rendering the functional components of the application software by the local browser based on the background entry page.
Those skilled in the art understand that the browser can only display HTML files, but different functional components in the application software cannot be directly loaded, and in order to render the functional components into the browser, a user needs to download a corresponding browser plug-in while directly running the response function of the application software through the local browser. The background portal page in this embodiment may be represented as a client. The client html is a browser plug-in loading page, when the page is accessed by a browser, the browser environment of the user can be automatically checked, if the browser plug-in on which the AOP hot updating device depends is not installed at present, the user can be automatically guided to download and install, if the browser installs the plug-in, the local plug-in is automatically loaded, the browser plug-in goes to a server to acquire a main program module and creates a main module window to be placed in the browser window for operation through necessary module parameters and information transmitted to the plug-in. The browser plug-in on which the AOP hot updating device is dependent in the embodiment is set differently based on different browsers, and comprises an ActiveX plug-in based on an IE series and an NP plug-in based on a fire fox series and a Chrome series. The main task of these two types of plug-ins is to render the main module window of the pure client software to run on the browser window.
In the first embodiment of the present invention, the step S500 of rendering the local browser is as follows:
s510, detecting whether a browser plug-in corresponding to the browser is contained in the local equipment;
s520: and if yes, downloading the second dynamic library file, the file list and the data file from the cloud server by utilizing the browser plug-in.
It should be noted that, in this step, after the files are downloaded, a second hash value corresponding to each file downloaded from the cloud server may also be calculated; and comparing the second hash value with the corresponding first hash value in the file list, and checking the accuracy of each downloaded file.
And S530, if not, downloading the browser plug-in through the cloud server, and downloading the second dynamic library file, the file list and the data file from the cloud server by utilizing the browser plug-in.
FIG. 4 is a schematic diagram of loading application software through a local browser according to an embodiment of the invention. As shown in fig. 4, after the user opens the local browser and inputs the service address, loading the background portal page is started, and whether the browser type is an IE browser is determined. If the device is an IE browser, checking whether an Axive plug-in is installed in the local device; if the local device is a non-IE browser, checking whether the NP plug-in is installed in the local device. If the related plug-ins are installed, the main module of the application software is operated through the plug-ins; and if the related plug-in is not installed, guiding the local browser to install the corresponding plug-in.
And S600, displaying and running the application software through a local browser.
After the second dynamic library file, the file list and the data file are downloaded and checked, the browser plug-in engine firstly uses a Windows Hook mechanism to carry out Hook modification on a local Windows file operation function. It should be noted that, for all software running on Windows (including JAVA programs, net programs, delphi programs, c++ programs, etc.), as long as the call related to the local file operation is finally transferred to the Windows native function. For example, the C++ open file operation fopen function finally calls the Windows native function CreateFile; the QLibrary class loading dynamic library of QT is also a LoadLibrary function that invokes Windows. Therefore, no matter what language is written, if the program is a program under Windows, the monitoring of the file operation of the program can be completed by only hooking the API as shown in FIG. 5.
After the file operation function hook is completed, the method derived by the main module is operated according to the pre-customized standard to be used for creating the main window, and the main window is attached to the browser interface. When the main module runs, the whole business process is finished through other modules on which the main module depends, and the time for loading other modules is monitored by the browser plug-in engine, so that once the main module finishes a certain function through a file operation function, the browser plug-in engine can recognize the request in advance and check whether a file on which the main module depends exists locally, if yes, the original function is directly transferred to obtain, otherwise, the original function is directly transferred to a server to check and update and download, and the original function is transferred again to obtain. In this process, the master module is completely unaware of this operation, and a non-intrusive software hot update is completely realized.
With continued reference to fig. 6, a cloud access device for tool-type application software is shown, in this embodiment, the cloud access device 60 may include or be divided into one or more program modules, where the one or more program modules are stored in a storage medium and executed by one or more processors to complete the present invention, and the cloud access method described above may be implemented. Program modules in the present invention refer to a series of computer program instruction segments capable of performing a specific function, and are more suitable than the program itself for describing the execution of the cloud access device 60 in a storage medium. The following description will specifically describe functions of each program module of the present embodiment:
the file storage module 61 is adapted to acquire all dependent files corresponding to the tool type application software and store the all dependent files to the cloud server; wherein, the all dependent files comprise a main program executable file, a first dynamic library file and a data file;
a recompilation module 62 adapted to generate a second dynamic library file, a file manifest list, and a field definition file based on the all dependent files; the second dynamic library file is generated by recompiling the main program executable file, and the file list is used for describing names and paths of all the dependent files; the field definition file is used for determining display information of the application software in the browser;
the cloud request module 63 is adapted to send a cloud access request corresponding to the application software to the cloud server through a local browser, where the cloud access request includes a unique identification of the application software;
the portal page module 64 is adapted to receive the cloud access request from the cloud server, and send a background portal page to the local browser, where the background portal page includes the content in the field definition file; the main program window corresponding to the application software is displayed in the local browser;
a browser rendering module 65, adapted to render the functional components of the application software by the local browser based on the background portal page;
the browser running module 66 is adapted to display and run the application software via a local browser.
The present embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by a plurality of servers) that can execute a program. The computer device 70 of the present embodiment includes at least, but is not limited to: a memory 71, a processor 72, which may be communicatively coupled to each other via a system bus, as shown in fig. 7. It should be noted that FIG. 7 only shows a computer device 70 having components 71-72, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may alternatively be implemented.
In the present embodiment, the memory 71 (i.e., readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 71 may be an internal storage unit of the computer device 70, such as a hard disk or memory of the computer device 70. In other embodiments, the memory 71 may also be an external storage device of the computer device 70, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 70. Of course, the memory 71 may also include both internal storage units of the computer device 70 and external storage devices. In this embodiment, the memory 71 is generally used for storing an operating system and various application software installed on the computer device 70, such as the program code of the cloud access apparatus 60 of the first embodiment. In addition, the memory 71 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 72 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 72 is generally used to control the overall operation of the computer device 70. In this embodiment, the processor 72 is configured to execute the program code or process data stored in the memory 71, for example, execute the cloud access device 60, so as to implement the cloud access method of the first embodiment.
The present embodiment also provides a computer-readable storage medium such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor, performs the corresponding functions. The computer readable storage medium of the present embodiment is configured to store the cloud access device 60, and when executed by a processor, implement the cloud access method of the first embodiment.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It will be appreciated by those of ordinary skill in the art that all or part of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable medium, where the program when executed includes one or a combination of the steps of the method embodiment.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The cloud access method of the tool type application software is characterized by comprising the following steps of:
acquiring all dependent files corresponding to tool type application software, and storing all the dependent files to a cloud server; wherein, the all dependent files comprise a main program executable file, a first dynamic library file and a data file;
generating a second dynamic library file, a file list and a field definition file based on the all dependent files; the second dynamic library file is generated by recompiling the main program executable file, and the file list is used for describing names and paths of all the dependent files; the field definition file is used for determining display information of the application software in the browser;
sending a cloud access request corresponding to the application software to the cloud server through a local browser, wherein the cloud access request comprises a unique identification of the application software;
the cloud server receives the cloud access request and sends a background entry page to the local browser, wherein the background entry page contains the content in the field definition file; the main program window corresponding to the application software is displayed in the local browser;
rendering the functional components of the application software by the local browser based on the background portal page;
and displaying and running the application software through a local browser.
2. The cloud access method of claim 1, wherein the step of generating the second dynamic library file, the file list, and the field definition file based on the all dependent files comprises:
compiling the main program executable file in the exe form into a second dynamic library file in the dll form;
acquiring a file name and a storage path corresponding to each dependent file, and recording the file name and the storage path in a list form in the file list;
acquiring software information corresponding to the application software and recording the software information in the field definition file, wherein the software information at least comprises the following contents: application name, identification, access path.
3. The cloud access method of tool-type application software according to claim 2, wherein the step of the cloud server receiving the cloud access request and sending a background portal page to the local browser comprises:
acquiring an HTML template stored in the server, and updating the HTML template according to the field definition file so that the updated HTML template displays the content contained in the field definition file;
and sending the updated HTML template to the local browser as the background entry page.
4. The cloud access method of claim 3, wherein the step of rendering the functional components of the application software by the local browser based on the background portal page comprises:
detecting whether a browser plug-in corresponding to the browser is contained in the local equipment;
if yes, downloading the second dynamic library file, the file list and the data file from the cloud server by using the browser plug-in;
and if not, downloading the browser plug-in through the cloud server, and downloading the second dynamic library file, the file list and the data file from the cloud server by utilizing the browser plug-in.
5. The cloud access method of claim 4, wherein the file list further includes a first hash value of each dependent file, and the step of downloading the second dynamic library file, the file list, and other dependent files of the all dependent files from the cloud server using the browser plug-in further includes, after:
calculating a second hash value corresponding to each file downloaded from the cloud server;
and comparing the second hash value with a corresponding first hash value in the file list, and checking the accuracy of each downloaded file.
6. The cloud access method of claim 4, wherein the step of running the application software through a local browser comprises:
running the second dynamic library file through an entry program, and displaying a main program window corresponding to the application software in the local browser;
monitoring a file operation function in a local device windows operation system to obtain a dependent file corresponding to the file operation function;
and executing corresponding functions in the application software based on the dependent file.
7. The cloud access method of tool type application software according to claim 6, wherein the step of monitoring a file operation function in a local device windows operation system to obtain a dependent file corresponding to the file operation function includes:
hooking the file operation function by using a HOOK mechanism to acquire identification information of the dependent file corresponding to the file operation function;
determining whether the dependent file is stored in the local device based on the identification information;
if yes, directly calling the dependent file from the local equipment;
if not, the dependent file is downloaded from the cloud server and stored in the local device, and the dependent file is called from the local device.
8. The cloud access device for the tool type application software is characterized by comprising the following steps of:
the file storage module is suitable for acquiring all the dependent files corresponding to the tool type application software and storing the all the dependent files to the cloud server; wherein, the all dependent files comprise a main program executable file, a first dynamic library file and a data file;
the recompilation module is suitable for generating a second dynamic library file, a file list and a field definition file based on the all dependent files; the second dynamic library file is generated by recompiling the main program executable file, and the file list is used for describing names and paths of all the dependent files; the field definition file is used for determining display information of the application software in the browser;
the cloud request module is suitable for sending a cloud access request corresponding to the application software to the cloud server through a local browser, wherein the cloud access request comprises a unique identification of the application software;
the access page module is suitable for receiving the cloud access request by the cloud server and sending a background access page to the local browser, wherein the background access page comprises the content in the field definition file; the main program window corresponding to the application software is displayed in the local browser;
the browser rendering module is suitable for rendering the functional components of the application software by the local browser based on the background entry page;
and the browser running module is suitable for displaying and running the application software through a local browser.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 7 when the computer program is executed by the processor.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202210187349.5A 2022-02-28 2022-02-28 Cloud access method and device for tool type application software Active CN114546508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210187349.5A CN114546508B (en) 2022-02-28 2022-02-28 Cloud access method and device for tool type application software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210187349.5A CN114546508B (en) 2022-02-28 2022-02-28 Cloud access method and device for tool type application software

Publications (2)

Publication Number Publication Date
CN114546508A CN114546508A (en) 2022-05-27
CN114546508B true CN114546508B (en) 2024-04-12

Family

ID=81680293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210187349.5A Active CN114546508B (en) 2022-02-28 2022-02-28 Cloud access method and device for tool type application software

Country Status (1)

Country Link
CN (1) CN114546508B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162345A (en) * 2019-05-05 2019-08-23 网宿科技股份有限公司 A kind of application program access method, device and storage medium
CN110750545A (en) * 2019-09-03 2020-02-04 北京字节跳动网络技术有限公司 Dynamic library hot update method, device, medium and equipment
WO2021109669A1 (en) * 2019-12-05 2021-06-10 华为技术有限公司 Method and device for detecting malicious domain name access, and computer readable storage medium
CN113238850A (en) * 2021-06-01 2021-08-10 平安科技(深圳)有限公司 RPA implementation method, device, equipment and medium based on browser

Family Cites Families (1)

* 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162345A (en) * 2019-05-05 2019-08-23 网宿科技股份有限公司 A kind of application program access method, device and storage medium
CN110750545A (en) * 2019-09-03 2020-02-04 北京字节跳动网络技术有限公司 Dynamic library hot update method, device, medium and equipment
WO2021109669A1 (en) * 2019-12-05 2021-06-10 华为技术有限公司 Method and device for detecting malicious domain name access, and computer readable storage medium
CN113238850A (en) * 2021-06-01 2021-08-10 平安科技(深圳)有限公司 RPA implementation method, device, equipment and medium based on browser

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种易部署的Android应用程序动态监测方案;苏祥;胡建伟;崔艳鹏;;计算机科学;20201231(第02期);全文 *
动态数据访问方式探讨;徐燕;万远扬;李珈;;计算机与数字工程;20060820(第08期);全文 *

Also Published As

Publication number Publication date
CN114546508A (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN106406961B (en) Method and device for loading and providing application program based on browser
US9098636B2 (en) White-box testing systems and/or methods in web applications
US8065675B2 (en) In-page installer
CN108847950B (en) Electronic device, cloud system software automatic deployment method and storage medium
EP2831726B1 (en) Dynamic plugin(s) for cloud application(s)
CN109634588B (en) Office document online editing method and system compatible with multiple browsers
CN105786538B (en) software upgrading method and device based on android system
US7269464B2 (en) System, method and computer program product for providing an interface for instantiating additional programmable logic controller functionality
US8539506B2 (en) Dynamic injection of code into running process
WO2006110991A1 (en) Method and system for controlling software version updates
GB2589658A (en) Method and apparatus for running an applet
CN111427596B (en) Software upgrading method and device and terminal equipment
CN108089870B (en) Method and apparatus for repairing applications
CN110727575B (en) Information processing method, system, device and storage medium
US9026997B2 (en) Systems and methods for executing object-oriented programming code invoking pre-existing objects
CN112685105A (en) Front-end component sharing method and device, computer equipment and storage medium
CN112860251A (en) Method and system for constructing website front end
CN112099802B (en) Component identification method and device of application program
CN113778393A (en) Component generation method, device, computer system and computer-readable storage medium
CN114546508B (en) Cloud access method and device for tool type application software
CN110362320B (en) Command implementation method and device of application development platform
CN106445530B (en) Method and device for converting client application software into webpage software
CN114490103A (en) Operating system interface calling method and device and electronic equipment
CN114063985A (en) Plug-in development method and device for Web application, electronic device, medium, and program
KR100459791B1 (en) Method for executing application program without install in the client-server environment

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