A method for preventing software from being used by multiple users in a remote desktop

By checking and intercepting non-console sessions, remote desktop sessions, and multiple instances at the main program loading entry point, the problem of multi-user sharing of commercial software in the cloud is solved, thus achieving protection for commercial software.

CN113392380BActive Publication Date: 2025-12-09BEIJING VESYSTEM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110643444.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-09
Publication Date
2025-12-09
Estimated Expiration
2041-06-09

AI Technical Summary

Technical Problem

The deployment of commercial software in the cloud and its shared use by multiple users leads to losses for software developers.

Method used

At the main program loading entry point, check the current running environment to determine whether it is a non-console session, a remote desktop session, or multiple instances, and block user sessions or instances that exceed the limit to prevent multiple users from sharing the same space.

Benefits of technology

It effectively prevents commercial software from being run simultaneously by multiple users in remote desktop, limits the number of sessions or instances per user, prevents unlimited sharing, and protects the interests of software developers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113392380B_ABST
    Figure CN113392380B_ABST
Patent Text Reader

Abstract

The application discloses a method for preventing software from being commonly used by multiple users in a remote desktop, and relates to the technical field of software enterprises, which comprises a main program loading entrance, whether it is a non-console session, and whether it is a remote desktop session. The method prevents the program from being simultaneously run by multiple users in multiple sessions, checks whether the current running environment is a non-console session, whether it is a remote desktop session, and whether multiple instances exist simultaneously at the main program loading entrance; checks whether the multiple instances are created by the same user in the same session or by the same user in multiple sessions, that is, the method intercepts multiple users and multiple sessions, limits single user and multiple sessions, or limits the number of instances in a maximum allowed session, thereby effectively preventing the application program from being commonly used through the remote desktop without limitation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of software enterprise technology, specifically to a method for preventing software from being used by multiple users in a remote desktop. Background Technology

[0002] Commercial software, in the context of computer software, refers to software that is traded as a commodity. Until the 2000s, most software was classified as commercial software. In contrast to commercial software, there is non-commercial proprietary software (though proprietary software can include commercial software), free software, shareware, and freeware available for sharing. RDS, short for Relational Database Service, is a ready-to-use, stable, reliable, and elastically scalable online database service. It features multiple security measures and a comprehensive performance monitoring system, and provides professional database backup, recovery, and optimization solutions, allowing you to focus on application development and business growth.

[0003] After a software development company completes the development of commercial software and licenses it to users, the users deploy the commercial software in the cloud using RDS technology, allowing multiple users to use it together. This practice of multiple users sharing a single software license can cause financial losses for the software developer. Summary of the Invention

[0004] (a) Technical problems to be solved

[0005] To address the shortcomings of existing technologies, this invention provides a method for preventing software from being shared by multiple users in a remote desktop, thus solving the problem of multiple users sharing a single software license.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0007] S1: Enter the main program loading entry point;

[0008] S2: Determine if it is a remote desktop session; if so, intercept it; otherwise, continue checking.

[0009] S3: Determine if it is a non-console session; if yes, intercept; otherwise, continue checking.

[0010] S4: Determine if it is a multi-instance session; if yes, continue checking; otherwise, stop checking.

[0011] S5: judging whether multiple instances are created by the same user in the same session, if yes, judging whether the number of instances exceeds the maximum allowed number, if yes, intercepting the excess part, if not, not intercepting, if not, continuing to check;

[0012] S6: judging whether multiple instances are created by the same user in multiple sessions, if yes, intercepting, if not, not intercepting.

[0013] Preferably, the main program loading entrance is the loading entrance of a module controlling the whole program flow

[0014] Preferably, the non-console session is a session directly executed on the system.

[0015] Preferably, the remote desktop session is a desktop session executed on the computer at the other end of the network.

[0016] Preferably, the number of instance contexts currently contained in the multiple instance services is equal to the number of instances.

[0017] Preferably, the main program loading entrance intercepts non-console sessions and remote desktop sessions.

[0018] Preferably, the main program loading entrance intercepts instances created by the same user in the same session exceeding the maximum allowed number.

[0019] Preferably, the main program loading entrance limits the number of sessions created by the same user.

[0020] The present application has the following beneficial effects:

[0021] The technique for preventing software from being commonly used by multiple users in a remote desktop checks whether the current running environment is a non-console session, a remote desktop session, or whether multiple instances exist simultaneously at the main program loading entrance.

[0022] The technique for preventing software from being commonly used by multiple users in a remote desktop checks whether multiple instances are created by the same user in the same session or by the same user in multiple sessions, i.e. intercepting for multiple users and multiple sessions, limiting single user and multiple sessions, or limiting the number of instances in a maximum allowed session, effectively preventing application programs from being commonly used through a remote desktop without limitation. BRIEF DESCRIPTION OF DRAWINGS

[0023] Figure 1 The present application is a technical flowchart. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of the present application.

[0025] As shown in Figure 1 the present application provides a technical solution:

[0026] S1: entering a main program loading entrance;

[0027] S2: judging whether it is a remote desktop session, if yes, intercepting, if not, continuing to check;

[0028] S3: judging whether it is a non-console session, if yes, intercepting, if not, continuing to check;

[0029] S4: judging whether it is a multiple-instance session, if yes, continuing to check, if not, no longer checking;

[0030] S5: judging whether it is a same user creating multiple instances in a same session, if yes, judging whether the number of instances exceeds a maximum allowed number of instances, if exceeding, intercepting the exceeding part, if not exceeding, not intercepting, if not the same user creating multiple instances in a same session, continuing to check;

[0031] S6: judging whether it is the same user creating multiple instances in multiple sessions, if yes, intercepting, if not, not intercepting.

[0032] The main program loading entrance is a loading entrance of a module controlling the whole program flow, and the whole program flow is controlled at the program loading entrance. The non-console session is a session directly executed on the system. The remote desktop session is a desktop session controlling this computer at the other end of the network. The multiple-instance service currently contains an instance context number equal to the number of instances. The main program loading entrance intercepts the non-console session and the remote desktop session. The main program loading entrance intercepts the instances created by the same user in a same session exceeding the maximum allowed number of instances. The main program loading entrance limits the number of sessions created by the same user. The technology of preventing the software from being commonly used by multiple users in the remote desktop prevents the program from being simultaneously run by multiple users in multiple sessions. The current running environment is checked at the main program loading entrance whether it is a non-console session, a remote desktop session, or multiple instances exist simultaneously. The multiple instances are checked whether they are created by the same user in a same session or by the same user in multiple sessions, that is, the multiple users and multiple sessions are intercepted, the single user and multiple sessions are limited, or the number of instances in a same session is limited, so that the application program is effectively prevented from being commonly used through the remote desktop without limitation.

[0033] The principle of the present application is:

[0034] S1, preventing the opener program from running simultaneously by multiple users in multiple sessions, checking at the main program loading entrance whether the current running environment is a non-console session, whether it is a remote desktop session, and whether multiple instances exist simultaneously;

[0035] S2, checking whether multiple instances are created by the same user in the same session or by the same user in multiple sessions, i.e. intercepting multiple users and multiple sessions, also limiting single user and multiple sessions, or limiting the number of instances in one session, effectively preventing the application program from being shared unlimitedly through the remote desktop.

[0036] The above detailed description further explains the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above is only a specific embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included within the scope of protection of the present application.

Claims

1. A method for preventing software from being commonly used by multiple users in a remote desktop, the operation steps comprising: S1: entering a main program loading entrance; S2: judging whether it is a remote desktop session, if yes, intercepting, if not, continuing to check; S3: judging whether it is a non console session, if yes, intercepting, if not, continuing to check; S4: judging whether it is a multiple instance session, if yes, continuing to check, if not, no longer checking; S5: judging whether it is creating multiple instances for the same user in the same session, if yes, judging whether it exceeds the maximum allowed instance number, if exceeding, intercepting the exceeding part, if not exceeding, not intercepting, if not creating multiple instances for the same user in the same session, continuing to check; S6: judging whether it is creating multiple instances for the same user in multiple sessions, if yes, intercepting, if not, not intercepting.

2. The method for preventing software from being commonly used by multiple users in a remote desktop according to claim 1, wherein: The main program loading entrance is a loading entrance of a module controlling the whole program flow.

3. The method for preventing software from being commonly used by multiple users in a remote desktop according to claim 1, wherein: The non console session is a session directly executed on the system.

4. The method for preventing software from being commonly used by multiple users in a remote desktop according to claim 1, wherein: The remote desktop session is a desktop session controlling this computer executed at the other end of the network.

5. The method for preventing software from being commonly used by multiple users in a remote desktop according to claim 1, wherein: The multiple instance service currently contains the instance context quantity equal to the instance number.

6. The method for preventing software from being commonly used by multiple users in a remote desktop according to claim 1, wherein: The main program loading entrance limits the quantity of creating multiple sessions for the same user.

Citation Information

Patent Citations

  • Load balance method and system based on VNC dispatching

    CN105407115A

  • Improved multi-user desktop virtualization and remote desktop connection method

    CN108632380A