Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus and a device for calling a remote application based on a C/S architecture, so as to overcome the problem that the practicability of the remote application is not high in the current three-dimensional design application.
In order to achieve the purpose, the invention adopts the following technical scheme:
a calling method of a remote application based on a C/S architecture comprises the following steps:
acquiring a calling request of a target application sent by a client based on a preset C/S architecture;
generating data information of the execution process of the calling request;
and sending the data information to the client based on a preset remote service corresponding to the attribute of the target application, so that the client displays the execution process after analyzing the data information.
Further, before acquiring the call request of the target application sent by the client, the method for calling the remote application based on the C/S architecture further includes:
acquiring connection information sent by the client;
after the connection information is verified successfully, connection based on the remote service is established with the client;
and determining an authenticated application corresponding to the connection information, and sending the authenticated application to the client based on the remote service so that the client determines the target application from the authenticated application.
Further, the above method for invoking a remote application based on a C/S architecture further includes:
acquiring a starting request of an application to be authenticated, which is sent by the client;
detecting whether the application to be authenticated exists in a preset application database;
and if the application to be authenticated exists in the application database, executing the starting request after acquiring authentication information.
Further, the above method for invoking a remote application based on a C/S architecture further includes:
if the application to be authenticated does not exist in the application database, generating a request record of the application to be authenticated;
and if the request record reaches a preset resource alarm threshold value, generating an installation prompt of the application to be authenticated so as to prompt a worker to install the application to be authenticated.
Further, the method for invoking the remote application based on the C/S architecture, which sends the authenticated application to the client based on the remote service, includes:
acquiring the use frequency of all the authenticated applications in a preset time;
arranging the authenticated applications in a descending order of the frequency of use;
transmitting the authenticated applications arranged in descending order of the usage frequency to the client based on the remote service.
Further, the above method for invoking a remote application based on a C/S architecture further includes:
acquiring installation information of the same type of application of the authenticated application;
and sending the installation information to the client to remind the user of installation of the applications of the same type and suggest the user to use.
Further, the above method for invoking a remote application based on a C/S architecture further includes:
acquiring disconnection information of the client;
closing the target application according to the disconnection information;
and after the target application is closed, disconnecting the connection with the client.
The invention also provides a calling device of the remote application based on the C/S architecture, which comprises the following components:
the acquisition module is used for acquiring a calling request of a target application sent by a client;
the generation module is used for generating data information of the execution process of the calling request;
and the sending module is used for sending the data information to the client based on a preset remote service corresponding to the target application attribute so that the client displays the execution process after analyzing the data information.
Further, the above device for invoking a remote application based on a C/S architecture further includes: a checking module;
the acquisition module is further used for acquiring the connection information sent by the client;
the connection module is used for establishing the connection based on the remote service with the client after the connection information is verified successfully;
the sending module is further configured to determine an authenticated application corresponding to the connection information, and send the authenticated application to the client based on the remote service, so that the client determines the target application from the authenticated application.
The invention also provides a calling device of the remote application based on the C/S architecture, which comprises the following components: the system comprises a server and a client;
the server is connected with the client;
the client is used for sending a calling request of the target application based on a preset C/S architecture;
the server is used for acquiring a calling request of a target application sent by a client based on the C/S architecture; generating data information of the execution process of the calling request; and sending the data information to the client based on a preset remote service corresponding to the attribute of the target application, so that the client displays the execution process after analyzing the data information.
The invention provides a method, a device and equipment for calling a remote application based on a C/S (client/server) architecture, wherein a calling request of a target application sent by a client is obtained; generating data information of an execution process of the calling request; based on the remote service corresponding to the target application attribute, the data information is sent to the client, so that the client displays the execution process after analyzing the data information, a bottom operating system of the remote service is consistent with the target application, the application does not need to be issued through a virtual machine, the operation effect is good, the content displayed by the client is consistent with the three-dimensional design software of the server, the acceptance degree of people is high, and the practicability of the three-dimensional design application remote application is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
FIG. 1 is a flowchart provided in an embodiment of a method for invoking a remote application based on a C/S architecture. As shown in fig. 1, the method for calling a remote application based on a C/S architecture of this embodiment may specifically include the following steps:
s101, acquiring a calling request of a target application sent by a client based on a preset C/S framework;
in this embodiment, the implementation may be realized through a client and a server based on a preset C/S architecture.
When the user calls the remote application, the user can firstly perform login operation. Specifically, checking information such as an account name and a password can be input first, a required target application is selected after login is successful, and the account name and the password do not need to be input again when different target applications are used before login quitting; the account name and the password can be input after the target application is selected, and the account name and the password need to be input again if the user enters other target applications after the user exits from a certain target application. For the convenience of use of the user, the password setting can be remembered in the two ways.
After the account name and the password input by the user are obtained, the account name and the password can be verified, and after the verification is successful, a calling request of the target application sent by the client is obtained.
S102, generating data information of an execution process of the calling request;
in this embodiment, after obtaining the call request of the target application, the call request of the target application may be executed, where the call request may include an open request of the target application, a specific operation request of the target application, and the like.
Further, this embodiment may also generate data information of the call request execution process, for example, generate data information of a picture or a video stream of the call request execution process.
And S103, sending the data information to the client based on the preset remote service corresponding to the attribute of the target application.
In this embodiment, a corresponding remote service may be selected or constructed according to the attribute of the target application.
Specifically, a common application is generally developed based on windows as a bottom operating system, if the bottom operating system of the remote service for establishing the connection is linux, the application must be issued through a virtual machine, so that the application running effect is poor, and if the called application is developed based on linux as the bottom operating system, if the bottom operating system of the remote service for establishing the connection is windows, the application running effect is also affected.
In order to avoid this problem, the attribute of the target application may be determined, that is, the type of the underlying operating system of the target application is determined, then the remote service corresponding to the attribute of the target application is determined, and the data information is sent to the client based on the remote service, so that the client displays the execution process after analyzing the data information.
In this embodiment, the target application mainly targeted is three-dimensional design software, and common three-dimensional design software is developed based on windows as a bottom operating system, so remotepapp is preferably used as a remote service in this embodiment, and an end user can run remotepapp as if using desktop application, and use computing resources and graphic processing resources of a physical server, thereby achieving the effect of smoothly running the three-dimensional design software.
Further, when the user no longer uses the target application, the operation content of the user can be stored, the operation content can be stored locally at the client, and the operation content can be stored at the cloud.
According to the calling method of the remote application based on the C/S architecture, a calling request of a target application sent by a client is obtained; generating data information of an execution process of the calling request; based on the remote service corresponding to the target application attribute, the data information is sent to the client, so that the client displays the execution process after analyzing the data information, the bottom operating system of the remote service is consistent with the target application, the application does not need to be issued through a virtual machine, the operation effect is good, the content displayed by the client is consistent with the three-dimensional design software of the server, the acceptance degree of people is high, and the practicability of the three-dimensional design application remote application is improved.
FIG. 2 is a flowchart provided by a second embodiment of a method for invoking a remote application based on a C/S architecture. As shown in fig. 2, the method for calling a remote application based on a C/S architecture in this embodiment may specifically include, before step S101 in the embodiment shown in fig. 1, the following steps:
s201, acquiring connection information sent by a client;
in this embodiment, remotepapp is preferably used as a remote service, and before the target application is called, a connection needs to be established with the client, specifically, the client may send connection information from the client.
S202, after the connection information is successfully verified, connection based on remote service is established with the client;
specifically, after the connection information is acquired, the connection information may be checked, and after the check is successful, a connection based on remoteAPP remote service is established with the client.
After the connection is established, the user may use the target application, and when the user wants to use another target application, the current target application may be directly closed, and then the other target application may be opened. If the user wants to disconnect, disconnection information may be sent, and after receiving the disconnection information, the following steps may be performed: closing the target application according to the disconnection information; and after the target application is closed, disconnecting the connection with the client.
S203, determining an authenticated application corresponding to the connection information;
the connection information of different users corresponds to different authenticated applications, and in this embodiment, the authenticated application corresponding to the connection information may be determined.
S204, obtaining the use frequency of all authenticated applications in a preset time;
different users have different use habits and different application use frequencies, if a user has a high number of authenticated applications, the user searches for applications which need to be frequently used recently in a large number of authenticated applications, and a certain time of the user may be wasted to search for target applications.
S205, arranging the authenticated applications in a descending order of the use frequency;
specifically, after the use frequencies of all authenticated applications within the preset time are obtained, the authenticated applications are arranged in a descending order of the use frequencies, so that applications frequently used by the user in the near future are arranged in front of the authenticated applications, the user can search conveniently, and the time of the user is saved.
And S206, based on the remote service, sending the authenticated applications which are arranged in a descending order of the use frequency to the client.
Further, the present embodiment may transmit the ranked authenticated applications to the user based on the remote service, so that the user may determine the target application from the authenticated applications.
In addition, the user may also adjust the arrangement of the authenticated applications according to the usage habit of the user, which is not limited in this embodiment.
In the method for calling the remote application based on the C/S architecture according to the embodiment, the connection information sent by the client is acquired, after the connection information is successfully checked, the connection based on the remote service is established with the client, the identity of the user is confirmed, and the authenticated application of the client can be sent to the client. The bottom operating system of the remote service of the calling method is consistent with the target application, and then the application does not need to be issued through a virtual machine, so that the operation effect is good, the content displayed by the client is consistent with the three-dimensional design software of the server, the acceptance degree of people is high, and the practicability of the three-dimensional design application remote application is improved.
Further, the applications included in the embodiment are limited, however, as the scientific technology is continuously advanced at any time, more and more new applications are developed, and if the applications are not updated timely, the normal use of the user is affected. In order to avoid this problem, the method for calling a remote application based on a C/S architecture according to this embodiment may further include, on the basis of the foregoing embodiment, the following steps:
acquiring a starting request of an application to be authenticated, which is sent by a client; detecting whether an application to be authenticated exists in a preset application database; if the application to be authenticated exists in the application database, executing a starting request after acquiring authentication information; if the application to be authenticated does not exist in the application database, generating a request record of the application to be authenticated; and if the request record reaches a preset resource alarm threshold value, generating an installation prompt of the application to be authenticated so as to prompt a worker to install the application to be authenticated.
Specifically, the user may send a start request of the application to be authenticated through the client. After the start request is obtained, the embodiment may detect whether an application to be authenticated corresponding to the application request exists in a preset application database. And if the application to be authenticated corresponding to the application request exists in the preset application database, executing the starting request after the authentication information is acquired. In this embodiment, the authentication information may be payment information of the user or authorization information from an administrator, which is not limited in this embodiment. Moreover, after the authentication information is obtained, the application to be authenticated can be converted into an authenticated application of the user.
If the application to be authenticated corresponding to the application request does not exist in the preset application database, the application to be authenticated is not downloaded by the application database, and if the application is only required by one user, the application to be authenticated may not have statistical significance. Therefore, the embodiment can generate a request record of the application to be authenticated, and if the request record reaches the preset resource alarm threshold, it indicates that there are more users who want to use the application and the application needs to be installed, and can generate an installation prompt of the application to be authenticated to prompt a worker to install the application to be authenticated. By adopting the technical scheme of the embodiment, the timeliness of application updating is greatly improved, and the normal use of a user is not influenced.
Further, there may be multiple applications that can serve the same function, and the same application may contain different versions. Some versions or types of applications may not be stable enough and are not convenient to use, however, because the current version is not stable, the user can only use the version, and if the application updates the version or other better application types appear, the user may not know, and the work efficiency of the user is affected. In order to solve this problem, the present embodiment may further include the following steps on the basis of the above embodiment:
acquiring installation information of the same type of application of the authenticated application; and sending the installation information to the client to remind the user of the installation of the same type of application and suggest the user to use.
Specifically, if the same type of application as that in the authenticated application is installed in this embodiment, the installation information may be generated and sent to the client, so as to remind the user that the same type of application is installed, and the user may refer to the application. By adopting the technical scheme of the embodiment, the user can be reminded of new application installation, and the working efficiency of the user is improved.
In order to be more comprehensive, the application also provides a calling device of the remote application based on the C/S architecture, which corresponds to the calling method of the remote application based on the C/S architecture provided by the embodiment of the invention. Fig. 3 is a structural diagram provided in an embodiment of the calling apparatus for a remote application based on a C/S architecture of the present invention, and as shown in fig. 3, the calling apparatus for a remote application based on a C/S architecture of the present invention may include: the device comprises an acquisition module 101, a generation module 102 and a sending module 103;
an obtaining module 101, configured to obtain a call request of a target application sent by a client;
a generating module 102, configured to generate data information of an execution process of the call request;
and the sending module 103 is configured to send the data information to the client based on the remote service corresponding to the target application attribute, so that the client displays an execution process after analyzing the data information.
In the calling device of the remote application based on the C/S architecture of the embodiment, the obtaining module 101 obtains a calling request of a target application sent by a client; the generation module 102 generates data information of an execution process of the call request; based on the remote service corresponding to the target application attribute, the sending module 103 sends the data information to the client, so that the client displays an execution process after analyzing the data information, a bottom operating system of the remote service is consistent with the target application, and then the application is not required to be issued through a virtual machine, the operation effect is good, and the content displayed by the client is consistent with the three-dimensional design software of the server, so that the acceptance degree of people is high, and further the practicability of the three-dimensional design application remote application is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 4 is a block diagram of a second embodiment of the calling device for remote application based on C/S architecture according to the present invention. The calling device for remote application based on C/S architecture of this embodiment is based on the embodiment of fig. 3, and further describes the technical solution of the present invention in more detail.
As shown in fig. 4, the calling device of the remote application based on the C/S architecture of the present embodiment may further include a connection module 104;
the obtaining module 101 is further configured to obtain connection information sent by the client;
the connection module 104 is configured to establish a connection based on a remote service with the client after the connection information is successfully verified;
the sending module 103 is further configured to determine an authenticated application corresponding to the connection information, and send the authenticated application to the client based on the remote service, so that the client determines a target application from the authenticated application.
Further, the calling device of the remote application based on the C/S architecture of the present embodiment may further include a detection module 105 and an execution module 106;
the obtaining module 101 is further configured to obtain a start request of an application to be authenticated, which is sent by a client;
the detection module 105 is configured to detect whether an application to be authenticated exists in a preset application database;
and the execution module 106 is configured to execute the start request after the authentication information is acquired if the application to be authenticated exists in the application database.
Further, the calling device of the remote application based on the C/S architecture of the present embodiment may further include a recording module 107;
a recording module 107, configured to generate a request record of an application to be authenticated if the application to be authenticated does not exist in the application database; and if the request record reaches a preset resource alarm threshold value, generating an installation prompt of the application to be authenticated so as to prompt a worker to install the application to be authenticated.
Further, the calling device of the remote application based on the C/S architecture of the present embodiment may further include a ranking module 108;
the obtaining module 101 is further configured to obtain the use frequencies of all authenticated applications within a preset time;
a ranking module 108 for ranking the authenticated applications in descending order of frequency of use;
the sending module 103 is further configured to send the authenticated applications arranged in a descending order of usage frequency to the client based on the remote service.
Further, the obtaining module 101 of this embodiment is further configured to obtain installation information of applications of the same type of authenticated applications;
the sending module 103 is further configured to send the installation information to the client, so as to remind the user that the applications of the same type are installed, and suggest the user to use.
Further, the calling device of the remote application based on the C/S architecture of the present embodiment may further include a shutdown module 110;
the obtaining module 101 is further configured to obtain disconnection information of the client;
a closing module 110, configured to close the target application according to the disconnection information;
the closing module 110 is further configured to disconnect the client after the target application is closed.
In the method for calling a remote application based on a C/S architecture of this embodiment, the obtaining module 101 obtains connection information sent by a client, after the connection information is successfully checked, the connection module 104 establishes a connection based on a remote service with the client, confirms the identity of a user, and can send an authenticated application of the client to the client. The detection module 105 may detect whether an application to be authenticated corresponding to a start request of the application to be authenticated sent by the client exists in a preset application database, and the recording module 107 generates an installation prompt of the application to be authenticated to prompt a worker to install the application to be authenticated, so that the working efficiency of the user is improved. The sending module 103 can also send installation information of the same type of application of the authenticated application to the client, so that the user can be reminded of new application installation, and the working efficiency of the user is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In order to be more comprehensive, the application also provides a calling device of the remote application based on the C/S architecture, which corresponds to the calling method of the remote application based on the C/S architecture provided by the embodiment of the invention. Fig. 5 is a structural diagram provided by a calling device of a remote application based on a C/S architecture according to the present invention, and as shown in fig. 5, the calling device of a remote application based on a C/S architecture according to this embodiment may include a server 21 and a client 22, where the server 21 is connected to the client 22, and preferably, the server 21 is connected to the client 22 through a wireless network in this embodiment, and the server 21 and the client 22 may be configured based on a C/S architecture.
Specifically, the client 22 may be configured to send a call request of the target application based on a preset C/S architecture;
the server 21 is configured to obtain a call request of a target application sent by a client based on a C/S architecture; generating data information of an execution process of the calling request; and sending the data information to the client 22 based on the preset remote service corresponding to the attribute of the target application, so that the client 22 displays the execution process after analyzing the data information.
Further, in this embodiment, a target application mainly targeted is three-dimensional design software, and common three-dimensional design software is developed based on windows as a bottom operating system, so remotepapp is preferably used as a remote service in this embodiment, and in order to improve the running effect of remotepapp, the server 21 and the client 22 of this embodiment preferably use a system for customizing and developing remotepapp, where the server 21 uses WiseOS and the client 22 uses WiseClient.
When the user establishes connection, a remotepapp remote connection may be established with the WiseOS of the server 21 through the WiseClient of the client 22. After the connection is established, a login operation may be performed, and then the remote application is called, and the process of the login operation and the process of the remote application are described in detail in the above embodiments, which is not described in detail in this embodiment.
The calling device of the remote application based on the C/S architecture of the embodiment includes a server 21 and a client 22, where the client 22 sends a calling request of a target application, and the server 21 generates data information of an execution process of the calling request; and sending the data information to the client 22 based on the preset remote service corresponding to the attribute of the target application, so that the client 22 displays the execution process after analyzing the data information. The bottom operating system of the remote service of the calling device is consistent with the target application, and then the application does not need to be issued through a virtual machine, so that the operation effect is good, and the content displayed by the client 22 is consistent with the three-dimensional design software of the server 21, so that the acceptance degree of people is high, and further the practicability of the three-dimensional design application is improved.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, applications, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in an application or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in an application function module form. The integrated module, if implemented in the form of an application function module and sold or used as a stand-alone product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.