Method, system, device, and storage medium for providing idle equipment in Internet cafes

By acquiring and storing Internet cafe information, conducting penetration tests, network speed measurements, and dynamically allocating ports, the problem of idle Internet cafe equipment is solved, and the efficient utilization of smart terminals is achieved, resource waste is avoided and a high-performance Internet cafe service experience is provided.

CN112749049BActive Publication Date: 2024-12-31SHANGHAI DALONG TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911039509.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-29
Publication Date
2024-12-31
Estimated Expiration
2039-10-29

AI Technical Summary

Technical Problem

Internet cafes are idle during off-peak hours, resulting in waste of resources, and it is difficult for the existing technology to effectively utilize these high-configuration performance equipment.

Method used

By obtaining and storing basic information of the Internet cafe, receiving client's idle device usage requests, performing penetration tests and network speed tests, dynamically allocating destination ports, providing connection information of idle devices, and realizing the connection between the client and idle devices.

Benefits of technology

Effectively utilize the idle resources of Internet cafes, users can use high-configuration devices through smart terminals, avoid resource waste, and provide the same Internet cafe service experience as offline use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112749049B_ABST
    Figure CN112749049B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, device, and storage medium for providing idle equipment in an Internet cafe. The method for providing idle equipment in an Internet cafe is executed by a server, and includes: obtaining and storing basic information of the Internet cafe; when receiving an idle equipment use request sent by a client, providing connection information of the idle equipment to the client, so that the client can connect to the idle equipment according to the connection information. The present invention can effectively utilize the idle equipment in the Internet cafe, allowing users to connect to and use these idle equipment through smart terminals around them in places with a network, thereby avoiding waste of resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software communication, and in particular to a method, system, device and storage medium for providing idle equipment in an Internet cafe. Background Art

[0002] Internet cafes are profit-making places that are open to the public and provide Internet services. Internet cafes provide computer-related hardware, and consumers can freely operate software facilities. Internet cafes generally charge by the hour or overnight.

[0003] Generally, during off-peak hours, Internet cafes have a low user attendance rate and many devices are idle. However, these devices are usually highly configured and have sufficient performance. If they are not used, it will directly lead to a waste of resources. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a method, system, device, and storage medium for providing idle equipment in Internet cafes, so as to solve the technical problem in the prior art that idle equipment in Internet cafes cannot be effectively utilized.

[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a method for providing idle devices in an Internet cafe, which is applied to a server; the method comprises: acquiring and storing basic information of the Internet cafe; when receiving an idle device use request sent by a client, providing connection information of the idle device to the client, so that the client can connect to the idle device according to the connection information.

[0006] In one embodiment of the present invention, the method further includes: when receiving an idle device use request sent by a client, obtaining a penetration test result of the client; wherein the client is connected to a wide area network via adsl FDDI or Ethernet other than a mobile network; the destination ports assigned to the idle device and the client by their respective gateways when making network connections are dynamic; and determining whether to provide the connection information of the idle device to the client based on the penetration test result so that the client can connect and use it.

[0007] In one embodiment of the present invention, the number of Internet cafes is at least two; the method further includes: after the penetration test result is successful, obtaining a network speed test result between the client and the candidate Internet cafes; selecting a target Internet cafe from the candidate Internet cafes based on the network speed test result, and providing connection information of a target idle device in the target Internet cafe to the client, so that the client can connect to the idle device according to the connection information.

[0008] In one embodiment of the present invention, the method for obtaining the connection information of the target idle device includes: when determining the target idle device, performing a penetration handshake between the client and the target idle device, and recording the connection information of the target idle device.

[0009] To achieve the above-mentioned purpose and other related purposes, the present invention provides a system for providing idle equipment in an Internet cafe, including: a resource proxy server, used to obtain and store basic information of the Internet cafe; a central control server, used to provide connection information of the idle equipment to the client when receiving a request for using the idle equipment sent by the client, so that the client can connect to the idle equipment according to the connection information.

[0010] In one embodiment of the present invention, the system further comprises: a simulation terminal server and a handshake server; when the central control server receives an idle device use request sent by a client, the simulation terminal server is instructed to simulate the idle device; the simulation terminal server and the client are simultaneously connected to the handshake server for communication, so that the client performs a penetration test; wherein the client is connected to a wide area network via adsl FDDI or Ethernet in addition to a mobile network; the destination ports assigned by the respective gateways to the idle device and the client when performing a network connection are dynamic; the central control server determines whether to provide the connection information of the idle device to the client according to the penetration test result, so that the client can connect and use it.

[0011] In one embodiment of the present invention, the number of Internet cafes is at least two; the central control server is further used to: after the penetration test result is successful, obtain the network speed test result between the candidate Internet cafe and the client; select a target Internet cafe from the candidate Internet cafes according to the network speed test result, and provide the connection information of a target idle device in the target Internet cafe to the client, so that the client can connect to the idle device according to the connection information.

[0012] In one embodiment of the present invention, the central control server is further used to: when determining the target idle device, select a handshake server according to the identification information of the target idle device; wherein, after the client and the target idle device are simultaneously communicated and connected with the handshake server, the client starts a penetration handshake so that the connection information of the target idle device is recorded by the handshake server.

[0013] To achieve the above-mentioned purpose and other related purposes, the present invention provides a device for providing idle equipment in an Internet cafe, including: an Internet cafe information storage module, used to obtain and store basic information of the Internet cafe; a device information providing module, used to provide connection information of the idle equipment to the client when receiving an idle equipment use request sent by a client, so that the client can connect to the idle equipment according to the connection information.

[0014] To achieve the above-mentioned purpose and other related purposes, the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is loaded and executed by a processor, the method for providing idle devices in an Internet cafe is implemented.

[0015] As described above, the method, system, device, and storage medium for providing idle equipment in Internet cafes of the present invention fully utilize the idle resources of Internet cafes. Users can use high-configuration and high-performance equipment through smart terminals and obtain the same Internet cafe services as users who enter the Internet cafes offline, such as playing large-scale games, etc., thereby avoiding waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Shown is a flow chart of a method for providing idle equipment in an Internet cafe in one embodiment of the present invention.

[0017] Figure 2 Shown is a network topology diagram of a method for providing idle equipment in an Internet cafe in a specific example of the present invention.

[0018] Figure 3 Shown is a flow chart of a method for providing idle equipment in an Internet cafe in another embodiment of the present invention.

[0019] Figure 4 Shown is a module schematic diagram of a device for providing idle equipment in an Internet cafe in one embodiment of the present invention. DETAILED DESCRIPTION

[0020] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0021] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0022] The present invention provides a method for providing idle devices in an Internet cafe, which is executed by a server. The so-called server can be a single server or a server group composed of several servers, and the so-called server includes but is not limited to a physical server and a cloud server. Through the present invention, idle device resources in an Internet cafe can be effectively utilized, so that users can use idle devices in the Internet cafe through smart terminals in their hands without having to enter the Internet cafe offline. Among them, the so-called idle devices refer to computer devices in the Internet cafe that are not used by offline users, and offline users refer to users who enter the Internet cafe to use computer devices.

[0023] like Figure 1 As shown, the method for providing idle equipment in an Internet cafe of the present invention comprises the following steps:

[0024] S11: Obtain and store basic information of the Internet cafe;

[0025] Internet cafes that join the Internet cafe idle equipment lending program need to authenticate and register with the server in advance to obtain an account assigned by the server. Through this account, the Internet cafe needs to save basic information such as the equipped computer equipment and speed test proxy server to the server. For example, the Internet cafe manager registers with the server through the Internet cafe control server, and the Internet cafe control server uniformly manages the various computer equipment in the Internet cafe, including controlling the online and offline, restart, and logout of computer equipment, as well as managing the Internet cafe speed test server. After successful registration, the Internet cafe control server submits the information of all computer equipment in the Internet cafe and the information of the Internet cafe speed test proxy server to the server for storage. For another example, the server can communicate and connect directly with each computer equipment in the Internet cafe without going through the Internet cafe control server, so as to directly notify each computer equipment that it needs to be restarted or connected to the client, etc.

[0026] S12: Establishing a communication connection with an idle device in the Internet cafe;

[0027] When a computer device in an Internet cafe is used by a user, the user will log out and the device will be restarted to return to normal operation. At this time, if the computer device no longer provides services to the next Internet cafe user, it will become an idle device and automatically establish a communication connection with the server. Alternatively, the Internet cafe manager will select some of the idle devices to establish a communication connection with the server, that is, let these idle devices participate in the lending project, commonly known as "going online".

[0028] In one embodiment, when the Internet cafe control server detects an idle device, it deploys a remote desktop connection service program to the idle device by itself or by staff, and the remote desktop connection service program is responsible for establishing a communication connection between the idle device and the server and client.

[0029] S13: When receiving an idle device use request sent by a client, providing connection information of an idle device in communication connection to the client, so that the client can connect to the idle device according to the connection information.

[0030] It should be noted that the networks connected to the user's smart terminal mainly include home network (wired / wireless wifi), enterprise network (wired / wireless wifi) and mobile communication network (2G / 3G / 4G / 5G). Since the home network or enterprise network is connected to the wide area network through adsl FDDI or Ethernet in addition to the mobile network, which has a firewall, when the user connects to the Internet cafe network through the above network connection methods, the problem of network penetration needs to be solved. The mobile communication network is connected to the wide area network through the base station, so there is no such problem.

[0031] Generally speaking, an Internet cafe sets up one device as the host and other devices as slaves. They need to access the established shared Internet LAN for network connection. All devices share an external IP, that is, each Internet cafe has only one network exit. When the internal devices of the Internet cafe need to access the external network, the external network port assigned by the gateway device of the Internet cafe to each computer device in the Internet cafe changes dynamically. When the user's smart terminal establishes a communication connection with the server, the destination IP and destination port of the smart terminal are both the server. If the Internet cafe firewall allocates ports based on the five-tuple strategy (the destination IP and destination port are fixed and immutable), then after the smart terminal obtains the IP and port of the Internet cafe device from the server, when it disconnects from the server and establishes a connection with the Internet cafe device, the IP and port of the Internet cafe device obtained are inconsistent with the previous IP and port of the server, so the smart terminal cannot successfully connect to the Internet cafe device. To avoid this problem, a forwarding server can be used to forward data from both sides, but such operation will also cause new problems, such as: the bandwidth required is higher and the delay will increase.

[0032] Therefore, in one embodiment of the present invention, the Internet cafe firewall allocates ports according to the triplet strategy (the destination IP and destination port are uncertain and changeable), and when receiving the idle device use request sent by the client, step S13 first obtains the penetration test result of the client, and then decides whether to provide the connection information of the idle device to the client according to the penetration test result. The penetration test is, for example, P2P penetration, which can be performed on the server or on other devices other than the server, and the present invention does not limit this.

[0033] In one embodiment, there may be more than one Internet cafe that joins the Internet cafe idle device lending program. When the client network meets the requirements (no penetration test is required or the penetration test is successfully passed), the server obtains the network speed test results between the client and the candidate Internet cafe, selects a target Internet cafe (such as the one with the best network delay) from the candidate Internet cafes based on the network speed test results, and provides the connection information (IP and port) of a target idle device in the target Internet cafe to the client, so that the client can connect to the idle device according to the connection information. Among them, the connection information of the target idle device is obtained through the penetration handshake between the client and the target idle device; the network speed test is usually performed by the speed test proxy server of the Internet cafe. Of course, it can also be performed on the server or other devices, and the present invention is not limited to this.

[0034] After the user's smart terminal successfully connects to the target idle device, the computer device can be used even if it is thousands of miles away. Compared with the "cloud computer" developed by manufacturers in recent years (using remote connection technology to allow the user's smart terminal to connect to the cloud host as a server, so as to control a cloud host through the smart terminal, and the cloud host is a virtual machine), the performance experienced by users using the present invention will be higher, because the present invention allows users to experience the performance of a physical machine, while the "cloud host" allows users to experience the performance of a virtual machine. The performance of a virtual machine is generally worse than that of a physical machine. For example, for graphics cards with the same video memory, the utilization rate of a physical graphics card is higher than that of a virtual graphics card.

[0035] The method for providing idle equipment in an Internet cafe of the present invention is described in detail below through a specific example.

[0036] like Figure 2 As shown in the figure, in this example, the server is composed of a central control server (referred to as the central control server), a resource proxy server, a simulated terminal server, and a handshake server. The Internet cafe is a local area network, and all devices are connected to the wide area network through a unified routing outlet. The client connects to the wide area network through a home network or an enterprise network.

[0037] In detail, the central control server is used to manage Internet cafe resources, distribute connection server information, allocate idle equipment in Internet cafes, and provide Internet cafe owners with a web-based resource management interface; the resource proxy server is used to connect to and pull Internet cafe resource information in real time, and communicate with the central control server in real time to synchronize resources. The central control server allocates idle machines in Internet cafes and manages Internet cafe resources through resource proxy services; the simulation terminal server is used to simulate idle equipment in Internet cafes that have been connected to remote connection services, and simulate the client network penetration test function together with the user terminal and the handshake server to verify whether the user network can be penetrated; the handshake server is used to provide services for establishing penetration handshakes between idle equipment in Internet cafes and user terminals, and match the two terminals to shake hands according to the connection information.

[0038] like Figure 3 As shown, the process steps of this example are as follows:

[0039] S301, the Internet cafe registers the Internet cafe and stores the Internet cafe resource information through the resource proxy server.

[0040] S302, the Internet cafe deploys a remote desktop connection service program on the online device resources and changes the firewall policy to a triplet policy.

[0041] S303, the client performs a penetration test before connecting to the idle device in the Internet cafe, and verifies whether the user network can be penetrated by connecting to the simulated terminal server. Specifically: the client sends a request to the central control server to obtain the address and port information of the handshake server, then connects to the handshake server, and completes the client simulation penetration with the simulated terminal server connected to the handshake server at the same time. The process is as follows:

[0042] A. The client and the simulated terminal server establish a connection to the handshake server;

[0043] B. The handshake server obtains the public IP and port of both parties for transmission;

[0044] C. The client and the simulated terminal server obtain each other's public network IP:port, and continue to bind the original port to connect to the other end;

[0045] This example does not require the shutdown time of the handshake server, because the firewall opens this port for a period of time based on the triplet strategy, about 30 seconds, and the port will be automatically closed if no data from the other end comes in. If there is data coming in within 30 seconds, the connection will be maintained for 180 seconds. If there is no data exchange during this period, it will be closed. At this time, only one-way data is needed to maintain the connection.

[0046] D. After the connection between the two parties is successful, they are disconnected and the client submits the results of this penetration test to the central control server.

[0047] S304, after the penetration test is successful, the client sends a speed test request to the central control server, and the central control server determines a number of candidate Internet cafes based on the client network information and the penetration test result, and returns the network connection information of the candidate Internet cafes.

[0048] S305, the client submits the speed test results to the central control server after batch speed test. Specifically, the client sends a data packet to test the speed according to the received IP and port information of the Internet cafe speed test proxy server, and feeds back the speed test results, such as bandwidth, delay, etc., to the central control server.

[0049] S306, after receiving the user's connection request, the central control server selects an idle device in a specific Internet cafe, and sends the identification information of the client and the selected idle device in the Internet cafe to the handshake server. Specifically, after receiving the connection request, the central control server generally selects an Internet cafe with the same operator as the client and the smallest network delay, and randomly selects an idle device from the Internet cafe.

[0050] S307, the client and the selected idle device of the Internet cafe are connected to the handshake server. After the penetration handshake is successful, the central control server obtains the IP and port of the idle device of the Internet cafe and provides it to the client so that the client can connect to the idle device of the Internet cafe. The specific process includes the following:

[0051] S3071, allocating handshake identification information;

[0052] S3072: Return the handshake identification information to the client;

[0053] S3073, notifying the handshake server of the client information and the idle device information;

[0054] S3074, the client uses the handshake identification information and the device information of the idle device to perform a penetration handshake with the handshake server;

[0055] S3075. After the handshake succeeds, the handshake server returns to the client the IP port information to which the idle device can be directly connected;

[0056] S3076. The client connects to the idle device according to its IP port information.

[0057] It should be noted that before connecting to the handshake server, the IP and port of the idle device in the Internet cafe are dynamically changing. Once successfully connected to the handshake server and not disconnected, its IP and port will no longer change. At this time, the handshake server records the IP and port of the idle device in the Internet cafe and sends it to the central control server, and the central control server then provides these two pieces of information to the client, and the client can successfully connect to the idle device in the Internet cafe through these two pieces of information. Preferably, the handshake server records the IP and port of the idle device in the Internet cafe and sends it directly to the client, so that the client can achieve connection with the idle device in the Internet cafe.

[0058] It should be noted that the purpose of the handshake server to perform the penetration handshake is to record the IP and port of the selected idle device in the Internet cafe. The process of this penetration test is also similar to S303. The idle device of the Internet cafe simulated by the simulated terminal server this time does not need identification information. The IP and port can be dynamic or non-dynamic. The purpose is only to know whether the user's network firewall is a triplet strategy and whether it can be connected and used.

[0059] All or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. Based on such understanding, the present invention also provides a computer program product, including one or more computer instructions. The computer instructions can be stored in a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk (SSD)), etc.

[0060] See also Figure 4 This embodiment provides an apparatus 40 for providing idle equipment in an Internet cafe, which is installed in an electronic device as a software to execute the method for providing idle equipment in an Internet cafe described in the aforementioned method embodiment when running. Since the technical principle of this system embodiment is similar to that of the aforementioned method embodiment, the same technical details will not be repeated.

[0061] The apparatus 40 for providing idle devices in an Internet cafe of this embodiment specifically comprises: an Internet cafe information storage module 41 and a device information providing module 42. The Internet cafe information storage module 41 is used to execute step S11 described in the above method embodiment, and the device information providing module 42 is used to execute steps S12-S13 described in the above method embodiment.

[0062] Those skilled in the art should understand that Figure 4The division of each module in the embodiment is only a division of logical functions, and can be fully or partially integrated into one or more physical entities in actual implementation. And these modules can all be implemented in the form of software called by processing elements, or all in the form of hardware, or some modules can be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the device information providing module 42 can be a separately established processing element, or it can be integrated in a certain chip for implementation. In addition, it can also be stored in a memory in the form of program code, and a certain processing element calls and executes the function of the device information providing module 42. The implementation of other modules is similar. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in a processor element or instructions in the form of software.

[0063] In summary, the method, system, device, and storage medium for providing idle devices in Internet cafes of the present invention effectively utilize the idle devices in Internet cafes, allowing users to connect to and use these idle devices through smart terminals at home, in shopping malls, on the road, or in other places with networks, thereby avoiding waste of resources. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.

[0064] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for providing idle equipment in an Internet cafe, characterized in that: Applied to the server; the method comprises: S301, the Internet cafe registers the Internet cafe and stores the Internet cafe resource information through the resource proxy server; S302, the Internet cafe deploys a remote desktop connection service program on the online device resources and changes the firewall policy to a triplet policy; S303, the client performs a penetration test before connecting to the idle device in the Internet cafe, and verifies whether the user network can be penetrated by connecting to the simulated terminal server; S304, after the penetration test is successful, the client sends a speed test request to the central control server, and the central control server determines a number of candidate Internet cafes based on the client network information and the penetration test results, and returns the network connection information of the candidate Internet cafes; S305, the client submits the speed measurement results to the central control server after batch speed measurement; S306, after receiving the user's connection request, the central control server selects an idle device in a specific Internet cafe, and sends identification information of the client and the selected idle device in the Internet cafe to the handshake server; S307, the client and the selected idle device of the Internet cafe are connected to the handshake server. After the penetration handshake is successful, the central control server obtains the IP and port of the idle device of the Internet cafe and provides them to the client so that the client can connect to the idle device of the Internet cafe; The method further comprises: when receiving an idle device use request sent by a client, obtaining a penetration test result of the client; wherein the client is connected to a wide area network via adsl FDDI or Ethernet; and the destination ports assigned by respective gateways to the idle device and the client when making network connections are both dynamic; It is determined whether to provide the connection information of the idle device to the client according to the penetration test result, so that the client can connect and use it.

2. The method according to claim 1, characterized in that The number of the Internet cafes is at least two; the method further comprises: After the penetration test result is successful, obtaining the network speed test result between the client and the candidate Internet cafe; A target Internet cafe is selected from the candidate Internet cafes according to the network speed test result, and connection information of a target idle device in the target Internet cafe is provided to the client, so that the client can connect to the idle device according to the connection information.

3. The method according to claim 2, characterized in that The implementation method of obtaining the connection information of the target idle device includes: When determining the target idle device, the connection information of the target idle device is recorded and obtained through a penetration handshake between the client and the target idle device.

4. A system for providing idle equipment in an Internet cafe, characterized in that: It includes a resource proxy server and a central control server; the resource proxy server and the central control server are used to execute S301 to S307 as described in claim 1; Also includes: simulated terminal server and handshake server; When receiving the idle device use request sent by the client, the central control server instructs the simulation terminal server to simulate the idle device; the simulation terminal server and the client communicate with the handshake server at the same time, so that the client performs a penetration test; wherein the client is connected to the wide area network via adsl FDDI or Ethernet; the destination ports assigned by the respective gateways to the idle device and the client when performing network connection are dynamic; The central control server determines whether to provide the connection information of the idle device to the client according to the penetration test result, so that the client can connect and use it.

5. The system according to claim 4, characterized in that The number of the Internet cafes is at least two; the central control server is also used for: After the penetration test result is successful, obtaining the network speed test result between the candidate Internet cafe and the client; A target Internet cafe is selected from the candidate Internet cafes according to the network speed test result, and connection information of a target idle device in the target Internet cafe is provided to the client, so that the client can connect to the idle device according to the connection information.

6. The system according to claim 5, characterized in that The central control server is also used for: When determining the target idle device, a handshake server is selected according to the identification information of the target idle device; wherein, after the client and the target idle device are simultaneously connected to the handshake server for communication, the client starts a penetration handshake so that the connection information of the target idle device is recorded by the handshake server.

7. A device for providing idle equipment in an Internet cafe, characterized in that: It includes an Internet cafe information storage module and a device information providing module; the Internet cafe information storage module and the device information providing module are used to perform S301 to S307 as described in claim 1; The device information providing module is also used to obtain the penetration test result of the client when receiving the idle device use request sent by the client; wherein the client is connected to the wide area network via adsl FDDI or Ethernet; the destination ports assigned by the respective gateways to the idle device and the client when making network connections are dynamic; It is determined whether to provide the connection information of the idle device to the client according to the penetration test result, so that the client can connect and use it.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by the processor, the method for providing idle equipment in an Internet cafe as claimed in any one of claims 1 to 3 is implemented.