CN111443983B - Application program virtualization method and device, electronic equipment and storage medium - Google Patents

Application program virtualization method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111443983B
CN111443983B CN201910042068.9A CN201910042068A CN111443983B CN 111443983 B CN111443983 B CN 111443983B CN 201910042068 A CN201910042068 A CN 201910042068A CN 111443983 B CN111443983 B CN 111443983B
Authority
CN
China
Prior art keywords
page
request information
response information
page request
application program
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
CN201910042068.9A
Other languages
Chinese (zh)
Other versions
CN111443983A (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.)
Beijing Youguan Network Technology Co ltd
Original Assignee
Beijing Youguan Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youguan Network Technology Co ltd filed Critical Beijing Youguan Network Technology Co ltd
Priority to CN201910042068.9A priority Critical patent/CN111443983B/en
Publication of CN111443983A publication Critical patent/CN111443983A/en
Application granted granted Critical
Publication of CN111443983B publication Critical patent/CN111443983B/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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a virtualization method and device of an application program, electronic equipment and a storage medium; the method comprises the following steps: receiving first page request information sent by a current user through an Application layer of a current Application program; replacing the first page request information with second page request information; sending the second page request information to a system Framework layer of the current application program; receiving second page response information returned by the frame layer according to the second page request information; replacing the second page phase response information with first page response information; and returning the first page response information to the current user through the Application layer. The application program updating method and device can ensure the use safety of the application program and improve the updating efficiency of the application program.

Description

Application program virtualization method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method and apparatus for virtualizing an application, an electronic device, and a storage medium.
Background
Currently, an application management center of an intelligent terminal generally displays an application on a display screen of the intelligent terminal in the form of an icon or a graphic. In the prior art, the system structure of an application program includes: an Application layer, a system Framework layer, a LIbraries layer and a Linux Kemel layer; all business logic on the Application program is operated in an Application layer; the Application layer communicates directly with the Framework layer.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
Because the Application layer is directly communicated with the Framework layer, a third party Application program or a terminal manufacturer leaves a factory pre-installed Application program or an Application program with system level authority can obtain the privacy information of the Application program in use of the current user by analyzing the static file of the Application program in use of the current user in the Framework layer, so that the use safety of the Application program in use of the current user cannot be ensured; in addition, when the application program currently used by the user performs defect repair or service update, a new static file of the application program needs to be acquired in the Framework layer, so that the update efficiency of the application program is seriously reduced.
Disclosure of Invention
In order to solve the technical problems, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for virtualizing an application program, which not only can ensure the use security of the application program, but also can improve the update efficiency of the application program.
In order to achieve the above object, the technical solution of the embodiment of the present invention is as follows:
In a first aspect, an embodiment of the present invention provides a method for virtualizing an application, which is applied to an electronic device, where the method includes:
receiving first page request information sent by a current user through an Application layer of a current Application program;
replacing the first page request information with second page request information; the second page request information is sent to a Framework layer of the current application program;
Receiving second page response information returned by the frame layer according to the second page request information; replacing the second page phase response information with first page response information;
and returning the first page response information to the current user through the Application layer.
In the above embodiment, the replacing the first page request information with the second page request information includes:
Determining the second page request information corresponding to the first page request information in a pre-stored corresponding relation of at least one page request information of the frame layer;
And replacing the first page request information with the second page request information corresponding to the first page request information.
In the above embodiment, the replacing the second page phase response information with the first page response information includes:
Determining the first page response information corresponding to the second page response information in a pre-stored corresponding relation of page response information of the Application layer;
And replacing the second page response information with the first page response information corresponding to the second page response information.
In the above embodiment, the method further includes:
Performing page statistics on page operations of the current user in the current application program through the first page request information; or carrying out path analysis on the page operation of the current user in the current application program through the first page request information; or replacing the content of the page operation of the current user in the current application program through the first page response information; or performing defect repair on the page operation of the current user in the current application program through the first page response information.
In a second aspect, an embodiment of the present invention provides an apparatus for virtualizing an application, where the apparatus includes: a receiving module and a transmitting module; wherein,
The receiving module is used for receiving first page request information sent by a current user through an Application layer of a current Application program;
the sending module is used for replacing the first page request information with second page request information; the second page request information is sent to a Framework layer of the current application program;
the receiving module is further configured to receive second page response information returned by the frame layer according to the second page request information; replacing the second page phase response information with first page response information;
The sending module is further configured to return the first page response information to the current user through the Application layer.
In the above embodiment, the transmitting module includes: a first determination sub-module and a first replacement sub-module;
wherein,
The first determining submodule is configured to determine, in a pre-stored correspondence of at least one page request information of the frame layer, the second page request information corresponding to the first page request information;
The first replacing sub-module is configured to replace the first page request information with the second page request information corresponding to the first page request information.
In the above embodiment, the receiving module includes: a second determination sub-module and a second replacement sub-module;
wherein,
The second determining submodule is used for determining the first page response information corresponding to the second page response information in the corresponding relation of the page response information of the Application layer, which is stored in advance;
the second replacing sub-module is configured to replace the second page response information with the first page response information corresponding to the second page response information.
In the foregoing embodiment, the receiving module is further configured to perform page statistics on a page operation of the current user in the current application program according to the first page request information; or carrying out path analysis on the page operation of the current user in the current application program through the first page request information;
the sending module is further configured to perform content replacement on a page operation of the current user in the current application program according to the first page response information; or performing defect repair on the page operation of the current user in the current application program through the first page response information.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
One or more processors;
a memory for storing one or more programs,
When the one or more programs are executed by the one or more processors, the one or more processors implement the method for virtualizing an application according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a storage medium having stored thereon a computer program, which when executed by a processor implements the method for virtualizing an application according to any embodiment of the present invention.
The embodiment of the invention provides a virtualization method, a virtualization device, electronic equipment and a storage medium of an Application program, wherein first page request information sent by a current user through an Application layer of the current Application program is received; replacing the first page request information with second page request information; sending second page request information to a Framework layer of the current application program; then receiving second page response information returned by the frame layer according to the second page request information; replacing the second page response information with the first page response information; and returning the first page response information to the current user through the Application layer. That is, in the technical solution of the present invention, the electronic device may virtualize an Application Framework layer between the Application layer and the Framework layer, and at this time, the Application layer communicates with the Framework layer through the virtual Application Framework layer. In this way, the virtual Framework layer can acquire all service logics on the Framework layer; thus, the virtual Framework layer can oversee and distribute all business logic of the Framework layer. In the existing Application program virtualization method, because the Application layer directly communicates with the Framework layer, a third party Application program or a terminal manufacturer leaves a factory to pre-install the Application program or an Application program with system level authority can obtain the privacy information of the Application program in use by the current user by analyzing the static file of the Application program in use by the current user in the Framework layer, so that the use safety of the Application program in use by the current user cannot be ensured; in addition, when the application program currently used by the user performs defect repair or service update, a new static file of the application program needs to be acquired in the Framework layer, so that the update efficiency of the application program is seriously reduced. Therefore, compared with the prior art, the application program virtualization method, device, electronic equipment and storage medium provided by the embodiment of the invention can ensure the use safety of the application program and improve the update efficiency of the application program; in addition, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Drawings
Fig. 1 is a flowchart of a method for virtualizing an application according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for virtualizing an application according to a second embodiment of the present invention;
Fig. 3 is a schematic diagram of a first configuration of a virtualization device of an application program according to a third embodiment of the present invention;
fig. 4 is a second schematic structural diagram of an application program virtualization device according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example 1
Fig. 1 is a flowchart of a method for virtualizing an application according to an embodiment of the present invention. As shown in fig. 1, the method for virtualizing an application may include the steps of:
Step 101, receiving first page request information sent by a current user through an Application layer of a current Application program.
In a specific embodiment of the present invention, the electronic device may virtualize an Application Framework layer between the Application layer and the Framework layer, so after the user sends the first page request information to the Application layer, the Application layer may send the received first page request information to the Application Framework layer instead of directly sending the first page request information to the Framework layer, where the Application layer communicates with the Framework layer through the virtual Application Framework layer. In this way, the virtual Framework layer can acquire all service logics on the Framework layer; thus, the virtual Framework layer can oversee and distribute all business logic of the Framework layer.
102, Replacing the first page request information with second page request information; and sends the second page request information to the frame layer of the current application.
In a specific embodiment of the present invention, the electronic device may replace the first page request information with the second page request information; and sends the second page request information to the frame layer of the current application. Specifically, the electronic device may determine, in a correspondence relationship of at least one page request information of the frame layer, second page request information corresponding to the first page request information; and then replacing the first page request information with second page request information corresponding to the first page request information.
Step 103, receiving second page response information returned by the frame layer according to the second page request information; and replaces the second page response information with the first page response information.
In a specific embodiment of the present invention, the electronic device may receive second page response information returned by the frame layer according to the second page request information; and replaces the second page response information with the first page response information. Specifically, the electronic device may determine, in a correspondence relationship between page response information of the Application layer stored in advance, first page response information corresponding to the second page response information; and then replacing the second page response information with the first page response information corresponding to the second page response information.
And 104, returning the first page response information to the current user through an Application layer.
In a specific embodiment of the present invention, the electronic device may return the first page response information to the current user through the Application layer.
Preferably, in a specific embodiment of the present invention, the electronic device may perform page statistics on page operations of a current user in a current application through the first page request information; or the path analysis can be carried out on the page operation of the current user in the current application program through the first page request information; or the content replacement can be carried out on the page operation of the current user in the current application program through the first page response information; or the defect repair can be carried out on the page operation of the current user in the current application program through the first page response information.
The virtualization method of the Application program provided by the embodiment of the invention firstly receives first page request information sent by a current user through an Application layer of the current Application program; replacing the first page request information with second page request information; sending second page request information to a Framework layer of the current application program; then receiving second page response information returned by the frame layer according to the second page request information; replacing the second page response information with the first page response information; and returning the first page response information to the current user through the Application layer. That is, in the technical solution of the present invention, the electronic device may virtualize an Application Framework layer between the Application layer and the Framework layer, and at this time, the Application layer communicates with the Framework layer through the virtual Application Framework layer. In this way, the virtual Framework layer can acquire all service logics on the Framework layer; thus, the virtual Framework layer can oversee and distribute all business logic of the Framework layer. In the existing Application program virtualization method, because the Application layer directly communicates with the Framework layer, a third party Application program or a terminal manufacturer leaves a factory to pre-install the Application program or an Application program with system level authority can obtain the privacy information of the Application program in use by the current user by analyzing the static file of the Application program in use by the current user in the Framework layer, so that the use safety of the Application program in use by the current user cannot be ensured; in addition, when the application program currently used by the user performs defect repair or service update, a new static file of the application program needs to be acquired in the Framework layer, so that the update efficiency of the application program is seriously reduced. Therefore, compared with the prior art, the application program virtualization method provided by the embodiment of the invention not only can ensure the use safety of the application program, but also can improve the update efficiency of the application program; in addition, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example two
Fig. 2 is a flowchart of a method for virtualizing an application according to a second embodiment of the present invention. As shown in fig. 2, the virtualization method of the application program may include the steps of:
Step 201, receiving first page request information sent by a current user through an Application layer of a current Application program.
In a specific embodiment of the present invention, the electronic device may virtualize an Application Framework layer between the Application layer and the Framework layer, so after the user sends the first page request information to the Application layer, the Application layer may send the received first page request information to the Application Framework layer instead of directly sending the first page request information to the Framework layer, where the Application layer communicates with the Framework layer through the virtual Application Framework layer. In this way, the virtual Framework layer can acquire all service logics on the Framework layer; thus, the virtual Framework layer can oversee and distribute all business logic of the Framework layer.
Step 202, determining second page request information corresponding to the first page request information in a corresponding relation of at least one page request information of a frame layer stored in advance.
In a specific embodiment of the present invention, the electronic device may determine, in a correspondence of at least one page request information of the frame layer that is stored in advance, second page request information corresponding to the first page request information. For example, it is assumed that, in the correspondence relationship of at least one page request information of the frame layer pre-selected and stored, the first page request information is page request information a, and the second page request information corresponding to the first page request information is page request information B. In this step, the electronic device may determine the page request information B corresponding to the page request information a in the correspondence relationship of at least one page request information of the frame layer stored in advance.
Step 203, replacing the first page request information with second page request information corresponding to the first page request information; and sends the second page request information to the frame layer of the current application.
In a specific embodiment of the present invention, the electronic device may replace the first page request information with the second page request information corresponding to the first page request information. Specifically, the electronic device may intercept the first page response information first; then replacing the first page request information with second page request information corresponding to the first page request information; and sends the second page request information to the frame layer of the current application.
Step 204, receiving second page response information returned by the frame layer according to the second page request information; and determining the first page response information corresponding to the second page response information in the corresponding relation of the page response information of the Application layer which is stored in advance.
In a specific embodiment of the present invention, the electronic device may receive second page response information returned by the frame layer according to the second page request information; and determining the first page response information corresponding to the second page response information in the corresponding relation of the page response information of the Application layer which is stored in advance. For example, it is assumed that, in the correspondence relationship of page response information of the Application layer stored in advance, the second page response information is page response information C, and the first page response request information corresponding to the second page response information is page request information D. In this step, the electronic device may determine the page response information D corresponding to the page response information C in the pre-stored correspondence relationship between page response information of the Application layer.
Step 205, replacing the second page response information with the first page response information corresponding to the second page response information.
In a specific embodiment of the present invention, the electronic device may replace the second page response information with the first page response information corresponding to the second page response information. Specifically, the electronic device may intercept the second page response information first; and then replacing the second page response information with the first page response information corresponding to the second page response information.
And step 206, returning the first page response information to the current user through the Application layer.
In a specific embodiment of the present invention, the electronic device may return the first page response information to the current user through the Application layer. Preferably, in a specific embodiment of the present invention, the electronic device may perform page statistics on page operations of a current user in a current application through the first page request information; or the path analysis can be carried out on the page operation of the current user in the current application program through the first page request information; or the content replacement can be carried out on the page operation of the current user in the current application program through the first page response information; or the defect repair can be carried out on the page operation of the current user in the current application program through the first page response information.
The virtualization method of the Application program provided by the embodiment of the invention firstly receives first page request information sent by a current user through an Application layer of the current Application program; replacing the first page request information with second page request information; sending second page request information to a Framework layer of the current application program; then receiving second page response information returned by the frame layer according to the second page request information; replacing the second page response information with the first page response information; and returning the first page response information to the current user through the Application layer. That is, in the technical solution of the present invention, the electronic device may virtualize an Application Framework layer between the Application layer and the Framework layer, and at this time, the Application layer communicates with the Framework layer through the virtual Application Framework layer. In this way, the virtual Framework layer can acquire all service logics on the Framework layer; thus, the virtual Framework layer can oversee and distribute all business logic of the Framework layer. In the existing Application program virtualization method, because the Application layer directly communicates with the Framework layer, a third party Application program or a terminal manufacturer leaves a factory to pre-install the Application program or an Application program with system level authority can obtain the privacy information of the Application program in use by the current user by analyzing the static file of the Application program in use by the current user in the Framework layer, so that the use safety of the Application program in use by the current user cannot be ensured; in addition, when the application program currently used by the user performs defect repair or service update, a new static file of the application program needs to be acquired in the Framework layer, so that the update efficiency of the application program is seriously reduced. Therefore, compared with the prior art, the application program virtualization method provided by the embodiment of the invention not only can ensure the use safety of the application program, but also can improve the update efficiency of the application program; in addition, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example III
Fig. 3 is a schematic diagram of a first structure of an application virtualization device according to a third embodiment of the present invention. As shown in fig. 3, a virtualization apparatus for an application according to an embodiment of the present invention may include: a receiving module 301 and a transmitting module 302; wherein,
The receiving module 301 is configured to receive first page request information sent by a current user through an Application layer of a current Application program;
the sending module 302 is configured to replace the first page request information with second page request information; the second page request information is sent to a Framework layer of the current application program;
The receiving module 301 is further configured to receive second page response information returned by the frame layer according to the second page request information; replacing the second page phase response information with first page response information;
The sending module 302 is further configured to return the first page response information to the current user through the Application layer.
Fig. 4 is a second schematic structural diagram of an application program virtualization device according to a third embodiment of the present invention. As shown in fig. 4, the transmitting module 302 includes: a first determination submodule 3021 and a first replacement submodule 3022; wherein,
The first determining submodule 3021 is configured to determine, in a pre-stored correspondence of at least one page request information of the frame layer, the second page request information corresponding to the first page request information;
the first replacing submodule 3022 is configured to replace the first page request information with the second page request information corresponding to the first page request information.
Further, the receiving module 301 includes: a second determination submodule 3011 and a second replacement submodule 3012; wherein,
The second determining submodule 3011 is configured to determine, in a pre-stored correspondence of page response information of the Application layer, the first page response information corresponding to the second page response information;
The second replacing submodule 3012 is configured to replace the first page response information corresponding to the second page response information with the second page response information.
Further, the receiving module 301 is further configured to perform page statistics on a page operation of the current user in the current application program according to the first page request information; or carrying out path analysis on the page operation of the current user in the current application program through the first page request information;
The sending module 302 is further configured to perform content replacement on a page operation of the current user in the current application program according to the first page response information; or performing defect repair on the page operation of the current user in the current application program through the first page response information.
The virtualization device of the application program can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in this embodiment may be referred to the method for virtualizing an application provided in any embodiment of the present invention.
Example IV
Fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. Fig. 5 shows a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the invention. The electronic device 12 shown in fig. 5 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the application virtualization method provided by the embodiment of the present invention.
Example five
The fifth embodiment of the invention provides a computer storage medium.
The computer-readable storage media of embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of remote computers, the remote computer may be connected to the user computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., connected through the internet using an internet service provider).
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention.

Claims (6)

1. The utility model provides a virtualization method of Application program, characterized in that is applied to the Application frame layer of electronic equipment, application frame layer is virtual at Application layer and frame layer, application layer communicates with frame layer through virtual Application frame layer, the method includes:
Receiving first page request information sent by a current user through an Application layer of a current Application program;
Replacing the first page request information with second page request information; the second page request information is sent to a system Framework layer of the current application program;
receiving second page response information returned by the frame layer according to the second page request information;
Intercepting the second page response information, and determining first page response information corresponding to the second page response information in a pre-stored corresponding relation of page response information of the Application layer;
replacing the second page response information with the first page response information corresponding to the second page response information;
returning the first page response information to the current user through the Application layer;
the method further comprises the steps of:
Performing page statistics on page operations of the current user in the current application program through the first page request information; or carrying out path analysis on the page operation of the current user in the current application program through the first page request information; or replacing the content of the page operation of the current user in the current application program through the first page response information; or performing defect repair on the page operation of the current user in the current application program through the first page response information.
2. The method of claim 1, wherein said replacing the first page request information with second page request information comprises:
Determining the second page request information corresponding to the first page request information in a pre-stored corresponding relation of at least one page request information of the frame layer;
And replacing the first page request information with the second page request information corresponding to the first page request information.
3. An Application virtualization device configured on an Application Framework layer of an electronic device, where the Application Framework layer is virtual between an Application layer and a Framework layer, and the Application layer communicates with the Framework layer through the virtual Application Framework layer, where the device includes: a receiving module and a transmitting module; wherein,
The receiving module is used for receiving first page request information sent by a current user through an Application layer of a current Application program;
the sending module is used for replacing the first page request information with second page request information; the second page request information is sent to a Framework layer of the current application program;
The receiving module is further configured to receive second page response information returned by the frame layer according to the second page request information; replacing the second page response information with first page response information;
the sending module is further configured to return the first page response information to the current user through the Application layer;
The receiving module is further configured to perform page statistics on page operations of the current user in the current application program through the first page request information; or carrying out path analysis on the page operation of the current user in the current application program through the first page request information;
The sending module is further configured to perform content replacement on a page operation of the current user in the current application program according to the first page response information; or performing defect repair on the page operation of the current user in the current application program through the first page response information;
the receiving module includes: a second determination sub-module and a second replacement sub-module; wherein,
The second determining submodule is used for intercepting the second page response information and determining the first page response information corresponding to the second page response information in a corresponding relation of the page response information of the Application layer, which is stored in advance;
the second replacing sub-module is configured to replace the second page response information with the first page response information corresponding to the second page response information.
4. The apparatus of claim 3, wherein the transmitting module comprises: a first determination sub-module and a first replacement sub-module; wherein,
The first determining submodule is configured to determine, in a pre-stored correspondence of at least one page request information of the frame layer, the second page request information corresponding to the first page request information;
The first replacing sub-module is configured to replace the first page request information with the second page request information corresponding to the first page request information.
5. An electronic device, comprising:
One or more processors;
a memory for storing one or more programs,
When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method of virtualizing an application as recited in any of claims 1-2.
6. A storage medium having stored thereon a computer program, which when executed by a processor implements a method of virtualizing an application as claimed in any one of claims 1 to 2.
CN201910042068.9A 2019-01-16 2019-01-16 Application program virtualization method and device, electronic equipment and storage medium Active CN111443983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910042068.9A CN111443983B (en) 2019-01-16 2019-01-16 Application program virtualization method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910042068.9A CN111443983B (en) 2019-01-16 2019-01-16 Application program virtualization method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111443983A CN111443983A (en) 2020-07-24
CN111443983B true CN111443983B (en) 2024-04-26

Family

ID=71626848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910042068.9A Active CN111443983B (en) 2019-01-16 2019-01-16 Application program virtualization method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111443983B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722026A (en) * 2020-10-23 2021-11-30 北京沃东天骏信息技术有限公司 Communication method, device, equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183395A (en) * 2007-12-25 2008-05-21 北京中企开源信息技术有限公司 Method and system for realizing staticize of dynamic page
CN103136238A (en) * 2011-11-28 2013-06-05 百度在线网络技术(北京)有限公司 Method and server of processing page interactive elements at time of converting web page into wireless application protocol (WAP) page
CN103139258A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and device and system for processing page access requests of mobile terminal
CN103577321A (en) * 2012-08-07 2014-02-12 阿里巴巴集团控股有限公司 Multi-version parallel test method for web pages and server
CN108415782A (en) * 2018-02-23 2018-08-17 携程旅游网络技术(上海)有限公司 Control communication means, device, electronic equipment, the storage medium of application program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162534B2 (en) * 2001-07-10 2007-01-09 Fisher-Rosemount Systems, Inc. Transactional data communications for process control systems
US20040148338A1 (en) * 2001-11-16 2004-07-29 John Saare Method and system for an extensible client specific address book application in a portal server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183395A (en) * 2007-12-25 2008-05-21 北京中企开源信息技术有限公司 Method and system for realizing staticize of dynamic page
CN103136238A (en) * 2011-11-28 2013-06-05 百度在线网络技术(北京)有限公司 Method and server of processing page interactive elements at time of converting web page into wireless application protocol (WAP) page
CN103139258A (en) * 2011-11-30 2013-06-05 百度在线网络技术(北京)有限公司 Method and device and system for processing page access requests of mobile terminal
CN103577321A (en) * 2012-08-07 2014-02-12 阿里巴巴集团控股有限公司 Multi-version parallel test method for web pages and server
CN108415782A (en) * 2018-02-23 2018-08-17 携程旅游网络技术(上海)有限公司 Control communication means, device, electronic equipment, the storage medium of application program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Extending data-driven model of software with software change request service";Zeljko Stojanov等;《Enterprise Information Systems》;第982-1006页 *
"基于Android平台CUDA程序移植的研究与实现";王丽;《中国优秀硕士学位论文全文数据库 信息科技辑888》;I138-820页 *

Also Published As

Publication number Publication date
CN111443983A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN109213611B (en) Cross-process communication method, device, terminal and storage medium
CN109474467B (en) Network automation management method and device, storage medium and electronic equipment
US9052963B2 (en) Cloud computing data center machine monitor and control
CN109726076B (en) Applet life cycle management method and system
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN111897694A (en) Method, device and equipment for processing messages in applet and storage medium
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
US11055154B2 (en) Screen-shooting method and device for guest operating system in computer apparatus
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
US10318343B2 (en) Migration methods and apparatuses for migrating virtual machine including locally stored and shared data
CN112346794A (en) Interface calling method, device, equipment and medium
CN116257320B (en) DPU-based virtualization configuration management method, device, equipment and medium
CN113922995A (en) Cloud desktop sharing method and device, storage medium and electronic equipment
CN107817962B (en) Remote control method, device, control server and storage medium
CN114253864A (en) Service testing method and device, electronic equipment and storage medium
CN107301220B (en) Method, device and equipment for data driving view and storage medium
CN110221840B (en) Function implementation method and device of application program, equipment and storage medium
CN111443983B (en) Application program virtualization method and device, electronic equipment and storage medium
US20180052700A1 (en) Facilitation of guest application display from host operating system
CN111367799B (en) Method, device, medium and electronic equipment for locating source code breakdown position
CN112069158A (en) Data restoration method, device, equipment and storage medium
US11249760B2 (en) Parameter management between programs
US10616076B2 (en) Network asset management
CN112000491B (en) Application program interface calling method, device, equipment and storage medium
CN110602162B (en) Terminal evidence obtaining method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant