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

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

Info

Publication number
CN111756805B
CN111756805B CN202010463643.5A CN202010463643A CN111756805B CN 111756805 B CN111756805 B CN 111756805B CN 202010463643 A CN202010463643 A CN 202010463643A CN 111756805 B CN111756805 B CN 111756805B
Authority
CN
China
Prior art keywords
server
accessed
distribution system
application distribution
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010463643.5A
Other languages
Chinese (zh)
Other versions
CN111756805A (en
Inventor
张文华
范志刚
卢涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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/CN111756805B/en
Publication of CN111756805A publication Critical patent/CN111756805A/en
Application granted granted Critical
Publication of CN111756805B publication Critical patent/CN111756805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a method, a device, a terminal device and a storage medium for accessing a server, relates to the technical field of Internet, and can solve the problem that an R-terminal device 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; the identification information of the terminal equipment is sent to a server to be accessed, wherein the identification information comprises the equipment identification code of the terminal equipment or the network configuration information of the terminal equipment; and receiving feature data sent by the server to be accessed, wherein the feature data comprises identification information and page data of the server to be accessed. The method and the system are used for realizing remote access to the server to be accessed under the application scene of mobile office.

Description

Method, device, terminal equipment and storage medium for accessing server
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a method, a device, terminal equipment and a storage medium for accessing a server.
Background
As the requirements for personalization of enterprises become higher, VDI (Virtual Desktop Infrastructure ) and application distribution systems are becoming more and more widely used. 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 is more focused on unified management of multiple receiving end devices through a server, for example, video is played in a unified way, a certain application is displayed in a unified way, the VDI system is more suitable for enterprise office work, multiple virtual machines are configured on the server, and users operate the virtual machines through respective R end devices, so that the function of controlling the virtual machines is realized.
In general, an R-terminal device is equipped with a Linux system, as shown in fig. 1, where the R-terminal device is provided with multiple interfaces, such as a video interface, an audio interface (front+rear), a universal serial bus (Universal Serial Bus, USB) interface (front and rear), a network port, and a power interface, and when the R-terminal device is normally used, multiple cables need to be connected to the multiple interfaces to connect with a server. Therefore, the R-terminal equipment adopting the current VDI system and the application distribution system is not suitable for application scenes of mobile office.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, a terminal device and a storage medium for accessing a server, which can solve the problem that an R-terminal device of a VDI system and an application distribution system in the prior art is 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 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;
Transmitting identification information of the terminal equipment to the server to be accessed, wherein the identification information comprises equipment identification codes 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 identification information and page data of the server to be accessed.
The method for accessing the server can receive the IP address of the server to be accessed, which is input by the 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; transmitting 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; the characteristic data sent by the server to be accessed is received, the characteristic data comprise the identification information and page data of the server to be accessed, the terminal equipment can be used as R-terminal equipment of a distribution system or a VDI system when being mobile terminal equipment, the terminal equipment can send the identification information of the terminal equipment to the server to be accessed in a wireless communication mode and receive the characteristic data sent by the server to be accessed, remote access of the server to be accessed is realized, the remote access is not limited to a fixed position, a cable connected with the server is omitted, the operation is convenient, the carrying is convenient, the cost can be reduced, the problem that the R-terminal equipment of the VDI system and the application distribution system is not suitable for application scenes of mobile offices in the prior art can be solved, and the R-terminal equipment of the VDI system and 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, the device identification code of the terminal device is sent to the server of the application distribution system, so that the server of the application distribution system registers the terminal device according to the device identification code;
the step of receiving the characteristic data sent by the server to be accessed comprises the following steps:
And receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information and page data of the server of the application distribution system.
By transmitting the device identification code of the terminal device to the server of the application distribution system and receiving the first characteristic data transmitted by the server of the application distribution system when the server to be accessed is determined to be the server of the application distribution system, remote access to the server of the application distribution system through the terminal device can be realized.
In one embodiment, after the 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 equipment to the server to be accessed comprises the following steps:
And if the license number is confirmed to pass the verification, the device identification code of the terminal device is sent to a server of the application distribution system.
By verifying the license number, whether the terminal equipment can be used as R-terminal 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.
By determining whether the physical address corresponding to the license number coincides with the physical address of the terminal device, verification of the license number can be achieved.
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 are displayed to the user, receiving a server page operation instruction input by the user;
The server page operation instruction is sent 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.
By displaying the page data of the server of the application distribution system to the user and receiving the server page operation instruction input by the user, the server of the application distribution system can be remotely accessed through the terminal equipment.
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 a VDI system, network configuration information and identity verification information of the terminal equipment are sent to the server of the VDI system, so that the server of the VDI system can conduct identity verification on the terminal equipment, a virtual machine corresponding to the identity verification information is determined, and the network configuration information of the terminal equipment is sent to the virtual machine;
the step of receiving the characteristic data sent by the server to be accessed comprises the following steps:
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 verification on the terminal equipment, whether the terminal equipment can be R-terminal equipment of a VDI system or not 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, network configuration information and authentication information of the terminal equipment are sent to the server of the VDI system, and second characteristic data sent by the server of the application distribution system are received, so that the virtual machine on the server of the VDI system can be remotely accessed through the terminal equipment.
In one embodiment, the second feature data is encoded feature data, and after the 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 comprises page data of a decoded 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 the 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 executes the page operation instruction;
And after the virtual machine executes the page operation instruction, receiving new page data sent by the virtual machine.
By displaying the page data of the virtual machine corresponding to the authentication information on the server of the VDI system to the user and receiving the virtual machine page operation instruction input by the user, 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, applied to a terminal device, includes:
The IP address receiving module is used for receiving the Internet Protocol (IP) address of the server to be accessed, which is input by the user;
The server type to be accessed determining module is used for 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;
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;
The feature data receiving module is used for receiving feature data sent by the server to be accessed, wherein the feature data comprises identification information and page data of the server to be accessed.
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, the device identification code of the terminal device is sent to the server of the application distribution system, so that the server of the application distribution system registers the terminal device according to the device identification code;
The characteristic data receiving module is used for:
And receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information and page data of the server of the application distribution system.
In one embodiment, the apparatus further comprises: 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, the device identification code of the terminal device is sent 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 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 the 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 a VDI system, network configuration information and identity verification information of the terminal equipment are sent to the server of the VDI system, so that the server of the VDI system can conduct identity verification on the terminal equipment, a virtual machine corresponding to the identity verification information is determined, and the network configuration information of the terminal equipment is sent to the virtual machine;
The characteristic data receiving module is further used for:
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 feature data decoding module is used for decoding the second feature data to obtain decoded second feature data, wherein the decoded second feature data comprises page data of the decoded virtual machine;
The page data display module is further 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 displaying the decoded page data of the virtual machine to the user;
The page operation instruction sending module is further configured to send a 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; transmitting 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; the characteristic data sent by the server to be accessed is received, the characteristic data comprise the identification information and page data of the server to be accessed, the terminal equipment can be used as R-terminal equipment of a distribution system or a VDI system when being mobile terminal equipment, the terminal equipment can send the identification information of the terminal equipment to the server to be accessed in a wireless communication mode and receive the characteristic data sent by the server to be accessed, remote access of the server to be accessed is realized, the remote access is not limited to a fixed position, a cable connected with the server is omitted, the operation is convenient, the carrying is convenient, the cost can be reduced, the problem that the R-terminal equipment of the VDI system and the application distribution system is not suitable for application scenes of mobile offices in the prior art can be solved, and the R-terminal equipment of the VDI system and the application distribution system can be compatible.
A third aspect of the disclosed embodiments provides a terminal device comprising a processor and a memory, the memory having stored therein at least one computer instruction that is loaded and executed by the processor to implement the steps performed in the method of accessing a server as described in any of the first aspects.
In a fourth aspect of embodiments of the present disclosure, a computer-readable storage medium having stored therein at least one computer instruction that is loaded and executed by a processor to implement the steps performed in the method of accessing a server of any of the first aspects.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram of an R-terminal device according to an embodiment of the present disclosure;
FIG. 2 is a flow chart diagram of a method for accessing a server provided by an embodiment of the present disclosure;
FIG. 3 is a second flowchart of a method for accessing a server provided by an embodiment of the present disclosure;
FIG. 4 is a flowchart III of a method of accessing a server provided by an embodiment of the present disclosure;
FIG. 5 is a flow chart of a process of operation of a virtual machine provided by an embodiment of the present disclosure;
FIG. 6 is a flow chart of a process for operating a server provided by an embodiment of the present disclosure;
fig. 7 is a first block diagram of an access server apparatus according to an embodiment of the present disclosure;
fig. 8 is a second block diagram of an access server apparatus according to an embodiment of the present disclosure;
Fig. 9 is a block diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The embodiment of the disclosure provides a method for accessing a server, which is applied to a terminal device, as shown in fig. 2, and comprises 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 mobile phone based on an Android system, a tablet, or a portable electronic device.
It should be noted that, the terminal device is preset with an IP address list of the server to be accessed, where the list includes different IPs of the server to be accessed and server types corresponding to the IPs, 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 for 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 input by the user, the terminal device determines the type of the server to be accessed according to table 1. For example, if the terminal device receives that the IP address of the server to be accessed input by the user is 11.11.101.11, it is determined that the type of the server to be accessed is a server of the VDI system. For another example, if the terminal device receives that the IP address of the server to be accessed input by the user is 10.10.101.10, it is determined that the type of the server to be accessed is a 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;
s104, receiving the feature data sent by the server to be accessed, wherein the feature data comprises identification information and page data of the server to be accessed.
In one embodiment, if the terminal device determines that the server to be accessed is a server of the application distribution system, acquiring a license number license of the terminal device; and verifying the license; if the license verification is determined to pass, the device identification code of the terminal device is sent to a server of the application distribution system.
How to verify license is described as follows:
The terminal equipment determines whether a physical address (MEDIA ACCESS Control, MAC) address corresponding to the license is consistent with the MAC address of the terminal equipment; if the MAC address corresponding to the license is consistent with the MAC address of the terminal equipment, the license is checked to pass, and the terminal equipment can be used as R-terminal equipment of the application distribution system. When the application distribution system needs to be described herein, each R-terminal device of the application distribution system is preset with a license, the license is bound with the MAC address of the R-terminal device, and the license may include a lifetime.
By verifying the license, it can be determined whether the terminal device can be used as an R-terminal device of the application distribution system.
Further, after the license is checked, the terminal device sends the device identification code of the terminal device to the server of the application distribution system in a wireless communication mode, 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 equipment according to the equipment identification code, the terminal equipment is R-terminal equipment of the application distribution system, and the server of the application distribution system sends first characteristic data of the server of the application distribution system to the terminal equipment, wherein the first characteristic data comprises identification information and page data of the server of the application distribution system. The page data is a display screen of a server of the application distribution system, and the display screen comprises: pictures, videos, office files, web pages, etc. Here, the display screen issued by the server of the application distribution system to the mobile terminal device is encoded.
After the server of the application distribution system completes the registration of the terminal device, the terminal device can be added into an R-terminal device list of the application distribution system, the terminal device becomes an R-terminal device of the application distribution system, and an administrator can see the terminal device on a control management platform of the server of the application distribution system. The server of the application distribution system can transmit the identification information of the server of the application distribution system and the display screen to all R-terminal devices including the terminal device.
Further, after receiving the display picture of the server of the application distribution system, the terminal equipment decodes the display picture and displays the decoded display picture on a display, and displays the display picture 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, receiving a server page operation instruction input by the user on a display; 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 picture sent by the server of the application distribution system.
By displaying the page data of the server of the application distribution system to the user and receiving the server page operation instruction input by the user, the server of the application distribution system can be remotely accessed through the terminal equipment.
In one embodiment, if the server to be accessed is determined to be a server of a VDI system, network configuration information and 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 (Domain NAME SYSTEM, DNS) configuration file, gateway information, an IP address, etc. of the middle terminal device; the processor in the terminal device may acquire the network configuration information, and send the network configuration information to a server of the VDI system through wireless communication. And, the user may input authentication information, such as a user name and a password, on the terminal device, which the terminal device may acquire.
It should be noted that, if the terminal device is a dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) device, the fixed IP address of the terminal device is not required to be configured, and if the terminal device is not a DHCP device, the fixed IP address of the terminal device is required to be configured.
Illustratively, the authentication information includes a user name and a password. The server of the VDI system receives the network configuration information, the user name and the password, performs identity verification on the terminal equipment according to the identity verification information, takes the terminal equipment as R-terminal equipment of the VDI system after the identity verification is passed and the network configuration information is confirmed, connects the mobile terminal with a virtual machine corresponding to the identity verification information on the server of the VDI system, and sends the network configuration information of the terminal equipment to the virtual machine so that the mobile terminal can access the virtual machine. The virtual machine can send second feature data to the terminal device, wherein the second feature data comprises identification information of the virtual machine and page data, and the page data is a page picture of the virtual machine.
By carrying out identity verification on the terminal equipment, whether the terminal equipment can be R-terminal equipment of the VDI system or not can be determined.
In this embodiment, the second feature data is encoded 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 decoding the second characteristic data, the terminal equipment decodes the page picture and displays the page picture 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 the user, receiving a virtual machine page operation instruction input by the user; then sending the page operation instruction of the virtual machine to the virtual machine so that the virtual machine executes the page operation instruction; and after the virtual machine executes the page operation instruction, receiving a new page picture sent by the virtual machine.
By displaying the page data of the virtual machine corresponding to the authentication information on the server of the VDI system to the user and receiving the virtual machine page operation instruction input by the user, the virtual machine on the server of the VDI system can be remotely accessed through the terminal equipment.
The method for accessing the server can receive the IP address of the server to be accessed, which is input by the 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; transmitting 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; the characteristic data sent by the server to be accessed is received, the characteristic data comprise the identification information and page data of the server to be accessed, the terminal equipment can be used as R-terminal equipment of a distribution system or a VDI system when being mobile terminal equipment, the terminal equipment can send the identification information of the terminal equipment to the server to be accessed in a wireless communication mode and receive the characteristic data sent by the server to be accessed, remote access of the server to be accessed is realized, the remote access is not limited to a fixed position, a cable connected with the server is omitted, the operation is convenient, the carrying is convenient, the cost can be reduced, the problem that the R-terminal equipment of the VDI system and the application distribution system is not suitable for application scenes of mobile offices in the prior art can be solved, and the R-terminal equipment of the VDI system and the application distribution system can be compatible.
The method for accessing a server according to the embodiment of the present disclosure is described in further detail below with reference to the embodiments of fig. 3 to 6.
The terminal equipment in the embodiment is mobile terminal equipment which is based on an Android system and can be compatible with functions of R-terminal equipment of a VDI system and an application distribution system. And the user controls the server of the VDI system and the server of the Application distribution system by respectively 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 equipment. 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 mobile phone based on an Android system, a tablet, or other portable electronic devices.
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 different IPs of the server to be accessed and server types corresponding to the different IPs, and the IP address list of the server to be accessed is shown in table 1.
The following describes, with reference to fig. 3, a procedure for accessing the server when the server to be accessed is a server of the application distribution system and the mobile terminal device is used as an R-terminal device of the application distribution system:
S301, after the mobile terminal equipment is started, acquiring a preset license, and checking the acquired license.
Each R-terminal device of the application distribution system is preset with a license, the license is bound with the MAC address of the R-terminal device, and the license can contain the use period.
Specifically, the license is preset, and the mobile terminal device checks the license to determine whether the MAC address is consistent with the MAC address of the self device or not by analyzing the MAC address carried by the license; if so, execution continues with S302.
S302, after verification is successful, the mobile terminal equipment of the application distribution system sends identification information (such as equipment identification codes) of the mobile terminal equipment to a server of the application distribution system.
In this step, after determining that license is correct, the processor of the mobile terminal device collects identification information of its own device, 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 equipment 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 a control management platform of the server of the application distribution system, and the mobile terminal device becomes an R-terminal device of the application distribution system. After that, the server of the application distribution system can issue display screens to all R-terminal devices including the mobile terminal device.
S304, the server of the application distribution system distributes a display picture to the mobile terminal equipment.
Wherein, the display screen comprises: pictures, videos, office files, web pages, etc.
The display screen issued by the server of the application distribution system to the mobile terminal device is encoded.
S305, the mobile terminal device receives a display screen issued by a server of the application distribution system.
In this step, the mobile terminal device receives the encoded data sent by the server of the application distribution system through the wireless communication module, and the decoder decodes the encoded data to obtain the display picture released by the server of the application distribution system, so that the user can see the display picture released by the server of the application distribution system at the mobile terminal device.
S306, the mobile terminal device sends 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 may control by touching the screen of the mobile terminal device, and 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, where the screen operation information includes a server page operation instruction.
The screen operation information includes the operation condition of the user's finger on the plane, such as clicking, inputting, sliding displacement, etc.
S307, after the server of the application distribution system receives the screen operation information, the server of the application distribution system is operated according to the screen operation information, and the operated display picture is sent to the mobile terminal equipment for display.
Thus, the reverse control function of the mobile terminal device can be realized. The mobile terminal equipment can realize the function of R-terminal equipment in the application distribution system, and a user can view a display picture issued by a server of the application distribution system through the mobile terminal equipment and perform reverse control on the server of the application distribution system.
The following describes, with reference to fig. 4, a procedure for accessing the server when the server to be accessed is a server of the VDI system and the mobile terminal device is an R-terminal device of the VDI system:
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 the step, a user can set corresponding network configuration in an APP page corresponding to a VDI system in mobile terminal equipment, wherein the network configuration comprises a DNS configuration file, gateway information, an IP address and the like; the processor in the mobile terminal device may acquire the input network configuration information, and send the network configuration information to a server of the VDI system through the wireless communication module. And, the user can input authentication information, such as a user name and a password, on the APP page corresponding to the VDI system in the mobile terminal device, and the mobile terminal device can obtain the user name and the password.
If the mobile terminal device is a DHCP device, the fixed IP address of the mobile terminal device is not required to be configured, and if the mobile terminal device is not a DHCP device, the fixed IP address of the mobile terminal device is required to be configured.
S402, after the server of the VDI system receives the network configuration information, the user name and the password, the mobile terminal equipment is connected with the corresponding virtual machine on the VDI server after confirming that the network configuration information, the user name and the password are correct, so that the mobile terminal equipment 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 a page picture to the mobile terminal equipment.
The page frame transmitted from the VDI server to the mobile terminal apparatus is encoded.
S404, the mobile terminal equipment receives and displays the page picture of the virtual machine.
In this step, the mobile terminal device receives the encoded data sent by the virtual machine of the server of the VDI system through the wireless communication module, decodes the encoded data using the decoder, and then displays the page frame of the virtual machine on the touch screen, so that the user opens the page of the APP corresponding to the VDI system in the mobile terminal device, and can see the page frame of the virtual machine.
S405, the mobile terminal equipment sends user operation information to a virtual machine on a server of the VDI system.
In this step, the user may perform manipulation by touching a screen of the mobile terminal device, and 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.
And S406, after receiving the user operation information, the server of the VDI system controls the virtual machine corresponding to the mobile terminal equipment according to the user operation information, pushes the page picture generated after the control to the mobile terminal equipment, and displays the page picture to the user by the mobile terminal equipment.
In this way, the mobile terminal device can realize the function of the R-terminal device in the VDI system, and the user operates the virtual machine through the mobile terminal device.
In a specific implementation, the application version on the mobile terminal device can be modified, or the functions of the R-terminal devices of the VDI system and the application distribution system can be added by patching the application version.
Of course, the R-terminal device function may also be implemented by installing an R-terminal decoding APP (distinguishing between the VDI system and the application distribution system) on the mobile terminal device, where the VDI system and the application distribution system correspond to each other. Specifically, the R-terminal decoding APP (distinguishing VDI and application distribution system) corresponding to the VDI system and the application distribution system respectively is installed in advance on the mobile terminal device. And the R-terminal decoding APP controls the hardware of the mobile terminal equipment, and performs information interaction with the server to realize the function of the R-terminal equipment.
When a user opens an APP corresponding to a VDI system at a mobile terminal device, the mobile terminal device can be used as R-terminal equipment of the VDI device. Thus, the mobile terminal realizes the function of the R-terminal equipment of the VDI system. The flow chart is shown in fig. 5.
When a user opens an APP corresponding to an application distribution system at a mobile terminal device, the mobile terminal device can be used as R-terminal equipment of the application distribution system. In this way, 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 foregoing embodiments corresponding to fig. 1 to 3, the following are embodiments of the apparatus of the present disclosure, which may be used to execute the embodiments 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 a type of the to-be-accessed server according to the IP address, 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;
and the feature data receiving module 704 is configured to receive feature data sent by the server to be accessed, where the feature data includes identification information and page data of the server to be accessed.
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, the device identification code of the terminal device is sent to the server of the application distribution system, so that the server of the application distribution system registers the terminal device according to the device identification code;
The feature data receiving module 704 is configured to:
And receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information and page data of the server of the application distribution system.
In one embodiment, as shown in FIG. 8, the apparatus 70 further comprises: 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, the device identification code of the terminal device is sent to a server of the application distribution system.
In one embodiment, 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 page data of a server of the application distribution system to a user;
The page operation instruction receiving module 707 is 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 a server of the application distribution system, so that the server of the application distribution system executes the server page operation instruction;
The page data receiving module 709 is 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 a VDI system, network configuration information and identity verification information of the terminal equipment are sent to the server of the VDI system, so that the server of the VDI system can conduct identity verification on the terminal equipment, a virtual machine corresponding to the identity verification information is determined, and the network configuration information of the terminal equipment is sent 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 page data of the decoded virtual machine;
the page data displaying 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 receive a page operation instruction of the virtual machine input by a user after displaying the decoded page data of the virtual machine to the user;
the page operation instruction sending module 708 is further configured to send a 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.
The implementation process and the technical effects of the device for accessing a server provided in the embodiments of the present disclosure may be referred to the embodiments of fig. 1 to 3, and are not described herein again.
Referring to fig. 9, the embodiment of the present disclosure further provides a terminal device, where the terminal device 90 includes a processor 901 and a memory 902, where the processor 901 is connected to the memory 902, and at least one computer instruction is stored in the memory 901, and 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 embodiments corresponding to fig. 1 to 3.
Based on the method of accessing a server described in the embodiments corresponding to the embodiments of fig. 1 to 3, the embodiments of the present disclosure also provide a computer readable storage medium, for example, a non-transitory computer readable storage medium may be a Read Only Memory (ROM), a random access Memory (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 3, which are not described herein.
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 for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the 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 adaptations, 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 of accessing a server, 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;
The identification information of the terminal equipment is sent to the server to be accessed, when the type of the server to be accessed is the server of the application distribution system, the identification information comprises the equipment identification code of the terminal equipment, and when the type of the server to be accessed is the server of the VDI system, the identification information comprises the network configuration information of the terminal equipment;
And receiving the characteristic data sent by the server to be accessed, wherein the characteristic data comprises identification information and page data of the server to be accessed.
2. The method according to 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, the device identification code of the terminal device is sent to the server of the application distribution system, so that the server of the application distribution system registers the terminal device according to the device identification code;
the step of receiving the characteristic data sent by the server to be accessed comprises the following steps:
And receiving first characteristic data sent by a server of the application distribution system, wherein the characteristic data comprises identification information and page data of the server of the application distribution system.
3. The method according to 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 equipment to the server to be accessed comprises the following steps:
And if the license number is confirmed to pass the verification, the device identification code of the terminal device is sent to a server of the application distribution system.
4. A method according to claim 3, wherein 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.
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 are displayed to the user, receiving a server page operation instruction input by the user;
The server page operation instruction is sent 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 according to 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 a VDI system, network configuration information and identity verification information of the terminal equipment are sent to the server of the VDI system, so that the server of the VDI system can conduct identity verification on the terminal equipment, a virtual machine corresponding to the identity verification information is determined, and the network configuration information of the terminal equipment is sent to the virtual machine;
the step of receiving the characteristic data sent by the server to be accessed comprises the following steps:
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 of claim 6, wherein the second feature data is encoded feature data, and wherein after receiving the second feature 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 comprises page data of a decoded 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 the 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 executes 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, comprising:
The IP address receiving module is used for receiving the Internet Protocol (IP) address of the server to be accessed, which is input by the user;
The server type to be accessed determining module is used for 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;
the identification information sending module is used for sending the identification information of the terminal equipment to the server to be accessed, wherein when the type of the server to be accessed is the server of the application distribution system, the identification information comprises the equipment identification code of the terminal equipment, and when the type of the server to be accessed is the server of the VDI system, the identification information comprises the network configuration information of the terminal equipment;
The feature data receiving module is used for receiving feature data sent by the server to be accessed, wherein the feature data comprises identification information and page data of the server to be accessed.
9. A terminal device comprising a processor and a memory having stored therein at least one computer instruction that is loaded and executed by the processor to implement the steps performed in the method of accessing a server of any one of claims 1 to 7.
10. A computer readable storage medium having stored therein at least one computer instruction loaded and executed by a processor to implement the steps performed in the method of accessing a server of any of claims 1 to 7.
CN202010463643.5A 2020-05-27 2020-05-27 Method, device, terminal equipment and storage medium for accessing server Active CN111756805B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN111756805A CN111756805A (en) 2020-10-09
CN111756805B true CN111756805B (en) 2024-05-24

Family

ID=72674408

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN111756805B (en)

Citations (4)

* 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
CN102904765A (en) * 2011-07-26 2013-01-30 腾讯科技(深圳)有限公司 Method and equipment for data reporting
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9306954B2 (en) * 2011-06-30 2016-04-05 Cloud Security Corporation Apparatus, systems and method for virtual desktop access and management
KR101541591B1 (en) * 2013-05-16 2015-08-03 삼성에스디에스 주식회사 System and method for single-sign-on in virtual desktop infrastructure environment

Patent Citations (4)

* 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
CN102904765A (en) * 2011-07-26 2013-01-30 腾讯科技(深圳)有限公司 Method and equipment for data reporting
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

Also Published As

Publication number Publication date
CN111756805A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN109598115B (en) Method, device, equipment, system, platform and medium for realizing authorized login
CN103597805B (en) For promoting the technology of the interactive operation between annex and multiple equipment
CN108540433B (en) User identity verification method and device
CN111586021B (en) Remote office business authorization method, terminal and system
CN112507295A (en) Data processing method and system
KR20050114047A (en) Method and server for servicing remote clients
CN104753892A (en) Network resource transmission method, device and system
CN111241523B (en) Authentication processing method, device, equipment and storage medium
CN103518205A (en) Method for limiting operation authority and automation device
CN103036852A (en) Method and device for achieving network login
CN112466053B (en) Control system of household appliance and execution method and device of target operation
CN111756805B (en) Method, device, terminal equipment and storage medium for accessing server
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
CN113032805A (en) Data access method and device, electronic equipment and storage medium
CN112748893A (en) Wireless screen projection method, device and system
CN110366164B (en) Method for remotely controlling terminal, server, terminal and computing equipment
CN114020678B (en) Server serial console redirection method, device and system and electronic equipment
CN109842600B (en) Method for realizing mobile office, terminal equipment and MDM equipment
CN104714760A (en) Method and device for read and write storage device
CN112770144B (en) Video file downloading method, video file playing method, device and terminal equipment
CN114726664A (en) Household equipment binding method and equipment
CN113726794A (en) Confidential screen projection system and method
CN110717173B (en) Account activation method, account activation device, network terminal and computer readable storage medium
CN109450887B (en) Data transmission method, device and system

Legal Events

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