CN110781493B - Processing method for running application program, terminal and server - Google Patents

Processing method for running application program, terminal and server Download PDF

Info

Publication number
CN110781493B
CN110781493B CN201910943932.2A CN201910943932A CN110781493B CN 110781493 B CN110781493 B CN 110781493B CN 201910943932 A CN201910943932 A CN 201910943932A CN 110781493 B CN110781493 B CN 110781493B
Authority
CN
China
Prior art keywords
app
sdk
target
target sdk
server
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
CN201910943932.2A
Other languages
Chinese (zh)
Other versions
CN110781493A (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.)
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing 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 Qianxin Technology Group Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Qianxin Technology Group Co Ltd
Priority to CN201910943932.2A priority Critical patent/CN110781493B/en
Publication of CN110781493A publication Critical patent/CN110781493A/en
Application granted granted Critical
Publication of CN110781493B publication Critical patent/CN110781493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a processing method for running an application program, a terminal and a server, wherein the method comprises the following steps: initializing a safe operation environment of a sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK which is an SDK related to information security and pre-packaged in the APP; initializing the target SDK, and starting to run the APP after running the target SDK. The terminal and the server execute the corresponding method. According to the processing method, the terminal and the server for running the application program, provided by the embodiment of the invention, the safe running environment of the sandbox and the target SDK related to information safety are initialized in the starting process of the APP packaged with the target SDK, and the APP is started to run after the target SDK is run, so that the information safety of the user terminal is ensured.

Description

Processing method for running application program, terminal and server
Technical Field
The present invention relates to the field of network security technologies, and in particular, to a processing method, a terminal, and a server for running an application.
Background
With the maturity and popularization of intelligent terminals, personal intelligent terminal devices represented by personal mobile devices such as mobile phones and tablet computers gradually enter enterprise institutions, the enterprise institutions have started to support employees to use enterprise application programs on the personal mobile devices, and the work of employees using the personal intelligent terminal devices has become an irreversible trend. However, how to secure the employee when using the personal mobile device for office work becomes a new opportunity and challenge.
For example, when a certain APP with storage authority is used for the first time, the APP needs to read data on the storage card, so that the data on the Android storage card is extremely easy to leak, and even if the data is stored in the external storage card, the core data on all mobile phones can be carried away by pulling out the external storage card. Therefore, a processing method for running an application is needed to solve the above technical problems.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a processing method for running an application program, a terminal and a server.
The embodiment of the invention provides a processing method for running an application program, which comprises the following steps:
initializing a safe operation environment of a sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety;
initializing the target SDK, and starting to operate the APP after operating the target SDK.
Wherein the number of the target SDKs is at least two; correspondingly, the initializing the target SDK includes:
all target SDKs are initialized in sequence in a predetermined order.
In the starting process of the APP packaged with the target SDK, before initializing the secure operating environment of the sandbox, the processing method for operating the application program further includes:
and acquiring an APP installation file containing the target SDK, installing the APP according to the APP installation file, and starting the starting process of the APP packaged with the target SDK after the installation is finished.
Wherein, the obtaining of the APP installation file including the target SDK includes:
and downloading the APP installation file from a server to the local.
Before downloading the APP installation file from the server to the local, the processing method for running the application program further includes:
uploading the original APP to the server, so that the server determines the SDK selected by an uploading party uploading the original APP as the target SDK, and packaging the target SDK into the original APP to generate the APP packaged with the target SDK; the original APP is an APP without the target SDK encapsulated.
The embodiment of the invention provides a processing method for running an application program, which comprises the following steps:
determining a target SDK, wherein the target SDK is an SDK selected by an uploading party uploading an original APP; the original APP is an APP without a target SDK packaged;
and packaging the target SDK into the original APP to generate the APP packaged with the target SDK.
And the APP packaged with the target SDK is packaged in a non-unpacking way.
An embodiment of the present invention provides a terminal, including:
the initialization unit is used for initializing the safe operation environment of the sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety;
and the operation unit is used for initializing the target SDK and starting to operate the APP after the target SDK is operated.
Wherein the number of the target SDKs is at least two; correspondingly, the operation unit is specifically configured to:
all target SDKs are initialized in sequence in a predetermined order.
In the starting process of the APP in which the target SDK is packaged, before initializing the secure operating environment of the sandbox, the terminal is specifically configured to:
and acquiring an APP installation file containing the target SDK, installing the APP according to the APP installation file, and starting the starting process of the APP packaged with the target SDK after the installation is finished.
Wherein the terminal is specifically configured to:
and downloading the APP installation file from a server to the local.
Before downloading the APP installation file from the server to the local, the terminal is specifically configured to:
uploading the original APP to the server so that the server determines the SDK selected by the uploading party uploading the original APP as the target SDK, and packaging the target SDK into the original APP to generate an APP packaged with the target SDK; the original APP is an APP without the target SDK encapsulated.
An embodiment of the present invention provides a server, including:
the determining module is used for determining a target SDK, wherein the target SDK is an SDK selected by an uploading party uploading an original APP; the original APP is an APP without a target SDK;
and the encapsulation module encapsulates the target SDK into the original APP so as to generate the APP encapsulated with the target SDK.
And the APP packaged with the target SDK is packaged in a non-unpacking way.
An embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein,
the processor, when executing the program, implements the method steps of:
initializing a safe operation environment of a sandbox in the starting process of an APP packaged with a target SDK; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety;
initializing the target SDK, and starting to operate the APP after operating the target SDK;
or determining a target SDK, wherein the target SDK is the SDK selected by an uploading party uploading the original APP; the original APP is an APP without a target SDK;
and packaging the target SDK into the original APP to generate the APP packaged with the target SDK.
An embodiment of the invention provides a non-transitory computer readable storage medium having a computer program stored thereon, which when executed by a processor implements the following method steps:
initializing a safe operation environment of a sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety;
initializing the target SDK, and starting to run the APP after running the target SDK;
or determining a target SDK, wherein the target SDK is selected by an uploading party uploading the original APP; the original APP is an APP without a target SDK packaged;
and packaging the target SDK into the original APP to generate the APP packaged with the target SDK.
According to the processing method, the terminal and the server for running the application program, provided by the embodiment of the invention, the safe running environment of the sandbox and the target SDK related to information safety are initialized in the starting process of the APP packaged with the target SDK, and the APP is started and run after the target SDK is run, so that the information safety of the user terminal is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of an embodiment of a processing method for running an application program according to the present invention;
FIG. 2 is a diagram of an embodiment of the present invention for packaging APP;
FIG. 3 is a flowchart of an embodiment of a processing method for running an application program according to the present invention;
FIG. 4 is a schematic flow chart of a method according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Fig. 1 is a flowchart of an embodiment of a processing method for running an application program, and as shown in fig. 1, the processing method for running an application program provided in an embodiment of the present invention includes the following steps:
s101: initializing a safe operation environment of a sandbox in the starting process of the APP packaged with the target SDK; the sandbox contains the target SDK, which is an SDK related to information security and pre-packaged in the APP.
Specifically, in the starting process of the APP packaged with the target SDK, initializing a safe operation environment of the sandbox; the sandbox contains the target SDK, which is an SDK related to information security and pre-packaged in the APP. The method steps can be executed by a computer device, in particular a terminal. Sandboxing refers to the isolated environment in which applications run.
SDKs, i.e., software development kits, are generally a collection of development tools used by some software engineers to build application software for a particular software package, software framework, hardware platform, operating system, etc., such as VPN, two-factor authentication, etc. The APP is a computer application program such as WeChat, network player, and the like.
It should be noted that the target SDK is an SDK related to information security, and the information security may cover a range including, but not limited to, the following:
(1) jar file
(2) So file
(3) aar file
Available security capability components:
(1) identity security
Packaged multifactor authentication module
Encapsulated sso module
Packaged certificate login module
(2) Network security
Packaging VPN module to guarantee link safety
(3) Input security
The security keyboard is encapsulated.
Fig. 2 is a schematic diagram of encapsulating APP according to an embodiment of the present invention, as shown in fig. 2, the target SDK is also pre-encapsulated in the APP, and further, according to the personalized customization needs of the user, the server takes the SDK (for example, VPN, SSO, and secure keyboard) selected by the user as the target SDK, and encapsulates the target SDK into the original APP to generate the APP encapsulated with the target SDK, where the original APP is the APP not encapsulated with the target SDK. After encapsulation is complete, the APP can be run in a sandbox virtual run environment. For example, taking a target SDK as an example, for example, a VPN and an APP as a wechat, a client may choose to package the VPN in the wechat, so that the server packages the VPN into an original wechat, and further, the server may display all SDKs in the sandbox on a display interface of the terminal, so that the user may select a target SDK required by the user by triggering a selection operation action on the display interface.
S102: initializing the target SDK, and starting to operate the APP after operating the target SDK.
Specifically, the target SDK is initialized, and after the target SDK is operated, the APP is started to operate. Referring to the above example, the VPN is initialized, and the operating wechat is started when the VPN is operated, that is, before the wechat is operated, the VPN network is dialed, and the network link security is ensured, thereby ensuring the information security in the terminal.
It should be noted that the number of the target SDKs may also be at least two, and accordingly, also: all the target SDKs are initialized in sequence according to a preset sequence, and for example, the two SDKs are respectively VPN and two-factor authentication, namely, the VPN can be initialized first and then the two-factor authentication is initialized, and the two-factor authentication can also be initialized first and then the VPN is initialized. Further, the predetermined order may be set according to user needs.
The user ID of the user may also be recorded to maintain and manage the user, for example, to increase or decrease the number of target SDKs for the user.
In the processing method for running the application program provided in the embodiment of the present invention, in the starting process of the APP in which the target SDK is encapsulated, the secure running environment of the sandbox and the target SDK related to information security are initialized, and after the target SDK is run, the APP is started to run, so that the information security of the user terminal is ensured.
On the basis of the embodiment, the number of the target SDKs is at least two; correspondingly, the initializing the target SDK includes:
specifically, all target SDKs are initialized in sequence in a predetermined order. Reference is made to the above description and no further description is given.
According to the processing method for running the application program, all the target SDKs are initialized in sequence according to the preset sequence, so that all the target SDKs are loaded in order, and the information safety of the user terminal is ensured.
On the basis of the above embodiment, before initializing the secure operating environment of the sandbox in the starting process of the APP packaged with the target SDK, the processing method for operating the application further includes:
specifically, an APP installation file containing the target SDK is obtained, the APP is installed according to the APP installation file, and the starting process of the APP packaged with the target SDK is started after the installation is completed. The APP installation file may be downloaded from a server to a local, i.e. local terminal, and the server may be specifically a package server.
According to the processing method for running the application program, provided by the embodiment of the invention, the APP is installed through the APP installation file, so that the information safety of the user terminal can be realized.
On the basis of the above embodiment, the obtaining of the APP installation file including the target SDK includes:
specifically, the APP installation file is downloaded from a server to the local. Reference is made to the above description and no further description is made.
According to the processing method for running the application program, the APP installation file is downloaded from the server to the local, and information safety of the user terminal can be achieved.
On the basis of the above embodiment, before downloading the APP installation file from the server to the local, the processing method for running the application further includes:
specifically, the original APP is uploaded to the server, so that the server determines the SDK selected by the uploading party uploading the original APP as the target SDK, and encapsulates the target SDK into the original APP to generate the APP encapsulated with the target SDK; the original APP is an APP without the target SDK encapsulated. The uploading party uploading the original APP is the user of the terminal, and referring to the above description, the user may trigger the selection operation action on the display interface, so as to select the target SDK required by the user.
According to the processing method for running the application program, provided by the embodiment of the invention, the server can package the target SDK to the original APP by uploading the original APP to the server, so that the information security of the user terminal is ensured.
Fig. 3 is a flowchart of an embodiment of a processing method for running an application program, and as shown in fig. 3, the processing method for running an application program provided in the embodiment of the present invention includes the following steps:
s301: determining a target SDK, wherein the target SDK is an SDK selected by an uploading party uploading an original APP; the original APP is an APP without the target SDK encapsulated.
Specifically, a target SDK is determined, wherein the target SDK is an SDK selected by an uploading party uploading an original APP; the original APP is an APP without the target SDK encapsulated. The method steps may be performed by a computer device, in particular a server, such as a package server. Furthermore, the server is provided with an SDK library in advance, the SDK library is integrated with a general SDK related to information safety, and the uploading party can select the SDK from the SDK library.
S302: and packaging the target SDK into the original APP to generate the APP packaged with the target SDK.
Specifically, the target SDK is encapsulated into the original APP to generate an APP in which the target SDK is encapsulated. The target SDK may be copied to a corresponding directory of the original APP, so that the terminal downloads the installation file in the directory. The encapsulation method may be non-unpackaged encapsulation, that is, the original APP completely exists in the encapsulated APP. It should be noted that, in the embodiment of the present invention, various SDKs related to information security may be stored in a sandbox of a server, and a user only needs to select a target SDK to be encapsulated, so that a lot of troubles caused by secondary development of service applications are avoided.
According to the processing method for running the application program, provided by the embodiment of the invention, the SDK selected by the uploading party for uploading the original APP is determined as the target SDK, and the APP packaged with the target SDK is generated, so that a great deal of trouble brought by secondary development of a service application by a user can be avoided, convenience is brought to the user, and the information safety of a user terminal is ensured.
On the basis of the above embodiment, the encapsulation mode of the APP encapsulated with the target SDK is non-unpacking encapsulation. Reference is made to the above description and no further description is made.
The processing method for running the application program provided by the embodiment of the invention is further convenient for a user to install and use the APP conveniently.
Fig. 4 is a schematic flowchart of a method according to another embodiment of the present invention, and as shown in fig. 4, it should be noted that the sequence of steps of dialing through the VPN network and acquiring a dynamic password according to the two-factor mode in fig. 4 is only an example and is not limited in particular.
Fig. 5 is a schematic structural diagram of an embodiment of a terminal of the present invention, and as shown in fig. 5, an embodiment of the present invention provides a terminal, which includes an initialization unit 501 and an operation unit 502, where:
the initialization unit 501 is configured to initialize a secure operating environment of a sandbox in a starting process of an APP in which a target SDK is packaged; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety; the running unit 502 is configured to initialize the target SDK, and start running the APP after running the target SDK.
Specifically, the initialization unit 501 is configured to initialize a secure operating environment of a sandbox in a starting process of an APP packaged with a target SDK; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety; the running unit 502 is configured to initialize the target SDK, and start running the APP after running the target SDK.
The terminal provided by the embodiment of the invention initializes the safe operation environment of the sandbox and the target SDK related to information safety in the starting process of the APP packaged with the target SDK, and starts to operate the APP after operating the target SDK, thereby ensuring the information safety of the user terminal.
On the basis of the above embodiment, the number of the target SDKs is at least two; correspondingly, the operation unit 502 is specifically configured to: all target SDKs are initialized in sequence in a predetermined order.
The terminal provided by the embodiment of the invention sequentially initializes all the target SDKs according to the preset sequence, realizes the ordered loading of all the target SDKs and ensures the information security of the user terminal.
On the basis of the above embodiment, before initializing the secure operating environment of the sandbox in the starting process of the APP in which the target SDK is encapsulated, the terminal is specifically configured to: and acquiring an APP installation file containing the target SDK, installing the APP according to the APP installation file, and starting the APP packaged with the target SDK after the installation is finished.
According to the terminal provided by the embodiment of the invention, the APP is installed through the APP installation file, so that the information safety of the user terminal can be realized.
On the basis of the above embodiment, the terminal is specifically configured to: and downloading the APP installation file from a server to the local.
According to the terminal provided by the embodiment of the invention, the APP installation file is downloaded from the server to the local, so that the information safety of the user terminal can be realized.
On the basis of the above embodiment, before downloading the APP installation file from the server to the local, the terminal is specifically configured to: uploading the original APP to the server so that the server determines the SDK selected by the uploading party uploading the original APP as the target SDK, and packaging the target SDK into the original APP to generate an APP packaged with the target SDK; the original APP is an APP without the target SDK encapsulated.
According to the terminal provided by the embodiment of the invention, the server can package the target SDK to the original APP by uploading the original APP to the server, so that the information security of the user terminal is ensured.
The terminal provided in the embodiment of the present invention may be specifically configured to execute the processing flows of the foregoing method embodiments, and its functions are not described herein again, and reference may be made to the detailed description of the foregoing method embodiments.
Fig. 6 is a schematic structural diagram of an embodiment of a server according to the present invention, and as shown in fig. 6, an embodiment of the present invention provides a server, which includes a determining module 601 and an encapsulating module 602, where:
the determining module 601 is configured to determine a target SDK, where the target SDK is an SDK selected by an uploading party that uploads an original APP; the original APP is an APP without a target SDK; the encapsulation module 602 encapsulates the target SDK into the original APP to generate an APP encapsulated with the target SDK.
Specifically, the determining module 601 is configured to determine a target SDK, where the target SDK is an SDK selected by an uploading party that uploads an original APP; the original APP is an APP without a target SDK; the encapsulation module 602 encapsulates the target SDK into the original APP to generate an APP encapsulated with the target SDK.
According to the server provided by the embodiment of the invention, the SDK selected by the uploading party uploading the original APP is determined as the target SDK, and the APP packaged with the target SDK is generated, so that a great deal of trouble brought by secondary development of a user on service application can be avoided, convenience is brought to the user, and the information safety of the user terminal is ensured.
On the basis of the above embodiment, the encapsulation mode of the APP encapsulated with the target SDK is non-unpacking encapsulation.
The server provided by the embodiment of the invention is further convenient for a user to install and use the APP conveniently.
The server provided in the embodiment of the present invention may be specifically configured to execute the processing flow of each of the method embodiments, and the functions of the server are not described herein again, and refer to the detailed description of the method embodiments.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device includes: a processor (processor) 701, a memory (memory) 702, and a bus 703;
the processor 701 and the memory 702 complete mutual communication through a bus 703;
the processor 701 is configured to call the program instructions in the memory 702 to execute the methods provided by the above-mentioned method embodiments, for example, including: initializing a safe operation environment of a sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety; initializing the target SDK, and starting to run the APP after running the target SDK;
or determining a target SDK, wherein the target SDK is selected by an uploading party uploading the original APP; the original APP is an APP without a target SDK; and packaging the target SDK into the original APP to generate the APP packaged with the target SDK.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: initializing a safe operation environment of a sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK which is an SDK which is packaged in the APP in advance and is related to information safety; initializing the target SDK, and starting to run the APP after running the target SDK;
or determining a target SDK, wherein the target SDK is selected by an uploading party uploading the original APP; the original APP is an APP without a target SDK; and packaging the target SDK into the original APP to generate the APP packaged with the target SDK.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: initializing a safe operation environment of a sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK which is an SDK related to information security and pre-packaged in the APP; initializing the target SDK, and starting to run the APP after running the target SDK;
or determining a target SDK, wherein the target SDK is selected by an uploading party uploading the original APP; the original APP is an APP without a target SDK; and packaging the target SDK into the original APP to generate the APP packaged with the target SDK.
Those of ordinary skill in the art will understand that: all or part of the steps of implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer-readable storage medium, and when executed, executes the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on the understanding, the above technical solutions substantially or otherwise contributing to the prior art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A processing method for running an application program is applied to a terminal and comprises the following steps:
initializing a safe operation environment of a sandbox in the starting process of an APP packaged with a target SDK; the sandbox comprises the target SDK, and the target SDK is an SDK which is packaged in the APP in advance and is related to information security;
initializing the target SDK, and starting to run the APP after running the target SDK;
wherein the number of the target SDKs is at least two; correspondingly, the initializing the target SDK includes:
sequentially initializing all target SDKs according to a preset sequence;
the method further includes recording a user ID of the user;
the APP packaged with the target SDK uploads an original APP to a server, and the server displays all the SDKs in the sandbox on a display interface of a terminal, so that a user can trigger a selection operation action on the display interface, determine the SDK selected by an uploading party of the original APP as the target SDK, and package the target SDK into the original APP for generation; the original APP is an APP without a target SDK; the server is provided with an SDK library in advance, the SDK library is integrated with an SDK related to information security, and the target SDK is selected from the SDK library; and the server copies the target SDK to the corresponding directory of the original APP, and encapsulates the target SDK into the original APP so that the original APP completely exists in the encapsulated APP.
2. The processing method for running an application program according to claim 1, wherein before initializing a secure running environment of a sandbox during the starting of the APP packaged with the target SDK, the processing method for running an application program further comprises:
uploading the original APP to the server so that the server can generate the APP packaged with the target SDK;
and downloading the APP installation file containing the target SDK to the local from the server, installing the APP according to the APP installation file, and starting the starting process of the APP packaged with the target SDK after the installation is finished.
3. A processing method for running an application program is applied to a server and comprises the following steps:
determining a target SDK, wherein the target SDK is an SDK selected by an uploading party of an original APP, the APP packaged with the target SDK uploads the original APP to a server, and the server displays all the SDKs in a sandbox on a display interface of a terminal, so that a user can trigger a selection operation action on the display interface, and the SDK selected by the uploading party of the original APP is determined as the target SDK; the original APP is an APP without a target SDK packaged;
packaging the target SDK into the original APP to generate an APP packaged with the target SDK; the number of the target SDKs is at least two, and a preset sequence is set to be output to the client; wherein the method further comprises recording a user ID of the user;
the server is provided with an SDK library in advance, the SDK library is integrated with an SDK related to information security, and the target SDK is selected from the SDK library; and the server copies the target SDK to the corresponding directory of the original APP, and encapsulates the target SDK into the original APP so that the original APP completely exists in the encapsulated APP.
4. A terminal, comprising:
the initialization unit is used for initializing the safe operation environment of the sandbox in the starting process of the APP packaged with the target SDK; the sandbox comprises the target SDK, and the target SDK is an SDK which is packaged in the APP in advance and is related to information security;
the operation unit is used for initializing the target SDK and starting to operate the APP after the target SDK is operated;
wherein the number of the target SDKs is at least two; correspondingly, the operation unit is specifically configured to:
sequentially initializing all target SDKs according to a preset sequence;
also used for recording the user ID of the user;
the APP packaged with the target SDK uploads an original APP to a server, and the server displays all the SDKs in the sandbox on a display interface of a terminal, so that a user can trigger a selection operation action on the display interface, determine the SDK selected by an uploading party of the original APP as the target SDK, and package the target SDK into the original APP for generation; the original APP is an APP without a target SDK; the server is provided with an SDK library in advance, an SDK related to information security is integrated in the SDK library, and the target SDK is selected from the SDK library; and the server copies the target SDK to the corresponding directory of the original APP, and encapsulates the target SDK into the original APP so that the original APP completely exists in the encapsulated APP.
5. The terminal according to claim 4, wherein before initializing a secure operating environment of a sandbox during the start-up of the APP encapsulated with the target SDK, the terminal is specifically configured to:
uploading the original APP to the server so that the server can generate the APP packaged with the target SDK;
downloading the APP installation file containing the target SDK from the server to the local, installing the APP according to the APP installation file, and starting the starting process of the APP packaged with the target SDK after the installation is completed.
6. A server, comprising:
the device comprises a determining module, a sending module and a receiving module, wherein the determining module is used for determining a target SDK, the target SDK is an SDK selected by an uploading party of an original APP, the APP packaged with the target SDK is used for uploading the original APP to a server, and the server displays all the SDKs in a sandbox on a display interface of a terminal, so that a user can trigger a selection operation action on the display interface, and the SDK selected by the uploading party of the original APP is determined as the target SDK; the original APP is an APP without a target SDK packaged;
the encapsulation module encapsulates the target SDK into the original APP to generate the APP encapsulated with the target SDK; the number of the target SDKs is at least two, and a preset sequence is set to be output to the client;
the server is further used for recording the user ID of the user;
the server is provided with an SDK library in advance, the SDK library is integrated with an SDK related to information security, and the target SDK is selected from the SDK library; and the server copies the target SDK to the corresponding directory of the original APP, and encapsulates the target SDK into the original APP so that the original APP completely exists in the encapsulated APP.
7. An electronic device, comprising: memory, processor and computer program running on the memory and on the processor, characterized in that the processor implements the steps of the method according to claim 1 or 2 when executing the computer program or implements the steps of the method according to claim 3 when executing the computer program.
8. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed implements the steps of the method according to claim 1 or 2, or wherein the computer program when executed implements the steps of the method according to claim 3.
CN201910943932.2A 2019-09-30 2019-09-30 Processing method for running application program, terminal and server Active CN110781493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910943932.2A CN110781493B (en) 2019-09-30 2019-09-30 Processing method for running application program, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910943932.2A CN110781493B (en) 2019-09-30 2019-09-30 Processing method for running application program, terminal and server

Publications (2)

Publication Number Publication Date
CN110781493A CN110781493A (en) 2020-02-11
CN110781493B true CN110781493B (en) 2023-04-18

Family

ID=69385311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910943932.2A Active CN110781493B (en) 2019-09-30 2019-09-30 Processing method for running application program, terminal and server

Country Status (1)

Country Link
CN (1) CN110781493B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480513A (en) * 2017-08-17 2017-12-15 深信服科技股份有限公司 A kind of certification implementation method and device, computer installation, readable storage medium storing program for executing
CN108600251A (en) * 2012-09-18 2018-09-28 思杰系统有限公司 Mobile device management and safety

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9686245B2 (en) * 2014-09-16 2017-06-20 Entersekt International Limited System and method for secure authentication
EP3209000A1 (en) * 2016-02-18 2017-08-23 Speech Processing Solutions GmbH Method to transfer input commands of a hardware device to steer a web application processed in a browser
CN107172008B (en) * 2017-04-01 2019-10-18 北京芯盾时代科技有限公司 A kind of system and method carrying out multisystem certification and synchronization in a mobile device
CN109298895B (en) * 2017-07-24 2021-04-23 杭州盈高科技有限公司 APP management method and device on mobile equipment
CN107832105B (en) * 2017-11-24 2022-02-15 南昌黑鲨科技有限公司 Application program starting method, starting device and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600251A (en) * 2012-09-18 2018-09-28 思杰系统有限公司 Mobile device management and safety
CN107480513A (en) * 2017-08-17 2017-12-15 深信服科技股份有限公司 A kind of certification implementation method and device, computer installation, readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SDK的简单封装与使用;佚名;《https://product.52xinyou.com/help/extension/96.html》;20190902;第1-2页 *

Also Published As

Publication number Publication date
CN110781493A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
US11200157B1 (en) Automated execution reporting for container builds
CN109960517B (en) Method, device and system for manufacturing mirror image file and storage medium
CN109891415B (en) Securing a Web server for an unauthorized client application
CN111935110B (en) Method and device for controlling permission of tenant to access container instance
CN107239309B (en) Patch generation method and device, updating method, electronic device and storage medium
CN115378735B (en) Data processing method and device, storage medium and electronic equipment
CN112000382B (en) Linux system starting method and device and readable storage medium
CN112214752A (en) Dynamic control method, device and equipment of application permission and storage medium
CN109766123B (en) Application program packaging method and device
CN109597627A (en) A kind of component mounting method, device, storage medium and processor
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
EP3286682A1 (en) Method of managing applications in a secure element when updating the operating system
CN110781493B (en) Processing method for running application program, terminal and server
EP4280053A1 (en) Method and system for upgrading firmware of vehicle infotainment system
EP2887213A1 (en) Method for transferring applicative data between two instances of an application
CN108737402B (en) Mobile terminal safety protection method and device
CN113395326B (en) Network service-based login method, device and computer-readable storage medium
US20160019040A1 (en) Method for automatically converting android application to tizen installable package
CN115291973A (en) Method and device for connecting database by application on cloud, electronic equipment and storage medium
CN114691157A (en) Cloud-based FPGA management control system and method and electronic equipment
KR102368826B1 (en) Cloud Server And Method of Thereof
CN113360172B (en) Application deployment method, device, computer equipment and storage medium
CN109634885B (en) Method and device for communication between mobile terminal and smart card
CN110489276B (en) Disaster recovery method and device for verification service based on business page
CN111966992A (en) Processing method and device of docking equipment

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
CB02 Change of applicant information

Address after: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant after: Qianxin Technology Group Co.,Ltd.

Applicant after: Qianxin Wangshen information technology (Beijing) Co.,Ltd.

Address before: Room 332, 3 / F, Building 102, 28 xinjiekouwei street, Xicheng District, Beijing 100088

Applicant before: Qianxin Technology Group Co.,Ltd.

Applicant before: LEGENDSEC INFORMATION TECHNOLOGY (BEIJING) Inc.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant