Method, device and information processing system for preventing application from running multiple instances

An information processing system and a technology for running information, applied in the direction of multi-program device, program control device, program loading/starting, etc., can solve the problem that it is impossible to prevent multiple instances of the application program running in the sand table, and achieve the effect of simple implementation method

Active Publication Date: 2016-10-05
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a method for preventing multiple instances of an application from running, aiming to solve the problem that the prior art cannot prevent multiple instances of an application in the sandbox from running

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and information processing system for preventing application from running multiple instances
  • Method, device and information processing system for preventing application from running multiple instances
  • Method, device and information processing system for preventing application from running multiple instances

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 The implementation flow of the method for preventing an application program from running multiple instances provided by Embodiment 1 of the present invention is shown, and the process of the method is described in detail as follows:

[0025] In step S101, the instance running request information sent by the client is received, and the information carries a first ID indicating the client and a second ID of the application program to which the instance belongs.

[0026] In this embodiment, the server receives instance running request information sent by the client, and the request information includes but not limited to a first ID representing the client and a second ID of the application program to which the instance belongs. Wherein, the first ID is a globally unique feature ID acquired by the client from the local operating environment, for example: the physical address of the network card of the client. Furthermore, when the client has multiple network cards...

Embodiment 2

[0042] figure 2 It shows the implementation flow of the method for preventing an application program from running multiple instances provided by Embodiment 2 of the present invention. This embodiment adds step S206 on the basis of Embodiment 1:

[0043] In step S206, the running state of the instance is monitored in real time, and if the running state of the instance does not change within a preset time range, the running information of the instance in the state information table is deleted.

[0044]In this embodiment, in order to prevent a certain instance of the client from exiting the server, the server does not receive the exit information of the instance due to network failure and other reasons, which affects the operation of the next instance, and the server provides a The state sets a time threshold (for example: the time threshold for the running state is paused is 20 minutes, etc.), if the running state of the instance does not change within the time domain value, de...

Embodiment 3

[0046] image 3 It shows the implementation flow of the method for preventing an application program from running multiple instances provided by Embodiment 3 of the present invention. In this embodiment, step S307 is added on the basis of Embodiment 2:

[0047] In step S307, the running state of the instance is monitored in real time, and an early warning process is performed when the running state of the instance is abnormal.

[0048] In this embodiment, the running state of the instance is monitored in real time, and when there is an abnormality in the running state of the instance (for example: frequent exit and running, multiple instance running requests of the same application program, etc.), Early warning processing. The manner of early warning processing includes but is not limited to blacklisting the application program ID or client ID corresponding to the abnormal instance. Through this embodiment, the stability and security of the system can be effectively improved...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is suitable for the field of information processing, and provides a method and a device for preventing an application from running multiple examples, and an information processing system. The method comprises the following steps of: receiving example running request information transmitted by a client, wherein the request information carries a first ID (Identity) representing the client; judging whether the first ID exists in a preset state information table; and when the first ID does not exist, running an example, feeding running information back to the client, and memorizing the example running information in the state information table. According to the method and the device, the application of the client can be effectively controlled to run one example; and moreover, the method is easy to implement, is efficient and has high reliability.

Description

technical field [0001] The invention belongs to the field of information processing, and in particular relates to a method and system for preventing multiple instances of an application program from running. Background technique [0002] The multitasking feature of Windows allows multiple instances of an application to run simultaneously. However, running multiple instances at the same time may occupy too many system resources or cause application instability. Especially for clients entering the game lobby, preventing multiple instances of the application from running can effectively solve the problem of user cheating. [0003] In the prior art, a named mutex kernel object is usually used to prevent an application program from running multiple instances. In this method, when the application program is started, the CreateMutex function is called to create a mutex kernel object named after a certain string. If the mutex kernel object named by this string already exists before...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46G06F9/445
Inventor 罗序斌彭志浩
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products