Application program access method, device and system
The application publishing server receives and verifies the request of the web browser, obtains the port information and establishes a remote connection, which solves the cumbersome problem of installing plug-ins on the browser device and realizes safe and efficient application access.
Patent Information
- Application Number
- CN202211546162.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-12-05
AI Technical Summary
In the existing technology, a web browser needs to install a RemoteApp plug-in to access an intranet application, which makes the access process cumbersome.
Receive the application startup request sent by the web server through the application publishing server, obtain the port information of the target application, and enable the web browser to establish a remote connection with the application publishing server based on the port information, without installing the RemoteApp plug-in on the browser device.
Simplifies the application access process and improves the security of target applications, preventing data leakage and unauthorized file downloads.
Smart Images

Figure CN115941767B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to an application access method, device and system. Background Art
[0002] At present, the way of remotely accessing intranet applications through World Wide Web (web) browsers brings a lot of convenience to people, so it has become a frequently used access method.
[0003] In the related art, when a web browser accesses an application in an intranet, it is usually necessary to install a remote desktop access application RemoteApp plug-in on the device running the web browser. After successful installation, the web browser can remotely access any application in the intranet.
[0004] However, in the above-mentioned related technologies, it is necessary to install a RemoteApp plug-in on the device running the web browser in order to remotely access the application in the intranet, which makes the access to the application more cumbersome. Summary of the invention
[0005] In view of the problems existing in the prior art, the embodiments of the present invention provide an application access method, device and system.
[0006] The present invention provides an application program access method, which is applied to an application publishing server, comprising:
[0007] Receiving an application start request sent by a web server; the application start request carries an identifier of a target application program that the web browser requests to access;
[0008] When it is determined based on the identifier of the target application that the target application is an application that the application publishing server allows access to, obtaining port information for running the target application;
[0009] The port information is sent to a web browser, so that the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
[0010] According to an application access method provided by the present invention, after sending the port information to the web browser so that the web browser establishes a remote connection with the application publishing server using RemoteApp publishing technology based on the port information, the method further includes:
[0011] When a copy request for copying target data in the target application is received from the web browser, the target data is intercepted based on a hook module, and the target data is prohibited from being sent to the web browser.
[0012] According to an application access method provided by the present invention, after sending the port information to the web browser so that the web browser establishes a remote connection with the application publishing server using RemoteApp publishing technology based on the port information, the method further includes:
[0013] When receiving a download request sent by the web browser for downloading a target file in the target application, determining whether to send the target file to the web browser based on a preset policy; the preset policy is used to indicate the user's authority to download the target file.
[0014] According to an application access method provided by the present invention, sending the port information to a web browser comprises:
[0015] The port information is sent to a gateway device, so that when the gateway device determines that the port information is the port information that the web browser is allowed to access, the gateway device sends the port information to the web browser.
[0016] The present invention also provides an application program access method, which is applied to a web browser and includes:
[0017] Sending an access request to a web server; the access request carries an identifier of a target application that the web browser requests to access;
[0018] Receiving port information for running the target application sent by the application publishing server;
[0019] A remote connection with the application publishing server is established using RemoteApp publishing technology based on the port information.
[0020] According to an application access method provided by the present invention, the access request also carries verification information; the verification information includes at least one of the following: user identity information, user type information and login information;
[0021] The sending of the access request to the web server comprises:
[0022] The access request is sent to a gateway device, so that when the gateway device determines that the verification information is legal, the access request is sent to the web server.
[0023] According to an application access method provided by the present invention, after establishing a remote connection with the application publishing server using the RemoteApp publishing technology based on the port information, the method further includes:
[0024] Display the RemoteApp window;
[0025] The target application is remotely operated in the RemoteApp window.
[0026] According to an application access method provided by the present invention, the method further includes:
[0027] When a screenshot operation of a target interface of the target application program is received from the user, the target interface is covered in the RemoteApp window.
[0028] The present invention also provides an application program access device, comprising:
[0029] A first receiving unit is used to receive an application start request sent by a web server; the application start request carries an identifier of a target application program that the web browser requests to access;
[0030] A first determining unit is used to obtain port information running the target application when determining that the target application is an application that the application publishing server allows to access based on the identifier of the target application;
[0031] The first sending unit is used to send the port information to the web browser, so that the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
[0032] The present invention also provides an application program access device, comprising:
[0033] A second sending unit is used to send an access request to the web server; the access request carries an identifier of the target application that the web browser requests to access;
[0034] A second receiving unit, configured to receive port information for running the target application sent by the application publishing server;
[0035] An establishing unit is used to establish a remote connection with the application publishing server using RemoteApp publishing technology based on the port information.
[0036] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned application program access methods is implemented.
[0037] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the application program access method described in any one of the above is implemented.
[0038] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned application program access methods.
[0039] The present invention also provides an application access system, including a global wide area network web server, an application publishing server, and a global wide area network web browser; the application publishing server is connected to the global wide area network web server and the global wide area network web browser respectively.
[0040] The application access method, device and system provided by the present invention, when receiving an application start request sent by a web server and carrying the identifier of the target application requested to be accessed by a web browser, the application publishing server determines whether the target application is an application allowed to be accessed by the application publishing server based on the identifier of the target application, and when it is determined that the target application is an application allowed to be accessed by the application publishing server, the port information of the target application is sent to the web browser, and the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information. It can be seen that the present invention sends an application start request to the application publishing server with the help of a web server, and when the application publishing server determines that the target application requested to be accessed by the web browser is legal, the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information sent by the application publishing server, without installing a RemoteApp plug-in on the device running the web browser, thereby simplifying the application access process. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0042] Figure 1 This is one of the flowcharts of the application access method provided by the embodiment of the present invention;
[0043] Figure 2 This is the second flow chart of the application program access method provided by the embodiment of the present invention;
[0044] Figure 3 This is a third flow chart of the application program access method provided by an embodiment of the present invention;
[0045] Figure 4 This is a fourth flow chart of the application access method provided by an embodiment of the present invention;
[0046] Figure 5 This is a fifth flow chart of the application access method provided by an embodiment of the present invention;
[0047] Figure 6 This is one of the structural diagrams of the application access system provided by the embodiment of the present invention;
[0048] Figure 7 This is the second structural diagram of the application access system provided by the embodiment of the present invention;
[0049] Figure 8 It is one of the structural diagrams of the application access device provided by the embodiment of the present invention;
[0050] Fig. 9 This is the second structural diagram of the application access device provided by the embodiment of the present invention;
[0051] Fig.10 It is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] Combine the following Figure 1-Figure 5 The application program access method of the present invention is described.
[0054] Figure 1 FIG. 1 is one of the flow charts of the application access method provided by an embodiment of the present invention. Figure 1 As shown, the application access method is applied to the application publishing server, and the application access method includes the following steps:
[0055] Step 101: Receive an application start request sent by a web server; the application start request carries an identifier of a target application program that a web browser requests to access.
[0056] For example, when a user needs to remotely access a target application, he or she can connect to a web server through a web browser, and then send an access request carrying the identifier of the target application to be accessed to the web server through the web browser. When the web server receives the access request, it parses the access request to obtain the identifier of the target application, and then generates an application startup request based on the identifier of the target application, and sends the application startup request to the application publishing server, so that the application publishing server receives the application startup request sent by the web server.
[0057] Step 102: When it is determined based on the identifier of the target application that the target application is an application that the application publishing server allows access to, obtain port information for running the target application.
[0058] For example, when receiving an application startup request, the application publishing server matches the identifier of the target application carried in the application startup request with the identifier of the pre-set application that the web browser is allowed to access. When the identifier of the target application matches the identifier of the application that the web browser is allowed to access, it means that the target application is an application that the application publishing server allows access to. At this time, the port information of the running target application is obtained.
[0059] Step 103: Send the port information to a web browser, so that the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
[0060] For example, when the port information of the target application is obtained, the port information of the target application is sent to the web browser, so that when the web browser receives the port information, based on the port information and using RemoteApp publishing technology, a remote connection is established between the web browser and the application publishing server, thereby enabling the user to remotely access the target application in the application publishing server through the web browser.
[0061] The application access method provided by the present invention is that when the application publishing server receives the application start request sent by the web server and carries the identification of the target application requested by the web browser to access, the application publishing server determines whether the target application is an application allowed to access by the application publishing server based on the identification of the target application, and when it is determined that the target application is an application allowed to access by the application publishing server, the port information of the target application is sent to the web browser, and the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information. It can be seen that the present invention sends the application start request to the application publishing server with the help of the web server, and when the application publishing server determines that the target application requested to access by the web browser is legal, the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information sent by the application publishing server, without installing the RemoteApp plug-in on the device running the web browser, thereby simplifying the application access process; in addition, the present invention verifies the target application requested to access by the web browser, checks whether the target application is an application allowed to access by the application publishing server for the web browser to access, and only when the target application is an application allowed to access by the application publishing server for the web browser to access, the port information of the target application is sent to the web browser, thereby improving the security of the target application, and also improving the security of the application publishing server in the intranet.
[0062] In one embodiment, Figure 2 FIG. 2 is a flow chart of the application program access method provided by an embodiment of the present invention. Figure 2 As shown, after the above step 103, the application access method further includes the following steps:
[0063] Step 104: upon receiving a copy request sent by the web browser for copying the target data in the target application, intercepting the target data based on a hook module, and prohibiting the target data from being sent to the web browser.
[0064] The hook module may be a hook function.
[0065] For example, when a user can remotely access a target application in an application publishing server through a web browser, the application publishing server needs to monitor the user's remote access. When the user needs to copy the target data in the target application, the user performs a copy operation. At this time, the web browser receives the user's copy operation, generates a copy request for the target data, and sends the copy request to the application publishing server. When the application publishing server receives the copy request, it calls the hook module to intercept the target data that needs to be copied, and prohibits the application publishing server from sending the target data to the web browser, that is, prohibits the data on the intranet from being located locally.
[0066] According to the application access method provided by the embodiment of the present invention, when the application publishing server receives a copy request sent by a web browser for copying target data in a target application, the target data is intercepted based on a hook module, so that the web browser cannot obtain the target data to be copied, that is, the target data will not be stored locally, thereby improving the security of the target data and the security of the data in the application publishing server, that is, improving the security of the intranet data.
[0067] In one embodiment, Figure 3 FIG. 3 is a flow chart of the application program access method provided by an embodiment of the present invention. Figure 3 As shown, after the above step 103, the application access method further includes the following steps:
[0068] Step 105: upon receiving a download request from the web browser for downloading a target file in the target application, determining whether to send the target file to the web browser based on a preset policy; the preset policy is used to indicate the user's authority to download the target file.
[0069] For example, when a user is able to remotely access a target application in an application publishing server through a web browser, the application publishing server needs to monitor the user's remote access. When the user needs to download a target file in the target application, the user can click a download button. At this time, the web browser will send a download request to the application publishing server, and the download request can carry user type information. When the application publishing server receives the download request, it can determine whether the user has the authority to download the target file based on the user type information and a preset policy, wherein the preset policy sets the download authority corresponding to each user type. For example, if the user type information is an administrator and the preset policy sets that the administrator has the download authority, then it is determined that the user has the authority to download the target file, and the target file is sent to the web browser at this time; if the user type information is an ordinary user and the preset policy sets that ordinary users do not have the download authority, then it is determined that the user does not have the authority to download the target file, and the target file is not sent to the web browser at this time.
[0070] According to the application access method provided by the embodiment of the present invention, when the application publishing server receives a download request sent by a web browser for downloading a target file in a target application, the application publishing server reviews the user's authority to download the target file based on a preset policy. Only users who pass the review can download the target file, thereby improving the security of the target file and realizing secure control of file downloading.
[0071] In one embodiment, the above step 103 may be implemented in the following manner:
[0072] The port information is sent to a gateway device, so that when the gateway device determines that the port information is the port information that the web browser is allowed to access, the gateway device sends the port information to the web browser.
[0073] For example, when the application publishing server obtains the port information for running the target application, it first sends the port information to the gateway device, and the gateway device reviews the received port information to determine whether the received port information corresponds to the port that the gateway device allows the web browser to access. When it is determined that the received port information corresponds to the port that the gateway device allows the web browser to access, the gateway device sends the port information for running the target application to the web browser, so that when the web browser receives the port information, based on the port information and using RemoteApp publishing technology, a remote connection is established between the web browser and the application publishing server, thereby allowing the user to remotely access the target application in the application publishing server through the web browser.
[0074] The application access method provided in the embodiment of the present invention determines whether the port information of the target application is the port information that the gateway device allows the web browser to access. Only when the web browser is allowed, the port information of the target application is sent to the web browser, which facilitates the web browser to establish a remote connection with the application publishing server based on the port information, realizes re-verification of the user using the web browser, and further improves the security of the data in the application publishing server.
[0075] Figure 4 FIG. 4 is a flow chart of the application program access method provided by an embodiment of the present invention. Figure 4 As shown, the application access method is applied to a web browser, and the application access method includes the following steps:
[0076] Step 401: Send an access request to a web server; the access request carries an identifier of a target application that the web browser requests to access.
[0077] For example, when a user needs to remotely access a target application, the user can connect to a web server through a web browser, and then send an access request carrying an identifier of the target application to be accessed to the web server through the web browser.
[0078] Step 402: Receive port information for running the target application sent by the application publishing server.
[0079] The port information is the port information sent by the application publishing server when the application publishing server determines, based on the identifier of the target application, that the target application is an application that the application publishing server allows to access.
[0080] Step 403: Establish a remote connection with the application publishing server using RemoteApp publishing technology based on the port information.
[0081] Among them, RemoteApp publishing technology uses the Remote Desktop Protocol (RDP) to provide application usage capabilities to the outside world in the form of projection.
[0082] For example, when a web browser receives the port information for running a target application, it establishes a remote connection between the web browser and the application publishing server based on the port information and using RemoteApp publishing technology, thereby enabling a user to remotely access the target application in the application publishing server through the web browser.
[0083] The application access method provided by the present invention is that when a web browser receives port information of a target application program running sent by an application publishing server, the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information. The present invention uses a web server to send an application startup request to the application publishing server, and when the application publishing server determines that the target application program requested to be accessed by the web browser is legal, the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information sent by the application publishing server, without installing a RemoteApp plug-in on a device running the web browser, thereby simplifying the application program access process.
[0084] In one embodiment, the access request also carries verification information; the verification information includes at least one of the following: user identity information, user type information, and login information; the above step 401 can be specifically implemented in the following manner:
[0085] The access request is sent to a gateway device, so that when the gateway device determines that the verification information is legal, the access request is sent to the web server.
[0086] Among them, user identity information can be information that uniquely identifies the user, such as the user's ID number, etc., user type information can be ordinary user, administrator, specific user, etc., and login information can be account information and password information, etc.
[0087] For example, when a web browser sends an access request to a web server, it can first send the access request to a gateway device, and the gateway device verifies the verification information carried in the access request. Taking the verification information including user identity information, user type information and login information as an example, the user identity information, user type information and login information are verified. Only when the user identity information, user type information and login information are all verified to be legal, the gateway device sends the access request to the web server.
[0088] The application access method provided by the embodiment of the present invention verifies the verification information carried in the access request through the gateway device. Only when the verification information is legal, the gateway device sends the access request to the web server, thereby realizing strict verification of the user by the gateway device and effectively preventing attacks on the web server and the application publishing server.
[0089] In one embodiment, Figure 5 FIG. 5 is a flowchart of the application program access method provided by an embodiment of the present invention. Figure 5 As shown, after the above step 403, the application access method further includes the following steps:
[0090] Step 404: Display the RemoteApp window.
[0091] For example, after a remote connection is established between a web browser and an application publishing server using the RemoteApp publishing technology, a RemoteApp window is displayed on the web browser.
[0092] Step 405: remotely operate the target application in the RemoteApp window.
[0093] For example, the displayed RemoteApp window displays an operation interface of a target application in the application publishing server, and the user can remotely operate the target application in the RemoteApp window based on needs.
[0094] The application access method provided in the embodiment of the present invention, after using RemoteApp publishing technology to establish a remote connection between a web browser and an application publishing server, a user can remotely access the target application through a web browser, which greatly facilitates the user to operate the target application.
[0095] In one embodiment, the application access method further comprises the following steps:
[0096] When a screenshot operation of a target interface of the target application program is received from the user, the target interface is covered in the RemoteApp window.
[0097] For example, when a user remotely operates a target application through a web browser, if he wants to take a screenshot of the target interface of the target application, he may perform a screenshot operation. When the web browser obtains the user's screenshot operation, it can cover the target interface in the RemoteApp window based on the Windows operating system application program interface (Windows API, WinAPI) technology. For example, the target interface can be set to black to cover the specific information in the target interface; or a watermark can be added to the target interface to cover the specific information in the target interface, etc.
[0098] The application access method provided in the embodiment of the present invention, when receiving a screenshot operation of a target interface of a target application from a user, covers the target interface to prevent the user's screenshot operation, thereby realizing control over anti-screenshot, thereby improving the security of data information in the target application.
[0099] Figure 6 FIG. 1 is one of the structural diagrams of the application access system provided by an embodiment of the present invention. Figure 6As shown, it includes a web server 601, an application publishing server 602 described in any of the above embodiments, and a web browser 603 described in any of the above embodiments; the application publishing server 602 is connected to the web server 601 and the web browser 603 respectively.
[0100] Among them, web server 601 and application publishing server 602 are devices in the intranet, web server 601 is a server that provides web services, and application publishing server 602 is a server that uses application publishing technology to specifically publish browser applications. The application publishing server 602 can only access web server 601 through network configuration; the intranet is a network area that cannot be directly accessed by the external network; the web browser 603 is a device in the external network, and the external network can be a network area that cannot be directly accessed, or it can be the Internet; the web browser 603 is a remotely published application, which can be deployed on an electronic device, and the web browser 603 can be run through the electronic device.
[0101] The web browser 603 wants to access the application in the application publishing server 602, that is, the external network accesses the internal network. In order to ensure the security of the data in the internal network, the user of the external network needs to be authenticated.
[0102] Specifically, the web browser 603 is used to send an access request to the web server 601; the access request carries the identifier of the target application that the web browser 603 requests to access.
[0103] The web server 601 is used to send an application start request to the application publishing server 602 upon receiving an access request; the application start request carries the identifier of the target application program that the web browser 603 requests to access.
[0104] The application publishing server 602 is used to obtain the port information of running the target application when it is determined based on the identifier of the target application that the target application is an application allowed to be accessed by the application publishing server 602; and send the port information to the web browser 603, so that the web browser 603 establishes a remote connection with the application publishing server 602 based on the port information using RemoteApp publishing technology.
[0105] Further, Figure 7 FIG. 2 is a second structural diagram of an application access system provided by an embodiment of the present invention. Figure 7As shown, the application access system further includes a gateway device 604 ; the application publishing server 602 is connected to the web browser 603 via the gateway device 604 , and the web browser 603 is connected to the web server 601 via the gateway device 604 .
[0106] Among them, the gateway device 604 is also a device in the intranet. The gateway device 604 is used to verify the identity of the user based on the received access request; the gateway device 604 is also used to further verify the identity of the user based on the port information of the running target application. For details, please refer to the above description of the gateway device 604, which will not be repeated here.
[0107] The application access device provided by the present invention is described below. The application access device described below and the application access method described above can be referenced to each other.
[0108] Figure 8 FIG. 1 is one of the structural diagrams of the application access device provided by the embodiment of the present invention. Figure 8 As shown, the application access device 800 includes a first receiving unit 801, a first determining unit 802 and a first sending unit 803; wherein:
[0109] The first receiving unit 801 is used to receive an application start request sent by a web server; the application start request carries an identifier of a target application program that the web browser requests to access;
[0110] A first determining unit 802 is configured to obtain port information for running the target application when determining that the target application is an application that the application publishing server allows access to based on the identifier of the target application;
[0111] The first sending unit 803 is used to send the port information to the web browser, so that the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
[0112] The application access device provided by the present invention, when receiving an application start request sent by a web server and carrying the identifier of the target application requested to be accessed by a web browser, the application publishing server determines whether the target application is an application allowed to be accessed by the application publishing server based on the identifier of the target application, and when determining that the target application is an application allowed to be accessed by the application publishing server, the port information of the target application is sent to the web browser, and the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information. It can be seen that the present invention sends an application start request to the application publishing server with the help of a web server, and when the application publishing server determines that the target application requested to be accessed by the web browser is legal, the web browser uses the RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information sent by the application publishing server, without the need to install a RemoteApp plug-in on the device running the web browser, thereby simplifying the application access process.
[0113] Based on any of the above embodiments, the application access device 800 further includes:
[0114] The interception unit is used to intercept the target data based on the hook module when receiving a copy request sent by the web browser for copying the target data in the target application, and prohibit the target data from being sent to the web browser.
[0115] Based on any of the above embodiments, the application access device 800 further includes:
[0116] The second determining unit is used to determine whether to send the target file to the web browser based on a preset policy when receiving a download request sent by the web browser for downloading the target file in the target application; the preset policy is used to indicate the user's authority to download the target file.
[0117] Based on any of the foregoing embodiments, the first sending unit 803 is specifically configured to:
[0118] The port information is sent to a gateway device, so that when the gateway device determines that the port information is the port information that the web browser is allowed to access, the gateway device sends the port information to the web browser.
[0119] Fig. 9 FIG. 2 is a second structural diagram of an application program access device provided by an embodiment of the present invention. Fig. 9 As shown, the application access device 900 includes a second sending unit 901, a second receiving unit 902 and an establishing unit 903; wherein:
[0120] The second sending unit 901 is used to send an access request to the web server; the access request carries the identifier of the target application that the web browser requests to access;
[0121] The second receiving unit 902 is used to receive the port information for running the target application sent by the application publishing server; the port information is the port information sent by the application publishing server when the application publishing server determines that the target application is an application that the application publishing server allows to access based on the identifier of the target application;
[0122] The establishing unit 903 is used to establish a remote connection with the application publishing server by using the RemoteApp publishing technology based on the port information.
[0123] The application access device provided by the present invention is that when a web browser receives port information of a target application program running sent by an application publishing server, the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information. The present invention uses a web server to send an application startup request to the application publishing server, and when the application publishing server determines that the target application program requested to be accessed by the web browser is legal, the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information sent by the application publishing server, without installing a RemoteApp plug-in on the device running the web browser, thereby simplifying the application program access process.
[0124] Based on any of the above embodiments, the access request also carries verification information; the verification information includes at least one of the following: user identity information, user type information and login information; the second sending unit 901 is specifically used to:
[0125] The access request is sent to a gateway device, so that when the gateway device determines that the verification information is legal, the access request is sent to the web server.
[0126] Based on any of the above embodiments, the application access device 900 further includes:
[0127] A display unit, used for displaying a RemoteApp window;
[0128] An operating unit is used to remotely operate the target application in the RemoteApp window.
[0129] Based on any of the above embodiments, the application access device 900 further includes:
[0130] The processing unit is used to cover the target interface in the RemoteApp window when receiving a screenshot operation of the target interface of the target application from the user.
[0131] Fig.10 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention, such as Fig.10 As shown, the electronic device may include: a processor 1010, a communication interface 1020, a memory 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020 and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 may call the logic instructions in the memory 1030 to execute the application access method, the method comprising: receiving an application start request sent by a web server; the application start request carries the identifier of the target application requested to be accessed by the web browser;
[0132] When it is determined based on the identifier of the target application that the target application is an application that the application publishing server allows access to, obtaining port information for running the target application;
[0133] The port information is sent to a web browser, so that the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
[0134] Alternatively, the processor 1010 may call the logic instructions in the memory 1030 to execute the following method:
[0135] Sending an access request to a web server; the access request carries an identifier of a target application that the web browser requests to access;
[0136] receiving port information for running the target application sent by the application publishing server; the port information is the port information sent by the application publishing server when the application publishing server determines, based on the identifier of the target application, that the target application is an application that the application publishing server allows to access;
[0137] A remote connection with the application publishing server is established using RemoteApp publishing technology based on the port information.
[0138] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0139] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the application access method provided by the above methods, the method comprising: receiving an application start request sent by a web server; the application start request carries an identifier of a target application requested to be accessed by a web browser;
[0140] When it is determined based on the identifier of the target application that the target application is an application that the application publishing server allows access to, obtaining port information for running the target application;
[0141] The port information is sent to a web browser, so that the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
[0142] Alternatively, when the computer program is executed by a processor, the following method is implemented:
[0143] Sending an access request to a web server; the access request carries an identifier of a target application that the web browser requests to access;
[0144] receiving port information for running the target application sent by the application publishing server; the port information is the port information sent by the application publishing server when the application publishing server determines, based on the identifier of the target application, that the target application is an application that the application publishing server allows to access;
[0145] A remote connection with the application publishing server is established using RemoteApp publishing technology based on the port information.
[0146] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the application access method provided by the above methods, the method comprising: receiving an application start request sent by a web server; the application start request carries an identifier of a target application requested to be accessed by a web browser;
[0147] When it is determined based on the identifier of the target application that the target application is an application that the application publishing server allows access to, obtaining port information for running the target application;
[0148] The port information is sent to a web browser, so that the web browser uses RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
[0149] Alternatively, when the program instructions are executed by a computer, the computer can implement the following method: sending an access request to a web server; the access request carries an identifier of a target application program that the web browser requests to access;
[0150] receiving port information for running the target application sent by the application publishing server; the port information is the port information sent by the application publishing server when the application publishing server determines, based on the identifier of the target application, that the target application is an application that the application publishing server allows to access;
[0151] A remote connection with the application publishing server is established using RemoteApp publishing technology based on the port information.
[0152] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for accessing an application program, It is characterized in that Applied to an application publishing server, the method includes: receiving an application start request sent by a global wide area network web server; the application start request carries an identifier of a target application program that a global wide area network web browser requests to access; the web server and the application publishing server are devices in an intranet, the intranet is a network area that cannot be directly accessed by an external network, and the electronic device running the web browser is a device in an external network; When it is determined based on the identifier of the target application that the target application is an application that the application publishing server allows access to, obtaining port information for running the target application; The port information is sent to a global wide area network web browser, so that the global wide area network web browser uses a remote desktop access application RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
2. The application access method according to claim 1, It is characterized in that After sending the port information to the global wide area network web browser so that the global wide area network web browser establishes a remote connection with the application publishing server using a remote desktop access application RemoteApp publishing technology based on the port information, the method further includes: When a copy request for copying target data in the target application is received from the global wide area network web browser, the target data is intercepted based on a hook module, and the target data is prohibited from being sent to the global wide area network web browser.
3. The application access method according to claim 1, It is characterized in that After sending the port information to the global wide area network web browser so that the global wide area network web browser establishes a remote connection with the application publishing server using a remote desktop access application RemoteApp publishing technology based on the port information, the method further includes: When receiving a download request sent by the global wide area network web browser for downloading a target file in the target application, determining whether to send the target file to the global wide area network web browser based on a preset policy; the preset policy is used to indicate the user's authority to download the target file.
4. The application access method according to any one of claims 1 to 3, It is characterized in that The sending of the port information to a global wide area network web browser comprises: The port information is sent to a gateway device, so that when the gateway device determines that the port information is the port information that allows the global wide area network web browser to access, the gateway device sends the port information to the global wide area network web browser.
5. A method for accessing an application program, It is characterized in that Applied to a global wide area network web browser, the method comprises: Sending an access request to a global wide area network web server; the access request carries an identifier of a target application program that the global wide area network web browser requests to access; receiving port information for running the target application sent by the application publishing server; the port information is the port information sent by the application publishing server when the target application is determined to be an application that the application publishing server allows to access based on the identifier of the target application; the web server and the application publishing server are devices in an intranet, the intranet is a network area that cannot be directly accessed by an external network, and the electronic device running the web browser is a device in an external network; A remote connection with the application publishing server is established based on the port information by using a remote desktop access application RemoteApp publishing technology.
6. The application access method according to claim 5, It is characterized in that The access request also carries verification information; the verification information includes at least one of the following: user identity information, user type information and login information; The sending of the access request to the global wide area network web server comprises: The access request is sent to a gateway device, so that when the gateway device determines that the verification information is legal, the access request is sent to the global wide area network web server.
7. The application access method according to claim 5 or 6, It is characterized in that After establishing a remote connection with the application publishing server by using a remote desktop access application RemoteApp publishing technology based on the port information, the method further includes: Display the RemoteApp window of the remote desktop access application; The target application is remotely operated in the remote desktop access application RemoteApp window.
8. The application access method according to claim 7, It is characterized in that The method further comprises: When receiving a screen capture operation of a target interface of the target application program from a user, the target interface is covered in the remote desktop access application program RemoteApp window.
9. An application access device, It is characterized in that Applied to an application publishing server, the device comprises: The first receiving unit is used to receive an application startup request sent by a global wide area network web server; the application startup request carries an identifier of a target application program that a global wide area network web browser requests to access; the web server and the application publishing server are devices in an intranet, the intranet is a network area that cannot be directly accessed by an external network, and the electronic device running the web browser is a device in an external network; A first determining unit is used to obtain port information running the target application when determining that the target application is an application that the application publishing server allows to access based on the identifier of the target application; The first sending unit is used to send the port information to the global wide area network web browser, so that the global wide area network web browser uses the remote desktop access application RemoteApp publishing technology to establish a remote connection with the application publishing server based on the port information.
10. An application access device, It is characterized in that Applied to a global wide area network web browser, the device comprises: A second sending unit is used to send an access request to a global wide area network web server; the access request carries an identifier of a target application that the global wide area network web browser requests to access; The second receiving unit is used to receive the port information for running the target application sent by the application publishing server; the port information is the port information sent by the application publishing server when the target application is determined to be an application allowed to be accessed by the application publishing server based on the identifier of the target application; the web server and the application publishing server are devices in an intranet, the intranet is a network area that cannot be directly accessed by an external network, and the electronic device running the web browser is a device in an external network; The establishing unit is used to establish a remote connection with the application publishing server by using a remote desktop access application RemoteApp publishing technology based on the port information.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the processor implements the application access method according to any one of claims 1 to 4, or implements the application access method according to any one of claims 5 to 8.
12. A non-transitory computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, it implements the application access method according to any one of claims 1 to 4, or implements the application access method according to any one of claims 5 to 8.
13. An application access system, It is characterized in that It includes a global wide area network web server, an application publishing server, a global wide area network web browser and a gateway device; the application publishing server is connected to the global wide area network web browser through the gateway device, the global wide area network web browser is connected to the global wide area network web server through the gateway device, the web server and the application publishing server are devices in an intranet, the intranet is a network area that cannot be directly accessed by an external network, and the electronic device running the web browser is a device in an external network; The application publishing server is used to execute the application access method according to any one of claims 1 to 4; The web browser is used to execute the application access method as described in any one of claims 5 to 8.
Citation Information
Patent Citations
RDP-based data leakage prevention system and method
CN107346380A
Application method, device and system of client program in cloud environment
CN111917833A
