CN112751742B - Starting method and device of local application - Google Patents

Starting method and device of local application Download PDF

Info

Publication number
CN112751742B
CN112751742B CN202011603794.2A CN202011603794A CN112751742B CN 112751742 B CN112751742 B CN 112751742B CN 202011603794 A CN202011603794 A CN 202011603794A CN 112751742 B CN112751742 B CN 112751742B
Authority
CN
China
Prior art keywords
resource
response data
local
local application
client service
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
CN202011603794.2A
Other languages
Chinese (zh)
Other versions
CN112751742A (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN202011603794.2A priority Critical patent/CN112751742B/en
Publication of CN112751742A publication Critical patent/CN112751742A/en
Application granted granted Critical
Publication of CN112751742B publication Critical patent/CN112751742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The disclosure relates to a method and a device for starting a local application, an electronic device and a computer readable medium. The method comprises the following steps: acquiring resource response data by the VPN gateway, wherein the resource response data comprises L3 resources and associated application configuration; the local browser generates a local application access request based on the resource response data; sending the local application access request to a client service; the client service parses the local application access request to obtain the L3 resource and the associated application configuration; and the client service starts the local application according to the L3 resource and the associated application configuration. The starting method, the starting device, the electronic equipment and the computer readable medium of the local application can reduce the difficulty of VPN administrators in maintaining resources; the dependence of browser plug-ins is avoided, and the plug-in removal of the VPN client is achieved.

Description

Starting method and device of local application
Technical Field
The present disclosure relates to the field of computer information processing, and in particular, to a method and an apparatus for starting a local application, an electronic device, and a computer-readable medium.
Background
With the widespread application of L3 resources in SSL VPNs, C/S based L3 resources are also increasing. The access modes of the L3 resources based on the C/S are different, for example:
1. a certain intranet L3 resource needs to be accessed by using a specified browser, and the compatibility problem occurs when the intranet L3 resource is accessed by other browsers, in this case, an administrator needs to inform users one by one that the user needs to use a xxx browser to access and cannot achieve effective control, and the administrator may spend a great deal of time to help the users to solve the problem;
2. in the case that a certain intranet L3 resource is used for accessing an intranet remote desktop, an administrator needs to notify the user of mstsc.
Aiming at the above C/S resource using mode, the SSL VPN resource display page simply cannot meet the requirements of SSL VPN administrators and users.
Therefore, a new method, apparatus, electronic device and computer readable medium for launching native applications are needed.
The above information disclosed in this background section is only for enhancement of understanding of the background of the disclosure and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the present disclosure provides a method, an apparatus, an electronic device, and a computer-readable medium for starting a local application, which can reduce the difficulty of a VPN administrator in maintaining resources; the client service is used for replacing the browser plug-in to start the local application, so that the dependence of the browser plug-in is avoided, and the plug-in removal of the VPN client is realized.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to an aspect of the present disclosure, a method for starting a native application is provided, where the method includes: acquiring resource response data by the VPN gateway, wherein the resource response data comprises L3 resources and associated application configuration; the local browser generates a local application access request based on the resource response data; sending the local application access request to a client service; the client service parses the local application access request to obtain the L3 resource and the associated application configuration; and the client service starts the local application according to the L3 resource and the associated application configuration.
In an exemplary embodiment of the present disclosure, further comprising: configuring a plurality of L3 resources on a VPN gateway; and performing association configuration on the plurality of L3 resources and the corresponding local applications thereof.
In an exemplary embodiment of the present disclosure, further comprising: installing the client service on a client; and setting the client service as a startup self-starting.
In an exemplary embodiment of the present disclosure, further comprising: and the client service is used as an HTTP server to externally provide an interface for starting local application.
In an exemplary embodiment of the present disclosure, acquiring, by a VPN gateway, resource response data including L3 resources and associated application configuration includes: the browser of the client generates a resource request according to a user instruction; the VPN gateway obtains L3 resources and associated application configurations based on the resource request to generate resource response data.
In an exemplary embodiment of the disclosure, the local browser generating a local application access request based on the resource response data includes: the local web browser acquires the resource response data; and when the resource response data contain the L3 resource, generating a local application access request based on the resource response data.
In an exemplary embodiment of the present disclosure, when the resource response data includes an L3 resource, generating a native application access request based on the resource response data includes: and when the resource response data contains the L3 resource and the associated application of the L3 resource is configured to be effective, generating a local application access request based on the resource response data.
In an exemplary embodiment of the disclosure, sending the local application access request to a client service includes: and sending the local application access request to the client service in an ajax mode.
In an exemplary embodiment of the disclosure, the client service launching a native application according to the L3 resource and the associated application configuration includes: the client service generates a local application starting command; and starting the local application according to the L3 resource and the associated application configuration based on the local application starting command.
According to an aspect of the present disclosure, an apparatus for starting a native application is provided, the apparatus including: the data module is used for acquiring resource response data by the VPN gateway, wherein the resource response data comprises L3 resources and associated application configuration; the request module is used for generating a local application access request by the local browser based on the resource response data; the sending module is used for sending the local application access request to a client service; an analysis module, configured to analyze, by the client service, the local application access request to obtain the L3 resource and the associated application configuration; and the starting module is used for starting the local application by the client service according to the L3 resource and the associated application configuration.
According to an aspect of the present disclosure, an electronic device is provided, the electronic device including: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as above.
According to an aspect of the disclosure, a computer-readable medium is proposed, on which a computer program is stored, which program, when being executed by a processor, carries out the method as above.
According to the local application starting method, the local application starting device, the electronic equipment and the computer readable medium, the VPN gateway acquires resource response data, wherein the resource response data comprises an L3 resource and associated application configuration; the local browser generates a local application access request based on the resource response data; sending the local application access request to a client service; the client service parses the local application access request to obtain the L3 resource and the associated application configuration; the client service configures a local application starting mode according to the L3 resource and the associated application, so that the difficulty of VPN administrators in maintaining resources can be reduced; the client service is used for replacing the browser plug-in to start the local application, so that the dependence of the browser plug-in is avoided, and the plug-in removal of the VPN client is realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. The drawings described below are merely some embodiments of the present disclosure, and other drawings may be derived from those drawings by those of ordinary skill in the art without inventive effort.
Fig. 1 is a system block diagram illustrating a method and apparatus for starting a native application according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a method for launching a native application, according to an example embodiment.
Fig. 3 is a flowchart illustrating a method for launching a native application, according to another exemplary embodiment.
Fig. 4 is a schematic diagram illustrating a method for launching a native application according to another exemplary embodiment.
Fig. 5 is a block diagram illustrating an apparatus for launching a native application, according to an example embodiment.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
FIG. 7 is a block diagram illustrating a computer-readable medium in accordance with an example embodiment.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flowcharts shown in the figures are illustrative only and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various components, these components should not be limited by these terms. These terms are used to distinguish one element from another. Thus, a first component discussed below could be termed a second component without departing from the teachings of the disclosed concepts. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It is to be understood by those skilled in the art that the drawings are merely schematic representations of exemplary embodiments, and that the blocks or processes shown in the drawings are not necessarily required to practice the present disclosure and, therefore, are not intended to limit the scope of the present disclosure.
The technical abbreviations involved in this disclosure are explained as follows:
VPN: and the virtual private network is used for establishing a private network on the public network to carry out encrypted communication. The method has wide application in enterprise networks. The VPN gateway realizes remote access through encryption of the data packet and conversion of a data packet target address. A VPN may be implemented in a number of ways, including server, hardware, software, etc.
L3 resource: and performing data interaction on the IP-based data messages, configuring related L3 resources by the VPN gateway and automatically analyzing corresponding IP addresses, and issuing the IP addresses corresponding to the domain names to the routing table of the VPN client for the next hop to be the virtual network card used by the VPN client after the VPN client successfully logs in. When the local machine accesses the domain name, the related message is sent to the related virtual network card by inquiring the routing table, and the VPN client receives the message, encrypts and sends the message to the VPN gateway.
In the prior art, the designated software can be opened through the command line resource by increasing the SSL VPN command line resource type. Namely, command line resources are configured on SSL VPN resources, a specific command line is configured on a resource path, a user accesses the command line resources after logging in the SSL VPN, and the SSLVPN executes a corresponding command after opening a CMD command line window through a browser plug-in.
For example: the resource path of the command line resource is configured as mstsc-v 192.168.0.1, and the process is as follows:
1) The administrator configures the L3 resource 192.168.0.1, and limits to only allow the access 3389 port;
2) The administrator configures command line resources, and the resource path is mstsc-v 192.168.0.1;
3) A user logs in an SSL VPN and loads an SSL VPN resource page;
4) A user accesses command line resources through a resource page, and an SSL VPN resource page opens a CMD command line window through a browser plug-in and executes an mstsc-v 192.168.0.1 command;
however, there are a lot of inconveniences in the prior art:
1) The administrator needs to configure the L3 resource and the command line resource respectively, and there is no corresponding relationship, which increases the difficulty of the administrator in maintaining the resources. The addition and deletion requires the synchronization of the delete command line resources and the L3 resources.
2) Limited by the plug-in of the browser, if part of the browsers do not support the plug-in, the command line window cannot be started when the command line resources are accessed through the browser which does not support the plug-in, specific commands are executed, and an administrator cannot log in the SSL VPN by using a certain browser for all users.
3) Different browser plug-ins have different implementation methods, and the development and maintenance difficulty of the browser plug-ins is high.
In view of the technical defects in the prior art, the present disclosure provides a method for starting a local application, which solves the problem of needing to configure L3 and command line resources simultaneously by adding L3 resources in association with an application; by adding the SSL VPN client service program, the client service executes the starting operation of the application to solve the problem of browser plug-in dependence. The present disclosure is described in detail below with the aid of specific embodiments.
Fig. 1 is a system block diagram illustrating a method, apparatus, electronic device and computer readable medium for launching a native application according to an example embodiment.
As shown in fig. 1, the system architecture 10 may include terminal devices 101, 102, 103, a network 104, and a gateway 105. The network 104 serves to provide a medium for communication links between the terminal devices 101, 102, 103 and the gateway 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 101, 102, 103 to interact with a gateway 105 over a network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The gateway 105 may be a VPN gateway, which is the best form of interworking between the headquarters and the branch networks by implementing different network interconnections through VPN technology. The gateway 105 may provide data support for websites browsed by the user using the terminal devices 101, 102, 103. The gateway 105 may process the received resource request and feed back resource response data to the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may, for example, obtain resource response data by the VPN gateway 105, where the resource response data includes L3 resources and associated application configuration; the terminal device 101, 102, 103 may for example generate a local application access request based on the resource response data by a local browser; the terminal device 101, 102, 103 may for example send the local application access request into a client service; the terminal device 101, 102, 103 may, for example, parse the local application access request by the client service to obtain the L3 resource and the associated application configuration; the terminal device 101, 102, 103 may for example start a local application according to the L3 resource and the associated application configuration by the client service.
Multiple L3 resources may also be configured, for example, on VPN gateway 105; and carrying out association configuration on the plurality of L3 resources and the corresponding local applications thereof.
The client service may also be installed, for example, on the terminal devices 101, 102, 103, respectively; and setting the client service as a startup self-starting.
It should be noted that the method for starting the local application provided by the embodiment of the present disclosure may be executed by the gateway 105 and the terminal devices 101, 102, and 103 together, and accordingly, the starting apparatus of the local application may be disposed in the gateway 105 and the terminal devices 101, 102, and 103. And the requesting end for providing web browsing to the user is generally located in the terminal devices 101, 102, 103.
FIG. 2 is a flow diagram illustrating a method for launching a native application, according to an example embodiment. The method 20 for launching the native application includes at least steps S202 to S208.
As shown in fig. 2, in S202, resource response data is obtained by the VPN gateway, where the resource response data includes L3 resources and associated application configuration. More specifically, the local browser or the local client obtains the resource response data by the VPN gateway.
And acquiring resource response data by the VPN gateway, wherein the resource response data comprises L3 resources and associated application configuration. Further comprising: the client generates a resource request according to a user instruction; the VPN gateway obtains L3 resources and associated application configurations based on the resource requests to generate resource response data. The SSL VPN resource page adds an "associated application" related configuration to the response data when requesting L3 resource data.
In one embodiment, further comprising: configuring a plurality of L3 resources on a VPN gateway; and performing association configuration on the plurality of L3 resources and the corresponding local applications thereof.
More specifically, an "associated application" configuration can be added to the L3 resource; and the L3 resource is added with 'associated application' configuration on the basis of resource name, resource URL and port limitation.
Configuration item Description of the invention Mandatory item
Starting state Enabling or disabling associated application functionality Default disable
Application name Application completion name Is that
Route of travel Path of application Whether or not
Parameter(s) Application parameters Whether or not
In S204, the local browser generates a local application access request based on the resource response data. The resource response data may be obtained, for example, by a local web browser; and when the resource response data contain the L3 resource, generating a local application access request based on the resource response data.
When the resource response data contains the L3 resource, generating a local application access request based on the resource response data comprises: and when the resource response data contains the L3 resource and the associated application of the L3 resource is configured to be effective, generating a local application access request based on the resource response data.
In S206, the local application access request is sent to a client service. And sending the local application access request to the client service in an ajax mode.
In S208, the client service parses the local application access request to obtain the L3 resource and the associated application configuration.
In S210, the client service starts a local application according to the L3 resource and the associated application configuration. The client service may, for example, generate a local application launch command; and starting the local application according to the L3 resource and the associated application configuration based on a local application starting command.
According to the starting method of the local application, the VPN gateway acquires resource response data, wherein the resource response data comprises L3 resources and associated application configuration; the local browser generates a local application access request based on the resource response data; sending the local application access request to a client service; the client service parses the local application access request to obtain the L3 resource and the associated application configuration; the client service configures a local application starting mode according to the L3 resource and the associated application, so that the difficulty of a VPN administrator in maintaining the resource can be reduced; the client service is used for replacing the browser plug-in to start the local application, so that the dependence of the browser plug-in is avoided, and the plug-in removal of the VPN client is realized.
It should be clearly understood that this disclosure describes how to make and use particular examples, but the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other embodiments based on the teachings of the present disclosure.
Fig. 3 is a flowchart illustrating a method for launching a native application, according to another exemplary embodiment. The process 30 shown in fig. 3 is a supplementary description of the process shown in fig. 2.
As shown in fig. 3, in S302, the client service is installed on the client.
In S304, the client service is set to boot-up self-start.
In S306, the client service is used as an HTTP server to provide an interface for external application, where the interface is used to start a local application.
The SSL VPN client service program starts service after the client is installed, and the service program is started up and self-started. The service program is responsible for opening the application program associated with the L3 resource and executing the configured parameters. Meanwhile, the client service serves as an HTTP server, HTTP restful is provided for the outside to start a local application interface for SSL VPN resource page calling, and the method is specifically realized as follows:
monitoring a 65432 port of a local 127.0.0.1 after the client service is started;
the client service starts the local application interface:
request address: 127.0.0.1:65432
Interface path: /sslVPN _ client _ proxy/start _ app
The request mode comprises the following steps: POST (positive position transducer)
Request parameters:
parameter name Description of the invention Mandatory item
app_name Applying full names Is that
app_dir Path of application Whether or not
app_arg Application parameters Whether or not
And returning a result:
and returning in a Json format, wherein the success flag value is 1, the failure is 0, and the error reason is returned.
The success is as follows: { "flag": 1"}
Failure: { "flag": 0",
"coast": no application found "}
Fig. 4 is a schematic diagram illustrating a method for launching a native application according to another exemplary embodiment. As in the schematic diagram depicted in fig. 4, the VPN gateway has configured the L3 resource and associated application; the VPN client service is started and the start application interface is enabled.
When the SSL VPN resource page requests L3 resource data, relevant configuration of 'relevant application' is added to response data;
the response format, such as XML format, may be adapted according to the respective system:
and (3) associating application:
<l3_res>
<name>OA</name>
<URL>192.168.1.1</URL>
<port>8080</port>
<bind_app>1</bind_app>
<app_name>chrome.exe</app_name>
<app_dir>C:\Program Files(x86)\Google\Chrome\Application\
</app_dir>
<app_arg>--new-window 192.168.1.1</app_arg>
</l3_res>
unrelated applications:
<l3_res>
<name>OA</name>
<URL>192.168.1.1</URL>
<port>8080</port>
<bind_app>0</bind_app>
</l3_res>
the SSL VPN resource page analyzes the XML file and stores the relevant configuration, whether the L3 resource is associated with application or not is judged through the value of a bind _ app field, 1 is associated, and 0 is not associated;
a user clicks and accesses the L3 resource of the associated application through the SSL VPN resource page, and the SSL VPN resource page sends a request for starting the associated application to the client service in an ajax mode and carries the related information of the associated application;
varurl="https://127.0.0.1:65432/sslVPN_client_proxy
/start_appapp_name=chrome.exe&app_dir=xxx&app_arg=
--new-window 192.168.1.1";
$.ajax({
url:url,
dataType:'text',
success:function(data,textStatus,jqXHR){
// request success
},
error:function(){
// request failure
}
});
And the client service receives the request post-processing parameters sent by the browser and starts the corresponding local application according to the request parameters.
According to the local application starting method, the associated application configuration is added in the L3 resource, the VPN client service has the HTTP service function, the HTTP request can be received, the VPN client service provides a local service starting interface, and the VPN client service starts the local service, so that the local application starting technology through the VPN client service is realized.
Those skilled in the art will appreciate that all or part of the steps implementing the above embodiments are implemented as computer programs executed by a CPU. When executed by the CPU, performs the functions defined by the above-described methods provided by the present disclosure. The program may be stored in a computer readable storage medium, which may be a read-only memory, a magnetic or optical disk, or the like.
Furthermore, it should be noted that the above-mentioned figures are only schematic illustrations of the processes involved in the methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 5 is a block diagram illustrating an apparatus for launching a native application, according to an example embodiment. As shown in fig. 5, the native application starting apparatus 50 includes: a data module 502, a request module 504, a sending module 506, a parsing module 508, and a starting module 510.
The data module 502 is configured to obtain resource response data by the VPN gateway, where the resource response data includes an L3 resource and a related application configuration; the method comprises the following steps: the client generates a resource request according to a user instruction; the VPN gateway obtains L3 resources and associated application configurations based on the resource request to generate resource response data.
The request module 504 is used for the local browser to generate a local application access request based on the resource response data; the request module 504 is further configured to obtain the resource response data by a local web browser; and when the resource response data contain the L3 resource, generating a local application access request based on the resource response data.
The sending module 506 is configured to send the local application access request to a client service; the sending module 506 is further configured to send the local application access request to the client service in an ajax manner.
The parsing module 508 is configured to parse the local application access request by the client service to obtain the L3 resource and the associated application configuration;
the start module 510 is configured to start, by the client service, a local application according to the L3 resource and the associated application configuration. The launch module 510 is further configured to cause the client service to generate a local application launch command; and starting the local application according to the L3 resource and the associated application configuration based on the local application starting command.
The system also comprises a configuration module, a resource management module and a resource management module, wherein the configuration module is used for configuring a plurality of L3 resources on the VPN gateway; and carrying out association configuration on the plurality of L3 resources and the corresponding local applications thereof.
The client-side service installation method further comprises an installation module, a service management module and a service management module, wherein the installation module is used for installing the client-side service on a client; and setting the client service as a startup self-starting.
According to the starting device of the local application, the VPN gateway acquires resource response data, wherein the resource response data comprises L3 resources and associated application configuration; the local browser generates a local application access request based on the resource response data; sending the local application access request to a client service; the client service parses the local application access request to obtain the L3 resource and the associated application configuration; the client service configures a local application starting mode according to the L3 resource and the associated application, so that the difficulty of VPN administrators in maintaining resources can be reduced; the client service is used for replacing the browser plug-in to start the local application, so that the dependence of the browser plug-in is avoided, and the plug-in removal of the VPN client is realized.
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
An electronic device 600 according to this embodiment of the disclosure is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 that connects the various system components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code that is executable by the processing unit 610 such that the processing unit 610 performs the steps described in this specification in accordance with various exemplary embodiments of the present disclosure. For example, the processing unit 610 may perform the steps shown in fig. 2 and 3.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 600' (e.g., keyboard, pointing device, bluetooth device, etc.), such that a user can communicate with devices with which the electronic device 600 interacts, and/or any device (e.g., router, modem, etc.) with which the electronic device 600 can communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, as shown in fig. 7, the technical solution according to the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present disclosure.
The software product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable 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.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may be any readable medium that is not a 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 readable storage 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.
Program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In situations involving remote computing devices, the remote computing devices may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to external computing devices (e.g., through the internet using an internet service provider).
The computer readable medium carries one or more programs which, when executed by a device, cause the computer readable medium to perform the functions of: acquiring resource response data by the VPN gateway, wherein the resource response data comprises L3 resources and associated application configuration; the local browser generates a local application access request based on the resource response data; sending the local application access request to a client service; the client service parses the local application access request to obtain the L3 resource and the associated application configuration; and the client service starts the local application according to the L3 resource and the associated application configuration.
Those skilled in the art will appreciate that the modules described above may be distributed in the apparatus according to the description of the embodiments, or may be modified accordingly in one or more apparatuses unique from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that the present disclosure is not limited to the precise arrangements, instrumentalities, or instrumentalities described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A method for starting a native application, comprising:
acquiring resource response data by the VPN gateway, wherein the resource response data comprises L3 resources and associated application configuration;
the local browser generates a local application access request based on the resource response data;
sending the local application access request to a client service;
the client service parses the local application access request to obtain the L3 resource and the associated application configuration;
and the client service starts the local application according to the L3 resource and the associated application configuration.
2. The method of claim 1, further comprising:
configuring a plurality of L3 resources on a VPN gateway;
and carrying out association configuration on the plurality of L3 resources and the corresponding local applications thereof.
3. The method of claim 1, further comprising:
installing the client service on a client;
and setting the client service as starting-up self-starting.
4. The method of claim 3, further comprising:
and the client service is used as an HTTP server to provide an interface for the outside, and the interface is used for starting a local application.
5. The method of claim 1, wherein obtaining, by the VPN gateway, resource response data that includes the L3 resource and the associated application configuration, comprises:
the browser of the client generates a resource request according to a user instruction;
the VPN gateway obtains L3 resources and associated application configurations based on the resource request to generate resource response data.
6. The method of claim 1, wherein generating, by the local browser, the local application access request based on the resource response data comprises:
the local web browser acquires the resource response data;
and when the resource response data contain the L3 resource, generating a local application access request based on the resource response data.
7. The method of claim 6, wherein generating a native application access request based on the resource response data when the resource response data includes an L3 resource comprises:
and when the resource response data contain the L3 resource and the associated application configuration of the L3 resource is valid, generating a local application access request based on the resource response data.
8. The method of claim 1, wherein sending the local application access request into a client service comprises:
and sending the local application access request to the client service in an ajax mode.
9. The method of claim 1, wherein the client service launching a native application according to the L3 resource and the associated application configuration comprises:
the client service generates a local application starting command;
and starting the local application according to the L3 resource and the associated application configuration based on the local application starting command.
10. An apparatus for starting a native application, comprising:
the data module is used for acquiring resource response data by the VPN gateway, wherein the resource response data comprises L3 resources and associated application configuration;
the request module is used for generating a local application access request by the local browser based on the resource response data;
the sending module is used for sending the local application access request to a client service;
an analysis module, configured to analyze, by the client service, the local application access request to obtain the L3 resource and the associated application configuration;
and the starting module is used for starting the local application by the client service according to the L3 resource and the associated application configuration.
CN202011603794.2A 2020-12-30 2020-12-30 Starting method and device of local application Active CN112751742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011603794.2A CN112751742B (en) 2020-12-30 2020-12-30 Starting method and device of local application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011603794.2A CN112751742B (en) 2020-12-30 2020-12-30 Starting method and device of local application

Publications (2)

Publication Number Publication Date
CN112751742A CN112751742A (en) 2021-05-04
CN112751742B true CN112751742B (en) 2023-04-18

Family

ID=75647157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011603794.2A Active CN112751742B (en) 2020-12-30 2020-12-30 Starting method and device of local application

Country Status (1)

Country Link
CN (1) CN112751742B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333306A (en) * 2010-06-30 2012-01-25 丛林网络公司 The many service VPN networking clients that are used for mobile device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8924592B2 (en) * 2009-09-29 2014-12-30 Citrix Systems, Inc. Synchronization of server-side cookies with client-side cookies
CN103168450B (en) * 2011-10-14 2015-11-25 华为技术有限公司 The method of accesses virtual dedicated network, device and gateway device
US20160226815A1 (en) * 2015-01-30 2016-08-04 Huawei Technologies Co., Ltd. System and method for communicating in an ssl vpn
CN105959278B (en) * 2016-04-28 2019-06-14 北京网康科技有限公司 A kind of method, apparatus and system for calling VPN
CN110401641B (en) * 2019-07-09 2022-06-28 杭州迪普科技股份有限公司 User authentication method and device and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333306A (en) * 2010-06-30 2012-01-25 丛林网络公司 The many service VPN networking clients that are used for mobile device

Also Published As

Publication number Publication date
CN112751742A (en) 2021-05-04

Similar Documents

Publication Publication Date Title
US10560538B2 (en) Integrated user interface for consuming services across different distributed networks
US10171591B2 (en) Connecting public cloud with private network resources
US9729612B2 (en) Distributed stream processing
US9444899B2 (en) Use of internet information services logging to collect user information in an asynchronous manner
EP3103023B1 (en) Private cloud connected device cluster architecture
CN112187799B (en) Resource access policy generation method and device, storage medium and electronic equipment
US9853925B2 (en) Automatic transformation of messages between service versions
US20210160220A1 (en) Security service
CN111191200B (en) Three-party linkage authentication page display method and device and electronic equipment
CN112394907A (en) Container-based delivery system construction method, application delivery method and delivery system
WO2024045646A1 (en) Method, apparatus and system for managing cluster access permission
CN112953962A (en) Domain name access method and device
CN112751742B (en) Starting method and device of local application
CN111935092A (en) Information interaction method and device based on third-party application and electronic equipment
CN112491940A (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN114449523B (en) Flow filtering method, device, equipment and medium for satellite measurement and control system
US20230328147A1 (en) Smart notification system
CN113708955A (en) Equipment configuration method, device and system
AU2018390863B2 (en) Computer system and method for extracting dynamic content from websites
CN113037769B (en) Network resource access method and device
US20240004685A1 (en) Virtual Machine Managing System Using Snapshot
CN114143379A (en) HTTPS redirection device and method based on Portal authentication
CN116244003A (en) Plug-in synchronization method and device of cloud computing management platform
CN114416169A (en) Data processing method, medium, device and computing equipment based on micro front end
CN112988385A (en) Request processing method, device, system, storage medium and electronic 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
GR01 Patent grant
GR01 Patent grant