CN111756805A - Method and device for accessing server, terminal equipment and storage medium - Google Patents

Method and device for accessing server, terminal equipment and storage medium Download PDF

Info

Publication number
CN111756805A
CN111756805A CN202010463643.5A CN202010463643A CN111756805A CN 111756805 A CN111756805 A CN 111756805A CN 202010463643 A CN202010463643 A CN 202010463643A CN 111756805 A CN111756805 A CN 111756805A
Authority
CN
China
Prior art keywords
server
accessed
distribution system
application distribution
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010463643.5A
Other languages
Chinese (zh)
Inventor
张文华
范志刚
卢涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202010463643.5A priority Critical patent/CN111756805A/en
Publication of CN111756805A publication Critical patent/CN111756805A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Abstract

The disclosure provides a method and a device for accessing a server, terminal equipment and a storage medium, relates to the technical field of internet, and can solve the problem that R-end equipment of a VDI system and an application distribution system in the prior art is not suitable for application scenes of mobile office. The specific technical scheme is as follows: receiving an Internet Protocol (IP) address of a server to be accessed, which is input by a user; determining the type of a server to be accessed according to the IP address, wherein the type of the server to be accessed comprises a server of an application distribution system and a server of a Virtual Desktop Infrastructure (VDI) system; sending identification information of the terminal equipment to a server to be accessed, wherein the identification information comprises an equipment identification code of the terminal equipment or network configuration information of the terminal equipment; and receiving characteristic data sent by the server to be accessed, wherein the characteristic data comprises identification information of the server to be accessed and page data. The invention is used for realizing remote access to the server to be accessed in the application scene of mobile office.

Description

Method and device for accessing server, terminal equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for accessing a server, a terminal device, and a storage medium.
Background
With the higher personalization requirements of enterprises, VDI (Virtual Desktop Infrastructure) and application distribution systems are applied more and more widely. The VDI system and the application distribution system each include a server and a receiving end (R-end) device. The difference is that the application distribution system focuses more on the server to perform unified management on multiple receiving end devices, for example, to play videos and display an application in a unified manner, while the VDI system is more suitable for enterprise office, and multiple virtual machines are configured on the server, so that users operate the virtual machines through their respective R-end devices to realize the function of controlling the virtual machines.
In general, an R-side device is equipped with a Linux system, as shown in fig. 1, the R-side device is provided with a plurality of interfaces, such as a video interface, an audio interface (front and back), Universal Serial Bus (USB) interfaces (four front and back), a network port, and a power interface, and when the R-side device is normally used, a plurality of cables need to be connected to the plurality of interfaces to connect to a server. Therefore, the R-side device adopting the current VDI system and application distribution system is not suitable for the application scenario of mobile office.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for accessing a server, a terminal device and a storage medium, which can solve the problem that R-side devices of a VDI system and an application distribution system in the prior art are not suitable for application scenes of mobile office. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a method of accessing a server, the method including:
receiving an Internet Protocol (IP) address of a server to be accessed, which is input by a user;
determining the type of the server to be accessed according to the IP address, wherein the type of the server to be accessed comprises a server of an application distribution system and a server of a Virtual Desktop Infrastructure (VDI) system;
sending identification information of the terminal equipment to the server to be accessed, wherein the identification information comprises an equipment identification code of the terminal equipment or network configuration information of the terminal equipment;
and receiving the characteristic data sent by the server to be accessed, wherein the characteristic data comprises the identification information of the server to be accessed and page data.
The method for accessing the server provided by the embodiment of the disclosure can receive the IP address of the server to be accessed, which is input by a user; determining the type of the server to be accessed according to the IP address, wherein the type of the server to be accessed comprises a server of an application distribution system and a server of a VDI system; sending the identification information of the terminal equipment to the server to be accessed, wherein the identification information comprises the equipment identification code of the terminal equipment or the IP address of the terminal equipment; the method comprises the steps of receiving characteristic data sent by a server to be accessed, wherein the characteristic data comprise identification information and page data of the server to be accessed, the terminal device can be used as R-end equipment of a distribution system or a VDI system when being a mobile terminal device, the terminal device can send the identification information of the terminal device to the server to be accessed and receive the characteristic data sent by the server to be accessed in a wireless communication mode, remote access of the server to be accessed is achieved, the terminal device is not limited to a fixed position, a cable connected with the server is omitted, the method is convenient to operate and carry and can reduce cost, the problems that the VDI system and the R-end equipment of the application distribution system in the prior art are not suitable for application scenes of mobile office can be solved, and the VDI system and the R-end equipment of the application distribution system can be compatible.
In one embodiment, the sending the identification information of the terminal device to the server to be accessed includes:
if the server to be accessed is determined to be the server of the application distribution system, sending the equipment identification code of the terminal equipment to the server of the application distribution system so that the server of the application distribution system can register the terminal equipment according to the equipment identification code;
the receiving the feature data sent by the server to be accessed comprises:
receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information of the server of the application distribution system and page data.
When the server to be accessed is determined to be the server of the application distribution system, the device identification code of the terminal device is sent to the server of the application distribution system, and the first characteristic data sent by the server of the application distribution system is received, so that the server of the application distribution system can be remotely accessed through the terminal device.
In one embodiment, after determining that the server to be accessed is a server of an application distribution system, the method further includes:
acquiring a license number of the terminal equipment;
verifying the license number;
the sending the identification information of the terminal device to the server to be accessed includes:
and if the license number is confirmed to pass the verification, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
By verifying the license number, whether the terminal equipment can be used as R-end equipment of an application distribution system or not can be determined, and the safety of data in the transmission process is improved.
In one embodiment, said verifying said license number comprises:
determining whether the physical address corresponding to the license number is consistent with the physical address of the terminal equipment;
the sending the identification information of the terminal device to the server of the application distribution system includes:
and if the physical address corresponding to the license number is consistent with the physical address of the terminal equipment, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
The license number can be verified by determining whether the physical address corresponding to the license number is consistent with the physical address of the terminal device.
In one embodiment, after receiving the first feature data sent by the server of the application distribution system, the method further includes:
displaying page data of a server of the application distribution system to a user;
after the page data of the server of the application distribution system is displayed to the user, receiving a server page operation instruction input by the user;
sending the server page operation instruction to a server of the application distribution system so that the server of the application distribution system executes the server page operation instruction;
and after the server of the application distribution system executes the server page operation instruction, receiving new page data sent by the server of the application distribution system.
The server of the application distribution system can be remotely accessed through the terminal equipment by showing page data of the server of the application distribution system to a user and receiving a server page operation instruction input by the user.
In one embodiment, the sending the identification information of the terminal device to the server to be accessed includes:
if the server to be accessed is determined to be a server of the VDI system, sending network configuration information and identity verification information of the terminal equipment to the server of the VDI system, so that the server of the VDI system can conveniently perform identity verification on the terminal equipment and determine a virtual machine corresponding to the identity verification information, and sending the network configuration information of the terminal equipment to the virtual machine;
the receiving the feature data sent by the server to be accessed comprises:
and receiving second characteristic data sent by the virtual machine, wherein the second characteristic data comprises identification information and page data of the virtual machine.
By carrying out identity authentication on the terminal equipment, whether the terminal equipment can be R-end equipment of a VDI system can be determined, and the safety of data in the transmission process is improved.
When the server to be accessed is determined to be the server of the VDI system, the network configuration information and the identity authentication information of the terminal device are sent to the server of the VDI system, and the second characteristic data sent by the server of the application distribution system is received, so that the virtual machine on the server of the VDI system can be remotely accessed through the terminal device.
In one embodiment, the second feature data is encoded feature data, and after receiving the second feature data sent by the virtual machine, the method further includes:
decoding the second characteristic data to obtain decoded second characteristic data, wherein the decoded second characteristic data comprise decoded page data of the virtual machine;
displaying the decoded page data of the virtual machine to a user;
after the decoded page data of the virtual machine are displayed to a user, receiving a page operation instruction of the virtual machine input by the user;
sending the page operation instruction of the virtual machine to the virtual machine so that the virtual machine can execute the page operation instruction;
and after the virtual machine executes the page operation instruction, receiving new page data sent by the virtual machine.
The page data of the virtual machine corresponding to the identity authentication information on the server of the VDI system is displayed to the user, and the virtual machine page operation instruction input by the user is received, so that the virtual machine on the server of the VDI system can be remotely accessed through the terminal equipment.
In a second aspect of the embodiments of the present disclosure, an apparatus for accessing a server is applied to a terminal device, and the apparatus includes:
the IP address receiving module is used for receiving an Internet protocol IP address of the server to be accessed, which is input by a user;
a server to be accessed type determining module, configured to determine, according to the IP address, a type of the server to be accessed, where the type of the server to be accessed includes a server of an application distribution system and a server of a virtual desktop infrastructure VDI system;
an identification information sending module, configured to send identification information of the terminal device to the server to be accessed, where the identification information includes a device identification code of the terminal device or network configuration information of the terminal device;
and the characteristic data receiving module is used for receiving the characteristic data sent by the server to be accessed, and the characteristic data comprises the identification information of the server to be accessed and page data.
In one embodiment, the identification information sending module is configured to:
if the server to be accessed is determined to be the server of the application distribution system, sending the equipment identification code of the terminal equipment to the server of the application distribution system so that the server of the application distribution system can register the terminal equipment according to the equipment identification code;
the characteristic data receiving module is used for:
receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information of the server of the application distribution system and page data.
In one embodiment, the apparatus further comprises: a license number verification module for
Acquiring a license number of the terminal equipment;
verifying the license number;
the identification information sending module is used for:
and if the license number is confirmed to pass the verification, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
In one embodiment, the license number verification module is specifically configured to:
determining whether the physical address corresponding to the license number is consistent with the physical address of the terminal equipment;
the sending the identification information of the terminal device to the server of the application distribution system includes:
and if the physical address corresponding to the license number is consistent with the physical address of the terminal equipment, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
In one embodiment, the apparatus further comprises:
the page data display module is used for displaying the page data of the server of the application distribution system to a user;
the page operation instruction receiving module is used for receiving a server page operation instruction input by a user after the page data of the server of the application distribution system is displayed to the user;
the page operation instruction sending module is used for sending the server page operation instruction to a server of the application distribution system so that the server of the application distribution system can execute the server page operation instruction;
and the page data receiving module is used for receiving new page data sent by the server of the application distribution system after the server of the application distribution system executes the server page operation instruction.
In one embodiment, the identification information sending module is further configured to:
if the server to be accessed is determined to be a server of the VDI system, sending network configuration information and identity verification information of the terminal equipment to the server of the VDI system, so that the server of the VDI system can conveniently perform identity verification on the terminal equipment and determine a virtual machine corresponding to the identity verification information, and sending the network configuration information of the terminal equipment to the virtual machine;
the feature data receiving module is further configured to:
and receiving second characteristic data sent by the virtual machine, wherein the second characteristic data comprises identification information and page data of the virtual machine.
In one embodiment, the apparatus further comprises:
the second characteristic data decoding module is used for decoding the second characteristic data to obtain decoded second characteristic data, and the decoded second characteristic data comprises decoded page data of the virtual machine;
the page data display module is also used for displaying the decoded page data of the virtual machine to a user;
the page operation instruction receiving module is further used for receiving a page operation instruction of the virtual machine input by a user after the decoded page data of the virtual machine is displayed to the user;
the page operation instruction sending module is further configured to send the page operation instruction of the virtual machine to the virtual machine, so that the virtual machine executes the page operation instruction;
the page data receiving module is further configured to receive new page data sent by the virtual machine after the virtual machine executes the page operation instruction.
The device for accessing the server provided by the embodiment of the disclosure can receive the IP address of the server to be accessed, which is input by a user; determining the type of the server to be accessed according to the IP address, wherein the type of the server to be accessed comprises a server of an application distribution system and a server of a VDI system; sending the identification information of the terminal equipment to the server to be accessed, wherein the identification information comprises the equipment identification code of the terminal equipment or the IP address of the terminal equipment; the method comprises the steps of receiving characteristic data sent by a server to be accessed, wherein the characteristic data comprise identification information and page data of the server to be accessed, the terminal device can be used as R-end equipment of a distribution system or a VDI system when being a mobile terminal device, the terminal device can send the identification information of the terminal device to the server to be accessed and receive the characteristic data sent by the server to be accessed in a wireless communication mode, remote access of the server to be accessed is achieved, the terminal device is not limited to a fixed position, a cable connected with the server is omitted, the method is convenient to operate and carry and can reduce cost, the problems that the VDI system and the R-end equipment of the application distribution system in the prior art are not suitable for application scenes of mobile office can be solved, and the VDI system and the R-end equipment of the application distribution system can be compatible.
In a third aspect of the embodiments of the present disclosure, a terminal device is provided, where the terminal device includes a processor and a memory, where the memory stores at least one computer instruction, and the instruction is loaded and executed by the processor to implement the steps performed in the method for accessing a server according to any one of the first aspect.
In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium stores at least one computer instruction, and the instruction is loaded and executed by a processor to implement the steps performed in the method for accessing a server according to any one of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a structural diagram of an R-side device provided in an embodiment of the present disclosure;
fig. 2 is a first flowchart of a method for accessing a server according to an embodiment of the present disclosure;
fig. 3 is a flowchart ii of a method for accessing a server according to an embodiment of the present disclosure;
fig. 4 is a flowchart three of a method for accessing a server according to an embodiment of the present disclosure;
fig. 5 is a flowchart of an operation process of a virtual machine provided by an embodiment of the present disclosure;
FIG. 6 is a flow chart of a process of operating a server provided by an embodiment of the present disclosure;
fig. 7 is a first structural diagram of an access server device according to an embodiment of the present disclosure;
fig. 8 is a second structural diagram of an access server apparatus according to an embodiment of the present disclosure;
fig. 9 is a structural diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a method for accessing a server, which is applied to a terminal device, and as shown in fig. 2, the method for accessing the server includes the following steps:
s101, receiving an IP address of a server to be accessed, which is input by a user;
s102, determining the type of the server to be accessed according to the IP address, wherein the type of the server to be accessed comprises a server of an application distribution system and a server of a VDI system.
In this embodiment, the terminal device is a mobile terminal device, and the mobile terminal device may be a portable electronic device such as a mobile phone and a tablet based on an Android system.
It should be noted that, an IP address list of the server to be accessed is preset in the terminal device, where the list includes the IP of the different servers to be accessed and the server type corresponding to the IP of the different servers to be accessed, and the IP address list of the server to be accessed is shown in table 1.
IP address of server to be accessed Type of server to be accessed
10.10.101.10 Server of application distribution system
11.11.101.11 Server of VDI system
106.106.101.106 Server of VDI system
TABLE 1
After receiving the IP address of the server to be accessed, which is input by the user, the terminal equipment determines the type of the server to be accessed according to the table 1. For example, if the IP address of the server to be accessed, which is received by the terminal device and input by the user, is 11.11.101.11, it is determined that the type of the server to be accessed is the server of the VDI system. For another example, if the IP address of the server to be accessed, which is received by the terminal device and input by the user, is 10.10.101.10, it is determined that the type of the server to be accessed is the server of the application distribution system.
S103, sending identification information of the terminal equipment to the server to be accessed, wherein the identification information comprises an equipment identification code of the terminal equipment or an IP address of the terminal equipment;
and S104, receiving the characteristic data sent by the server to be accessed, wherein the characteristic data comprises the identification information of the server to be accessed and page data.
In one embodiment, if the terminal device determines that the server to be accessed is a server of an application distribution system, a license number license of the terminal device is acquired; and checking the license; and if the license check is passed, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
How to check license is explained below:
the terminal equipment determines whether a physical address (MAC) address corresponding to the license is consistent with an MAC address of the terminal equipment; if the MAC address corresponding to the license is consistent with the MAC address of the terminal device, the license passes the verification, and the terminal device can be used as an R-side device of the application distribution system. When it needs to be described here, each R-side device of the application distribution system presets a license, the license is bound to the MAC address of the R-side device, and the license may contain a use period.
By verifying the license, whether the terminal device can be used as the R-side device of the application distribution system can be determined.
Further, after the license check is passed, the terminal device sends the device identification code of the terminal device to the server of the application distribution system in a wireless communication manner, so that the server of the application distribution system registers the terminal device according to the device identification code.
After the server of the application distribution system successfully registers the terminal device according to the device identification code, the terminal device is the R-side device of the application distribution system, and the server of the application distribution system sends first feature data of the server of the application distribution system to the terminal device, where the first feature data includes identification information and page data of the server of the application distribution system. Wherein the page data is a display screen of a server of the application distribution system, and the display screen includes: pictures, videos, office files, web pages, etc. Here, it should be noted that the display screen distributed to the mobile terminal device by the server of the application distribution system is encoded.
After the server of the application distribution system completes registration of the terminal device, the terminal device can be added to the R-side device list of the application distribution system, the terminal device becomes an R-side device of the application distribution system, and an administrator can see the terminal device on the control management platform of the server of the application distribution system. The server of the application distribution system can transmit the identification information and the display screen of the server of the application distribution system to all the R-side devices including the terminal device.
Further, after receiving the display screen of the server of the application distribution system, the terminal device decodes and displays the display screen on a display, and displays the display screen of the server of the application distribution system to a user; after a display picture of a server of the application distribution system is displayed to a user, a server page operation instruction input on a display by the user is received; then the server page operation instruction is sent to the server of the application distribution system, so that the server of the application distribution system executes the server page operation instruction; and after the server of the application distribution system executes the server page operation instruction, receiving a new display screen sent by the server of the application distribution system.
The server of the application distribution system can be remotely accessed through the terminal equipment by showing page data of the server of the application distribution system to a user and receiving a server page operation instruction input by the user.
In an embodiment, if it is determined that the server to be accessed is a server of the VDI system, the network configuration information and the authentication information of the terminal device are sent to the server of the VDI system, so that the server of the VDI system performs authentication on the terminal device and determines a virtual machine corresponding to the authentication information, and sends the network configuration information of the terminal device to the virtual machine.
In this step, the network configuration information includes a Domain Name System (DNS) configuration file, gateway information, an IP address, and the like of the central terminal device; the processor in the terminal device may obtain the network configuration information and send the network configuration information to the server of the VDI system in a wireless communication manner. Moreover, the user may input authentication information, such as a user name and a password, on the terminal device, and the terminal device may obtain the user name and the password.
Here, if the terminal device is a Dynamic Host Configuration Protocol (DHCP) device, the terminal device does not need to be configured with the fixed IP address, and if the terminal device is not a DHCP device, the terminal device needs to be configured with the fixed IP address.
Illustratively, the authentication information includes a username and password. The method comprises the steps that a server of the VDI system receives network configuration information, a user name and a password, identity authentication is carried out on terminal equipment according to the identity authentication information, the terminal equipment is used as R-end equipment of the VDI system after the identity authentication is passed and the network configuration information is confirmed to be correct, the mobile terminal is connected with a virtual machine corresponding to the identity authentication information on the server of the VDI system, the network configuration information of the terminal equipment is sent to the virtual machine, and therefore the mobile terminal can access the virtual machine. The virtual machine can send second characteristic data to the terminal device, the second characteristic data includes identification information of the virtual machine and page data, and the page data is a page picture of the virtual machine.
By performing identity authentication on the terminal device, whether the terminal device can be an R-side device of the VDI system can be determined.
In this embodiment, the second feature data is coded feature data, and after receiving the second feature data, the terminal device decodes the second feature data to obtain decoded second feature data, where the decoded second feature data includes decoded page data of the virtual machine, and the page data is a page picture of the virtual machine; after the terminal equipment decodes the second characteristic data, the page picture is decoded and displayed on a display, and the decoded page picture of the virtual machine is displayed to a user; after the decoded page picture of the virtual machine is displayed to a user, receiving a virtual machine page operation instruction input by the user; then sending the virtual machine page operation instruction to the virtual machine so that the virtual machine can execute the page operation instruction; and after the virtual machine executes the page operation instruction, receiving a new page picture sent by the virtual machine.
The page data of the virtual machine corresponding to the identity authentication information on the server of the VDI system is displayed to the user, and the virtual machine page operation instruction input by the user is received, so that the virtual machine on the server of the VDI system can be remotely accessed through the terminal equipment.
The method for accessing the server provided by the embodiment of the disclosure can receive the IP address of the server to be accessed, which is input by a user; determining the type of the server to be accessed according to the IP address, wherein the type of the server to be accessed comprises a server of an application distribution system and a server of a VDI system; sending the identification information of the terminal equipment to the server to be accessed, wherein the identification information comprises the equipment identification code of the terminal equipment or the IP address of the terminal equipment; the method comprises the steps of receiving characteristic data sent by a server to be accessed, wherein the characteristic data comprise identification information and page data of the server to be accessed, the terminal device can be used as R-end equipment of a distribution system or a VDI system when being a mobile terminal device, the terminal device can send the identification information of the terminal device to the server to be accessed and receive the characteristic data sent by the server to be accessed in a wireless communication mode, remote access of the server to be accessed is achieved, the terminal device is not limited to a fixed position, a cable connected with the server is omitted, the method is convenient to operate and carry and can reduce cost, the problems that the VDI system and the R-end equipment of the application distribution system in the prior art are not suitable for application scenes of mobile office can be solved, and the VDI system and the R-end equipment of the application distribution system can be compatible.
The following describes the method for accessing the server according to the embodiments of fig. 3 to 6 in further detail.
The terminal device in this embodiment is a mobile terminal device based on an Android system and capable of being compatible with the functions of the VDI system and the R-side device of the application distribution system. The user controls the server of the VDI system and the server of the Application distribution system by operating the page of the Application (APP) corresponding to the VDI system and the page of the APP corresponding to the Application distribution system on the mobile terminal device. The mobile terminal device in this embodiment includes a wireless communication module, a decoder, a processor, and a touch screen. In specific implementation, the mobile terminal device may be a portable electronic device such as a mobile phone and a tablet based on an Android system.
Firstly, the mobile terminal equipment judges whether the server is a server of an application distribution system or a server of a VDI system according to the IP address of the server to be accessed selected by a user; if the server is a server of the application distribution system, the steps in the embodiment of fig. 3 are performed, and if the server is a server of the VDI system, the steps in the embodiment of fig. 4 are performed.
It should be noted that, an IP address list of the server to be accessed is preset in the mobile terminal device, where the list includes the IP of the different servers to be accessed and the server types corresponding to the IP of the different servers to be accessed, and the IP address list of the servers to be accessed is shown in table 1.
With reference to fig. 3, a process of accessing the server when the server to be accessed is a server of the application distribution system and the mobile terminal device is an R-side device of the application distribution system will be described below:
s301, after the mobile terminal device is started, acquiring a preset license, and verifying the acquired license.
Each R-end device of the application distribution system is preset with a license, the license is bound with the MAC address of the R-end device, and the license can contain the use period.
Specifically, the license is preset, and the verification of the license by the mobile terminal device means that the MAC address carried by the license is analyzed, and whether the MAC address is consistent with the MAC address of the device is judged; if yes, the process continues to S302.
S302, after the verification is successful, the mobile terminal device of the application distribution system sends its own identification information (e.g., device identification code) to the server of the application distribution system.
In this step, after determining that the license is correct, the processor of the mobile terminal device collects the identification information of the device itself, and sends the identification information to the server of the application distribution system through the wireless communication module.
S303, the server of the application distribution system registers the mobile terminal device according to the identification information.
After the server of the application distribution system completes registration of the mobile terminal device, an administrator can see the mobile terminal device on the control management platform of the server of the application distribution system, and the mobile terminal device becomes an R-side device of the application distribution system. Thereafter, the server of the application distribution system can distribute the display screen to all the R-side devices including the mobile terminal device.
S304, the server of the application distribution system issues a display screen to the mobile terminal device.
Wherein, the display screen comprises: pictures, videos, office files, web pages, etc.
The display screen distributed to the mobile terminal device by the server of the application distribution system is encoded.
S305, the mobile terminal device receives a display screen distributed by a server of the application distribution system.
In this step, the mobile terminal device receives the encoded data transmitted by the server of the application distribution system through the wireless communication module, and the decoder decodes the encoded data to obtain the display screen distributed by the server of the application distribution system, so that the user can see the display screen distributed by the server of the application distribution system at the mobile terminal device.
S306, the mobile terminal device sends the user operation information to a server of the application distribution system.
In this step, when the display content issued by the server of the application distribution system has the reverse control authority, the user can control by touching the screen of the mobile terminal device, the processor generates screen operation information according to the operation action of the user, and reports the screen operation information to the server of the application distribution system through the wireless communication module, wherein the screen operation information includes a server page operation instruction.
The screen operation information includes the operation condition of the user finger on the plane, such as clicking, inputting, sliding displacement and the like.
And S307, after receiving the screen operation information, the server of the application distribution system operates the server of the application distribution system according to the screen operation information, and sends the operated display picture to the mobile terminal device for displaying.
This enables the reverse control function of the mobile terminal device. Therefore, the mobile terminal device can realize the function of the R-end device in the application distribution system, and a user can check the display picture issued by the server of the application distribution system and perform reverse control on the server of the application distribution system through the mobile terminal device.
With reference to fig. 4, a process of accessing the server when the server to be accessed is a server of the VDI system and the mobile terminal device is an R-end device of the VDI system will be described below:
s401, the mobile terminal device sends the acquired network configuration information, the user name and the password to a server of the VDI system.
In this step, the user may set corresponding network configuration in an APP page corresponding to the VDI system in the mobile terminal device, where the network configuration includes a DNS configuration file, gateway information, an IP address, and the like; the processor in the mobile terminal device may obtain the input network configuration information and send the network configuration information to the server of the VDI system through the wireless communication module. Moreover, the user can input authentication information, such as a user name and a password, on an APP page corresponding to the VDI system in the mobile terminal device, and the mobile terminal device can acquire the user name and the password.
It should be noted that if the mobile terminal device is a DHCP device, the fixed IP address of the mobile terminal device does not need to be configured, and if the mobile terminal device is not a DHCP device, the fixed IP address of the mobile terminal device needs to be configured.
S402, the server of the VDI system receives the network configuration information, the user name and the password, and after the server confirms that the network configuration information, the user name and the password are correct, the mobile terminal device is connected with the corresponding virtual machine on the VDI server, so that the mobile terminal device can access the virtual machine.
The virtual machine refers to a virtual machine corresponding to a user name and a password.
S403, the virtual machine of the server of the VDI system sends the page picture to the mobile terminal device.
It should be noted that the page pictures sent by the VDI server to the mobile terminal device are coded.
S404, the mobile terminal device receives and displays the page picture of the virtual machine.
In this step, the mobile terminal device receives, through the wireless communication module, encoded data sent by the virtual machine of the server of the VDI system, and after decoding the encoded data using the decoder, displays the page picture of the virtual machine on the touch screen, so that the user can view the page picture of the virtual machine by opening the page of the APP corresponding to the VDI system in the mobile terminal device.
S405, the mobile terminal device sends user operation information to a virtual machine on a server of the VDI system.
In this step, the user can perform control by touching the screen of the mobile terminal device, the processor of the mobile terminal device generates user operation information according to the operation result, and sends the generated user operation information to the virtual machine on the server of the VDI system, where the user operation information includes a page operation instruction of the virtual machine.
S406, after receiving the user operation information, the server of the VDI system controls the virtual machine corresponding to the mobile terminal device according to the user operation information, pushes the page picture generated after control to the mobile terminal device, and displays the page picture to the user through the mobile terminal device.
Therefore, the mobile terminal equipment can realize the function of the R-end equipment in the VDI system, and a user operates the virtual machine through the mobile terminal equipment.
In a specific implementation, the application version on the mobile terminal device may be modified, or the functions of the R-side devices of the VDI system and the application distribution system may be added by patching on the application version.
Certainly, the R-side device function can also be realized by installing R-side decoding APPs (distinguishing between the VDI system and the application distribution system) corresponding to the VDI system and the application distribution system on the mobile terminal device. Specifically, an R-side decoding APP (which distinguishes between the VDI and the application distribution system) corresponding to the VDI system and the application distribution system is installed in advance on the mobile terminal device. The R end decodes the APP to control the hardware of the mobile terminal device, and performs information interaction with the server to realize the function of the R end device.
When a user opens an APP corresponding to the VDI system at the mobile terminal device, the mobile terminal device can be used as an R-end device of the VDI device. Thus, the mobile terminal realizes the function of the R-end device of the VDI system. The flow chart is shown in fig. 5.
When a user opens an APP corresponding to the application distribution system at the mobile terminal device, the mobile terminal device can be used as an R-side device of the application distribution system. Therefore, the page picture of the virtual machine can be displayed on the mobile terminal device, and the user can operate the virtual machine through the touch screen of the mobile terminal device. The flow chart is shown in fig. 6.
Therefore, the mobile terminal equipment is not limited to a fixed position, a plurality of cables can be omitted, the operation is convenient, the carrying is convenient, and the cost can be reduced.
Based on the method for accessing a server described in the embodiments corresponding to fig. 1 to fig. 3, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute an embodiment of the method of the present disclosure. As shown in fig. 7, the apparatus 70 includes:
an IP address receiving module 701, configured to receive an internet protocol IP address of a server to be accessed, input by a user;
a to-be-accessed server type determining module 702, configured to determine, according to the IP address, a type of the to-be-accessed server, where the type of the to-be-accessed server includes a server of an application distribution system and a server of a virtual desktop infrastructure VDI system;
an identification information sending module 703, configured to send identification information of the terminal device to the server to be accessed, where the identification information includes a device identification code of the terminal device or network configuration information of the terminal device;
a characteristic data receiving module 704, configured to receive characteristic data sent by the server to be accessed, where the characteristic data includes identification information of the server to be accessed and page data.
In one embodiment, the identification information sending module 703 is configured to:
if the server to be accessed is determined to be the server of the application distribution system, sending the equipment identification code of the terminal equipment to the server of the application distribution system so that the server of the application distribution system can register the terminal equipment according to the equipment identification code;
the feature data receiving module 704 is configured to:
receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information of the server of the application distribution system and page data.
In one embodiment, as shown in fig. 8, the apparatus 70 further comprises: a license number verification module 705 for:
acquiring a license number of the terminal equipment;
verifying the license number;
the identification information sending module 703 is configured to:
and if the license number is confirmed to pass the verification, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
In one embodiment, the license number verification module 705 is specifically configured to:
determining whether the physical address corresponding to the license number is consistent with the physical address of the terminal equipment;
the sending the identification information of the terminal device to the server of the application distribution system includes:
and if the physical address corresponding to the license number is consistent with the physical address of the terminal equipment, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
In one embodiment, as shown in fig. 8, the apparatus 70 further comprises:
a page data display module 706, configured to display, to a user, page data of a server of the application distribution system;
a page operation instruction receiving module 707, configured to receive a server page operation instruction input by a user after the page data of the server of the application distribution system is displayed to the user;
a page operation instruction sending module 708, configured to send the server page operation instruction to the server of the application distribution system, so that the server of the application distribution system executes the server page operation instruction;
a page data receiving module 709, configured to receive new page data sent by the server of the application distribution system after the server of the application distribution system executes the server page operation instruction.
In one embodiment, the identification information sending module 703 is further configured to:
if the server to be accessed is determined to be a server of the VDI system, sending network configuration information and identity verification information of the terminal equipment to the server of the VDI system, so that the server of the VDI system can conveniently perform identity verification on the terminal equipment and determine a virtual machine corresponding to the identity verification information, and sending the network configuration information of the terminal equipment to the virtual machine;
the feature data receiving module 704 is further configured to:
and receiving second characteristic data sent by the virtual machine, wherein the second characteristic data comprises identification information and page data of the virtual machine.
In one embodiment, as shown in fig. 8, the apparatus 70 further comprises:
a second feature data decoding module 710, configured to decode the second feature data to obtain decoded second feature data, where the decoded second feature data includes decoded page data of the virtual machine;
the page data display module 706 is further configured to display the decoded page data of the virtual machine to a user;
the page operation instruction receiving module 707 is further configured to, after displaying the decoded page data of the virtual machine to a user, receive a page operation instruction of the virtual machine input by the user;
the page operation instruction sending module 708 is further configured to send the page operation instruction of the virtual machine to the virtual machine, so that the virtual machine executes the page operation instruction;
the page data receiving module 709 is further configured to receive new page data sent by the virtual machine after the virtual machine executes the page operation instruction.
For the apparatus for accessing a server provided in the embodiment of the present disclosure, the implementation process and the technical effect thereof may refer to the embodiments in fig. 1 to fig. 3, which are not described herein again.
Referring to fig. 9, an embodiment of the present disclosure further provides a terminal device, where the terminal device 90 includes a processor 901 and a memory 902, the processor 901 is connected to the memory 902, and the memory 901 stores at least one computer instruction, where the instruction is loaded and executed by the processor 901 to implement the steps performed in the method for accessing a server described in the embodiment corresponding to fig. 1 to fig. 3.
Based on the method for accessing the server described in the embodiments corresponding to the embodiments of fig. 1 to 3, the embodiments of the present disclosure further provide a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the method for accessing the server described in the embodiments corresponding to fig. 1 to fig. 3, which is not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for accessing a server, which is applied to a terminal device, the method comprising:
receiving an Internet Protocol (IP) address of a server to be accessed, which is input by a user;
determining the type of the server to be accessed according to the IP address, wherein the type of the server to be accessed comprises a server of an application distribution system and a server of a Virtual Desktop Infrastructure (VDI) system;
sending identification information of the terminal equipment to the server to be accessed, wherein the identification information comprises an equipment identification code of the terminal equipment or network configuration information of the terminal equipment;
and receiving the characteristic data sent by the server to be accessed, wherein the characteristic data comprises the identification information of the server to be accessed and page data.
2. The method of claim 1, wherein the sending the identification information of the terminal device to the server to be accessed comprises:
if the server to be accessed is determined to be the server of the application distribution system, sending the equipment identification code of the terminal equipment to the server of the application distribution system so that the server of the application distribution system can register the terminal equipment according to the equipment identification code;
the receiving the feature data sent by the server to be accessed comprises:
receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information of the server of the application distribution system and page data.
3. The method of claim 2, wherein after determining that the server to be accessed is a server of an application distribution system, the method further comprises:
acquiring a license number of the terminal equipment;
verifying the license number;
the sending the identification information of the terminal device to the server to be accessed includes:
and if the license number is confirmed to pass the verification, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
4. The method of claim 3, wherein the verifying the license number comprises:
determining whether the physical address corresponding to the license number is consistent with the physical address of the terminal equipment;
the sending the identification information of the terminal device to the server of the application distribution system includes:
and if the physical address corresponding to the license number is consistent with the physical address of the terminal equipment, sending the equipment identification code of the terminal equipment to a server of the application distribution system.
5. The method according to any one of claims 1 to 4, wherein after receiving the first feature data sent by the server of the application distribution system, the method further comprises:
displaying page data of a server of the application distribution system to a user;
after the page data of the server of the application distribution system is displayed to the user, receiving a server page operation instruction input by the user;
sending the server page operation instruction to a server of the application distribution system so that the server of the application distribution system executes the server page operation instruction;
and after the server of the application distribution system executes the server page operation instruction, receiving new page data sent by the server of the application distribution system.
6. The method of claim 1, wherein the sending the identification information of the terminal device to the server to be accessed comprises:
if the server to be accessed is determined to be a server of the VDI system, sending network configuration information and identity verification information of the terminal equipment to the server of the VDI system, so that the server of the VDI system can conveniently perform identity verification on the terminal equipment and determine a virtual machine corresponding to the identity verification information, and sending the network configuration information of the terminal equipment to the virtual machine;
the receiving the feature data sent by the server to be accessed comprises:
and receiving second characteristic data sent by the virtual machine, wherein the second characteristic data comprises identification information and page data of the virtual machine.
7. The method according to claim 6, wherein the second characteristic data is encoded characteristic data, and after receiving the second characteristic data sent by the virtual machine, the method further comprises:
decoding the second characteristic data to obtain decoded second characteristic data, wherein the decoded second characteristic data comprise decoded page data of the virtual machine;
displaying the decoded page data of the virtual machine to a user;
after the decoded page data of the virtual machine are displayed to a user, receiving a page operation instruction of the virtual machine input by the user;
sending the page operation instruction of the virtual machine to the virtual machine so that the virtual machine can execute the page operation instruction;
and after the virtual machine executes the page operation instruction, receiving new page data sent by the virtual machine.
8. An apparatus for accessing a server, applied to a terminal device, the apparatus comprising:
the IP address receiving module is used for receiving an Internet protocol IP address of the server to be accessed, which is input by a user;
a server to be accessed type determining module, configured to determine, according to the IP address, a type of the server to be accessed, where the type of the server to be accessed includes a server of an application distribution system and a server of a virtual desktop infrastructure VDI system;
an identification information sending module, configured to send identification information of the terminal device to the server to be accessed, where the identification information includes a device identification code of the terminal device or network configuration information of the terminal device;
and the characteristic data receiving module is used for receiving the characteristic data sent by the server to be accessed, and the characteristic data comprises the identification information of the server to be accessed and page data.
9. A terminal device, characterized in that it comprises a processor and a memory, in which at least one computer instruction is stored, which is loaded and executed by the processor to implement the steps performed in the method of accessing a server according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon at least one computer instruction, which is loaded and executed by a processor to perform the steps performed in the method of accessing a server of any one of claims 1 to 7.
CN202010463643.5A 2020-05-27 2020-05-27 Method and device for accessing server, terminal equipment and storage medium Pending CN111756805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010463643.5A CN111756805A (en) 2020-05-27 2020-05-27 Method and device for accessing server, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010463643.5A CN111756805A (en) 2020-05-27 2020-05-27 Method and device for accessing server, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111756805A true CN111756805A (en) 2020-10-09

Family

ID=72674408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010463643.5A Pending CN111756805A (en) 2020-05-27 2020-05-27 Method and device for accessing server, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111756805A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2197218A1 (en) * 1994-08-09 1996-02-22 Frank Gill Slaughter, Iii Apparatus and method for accessing a local computer network
US20130007465A1 (en) * 2011-06-30 2013-01-03 Advance Green Technology Group, Inc. Apparatus, Systems and Method for Virtual Desktop Access and Management
CN102904765A (en) * 2011-07-26 2013-01-30 腾讯科技(深圳)有限公司 Method and equipment for data reporting
US20140344910A1 (en) * 2013-05-16 2014-11-20 Samsung Sds Co., Ltd. System and method for single-sign-on in virtual desktop infrastructure environment
CN109088875A (en) * 2018-08-24 2018-12-25 郑州云海信息技术有限公司 A kind of access authority method of calibration and device
CN110377856A (en) * 2019-06-19 2019-10-25 深圳壹账通智能科技有限公司 Netpage registration method, system, equipment and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2197218A1 (en) * 1994-08-09 1996-02-22 Frank Gill Slaughter, Iii Apparatus and method for accessing a local computer network
US20130007465A1 (en) * 2011-06-30 2013-01-03 Advance Green Technology Group, Inc. Apparatus, Systems and Method for Virtual Desktop Access and Management
CN102904765A (en) * 2011-07-26 2013-01-30 腾讯科技(深圳)有限公司 Method and equipment for data reporting
US20140344910A1 (en) * 2013-05-16 2014-11-20 Samsung Sds Co., Ltd. System and method for single-sign-on in virtual desktop infrastructure environment
CN109088875A (en) * 2018-08-24 2018-12-25 郑州云海信息技术有限公司 A kind of access authority method of calibration and device
CN110377856A (en) * 2019-06-19 2019-10-25 深圳壹账通智能科技有限公司 Netpage registration method, system, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US11843589B2 (en) Network connection automation
CN109598115B (en) Method, device, equipment, system, platform and medium for realizing authorized login
CN111343698B (en) Screen projection control method and device, wireless controller and storage medium
JP5216810B2 (en) Method for executing remote screen sharing, user terminal, program and system
EP2963933A1 (en) Remote control processing method, apparatus and system
CN103597805B (en) For promoting the technology of the interactive operation between annex and multiple equipment
CN108540433B (en) User identity verification method and device
CN109743293B (en) Network shooting range access method, network shooting range system and computer storage medium
CN107329717B (en) Processing method, display method and display system of screen display information
EP3386167B1 (en) Cloud operation interface sharing method, related device and system
EP2408140A1 (en) Method, control point, apparatus and communication system for configuring access right
JP2006333103A (en) Portable storage device, control program and connection setting method
CN105162802A (en) Portal authentication method and Portal authentication server
KR20050114047A (en) Method and server for servicing remote clients
CN103036852A (en) Method and device for achieving network login
CN112466053B (en) Control system of household appliance and execution method and device of target operation
CN111600888B (en) Method and device for login verification and login verification system
CN109327455A (en) A kind of access method of NAS device, device, equipment and readable storage medium storing program for executing
CN112748893A (en) Wireless screen projection method, device and system
CN113032805A (en) Data access method and device, electronic equipment and storage medium
CN111756805A (en) Method and device for accessing server, terminal equipment and storage medium
CN109104774B (en) Data transmission method and system
CN109842600B (en) Method for realizing mobile office, terminal equipment and MDM equipment
CN106878018B (en) Operation verification method and device
CN104714760A (en) Method and device for read and write storage device

Legal Events

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