CN112370792A - Anti-addiction method, device, server and storage medium - Google Patents

Anti-addiction method, device, server and storage medium Download PDF

Info

Publication number
CN112370792A
CN112370792A CN202011269882.3A CN202011269882A CN112370792A CN 112370792 A CN112370792 A CN 112370792A CN 202011269882 A CN202011269882 A CN 202011269882A CN 112370792 A CN112370792 A CN 112370792A
Authority
CN
China
Prior art keywords
addiction
game
target
target user
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011269882.3A
Other languages
Chinese (zh)
Inventor
刘鹏
杨俊标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011269882.3A priority Critical patent/CN112370792A/en
Publication of CN112370792A publication Critical patent/CN112370792A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories

Abstract

The embodiment of the invention discloses an anti-addiction method, an anti-addiction device, a server and a storage medium; the method and the device can acquire the position information of the target game at the current moment, wherein the target game is a game application used by a target user, and the position information represents the geographical position of the target user; determining a target area where a target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the target game; when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game; and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user. Therefore, the accuracy of distinguishing the enthusiastic users can be improved, and the excellent anti-enthusiasm effect is achieved.

Description

Anti-addiction method, device, server and storage medium
Technical Field
The invention relates to the field of computers, in particular to an anti-addiction method, an anti-addiction device, a server and a storage medium.
Background
Most entertainment software in the market at present is provided with an anti-addiction system, and the anti-addiction system can make anti-addiction rules for teenagers. For example, when a game player registers a game account of a game, the game player needs to provide the identity card information to a game official, and the game party can determine whether the game player is a teenager player according to the identity card information, so that the playing time of the teenager player is limited, and the teenager player is prevented from being immersed in the game.
However, since some teenagers may steal the identification card information of others to register the game account, and only determine whether the player is prone to be addicted according to the identification card information, the problem of low determination accuracy of the addicted user may occur, and in addition, some adults may also have a situation of game addiction in working time, so that the current method for preventing the player from being addicted based on the identification card may often have a problem that some players who are not prone to be addicted are limited by the anti-addiction, or the player which is prone to be addicted may not be limited due to inaccurate determination of the addicted user. Therefore, the current anti-addiction methods are not effective.
Disclosure of Invention
The embodiment of the invention provides an anti-addiction method, an anti-addiction device, a server and a storage medium, which can improve the accuracy of distinguishing an addiction user, thereby realizing excellent anti-addiction effect.
The embodiment of the invention provides an anti-addiction method, which comprises the following steps:
acquiring position information of a target game at the current moment, wherein the target game is a game application used by a target user, and the position information represents the geographical position of the target user;
determining a target area where a target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the target game;
when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game;
and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user.
An embodiment of the present invention further provides an anti-addiction device, including:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring the position information of a target game at the current moment, the target game is a game application used by a target user, and the position information represents the geographical position of the target user;
the area unit is used for determining a target area where the target user is located according to the position information, the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the game application;
the parameter unit is used for acquiring a addiction parameter of the target user using the target game when the target user is located in the target area and the current moment is within an anti-addiction time period corresponding to the target area, wherein the addiction parameter represents the addiction degree of the target user to the target game;
and the anti-addiction unit is used for executing anti-addiction processing on the target game used by the target user when the addiction parameter exceeds a preset threshold value.
In some embodiments, the addiction parameter includes duration information, the parameter unit to:
acquiring duration, wherein the duration is the duration for a target user to enter a game scene by using a target game at N preset moments, and N is a positive integer;
in some embodiments, the preset threshold comprises a preset duration threshold, the anti-addiction unit to:
and when the duration of the target user using the target game to enter the game scene at N different preset moments exceeds a preset duration threshold, executing anti-addiction processing on the target game used by the target user.
In some embodiments, the addiction parameter comprises an addiction day, the preset threshold comprises a preset day threshold, and the parameter unit comprises:
the duration subunit is used for acquiring duration, wherein the duration is the duration for the target user to enter a game scene by using the target game at N preset moments, and N is a positive integer;
the number-of-days subunit is used for determining the number of indulging days for the target user to use the target game according to the duration of the target user to enter the game scene by using the target game at the N preset moments;
in some embodiments, the preset threshold comprises a preset number of days threshold, and the anti-addiction unit, when the addiction parameter exceeds the preset threshold, is to:
and when the number of the addiction days of the target user exceeds a preset number of days threshold, executing anti-addiction treatment on the target game used by the target user.
In some embodiments, the preset time includes a current time and a historical time, and the parameter unit or the duration subunit includes:
the history submodule is used for acquiring history duration, wherein the history duration is the duration that a target user uses a target game to enter a game scene at N-1 history moments, and the N-1 history moments are N-1 preset moments before the current moment;
the timing submodule is used for timing the current duration when the target user uses the target game to enter the game scene at the current moment, and the current duration is the duration when the target user uses the target game to enter the game scene at the current moment;
and the duration submodule is used for determining the duration according to the current duration and the N-1 historical durations.
In some embodiments, the timing submodule is further configured to:
when the target user uses the target application game to perform other behaviors at the current moment, determining the state of the custom timing authority of the target user, wherein the custom timing authority is used for calculating enthrallment parameters according to the duration of the other behaviors, and the other behaviors represent the behaviors of the target user when using the target game but not entering the game scene of the target game;
and when the state of the user-defined timing authority of the target user is an opening state, timing the duration of other behaviors of the target user, and counting the duration of the other behaviors into the current duration.
In some embodiments, a days subunit, comprising:
the adding submodule is used for adding one day of indulging days when the duration of the target user using the target game to enter the game scene at the kth preset time exceeds a preset daily time threshold value, so that the number of indulging days of the target user is obtained, and k is a positive integer not greater than N;
and the reduction submodule is used for calculating the number of days of addiction of the target user based on the duration of the target user using the target game to enter the game scene at the kth preset time when the duration of the target user using the target game to enter the game scene at the kth preset time does not exceed the preset daily time threshold.
In some embodiments, the submodule is reduced to:
determining the kth-i moment, wherein i is a positive integer smaller than k;
and when the duration of the target user using the target game to enter the game scene at the k-i historical moment does not exceed the preset daily duration threshold, reducing the number of the indulging days by one day until the number of the indulging days returns to zero, thereby obtaining the number of the indulging days of the target user.
In some embodiments, the anti-addiction device further comprises:
the identity unit is used for acquiring identity information of a target user;
the age unit is used for determining the age of the target user according to the identity information;
the first type unit is used for determining the identity type of the target user as a first type when the age of the target user is lower than a preset age threshold value and the anti-addiction function of the target user is started aiming at the target user, wherein the anti-addiction function is a service provided by the target game and has the anti-addiction function, and the first type is a user type with game addiction tendency;
in some embodiments, an anti-addiction unit, comprising:
and the anti-addiction subunit is used for executing anti-addiction processing on the target user when the target user is located in the target area and is located in an anti-addiction time period corresponding to the target area at the current moment, the addiction parameter of the target user exceeds a preset threshold value, and the identity type of the target user is a first type.
In some embodiments, an anti-sink maze subunit includes:
the auditing submodule is used for auditing the user identity information of the target user according to the anti-addiction cancellation application when the anti-addiction cancellation application from the target user is received, and obtaining the auditing result of the target user;
and the second type submodule is used for updating the identity type of the target user into a second type when the auditing result of the target user accords with the preset anti-addiction canceling rule, wherein the second type is the user type without game addiction tendency.
In some embodiments, the anti-sink maze subunit is further configured to:
when the login operation of a target user on a target game is acquired, acquiring the identity authentication information of the target user, wherein the identity authentication information is the information for authenticating the identity of the target user;
and when the identity authentication information accords with the identity information of the target user, enabling the target user to log in the target game.
In some embodiments, an anti-addiction unit to:
obtaining the recharging amount of the current, wherein the recharging amount of the current is the amount of the target user for recharging by using the target game at the current;
when the current daily recharging amount exceeds a preset daily recharging threshold value, the recharging authority of the target user is modified into a closed state; alternatively, the first and second electrodes may be,
acquiring the duration of the current, wherein the duration of the current is the duration of the current game entering a game scene by the target user;
when the current day duration exceeds a preset daily game duration threshold, the game permission of the target user is modified to be in a closed state; alternatively, the first and second electrodes may be,
obtaining the current entertainment frequency, wherein the current entertainment frequency is the frequency of a target user entering a game scene by using a target game today;
and when the current daily entertainment frequency exceeds a preset daily game frequency threshold value, the game authority of the target user is modified into a closed state.
In some embodiments, a zone unit to:
determining the area range of each preset geographical area in a preset geographical area set;
determining a preset geographical area in which the geographical position falls according to the area range of each preset geographical area;
and taking the preset geographical area in which the geographical position of the target user falls as the current target area of the target user.
The embodiment of the invention also provides a server, which comprises a memory, a storage and a control unit, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to perform the steps of any anti-addiction method provided by the embodiments of the invention.
Embodiments of the present invention further provide a computer-readable storage medium, where a plurality of instructions are stored, where the instructions are suitable for being loaded by a processor to perform any of the steps in the anti-addiction method provided in the embodiments of the present invention.
The method and the device can acquire the position information of the target game at the current moment, wherein the target game is a game application used by a target user, and the position information represents the geographical position of the target user; determining a target area where a target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the target game; when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game; and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user.
According to the invention, the user needing to implement anti-addiction can be efficiently and accurately found out according to the specific geographical position of the user, so that the behavior of bypassing the anti-addiction by embezzling the identity of other people is avoided, and the possibility of mistakenly implementing the anti-addiction on the normal user is reduced. Therefore, the accuracy of distinguishing the enthusiastic users can be improved, and the excellent anti-enthusiasm effect is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a schematic view of a scene of an anti-addiction method provided in an embodiment of the present invention;
FIG. 1b is a schematic flow chart of an anti-addiction method according to an embodiment of the present invention;
FIG. 1c is a schematic view of a region of an anti-addiction method according to an embodiment of the present invention;
FIG. 1d is a schematic three-dimensional region diagram of an anti-addiction method provided by an embodiment of the invention;
FIG. 2a is a schematic flow chart of an anti-addiction method applied in a game scene according to an embodiment of the present invention;
FIG. 2b is a timing flow diagram of an anti-addiction method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an anti-addiction device provided by the embodiment of the invention;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an anti-addiction method, an anti-addiction device, a server and a storage medium.
The anti-addiction device may be specifically integrated in an electronic device, and the electronic device may be a terminal, a server, or the like. The terminal can be a mobile phone, a tablet Computer, an intelligent bluetooth device, a notebook Computer, or a Personal Computer (PC), and the like; the server may be a single server or a server cluster composed of a plurality of servers.
In some embodiments, the anti-addiction apparatus may be integrated into a plurality of electronic devices, for example, the anti-addiction apparatus may be integrated into a plurality of servers, and the anti-addiction method of the present invention may be implemented by the plurality of servers.
In some embodiments, the server may also be implemented in the form of a terminal.
For example, referring to fig. 1a, the electronic device may be a server, and the server may communicate with mobile terminals of a plurality of target users carrying a target game to obtain a geographic location a of a target user a at a current time t, a geographic location B of a target user B at the current time t, and a geographic location C of a target user C at the current time t; then, the target areas R where the target users A, B, C are respectively located currently are determined in the preset geographical area set according to the geographical positionsA、RBAnd RCAnd determining the anti-addiction time interval T corresponding to the target areasA、TBAnd TC(ii) a When the current time T is in the anti-addiction time period TBAnd when the addiction parameter of the target user B exceeds a preset threshold value, the server can communicate with the mobile terminal of the target user B so as to execute anti-addiction treatment on the target game used by the target user B.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
In this embodiment, an anti-addiction method is provided, as shown in fig. 1b, the specific flow of the anti-addiction method may be as follows:
101. and acquiring the position information of the target game at the current moment, wherein the target game is a game application used by the target user, and the position information represents the geographical position of the target user.
The target user may refer to a user who is under a certain age or who has the anti-addiction function of the target game turned on, for example, the target user may be an underage user who is under 18 years old or an adult user who is over 18 years old but has the anti-addiction function turned on.
In the embodiment of the present invention, the geographic position of the target user at the current time may be obtained through a mobile terminal carried by the target user.
For example, the current geographical position of the target user can be located by using a positioning technology of a mobile terminal, such as a smart watch, smart glasses worn by the target user, a portable mobile phone, and a tablet computer.
The positioning technology of the mobile terminal refers to a technology or a service for acquiring location information of a mobile terminal user by a specific positioning method.
In some embodiments, the Positioning technology may be satellite-based Positioning, such as Global Positioning System (GPS), beidou satellite navigation System, and so forth.
In some embodiments, the positioning technology may be based on positioning of base stations of the mobile operating network, for example, by using a distance measurement of the distance of the mobile terminal from the base station to determine the geographic location of the mobile terminal carried by the user.
In some embodiments, the location technique may be a mobile hotspot-based location, e.g., locating the relative location of a wifi-connected mobile terminal using a wifi router.
In some embodiments, the positioning technology may be a simultaneous satellite and base station based positioning, in some embodiments, the positioning technology may be a simultaneous satellite and mobile hotspot based positioning, in some embodiments, the base station and mobile hotspot based positioning, in some embodiments, the satellite, base station and mobile hotspot based positioning, and so on.
102. And determining a target area where the target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the target game.
The geographical position of the target user can be judged according to the position information, and the preset geographical area in which the geographical position falls is determined as the target area.
The preset geographical area set may include at least one preset geographical area, and the preset geographical area may be a geographical area set in advance according to an actual demand.
The dividing manner of the geographic area may be set according to actual requirements, for example, the geographic area may be a geographic area divided according to functions, a geographic area divided according to geographic positions, a geographic area divided according to floors, and the like.
For example, in some embodiments, the geographic regions may be divided by function. For example, the preset set of geographic areas may include two school areas, one park area, etc.; here, the area range of the park area may be set to a rectangular range of [ (0, 0), (0, 2000), (2000 ), (2000, 0) ] as shown in fig. 1 c.
For example, in some embodiments, the geographic regions may be divided by geographic location. For example, the set of preset geographic areas may include an urban area, two lake areas, a mountain area, and the like.
For example, in some embodiments, the geographic regions may be divided by floor. For example, the preset set of geographic areas may include a first floor area, a second floor area, a third floor area, and the like.
For example, as shown in fig. 1d, the geographic area may be divided by floors, wherein the area range of the second floor area is a rectangular parallelepiped of [ (0, 0, 5), (15, 0, 5), (15, 10, 5), (0, 10, 5) (0, 0, 10), (15, 0, 10), (15, 10, 10), (0, 10, 10) ].
It should be noted that the range of the region may include three-dimensional graphics in addition to two-dimensional graphics, for example, the range of the region may be a rectangle, a cube, or the like; for example, the extent of the region may also be an irregular two-dimensional geometric figure, an irregular three-dimensional spatial geometry, and so forth.
In some embodiments, step 102 may include the steps of:
(1) determining the area range of each preset geographical area in a preset geographical area set;
(2) determining a preset geographical area in which the geographical position of the target user falls according to the area range of each preset geographical area;
(3) and taking the preset geographical area in which the geographical position of the target user falls as the current target area of the target user.
In some embodiments, since the preset geographic area may be a three-dimensional spatial geometry, the area range may include a range on a horizontal plane and a range on a vertical plane. At this time, it is necessary to obtain the position of the target user on the horizontal plane, which may be referred to as a latitude and longitude position, and the position on the vertical plane, which is referred to as a height perpendicular to the ground.
The target game can be provided with an anti-addiction time period type according to actual requirements in a target area, wherein the anti-addiction time period is a time period for limiting a target user to use the target game.
For example, in some embodiments, anti-addiction period types may include a full period type, a time period type, and an unlimited type.
The full-time type means 24 hours all day, namely, the target user is restricted from using the target game every moment.
The unlimited type refers to that the target user is never limited to use the target game.
The time-sharing type is between the full-time type and the unlimited type, and means that the target user is limited to use the target game within a fixed period of time every day, and the target user is not limited to use the target game in the rest of time.
The specific limiting means may be various anti-addiction processing means, for example, a game fight may be performed for limiting the target user to use the target game during the anti-addiction period; for example, a game top-up may be performed for restricting the target user from using the target game during the anti-addiction period; for example, the target game may be initiated for the restricted target user during the anti-addiction period, and so on.
The specific time period can be set according to actual requirements.
For example, the anti-addiction period type of the school zone may be set to the full period type; for example, the anti-addiction period type corresponding to the residential area may be set as an unlimited type; the anti-addiction period type of the office area is set as a timesharing type, for example, in some embodiments, the anti-addiction period corresponding to the office area may be 8: 00-18: 00.
103. and when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game.
When the target user is located in the target area and the current time is within the anti-addiction time period corresponding to the target area, whether the user is indulged in the target game can be determined by obtaining the addiction parameters of the target user, so that the anti-addiction processing means is implemented on the target user indulged in the target game in step 104, and the target user is restricted from using the target game.
Step 103 will be described below in connection with step 104:
104. and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user.
In some embodiments, the addiction parameter may include duration information, which may be information of a duration for which the target user enters the game scenario using the target game, which may refer to the user interacting with the game scenario to implement the game behavior by using the game client.
At this time, step 103 may include the steps of:
and acquiring duration, wherein the duration is the duration for the target user to enter a game scene by using the target game at N preset moments, and N is a positive integer.
At this time, in some embodiments, the preset threshold of step 104 may include a preset duration threshold, and step 104 may be:
and when the duration of the target user using the target game to enter the game scene at N different preset moments exceeds a preset duration threshold, executing anti-addiction processing on the target game used by the target user.
For example, the duration may be a duration in which the target user enters the game scene using the target game at four preset times, respectively, the preset times being 1 month and 1 day, 1 month and 2 days, 1 month and 3 days, and 1 month and 4 days, wherein the duration of 1 month and 1 day is 3 hours, the duration of 1 month and 2 days is 2 hours and 40 minutes, the duration of 1 month and 3 days is 3 hours, and the duration of 1 month and 4 days is 1 hour.
Assuming that the preset time length threshold is 2 hours, if the duration of the target user using the target game to enter the game scene at the four preset moments exceeds the preset time length threshold by 2 hours, performing anti-addiction processing on the target game used by the target user.
The preset time length threshold value can be set according to actual requirements.
In some embodiments, the addiction parameter may include the number of days of addiction.
At this time, step 103 may include the steps of:
acquiring duration, wherein the duration is the duration for a target user to enter a game scene by using a target game at N preset moments, and N is a positive integer;
and determining the number of days of enthrallment for the target user to use the target game according to the duration of the target user to enter the game scene by using the target game at the N preset moments.
At this point, in some embodiments, the preset threshold of step 104 may comprise a preset number of days threshold, and step 104 may be:
and when the number of the addiction days of the target user exceeds a preset number of days threshold, executing anti-addiction treatment on the target game used by the target user.
For example, the duration of the target user on 1 month and 1 day is 3 hours, the duration of 1 month and 2 days is 2 hours and 40 minutes, the duration of 1 month and 3 days is 3 hours, and the duration of 1 month and 4 days is 1 hour, and assuming that more than 2 hours per day is used as the criterion for the degree of addiction, it is determined that the target user is between 1 month and 4 days, and the number of days of addiction is 3 days.
Assuming that the preset number-of-days threshold is 4 days, if the number of addict days of the target user is 3 days less than the preset number-of-days threshold 4 days, the anti-addict process may not be executed for the target game used by the target user for a while.
The preset day threshold value can be set according to actual requirements.
The preset time may include a current time and a history time, where the history time refers to the preset time before the current time, and there may be multiple history times before the current time, for example, the current time is today, and the history time may include yesterday, last day, and the like.
Thus, in some embodiments, the step "determining the number of days of enthusiasm of the target user to use the target game according to the duration of the target user to enter the game scene at N preset times" may include:
when the duration of the target user entering the game scene by using the target game at the kth preset time exceeds a preset daily duration threshold, increasing the number of addiction days by one day so as to obtain the number of addiction days of the target user, wherein k is a positive integer not greater than N;
when the duration of the target user using the target game to enter the game scene at the kth preset time does not exceed the preset daily duration threshold, calculating the number of days of addiction of the target user based on the duration of the target user using the target game to enter the game scene at the kth preset time.
For example, if the duration of the target user entering the game scene by using the target game on day 3 exceeds a preset daily duration threshold, the number of days of addiction is increased by one day; if the duration of the target user entering the game scene by using the target game on the 4 th day exceeds a preset daily duration threshold, increasing the number of days of indulging by one day; and if the duration of the target user entering the game scene by using the target game on the 5 th day exceeds the preset daily duration threshold, increasing the number of days of indulging by one day.
For example, if the duration of the target user entering the game scene using the target game on the previous day exceeds a preset daily duration threshold, the number of days of addiction is increased by one day; if the duration of the target user entering the game scene by using the target game in yesterday exceeds a preset daily duration threshold value, increasing the number of days of addiction by one day; if the duration of the target user using the target game to enter the game scene is longer than the preset daily duration threshold value, the number of days of addiction is increased by one day.
Specifically, in some embodiments, the step "calculating the number of days of enthusiasm of the target user based on the duration of the target user entering the game scene using the target game at the kth preset time" may include the steps of:
determining the kth-i moment, wherein i is a positive integer smaller than k;
and when the duration of the target user using the target game to enter the game scene at the k-i historical moment does not exceed the preset daily duration threshold, reducing the number of the indulging days by one day until the number of the indulging days returns to zero, thereby obtaining the number of the indulging days of the target user.
For example, assuming that i is 1, if the duration of the target user using the target game to enter the game scene on the day before day 3 does not exceed the preset daily duration threshold, the number of days of addiction is reduced by one day.
In some embodiments, the current number of days of addiction may be reduced to 0 at most, and may not be negative.
The duration may be obtained in various ways, for example, from a game client used by the user through a network, for example, from a database, and the like.
The preset time may include a current time and a historical time, and the duration may be obtained by recording the duration of each time the user enters the game scene, and thus, in some embodiments, the step of "obtaining the duration" may include the steps of:
acquiring historical duration, wherein the historical duration is the duration that a target user uses a target game to enter a game scene at N-1 historical moments, and the N-1 historical moments are N-1 preset moments before the current moment;
when the target user uses the target game to enter the game scene at the current moment, timing the current duration, wherein the current duration is the duration that the target user uses the target game to enter the game scene at the current moment;
the duration is determined according to the current duration and the N-1 historical durations.
The duration may consist of one current duration and N-1 historical durations. For example, the duration may include the current duration of today, the historical duration of yesterday, the historical duration of the previous day, and so on.
When the target user is monitored to enter the game scene by using the target game, the duration of the game entering the game scene by using the target game can be recorded, for example, when the player plays a game pair, the duration of the game of the player can be recorded.
In addition to game behaviors that use a target game to enter a game scene to interact with the game scene, playing other behaviors using the target game that characterize the behavior of a target user using the target game without entering the game scene of the target game may not result in user addiction.
For example, some game clients may display a prop mall page containing various game props, and users do not click a "start game" button in the game to enter a game match, but merely browse the prop mall page, and the act of browsing the prop mall page does not result in a player being enthusiasm, so that there is a need to distinguish game behaviors of target users who enter a game scene to interact with the game scene from other behaviors.
It should be noted that using the target game to perform other actions may also result in user addiction, for example, some game clients may show a live game video, and a situation that the user may also experience addiction when watching the live game video may also occur, however, since it is difficult to distinguish whether other actions besides the game action of the target user may also cause the target user to be addiction, in some embodiments, a custom timing authority is provided, so that the user may define by himself whether the duration of executing other actions by the user needs to be counted when the current duration is long.
For example, in some embodiments, the step "timing the current duration when the target user enters the game scene using the target game at the current time" further comprises the steps of:
when the target user uses the target game to perform other behaviors at the current moment, determining the state of the custom timing authority of the target user, wherein the custom timing authority is used for calculating an addiction parameter according to the duration of the other behaviors, and the other behaviors represent the behaviors of the target user when using the target game but not entering the game scene of the target game;
and when the state of the user-defined timing authority of the target user is an opening state, timing the duration of other behaviors of the target user, and counting the duration of the other behaviors into the current duration.
The state of the custom timing authority can be one of an open state and a close state, and when the custom timing authority is in the open state, the duration of other behaviors of the target user can be timed.
The user can set the state of the custom timing authority by himself, for example, the user can start or close the custom timing authority in the authority management page of the game client.
Other activities may include, among others, watching live activities, browsing game information activities, and so forth.
In some embodiments, all actions of using the target game by the target user can be classified as other actions, that is, as long as the user opens the game client of the target game and the custom timing authority is in the on state, the duration can be timed and counted into the current duration.
In some embodiments, the anti-addiction method may further include the steps of:
acquiring identity information of a target user;
determining the age of the target user according to the identity information;
when the age of the target user is lower than a preset age threshold value and the anti-addiction function of the target user is started for the target game, the identity type of the target user is determined to be a first type.
Wherein, the anti-addiction function is a service provided by the target game and having the anti-addiction function, and the first type is a user type having a game addiction tendency.
Wherein, the preset age threshold value can be set according to actual requirements.
The identity information may include name, age, identification card information, mobile phone number, and the like.
The identity type can be set according to the scene requirements, for example, the identity type can be divided into a first type and a second type; wherein, the first type refers to a user type with a game addiction tendency or a game addiction problem easily occurring, such as infants, teenagers, students at school, etc.; the second type refers to a user type that does not have a game addiction tendency or is less prone to a game addiction problem, a less prone type such as adults, elderly people, and the like.
For example, the type of identity that a young student may have may be of a first type.
Thus, step 104 may include the steps of:
and when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, the addiction parameter of the target user exceeds a preset threshold value, and the identity type of the target user is a first type, executing anti-addiction treatment on the target user.
For example, when the minor students are located in the school zone and the current time is in the anti-addiction period corresponding to the school zone, the number of addiction days of the minor students is 12 days, the preset number of days threshold is exceeded, and the identity type of the minor students is the first type, the anti-addiction processing is performed on the game client used by the minor students.
In some embodiments, in order to ensure that the users logging in the game through the game account are the same person each time, and prevent the behavior of stealing the terminal of other users to play the game, before the step "performing anti-addiction processing on an addict user", the method further includes:
when the login operation of a target user on a target game is acquired, acquiring the identity authentication information of the target user, wherein the identity authentication information is the information for authenticating the identity of the target user;
and when the identity authentication information accords with the identity information of the target user, enabling the target user to log in the target game.
The identity information may include face recognition information, fingerprint information, pupil information, and the like.
For example, when a user logs in a game by using a mobile phone, user authentication information such as fingerprints and face identification information of the user needs to be acquired to be compared with user identity information input by the user in a server, so that a human user using the mobile phone is determined, and other people are not determined, and the situation that a game is indulged when minors use parent mobile phones to play the game is avoided.
In some embodiments, in order to prevent the problem of misjudgment and misjudgment that the game client used by the staff of school is mistakenly subjected to the anti-addiction processing, the following steps can be further included after the step "performing the anti-addiction processing on the target user":
when an anti-addiction cancellation application from a target user is received, auditing the user identity information of the target user according to the anti-addiction cancellation application to obtain an auditing result of the target user;
and when the auditing result of the target user accords with the preset anti-addiction canceling rule, updating the identity type of the target user into a second type, wherein the second type is the user type without game addiction tendency.
For example, in some embodiments, the user may submit an anti-addiction cancellation application to the gaming party, and the type of identity of the target user may be updated to the second type after the administrator verifies that the identity of the user is indeed a staff member.
Finally, various schemes may be employed to perform anti-addiction processing for an addict user.
For example, an addict may only play for a certain amount of time each day, or a top-up may not exceed a certain amount, etc. The concrete anti-addiction measures can be made according to different products.
For example, since 21 days are required to form a habit, in some embodiments, an addict user may be restricted to play only 3 plays per day, or 1 hour, or no more than 50 dollars in top value, etc. for the next 21 days.
For example, in some embodiments, the step of "performing anti-addiction processing on target user" may comprise the steps of:
obtaining the recharging amount of the current, wherein the recharging amount of the current is the amount of the target user for recharging by using the target game at the current;
and when the current daily recharging amount exceeds a preset daily recharging threshold value, the recharging authority of the target user is modified into a closed state.
When the recharging authority is in the closed state, the target user can not continue the game recharging.
For example, in some embodiments, the step of "performing anti-addiction processing on target user" may comprise the steps of:
acquiring the duration of the current, wherein the duration of the current is the duration of the current game entering a game scene by the target user;
and when the current day duration exceeds a preset daily game duration threshold, modifying the game permission of the target user to be in a closed state.
For example, in some embodiments, the step of "performing anti-addiction processing on target user" may comprise the steps of:
obtaining the current entertainment frequency, wherein the current entertainment frequency is the frequency of a target user entering a game scene by using a target game today;
and when the current daily entertainment frequency exceeds a preset daily game frequency threshold value, the game authority of the target user is modified into a closed state.
When the game authority is in the closed state, the target user cannot continue playing the game.
For example, in some embodiments, the above three anti-addiction processing means may be employed simultaneously, and thus, the step "performing anti-addiction processing on target user" may include the steps of:
obtaining the recharging amount of the current, wherein the recharging amount of the current is the amount of the target user for recharging by using the target game at the current;
when the current daily recharging amount exceeds a preset daily recharging threshold value, the recharging authority of the target user is modified into a closed state; alternatively, the first and second electrodes may be,
acquiring the duration of the current, wherein the duration of the current is the duration of the current game entering a game scene by the target user;
when the current day duration exceeds a preset daily game duration threshold, the game permission of the target user is modified to be in a closed state; alternatively, the first and second electrodes may be,
obtaining the current entertainment frequency, wherein the current entertainment frequency is the frequency of a target user entering a game scene by using a target game today;
and when the current daily entertainment frequency exceeds a preset daily game frequency threshold value, the game authority of the target user is modified into a closed state.
The method provided by the embodiment of the invention can be used for playing in anti-addiction scenes of various software, for example, the embodiment of the invention can be used for playing in anti-addiction scenes of electronic games.
As can be seen from the above, the embodiment of the present invention may obtain the location information of the target game at the current time, where the target game is a game application used by the target user, and the location information represents the geographic location of the target user; determining a target area where a target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the game application; when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game; and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user.
Therefore, the embodiment of the invention can improve the accuracy of distinguishing the enthusiastic users through the geographical area where the users are located, thereby realizing excellent anti-enthusiasm effect.
The method described in the above embodiments is further described in detail below.
The anti-addiction method scheme provided by the embodiment of the invention can be applied to various anti-addiction scenes of games.
For example, in the present embodiment, the method of the present invention will be described in detail by taking the game anti-addiction as an example.
As shown in fig. 2a, a specific flow of the anti-addiction method is as follows:
201. and acquiring the identity information of the player, and determining the identity type of the player according to the identity information.
For example, the identity information of the player, such as the player identification number, is acquired when the player performs game registration; and then determining that the player is a fan-prone type or a fan-difficult type according to the identification number.
Wherein, the ages of 0-18 are classified as indulgent types, and the ages above 18 are classified as not indulgent types.
202. When the login operation of a player is monitored, user identity information of the player is acquired, and user verification information of the player is collected.
For example, user identification information of the player, for example, face identification information, fingerprint information, voice print information, and the like of the player, is acquired when the player performs game registration.
Then, user authentication information of the player is collected, which is information for authenticating whether the player is himself or herself. For example, the server may enable a camera of the mobile terminal to capture a picture of a face, a fingerprint, etc. of the player through the network, and then obtain the user authentication information captured by the mobile terminal through the network.
203. And when the user authentication information accords with the user identity information corresponding to the player, starting the user login authority of the player so that the player logs in the game.
For example, the face identification information of the player and the face photo of the player are compared, and when the user authentication information conforms to the user identity information corresponding to the player, the user login authority of the player is opened, so that the player can log in the game.
204. When monitoring that a player logs in a game, acquiring historical enthrallment days and the current geographic position of the player, and determining a current target area of the player and an anti-enthrallment time period corresponding to the target area in a preset geographic area set according to the geographic position.
For example, suppose that the duration of game play by a player after logging in on the game on day i is NiAnd then according to a preset time length per day threshold value N, the time length per day is compared with NiBy contrast, if N>NiThen the player's historical number of addict days + 1.
For example, assuming that the duration of game play after the player logs in the game on day 1 is 7 hours, the duration of game play after the player logs in the game on day 2 is 4 hours, and the duration of game play after the player logs in the game on day 3 is 5 hours, the historical number of days of addiction of the player is 3 days, as seen from the preset daily time threshold of 2 hours.
The method for acquiring the duration of the game play of the player comprises the steps of monitoring the game behavior of the player and recording the current duration of the game behavior.
Where the flow of recording the current duration of the gaming activity may refer to fig. 2b, in some embodiments, the gaming activity may refer to the activity during the period of time that the player actually starts playing the game, and if the player does not click the "start game" button, only the player is charged for the non-gaming activity.
If the game behavior of the player is judged, starting to record the current duration; if the user does not know the timing authority, the state of the user-defined timing authority can be obtained, if the user-defined timing authority is in the starting state, the current duration is recorded, and otherwise, the user does not time.
The self-defined timing authority can be set by game developers, supervision departments, players, parents of the players and the like according to requirements.
In the embodiment of the invention, the geographic position of the player at the current moment can be acquired through the GPS, and the target area where the player is currently located and the anti-addiction time period corresponding to the target area are determined in the preset geographic area set according to the geographic position.
For example, the anti-addiction time period corresponding to the school areas of small, first, high and middle schools is 24 hours all day; the corresponding anti-addiction time periods of scientific research areas such as scientific research institutions and universities are 23 evening: 00-morning 7: 00; the anti-addiction time interval corresponding to the bulletin areas of the markets, the parks and the like is 0.
In some embodiments, the geographic position of the player at the current time falls into a plurality of preset geographic areas, that is, if the preset geographic areas overlap, the preset geographic area with the highest priority may be selected as the target area according to the priorities of the preset geographic areas.
Since some students or teaching staff who study game art, game interaction have to frequently play games in universities, and the like, in some embodiments, the player may submit an anti-addiction cancellation application to update the identity type of the player to a non-indulgence type, and release anti-addiction control for the players in the area.
205. And when the identity type of the player is a addiction type, the historical enthusiasm days of the player are not in a preset time range, and the current time is in the anti-enthusiasm time period, temporarily determining the player as an enthusiasm player.
For example, the duration of 7-day game play exceeds N hours in 21 days, and the geographic location of the player is 8: 00-18: and in the time period of 00 (the time period of 8: 00-18: 00 is the time period when the game cannot be played in the area), and if the identity type of the player is a addiction type, the player is an addiction user.
206. Anti-addiction processing is performed for an addict.
For example, the anti-addiction process may be that the user may not play the game for more than 1.5 hours per day for 21 days, otherwise the player will be forced to go offline.
The method and the device can automatically filter the enthusiasm users, so that the enthusiasm users are prevented from being enthusiastic better.
Therefore, the embodiment of the invention can improve the accuracy of distinguishing the enthusiastic users, thereby realizing excellent anti-enthusiasm effect.
In some embodiments, the anti-addiction device may be integrated into a game server for application in a game anti-addiction scenario. The game server may be a distributed game server cluster, and the game server cluster may share information by using a block chain (blockchain) technique.
Wherein, the blockchain is a database with data hash verification function. The blocks are data blocks, the data blocks are combined into a chain structure according to the time sequence, and the reliability of the database is maintained collectively in a distributed accounting mode by using a cryptographic algorithm. All data blocks are connected in time sequence, thereby forming a block chain.
In some embodiments, the game server cluster may include a plurality of individual game server nodes, each of which may receive input information during normal operation and maintain shared data within the game server cluster based on the received input information. In order to ensure the information intercommunication in the game server cluster, information connection can exist between each node in the game server cluster, and the nodes can transmit information through the information connection.
For example, when any node in the game server cluster receives the input information, other nodes in the game server cluster acquire the input information according to the consensus algorithm, and store the input information as data in the shared data, so that the data stored on all the nodes in the game server cluster are consistent.
Each node in the game server cluster has a corresponding node identifier, and each node in the game server cluster can store the node identifiers of other nodes in the game server cluster, so that the generated block can be broadcast to other nodes in the game server cluster according to the node identifiers of other nodes. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly.
The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
Each node in the game server cluster stores one identical blockchain. The block chain is composed of a plurality of blocks, the starting block can comprise a block head and a block main body, the block head can store an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
When receiving input information, the node where the block chain is located can check the input information, after the check is completed, the input information is stored in a memory pool, and a hash tree used for recording the input information is updated; and then, updating the updating time stamp to the time when the input information is received, trying different random numbers, and calculating the characteristic value for multiple times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein, SHA256 is a characteristic value algorithm used for calculating a characteristic value; version is version information of the relevant block protocol in the block chain; prev _ hash is a block head characteristic value of a parent block of the current block; merkle _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, is a fixed value within a period of time, and is determined again after exceeding a fixed time period; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block head and the block main body are generated to obtain the current block. And then, the node where the block chain is located respectively sends the newly generated blocks to other nodes in the game server cluster where the newly generated blocks are located according to the node identifications of the other nodes in the game server cluster, the newly generated blocks are verified by the other nodes, and the newly generated blocks are added to the block chain stored in the newly generated blocks after the verification is completed.
In order to better implement the above method, an embodiment of the present invention further provides an anti-addiction device, which may be specifically integrated in an electronic device, where the electronic device may be a terminal, a server, or other devices. The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and other devices; the server may be a single server or a server cluster composed of a plurality of servers.
For example, in the present embodiment, the method according to the embodiment of the present invention will be described in detail by taking an example in which the anti-addiction device is specifically integrated in the terminal.
For example, as shown in fig. 3, the anti-addiction apparatus may include an acquisition unit 301, a zone unit 302, a parameter unit 303, and an anti-addiction unit 304, as follows:
an acquisition unit 301.
The obtaining unit 301 may be configured to obtain location information of a target game at a current time, where the target game is a game application used by a target user, and the location information represents a geographic location of the target user.
And (ii) a zone unit 302.
The area unit 302 may be configured to determine a target area where the target user is located according to the location information, where the target game is provided with an anti-addiction time period type in the target area, where the anti-addiction time period is a time period in which the target user is limited to use the game application.
In some embodiments, the zone unit 302 may be used to:
determining the area range of each preset geographical area in a preset geographical area set;
determining a preset geographical area in which the geographical position falls according to the area range of each preset geographical area;
and taking the preset geographical area in which the geographical position of the target user falls as the current target area of the target user.
And (iii) a parameter unit 303.
The parameter unit 303 may be configured to, when the target user is located in the target area and the current time is within an anti-addiction time period corresponding to the target area, obtain an addiction parameter that the target user uses the target game, where the addiction parameter represents an addiction degree of the target user to the target game.
In some embodiments, the addiction parameter may include duration information, and the parameter unit 303 may be configured to:
and acquiring duration, wherein the duration is the duration for the target user to enter a game scene by using the target game at N preset moments, and N is a positive integer.
In some embodiments, the fan parameter may include fan days, the preset threshold may include a preset days threshold, the parameter element 303 may include a duration sub-element and a days sub-element, as follows:
the time length subunit is configured to obtain a duration time length, where the duration time length is a duration time length for the target user to enter the game scene using the target game at N preset times, and N is a positive integer;
the number-of-days subunit may be configured to determine the number of addict days in which the target user uses the target game according to a duration that the target user uses the target game to enter the game scene at N preset times.
In some embodiments, the days subunit, may include an increase submodule and a decrease submodule, as follows:
the adding submodule can be used for adding the number of days of addiction by one day when the duration of the target user using the target game to enter the game scene at the kth preset time exceeds a preset daily time threshold value, so that the number of days of addiction of the target user is obtained, and k is a positive integer not greater than N;
the reduction submodule may be configured to calculate the number of days of addiction of the target user based on the duration of the target user using the target game to enter the game scene at the kth preset time when the duration of the target user using the target game to enter the game scene at the kth preset time does not exceed the preset daily time threshold.
In some embodiments, the reduction submodule may be operable to:
determining the kth-i moment, wherein i is a positive integer smaller than k;
and when the duration of the target user using the target game to enter the game scene at the k-i historical moment does not exceed the preset daily duration threshold, reducing the number of the indulging days by one day until the number of the indulging days returns to zero, thereby obtaining the number of the indulging days of the target user.
In some embodiments, the preset time may include a current time and a historical time, and the parameter unit 303 or the duration subunit may include a history submodule, a timing submodule, and a duration submodule, as follows:
the history submodule can be used for acquiring history duration, wherein the history duration is the duration that a target user uses a target game to enter a game scene at N-1 history moments, and the N-1 history moments are N-1 preset moments before the current moment;
the timing submodule can be used for timing the current duration when the target user uses the target game to enter the game scene at the current moment, wherein the current duration is the duration when the target user uses the target game to enter the game scene at the current moment;
the duration sub-module may be configured to determine the duration based on the current duration and the N-1 historical durations.
In some embodiments, the timing submodule may be further configured to:
when the target user uses the target application game to perform other behaviors at the current moment, determining the state of the custom timing authority of the target user, wherein the custom timing authority can be used for calculating enthrallment parameters according to the duration of other behaviors, and the other behaviors represent the behaviors of the target user when using the target game but not entering the game scene of the target game;
and when the state of the user-defined timing authority of the target user is an opening state, timing the duration of other behaviors of the target user, and counting the duration of the other behaviors into the current duration.
(iv) an anti-addiction unit 304.
The anti-addiction unit 304 may be configured to perform an anti-addiction process on the target game used by the target user when the addiction parameter exceeds a preset threshold.
In some embodiments, the preset threshold may comprise a preset duration threshold, and anti-addiction unit 304 may be configured to:
and when the duration of the target user using the target game to enter the game scene at N different preset moments exceeds a preset duration threshold, executing anti-addiction processing on the target game used by the target user.
In some embodiments, the preset threshold may comprise a preset number of days threshold, and anti-addiction unit 304 may be configured to:
and when the number of the addiction days of the target user exceeds a preset number of days threshold, executing anti-addiction treatment on the target game used by the target user.
In some embodiments, the anti-addiction device may further include an identity unit, an age unit, and a first type unit, as follows:
the identity unit may be configured to obtain identity information of a target user;
the age unit may be configured to determine an age of the target user based on the identity information;
the first type unit may be configured to determine the identity type of the target user as a first type when the age of the target user is lower than a preset age threshold and the target game is turned on for an anti-addiction function of the target user, where the anti-addiction function is a service provided by the target game and has an anti-addiction function, and the first type is a user type having a tendency of game addiction.
In some embodiments, anti-addiction unit 304, may include an anti-addiction subunit, as follows:
the anti-addiction subunit may be configured to, when the target user is located in the target area and is currently located in an anti-addiction time period corresponding to the target area, and an addiction parameter of the target user exceeds a preset threshold, and the identity type of the target user is a first type, execute anti-addiction processing on the target user.
In some embodiments, the anti-sink maze subunit may include an audit submodule and a second type submodule, as follows:
the auditing submodule can be used for auditing the user identity information of the target user according to the anti-addiction cancellation application when the anti-addiction cancellation application from the target user is received, so as to obtain the auditing result of the target user;
the second type submodule can be used for updating the identity type of the target user into a second type when the auditing result of the target user accords with the preset anti-addiction canceling rule, wherein the second type is a user type without game addiction tendency.
In some embodiments, the anti-sink labyrinth unit may further be configured to:
when the login operation of a target user on a target game is acquired, acquiring the identity authentication information of the target user, wherein the identity authentication information is the information for authenticating the identity of the target user;
and when the identity authentication information accords with the identity information of the target user, enabling the target user to log in the target game.
In some embodiments, anti-addiction unit 304 may be configured to:
obtaining the recharging amount of the current, wherein the recharging amount of the current is the amount of the target user for recharging by using the target game at the current;
when the current daily recharging amount exceeds a preset daily recharging threshold value, the recharging authority of the target user is modified into a closed state; alternatively, the first and second electrodes may be,
acquiring the duration of the current, wherein the duration of the current is the duration of the current game entering a game scene by the target user;
when the current day duration exceeds a preset daily game duration threshold, the game permission of the target user is modified to be in a closed state; alternatively, the first and second electrodes may be,
obtaining the current entertainment frequency, wherein the current entertainment frequency is the frequency of a target user entering a game scene by using a target game today;
and when the current daily entertainment frequency exceeds a preset daily game frequency threshold value, the game authority of the target user is modified into a closed state.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in the anti-addiction device of this embodiment, the obtaining unit obtains the position information of the target game at the current time, where the target game is a game application used by the target user, and the position information represents the geographic position of the target user; determining a target area where the target user is located by an area unit according to the position information, wherein an anti-addiction time period type is set in the target area of the target game, and the anti-addiction time period is a time period for limiting the target user to use the game application; when the target user is located in the target area and the current moment is within an anti-addiction time period corresponding to the target area, acquiring an addiction parameter of the target user using the target game by a parameter unit, wherein the addiction parameter represents the degree of addiction of the target user to the target game; and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user by an anti-addiction unit.
Therefore, the embodiment of the invention can improve the accuracy of distinguishing the enthusiast users, thereby realizing excellent anti-enthusiast effect.
The embodiment of the invention also provides the electronic equipment which can be equipment such as a terminal, a server and the like. The terminal can be a mobile phone, a tablet computer, an intelligent Bluetooth device, a notebook computer, a personal computer and the like; the server may be a single server, a server cluster composed of a plurality of servers, or the like.
In some embodiments, the anti-addiction apparatus may be integrated into a plurality of electronic devices, for example, the anti-addiction apparatus may be integrated into a plurality of servers, and the anti-addiction method of the present invention may be implemented by the plurality of servers.
In this embodiment, a detailed description will be given by taking an example in which the electronic device of this embodiment is a server, for example, as shown in fig. 4, which shows a schematic structural diagram of a server according to an embodiment of the present invention, specifically:
the server may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, an input module 404, and a communication module 405. Those skilled in the art will appreciate that the server architecture shown in FIG. 4 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the server, connects various parts of the entire server using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the server. In some embodiments, processor 401 may include one or more processing cores; in some embodiments, processor 401 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and geographic location based anti-addiction by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the server, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The server also includes a power supply 403 for supplying power to the various components, and in some embodiments, the power supply 403 may be logically connected to the processor 401 via a power management system, so that the functions of managing charging, discharging, and power consumption are implemented via the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The server may also include an input module 404, the input module 404 operable to receive entered numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The server may also include a communication module 405, and in some embodiments the communication module 405 may include a wireless module, through which the server may wirelessly transmit over short distances to provide wireless broadband internet access to the user. For example, the communication module 405 may be used to assist a user in sending and receiving e-mails, browsing web pages, accessing streaming media, and the like.
Although not shown, the server may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 401 in the server loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, thereby implementing various functions as follows:
acquiring position information of a target game at the current moment, wherein the target game is a game application used by a target user, and the position information represents the geographical position of the target user;
determining a target area where a target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the target game;
when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game;
and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user.
Therefore, the embodiment of the invention can improve the accuracy of distinguishing the enthusiastic users, thereby realizing excellent anti-enthusiasm effect.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a computer-readable storage medium having stored therein a plurality of instructions, which can be loaded by a processor to perform steps of any of the anti-addiction methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
acquiring position information of a target game at the current moment, wherein the target game is a game application used by a target user, and the position information represents the geographical position of the target user;
determining a target area where a target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the target game;
when the target user is located in the target area and is in the anti-addiction time period corresponding to the target area at the current moment, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game;
and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations of the anti-addiction aspect or the game anti-addiction system aspect provided in the embodiments described above.
Since the instructions stored in the storage medium may execute the steps in any anti-addiction method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any anti-addiction method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The anti-addiction method, the anti-addiction device, the server and the computer-readable storage medium according to the embodiments of the present invention are described in detail, and the principle and the implementation manner of the present invention are described herein by applying specific embodiments, and the description of the embodiments is only used to help understanding the method and the core concept of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (15)

1. An anti-addiction method, comprising:
acquiring position information of a target game at the current moment, wherein the target game is a game application used by a target user, and the position information represents the geographical position of the target user;
determining a target area where the target user is located according to the position information, wherein the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the game application;
when the target user is located in the target area and the current moment is within an anti-addiction time period corresponding to the target area, acquiring an addiction parameter of the target user using the target game, wherein the addiction parameter represents the degree of addiction of the target user to the target game;
and when the addiction parameter exceeds a preset threshold value, executing anti-addiction processing on the target game used by the target user.
2. The anti-addiction method of claim 1, wherein the addiction parameters include duration information, and wherein the obtaining the addiction parameters for the target user to use the target game comprises:
acquiring duration, wherein the duration is the duration for the target user to enter a game scene by using the target game at N preset moments, and N is a positive integer;
the preset threshold comprises a preset time length threshold, and when the addiction parameter exceeds the preset threshold, executing anti-addiction processing on the target game used by the target user, wherein the anti-addiction processing comprises the following steps:
and when the duration of the target user using the target game to enter the game scene at N different preset moments exceeds a preset duration threshold, executing anti-addiction treatment on the target game used by the target user.
3. The anti-addiction method according to claim 1, wherein the addiction parameter includes an addiction day number, the preset threshold includes a preset day number threshold, and the performing the anti-addiction process on the target game used by the target user when the addiction parameter exceeds the preset threshold includes:
acquiring duration, wherein the duration is the duration for the target user to enter a game scene by using the target game behavior game at N preset moments, and N is a positive integer;
determining the number of days of indulging the target user in using the target game according to the duration of the target user entering a game scene by using the target game at N preset moments;
the preset threshold value comprises a preset number of days threshold value, and when the addiction parameter exceeds the preset threshold value, the anti-addiction processing is executed on the target game used by the target user, and the anti-addiction processing comprises the following steps:
and when the number of the addiction days of the target user exceeds a preset number of days threshold, executing anti-addiction treatment on the target game used by the target user.
4. The anti-addiction method according to any one of claims 2 or 3, wherein the preset time includes a current time and a historical time, and the obtaining duration includes:
acquiring historical duration, wherein the historical duration is the duration that the target user uses the target game to enter a game scene at N-1 historical moments, and the N-1 historical moments are N-1 preset moments before the current moment;
when the target user uses the target game behavior game to enter a game scene at the current moment, timing the current duration, wherein the current duration is the duration of the target user using the target game behavior game to enter the game scene at the current moment;
and determining the duration according to the current duration and the N-1 historical durations.
5. The anti-addiction method of claim 4, wherein the current duration is timed when the target user enters a game scene using the target gameplay behavior game at the current time, further comprising:
when the target user uses the target application game to perform other behaviors at the current moment, determining the state of a custom timing authority of the target user, wherein the custom timing authority is used for calculating an addiction parameter according to the duration of the other behaviors, and the other behaviors represent the behaviors of the target user when using the target game but not entering the game scene of the target game;
and when the state of the user-defined timing authority of the target user is an opening state, timing the duration of other behaviors of the target user, and counting the duration of the other behaviors into the current duration.
6. The anti-addiction method of claim 3, wherein the determining the number of addiction days for the target user to use the target game based on the duration of time the target user uses the target game to enter a game scene at N preset times comprises:
when the duration of the target user using the target game to enter the game scene at the kth preset time exceeds a preset daily duration threshold, increasing the number of days of addiction by one day to obtain the number of days of addiction of the target user, wherein k is a positive integer not greater than N;
when the duration of the target user using the target game to enter the game scene at the kth preset time does not exceed a preset daily duration threshold, calculating the number of days of addiction of the target user based on the duration of the target user using the target game to enter the game scene at the kth preset time.
7. The anti-addiction method of claim 6, wherein the calculating the number of addiction days for the target user based on the duration of time the target user entered the game scene using the target game at the kth preset time comprises:
determining the k-i moment, wherein i is a positive integer smaller than k;
and when the duration of the target user using the target game to enter the game scene at the k-i historical moment does not exceed a preset daily duration threshold, reducing the number of days of indulging by one day until the number of days of indulging returns to zero, thereby obtaining the number of days of indulging of the target user.
8. The anti-addiction method of claim 1, further comprising:
acquiring identity information of the target user;
determining the age of the target user according to the identity information;
when the age of the target user is lower than a preset age threshold value and the anti-addiction function of the target user is started aiming at the target user, determining the identity type of the target user as a first type, wherein the anti-addiction function is a service provided by the target game and has the anti-addiction function, and the first type is a user type with game addiction tendency;
when the number of addiction days of the target user exceeds a preset threshold value, performing anti-addiction treatment on the target user, wherein the anti-addiction treatment comprises the following steps:
and when the target user is located in the target area, the current moment is within the anti-addiction time period corresponding to the target area, the addiction parameter of the target user exceeds a preset threshold value, and the identity type of the target user is a first type, executing anti-addiction processing on the target user.
9. The anti-addiction method of claim 8, wherein said performing an anti-addiction process on said target user comprises:
when an anti-addiction cancellation application from the target user is received, auditing the user identity information of the target user according to the anti-addiction cancellation application to obtain an auditing result of the target user;
and when the auditing result of the target user accords with a preset anti-addiction canceling rule, updating the identity type of the target user into a second type, wherein the second type is a user type without game addiction tendency.
10. The anti-addiction method of claim 8, wherein, prior to performing anti-addiction processing for the addict user, further comprising:
when the login operation of the target user on the target game is acquired, acquiring the identity verification information of the target user, wherein the identity verification information is information for verifying the identity of the target user;
and when the identity authentication information accords with the identity information of the target user, enabling the target user to log in the target game.
11. The anti-addiction method of claim 1, wherein said performing an anti-addiction process on said target user comprises:
obtaining the today recharging amount, wherein the today recharging amount is the amount of the target user for recharging by using the target game today;
when the today recharging amount exceeds a preset daily recharging threshold value, the recharging authority of the target user is modified to be in a closed state; alternatively, the first and second electrodes may be,
obtaining the duration of the current day, wherein the duration of the current day is the duration of the game behavior of the target user using the target game to enter the game scene today;
when the duration of the current day exceeds a preset daily game duration threshold, modifying the game behavior game permission of the target user to be in a closed state; alternatively, the first and second electrodes may be,
obtaining the today entertainment frequency, wherein the today entertainment frequency is the frequency of the target user using the target game to enter game behaviors of a game scene today;
and when the today entertainment frequency exceeds a preset daily game frequency threshold value, modifying the game permission of the target user into a closed state.
12. The anti-addiction method according to claim 1, wherein the determining a target area in which the target user is currently located in a preset set of geographic areas according to the geographic location comprises:
determining the area range of each preset geographical area in the preset geographical area set;
determining a preset geographical area in which the geographical position falls according to the area range of each preset geographical area;
and taking the preset geographical area in which the geographical position of the target user falls as the current target area of the target user.
13. An anti-addiction device, comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring the position information of a target game at the current moment, the target game is a game application used by a target user, and the position information represents the geographical position of the target user;
the area unit is used for determining a target area where the target user is located according to the position information, the target game is provided with an anti-addiction time period type in the target area, and the anti-addiction time period is a time period for limiting the target user to use the game application;
the parameter unit is used for acquiring a addiction parameter of the target user using the target game when the target user is located in the target area and the current moment is within an anti-addiction time period corresponding to the target area, wherein the addiction parameter represents the addiction degree of the target user to the target game;
and the anti-addiction unit is used for executing anti-addiction processing on the target game used by the target user when the addiction parameter exceeds a preset threshold value.
14. A server comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps of the anti-addiction method according to any one of claims 1-12.
15. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the anti-addiction method of any one of claims 1-12.
CN202011269882.3A 2020-11-13 2020-11-13 Anti-addiction method, device, server and storage medium Pending CN112370792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011269882.3A CN112370792A (en) 2020-11-13 2020-11-13 Anti-addiction method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011269882.3A CN112370792A (en) 2020-11-13 2020-11-13 Anti-addiction method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN112370792A true CN112370792A (en) 2021-02-19

Family

ID=74582243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011269882.3A Pending CN112370792A (en) 2020-11-13 2020-11-13 Anti-addiction method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112370792A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157416A (en) * 2021-04-21 2021-07-23 咪咕文化科技有限公司 Anti-addiction method and device, electronic equipment and storage medium
CN113225327A (en) * 2021-04-29 2021-08-06 心动网络股份有限公司 Login client supervision method, device, equipment and medium based on voice recognition
CN113709310A (en) * 2021-08-30 2021-11-26 广西爱学生教育科技有限公司 Anti-addiction system and anti-addiction method based on time strategy
CN116471237A (en) * 2023-06-16 2023-07-21 四川轻化工大学 Network addiction control method based on QoS technology

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208623A (en) * 2015-07-31 2015-12-30 维沃移动通信有限公司 Mobile terminal control method and mobile terminal
CN105872246A (en) * 2016-05-26 2016-08-17 广东欧珀移动通信有限公司 Anti-addiction method, anti-addiction device and terminal
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106681814A (en) * 2016-12-15 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Anti-addiction method and terminal
CN106874774A (en) * 2015-12-14 2017-06-20 北京奇虎科技有限公司 The use control method and mobile terminal of a kind of mobile terminal
WO2017166613A1 (en) * 2016-03-29 2017-10-05 乐视控股(北京)有限公司 Method and apparatus for controlling terminal usage duration, and electronic device
CN108366114A (en) * 2018-02-07 2018-08-03 广东欧珀移动通信有限公司 Using the method, apparatus, terminal and computer readable storage medium of Anti-addiction
CN109635555A (en) * 2018-12-20 2019-04-16 田更宝 A kind of network indulging system and method
CN111135582A (en) * 2019-12-27 2020-05-12 山东爱城市网信息技术有限公司 Game anti-addiction method, device and medium based on block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208623A (en) * 2015-07-31 2015-12-30 维沃移动通信有限公司 Mobile terminal control method and mobile terminal
CN106874774A (en) * 2015-12-14 2017-06-20 北京奇虎科技有限公司 The use control method and mobile terminal of a kind of mobile terminal
WO2017166613A1 (en) * 2016-03-29 2017-10-05 乐视控股(北京)有限公司 Method and apparatus for controlling terminal usage duration, and electronic device
CN105872246A (en) * 2016-05-26 2016-08-17 广东欧珀移动通信有限公司 Anti-addiction method, anti-addiction device and terminal
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106681814A (en) * 2016-12-15 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Anti-addiction method and terminal
CN108366114A (en) * 2018-02-07 2018-08-03 广东欧珀移动通信有限公司 Using the method, apparatus, terminal and computer readable storage medium of Anti-addiction
CN109635555A (en) * 2018-12-20 2019-04-16 田更宝 A kind of network indulging system and method
CN111135582A (en) * 2019-12-27 2020-05-12 山东爱城市网信息技术有限公司 Game anti-addiction method, device and medium based on block chain

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157416A (en) * 2021-04-21 2021-07-23 咪咕文化科技有限公司 Anti-addiction method and device, electronic equipment and storage medium
CN113157416B (en) * 2021-04-21 2024-04-09 咪咕文化科技有限公司 Anti-addiction method, device, electronic equipment and storage medium
CN113225327A (en) * 2021-04-29 2021-08-06 心动网络股份有限公司 Login client supervision method, device, equipment and medium based on voice recognition
CN113709310A (en) * 2021-08-30 2021-11-26 广西爱学生教育科技有限公司 Anti-addiction system and anti-addiction method based on time strategy
CN113709310B (en) * 2021-08-30 2023-02-24 广西爱学生教育科技有限公司 Anti-addiction system and anti-addiction method based on time strategy
CN116471237A (en) * 2023-06-16 2023-07-21 四川轻化工大学 Network addiction control method based on QoS technology
CN116471237B (en) * 2023-06-16 2023-10-13 四川轻化工大学 Network addiction control method based on QoS technology

Similar Documents

Publication Publication Date Title
CN112370792A (en) Anti-addiction method, device, server and storage medium
WO2017206937A1 (en) Method and device for information processing
CN104379224A (en) Server system
CN104519124B (en) A kind of distribution method and device of virtual resource
US20220323854A1 (en) Information processing system and information processing method
CN109224453B (en) Game supervision method and system, computer equipment and computer-readable storage medium
CN101322128A (en) Substantially simultaneous alerts and use thereof in intermittent contests
CN109712260A (en) A kind of agonistic sports data logging system based on block chain
CN110162942A (en) Auth method, device, equipment and storage medium based on timestamp
TW201244788A (en) Game system, and control method of controlling computer and storage medium storing computer program used thereof
CN110585722A (en) Block chain-based game time information processing method and device and game control method and device
CN112019875B (en) Learning behavior monitoring method and device for online live broadcast and live broadcast platform
CN112364222B (en) Regional portrait method of user age, computer equipment and storage medium
US20230356082A1 (en) Method and apparatus for displaying event pop-ups, device, medium and program product
US20230338859A1 (en) Game management method, and apparatus, device and computer-readable storage medium
CN106657292B (en) Data processing method and device
KR101666396B1 (en) Apparatus and method for limiting service due to user&#39;s addiction
JP2012130671A (en) Game providing system
US10805763B2 (en) System and method for tracking a vehicle&#39;s course by comparing geolocation data from a known course
CN113780415B (en) User portrait generating method, device, equipment and medium based on applet game
WO2019179048A1 (en) Method and device for detecting cheating in gameplay
Lin et al. Motivations for game-playing on mobile devices–using smartphone as an example
CN113144625B (en) Data processing method and device, equipment and storage medium
CN109561050A (en) A kind of method and apparatus identifying batch account
CN110215704B (en) Game starting method and device, electronic equipment and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40037989

Country of ref document: HK