CN110968608A - Game task statistical method and device - Google Patents
Game task statistical method and device Download PDFInfo
- Publication number
- CN110968608A CN110968608A CN201811131976.7A CN201811131976A CN110968608A CN 110968608 A CN110968608 A CN 110968608A CN 201811131976 A CN201811131976 A CN 201811131976A CN 110968608 A CN110968608 A CN 110968608A
- Authority
- CN
- China
- Prior art keywords
- target
- target user
- task
- game
- behavior information
- 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
Links
- 238000007619 statistical method Methods 0.000 title claims description 7
- 238000000034 method Methods 0.000 claims abstract description 51
- 230000001960 triggered effect Effects 0.000 claims description 31
- 230000008569 process Effects 0.000 claims description 23
- 230000004044 response Effects 0.000 claims description 3
- 230000008859 change Effects 0.000 description 7
- 239000003086 colorant Substances 0.000 description 7
- 238000004042 decolorization Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a game task counting method and device, wherein a corresponding relation between a target user identification and game behavior information of a target user is stored in a search engine server, the game behavior information of the target user carries a label, when the target task completion condition of the target user needs to be counted, if the target user triggers task counting operation, the target label corresponding to the target task is obtained, the game behavior information carrying the target label is searched from the game behavior information corresponding to the target user identification in the search engine server, a search result is obtained, and then the target task corresponding to the target user is counted by using the search result. In the embodiment of the application, a tag matching search mode is adopted, so that all game behavior information meeting a target task in the game behavior information of a target user can be accurately searched, and statistics of the game tasks is completed.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for counting game tasks.
Background
With the development of internet technology, many games, such as landlord, mahjong, etc., have appeared for users to enjoy. Generally, the developer of the game may set certain tasks, and if the user completes the tasks, the user may receive certain rewards, such as reward points, and the like. Taking a mahjong game as an example, the task can be that the user clears the color for 5 times, and then 100 points can be obtained.
It can be understood that if the user is rewarded with the task completion condition of the user, the task completion condition of the user needs to be counted. Currently, the user's task completion, such as the number of task completions, may be stored in a cache. Specifically, the operations of the user related to the tasks in the game process can be analyzed, and the corresponding task completion times in the cache can be updated. For example, taking a mahjong game as an example, if a user gets a scratch once during the game, the number of times the user gets the scratch may be increased by 1.
It will be appreciated that there may be multiple tasks in a game, each of which may have different conditions. When the conditions of these tasks partially coincide, some actions by the user may trigger an update of the task completion values for multiple tasks. By taking a mahjong game as an example, one task can obtain 100-point reward when the user clears the color for 5 times, another task can obtain 100-point reward when the user clears the color for 4 times in the primary fiddle, and another task can obtain 100-point reward when the user clears the color for 3 times in the three primary fiddle. Then, if the user has finished the color-clearing once in the three primary colors, the number of times the user has finished the color-clearing is increased by 1, the number of times the user has finished the color-clearing in the primary colors is increased by 1, and the number of times the user has finished the color-clearing in the three primary colors is increased by 1.
At present, if the task counting function is to be implemented, developers are required to list all tasks whose task completion times corresponding to user operations need to be updated, obtain a corresponding relationship between the user operations and the tasks whose task completion times are to be updated, and write corresponding software codes to implement the counting of the game task completion times. For example, all tasks "clear one color", "change three clear one color", "primary field clear one color" and "change three primary field clear one color" to be updated corresponding to the task completion times corresponding to the user operation "change three primary field clear one colors" are listed to obtain the corresponding relationship between the user operation "change three primary field clear one colors" and the tasks "clear one color", "change three clear one color", "primary field clear one color" and "change three primary field clear one colors" to be updated corresponding to the task completion times, and are written into corresponding software codes to realize the statistics of the game tasks. It can be understood that, when the number of tasks is too large, it is difficult for a developer to list all tasks to be updated for the task completion times corresponding to the user operations, so that the corresponding relationship between the user operations and the tasks to be updated for the task completion times is incomplete, and further, the problem of inaccurate statistics is caused.
Therefore, a scheme is needed to be provided, which can accurately count the task completion condition of the user in the game.
Disclosure of Invention
The technical problem to be solved by the application is how to accurately count the task completion condition of a user in a game, and the game task counting method and the game task counting device are provided.
In a first aspect, an embodiment of the present application provides a method for counting game tasks, where a correspondence between a target user identifier and game behavior information of a target user is stored in a search engine server, and the game behavior information of the target user carries a tag; the method comprises the following steps:
responding to task statistic operation triggered by the target user, and acquiring a target label carried by a target task;
searching game behavior information which corresponds to the target user identification and carries the target label from a search engine server to obtain a search result;
and counting the completion condition of the target task corresponding to the target user by using the search result.
Optionally, the obtaining a target tag carried by a target task in response to the task statistics operation triggered by the target user includes:
responding to a target task completion condition query operation of the target user triggered by the target user, and acquiring the target tag carried by the target task; or,
responding to game ending operation triggered by the target user, and acquiring the target tag carried by the target task; or,
and responding to the starting operation of the game application program triggered by the target user, and acquiring the target tag carried by the target task.
Optionally, if a statistical result obtained by performing statistics on the target task corresponding to the target user by using the search result meets a task completion condition of the target task, the method further includes:
and establishing a completion record of the target task for the target user, and storing the corresponding relation between the completion record and the target user identification in the search engine server.
Optionally, the searching for the game behavior information carrying the target tag corresponding to the target user identifier from the search engine server to obtain a search result includes:
and if the completion record of the target task corresponding to the target user does not exist in the search engine server, searching game behavior information which corresponds to the target user identification and carries the target tag from the search engine server to obtain a search result.
Optionally, the method further includes:
and if the completion record of the target task corresponding to the target user exists in the search engine server, obtaining a statistical result of the target task corresponding to the target user according to a task completion condition of the target task.
Optionally, the target user identifier and the game behavior information of the target user carrying the tag are stored in the search engine server in the following manner:
acquiring game behavior information carrying the label of the target user in a game process; storing the game behavior information carrying the label of the target user in the game process and the target user identification in a cache;
and if a game ending instruction is received, storing the game behavior information carrying the tag of the target user in the game process and the target user identification stored in the cache into the search engine server.
Optionally, the target task is any one task in a task list corresponding to the target user identifier.
In a second aspect, an embodiment of the present application provides a game task statistics apparatus, where a correspondence between a target user identifier and game behavior information of a target user is stored in a search engine server, and the game behavior information of the target user carries a tag; the device comprises:
the acquisition unit is used for responding to task statistic operation triggered by the target user and acquiring a target label carried by a target task;
the searching unit is used for searching the game behavior information which corresponds to the target user identification and carries the target label from a search engine server to obtain a searching result;
and the counting unit is used for counting the completion condition of the target task corresponding to the target user by using the search result.
Optionally, the obtaining unit is specifically configured to:
responding to a target task completion condition query operation of the target user triggered by the target user, and acquiring the target tag carried by the target task; or,
responding to game ending operation triggered by the target user, and acquiring the target tag carried by the target task; or,
and responding to the starting operation of the game application program triggered by the target user, and acquiring the target tag carried by the target task.
Optionally, if a statistical result obtained by performing statistics on the target task corresponding to the target user using the search result meets a task completion condition of the target task, the apparatus further includes:
and the record establishing unit is used for establishing a completion record of the target task for the target user and storing the corresponding relation between the completion record and the target user identifier in the search engine server.
Optionally, the search unit is specifically configured to:
and if the completion record of the target task corresponding to the target user does not exist in the search engine server, searching game behavior information which corresponds to the target user identification and carries the target tag from the search engine server to obtain a search result.
Optionally, the apparatus further comprises:
and the statistical result obtaining unit is used for obtaining a statistical result of the target task corresponding to the target user according to a task completion condition of the target task if a completion record of the target task corresponding to the target user exists in the search engine server.
Optionally, the target user identifier and the game behavior information of the target user carrying the tag are stored in the search engine server in the following manner:
acquiring game behavior information carrying the label of the target user in a game process; storing the game behavior information carrying the label of the target user in the game process and the target user identification in a cache;
and if a game ending instruction is received, storing the game behavior information carrying the tag of the target user in the game process and the target user identification stored in the cache into the search engine server.
Optionally, the target task is any one task in a task list corresponding to the target user identifier.
Compared with the prior art, the embodiment of the application has the following advantages:
in the embodiment of the application, a corresponding relation between a target user identifier and game behavior information of a target user is stored in a search engine server, the game behavior information of the target user carries a tag, when the target task completion condition of the target user needs to be counted, if the target user triggers a task counting operation, a target tag corresponding to the target task is obtained, such as 'clear color', then the game behavior information carrying the target tag is searched from the game behavior information corresponding to the target user identifier in the search engine server, a search result is obtained, and then the target task corresponding to the target user is counted by using the search result. In the embodiment of the application, the label matching search mode is adopted, so that all game behavior information meeting the target task in the game behavior information of the target user can be accurately searched, developers do not need to list all tasks needing to be updated by the task completion times corresponding to user operation, the corresponding relation between the user operation and the task to be updated by the task completion times is obtained, and the corresponding software code is written. The target task completion condition of the target user can be accurately counted.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart illustrating a statistical method for game tasks according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a storage method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a game task statistics device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
The inventor of the present application finds, through research, that in the prior art, if a task counting function is to be implemented, a developer is required to list all tasks whose task completion times corresponding to user operations need to be updated, obtain a corresponding relationship between the user operations and the tasks whose task completion times need to be updated, and write the corresponding software codes to implement the counting of the game task completion times. When the number of tasks is too large, it is difficult for developers to list all tasks to be updated corresponding to the task completion times of user operation, so that the corresponding relationship between the user operation and the tasks to be updated is incomplete, and further the problem of inaccurate statistics is caused.
In order to solve the above problems, embodiments of the present application provide a method and an apparatus for counting game tasks, where a corresponding relationship between a target user identifier and game behavior information of a target user is stored in a search engine server, where the game behavior information of the target user carries a tag, and when a target task completion condition of the target user needs to be counted, if a task counting operation is triggered by the target user, a target tag corresponding to the target task is obtained, for example, a "clear color", and then the game behavior information carrying the target tag is searched from the game behavior information corresponding to the target user identifier in the search engine server, so as to obtain a search result, and then the search result is used to count the target task corresponding to the target user. In the embodiment of the application, the label matching search mode is adopted, so that all game behavior information meeting the target task in the game behavior information of the target user can be accurately searched, developers do not need to list all tasks needing to be updated by the task completion times corresponding to user operation, the corresponding relation between the user operation and the task to be updated by the task completion times is obtained, and the corresponding software code is written. The target task completion condition of the target user can be accurately counted.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, the figure is a schematic flow chart of a statistical method of game tasks according to an embodiment of the present application.
In this embodiment, the method may be implemented, for example, by the following steps S101-S103.
And S101, responding to task counting operation triggered by a target user, and acquiring a target label carried by a target task.
It will be appreciated that the target user may have a task list when playing a game using the game application. The task in the task list corresponding to the target user may include a task started by the user, or may include a task set for the user by the game application system, which is not limited in the embodiment of the present application.
And counting the game completion condition of the target user, namely counting the completion condition of the tasks in the user list corresponding to the target user. In this embodiment of the present application, the target task refers to any one task in a task list corresponding to the target user identifier.
It should be noted that, the target user identifier mentioned in the embodiment of the present application is used for identifying the target user. The target user identifier is not specifically limited in the embodiments of the present application, and the target user identifier may be, for example, a user name of a game account of the target user.
It should be noted that, in the embodiment of the present application, the task statistics operation is used to trigger statistics on completion conditions of tasks in the task list corresponding to the target user identifier.
It should be noted that the target tag mentioned in the embodiment of the present application may be used to characterize the key information of the target task. The target tag may include, for example, a field of the target task, a specific brand type corresponding to the target task, and the like.
In an embodiment of the present application, the target tag may include one or more sub-tags. For example, in the case of a mahjong game, the target task is "color-clearing 5 times", and the target tag may include a sub-tag "color-clearing"; as another example, if the target task is "clear color 4 times at the primary field, the target tag may include two sub-tags, i.e.," primary field "and" clear color ", respectively.
S102, searching the game behavior information which corresponds to the target user identification and carries the target label from a search engine server to obtain a search result.
It should be noted that, in the embodiment of the present application, the correspondence between the target user identifier and the game behavior information of the target user is stored in the search engine server. The embodiment of the present application does not specifically limit the search engine server, which is a server supporting a search function, that is, a conditional query function.
The game behavior information is information that can represent the behavior of the user during the game. For example, the game behavior information may be information that can characterize that the user has burned 1 clear color.
It should be noted that the game behavior information carries a tag. The tag may be information relating to the game play. The tag may include, for example, a number of plays generated by the play activity, a particular card type corresponding to the play activity, and the like.
In this embodiment, the tag carried by the game behavior information may include one or more sub-tags. For example, if the game behavior information is "1 time of clearing one color in the primary field", the game behavior information carries two sub-tags, which are "primary field" and "clear color", respectively; if the game behavior information is "a color is cleared for 1 time", the game behavior information carries a sub-label "color is cleared".
It can be understood that, if the tag carried by the game behavior information includes the target tag, the game behavior information is the game behavior information related to the target task. For example, if the labels carried in the game behavior information are "primary field" and "clear color" and the target label is "clear color", the game behavior information is the game behavior information related to the target task.
In view of this, in the application embodiment, the game behavior information carrying the target tag corresponding to the target user identifier may be searched from the search engine server to obtain a search result, and the completion condition of the target task corresponding to the target user is further counted by using the search result.
It should be noted that, in this embodiment of the application, if the target user generates game behavior information related to the target task in the game process, the search result may include a plurality of pieces of game behavior information carrying the target tag. If the target user never generates the game behavior information related to the target task in the game process, the search result may include zero pieces of game behavior information related to the target task. For example, the target tag is "clear color", and if the target user has once got a clear color in the game, the search result may include several pieces of game behavior information related to the huqing color, for example, if the user has got two clear colors, the search result may include two pieces of game behavior information related to the huqing color; if the target user never has a hu qing color in the game, the search result may include zero pieces of game behavior information related to the hu qing color.
S103, the completion condition of the target task corresponding to the target user is counted by utilizing the search result.
It should be noted that, the completion condition of the target task in the embodiment of the present application may be represented by a numerical value of the completion progress of the target task, for example. For example, if the target task is "hu 5 times to clear one color", the completion condition of the target task may be the number of times that the user clears one color.
In a specific implementation of step S103, for example, the completion condition of the target task corresponding to the target user may be counted according to the number of game behavior information included in the search result.
For example, if the target tag is "clear color", and there are 3 pieces of game behavior information carrying the tag "clear color" in the search engine server, it may be determined that the target task completion number of the target user is 3.
As can be seen from the above description, in the embodiment of the present application, a corresponding relationship between a target user identifier and game behavior information of a target user is stored in a search engine server, where the game behavior information of the target user carries a tag, and when a target task completion condition of the target user needs to be counted, if a task counting operation is triggered by the target user, a target tag corresponding to the target task, for example, "clear color", is obtained, then the game behavior information carrying the target tag is searched from the game behavior information corresponding to the target user identifier in the search engine server, a search result is obtained, and then the target task corresponding to the target user is counted by using the search result. For example, the target tag is "clear color", and three pieces of game behavior information with the tag "clear color" exist in the search engine server, which are the game behavior information with the tag "clear color", the game behavior information with the tag "clear color" and the tag "primary field", and the game behavior information with the tag "clear color", the tag "primary field", and the tag "three pieces of game behavior information, respectively, then the 3 pieces of game behavior information with the target tag" clear color "can be searched, and further the target task completion frequency of the target user can be determined to be three. In the embodiment of the application, the label matching search mode is adopted, so that all game behavior information meeting the target task in the game behavior information of the target user can be accurately searched, developers do not need to list all tasks needing to be updated by the task completion times corresponding to user operation, the corresponding relation between the user operation and the task to be updated by the task completion times is obtained, and the corresponding software code is written. The target task completion condition of the target user can be accurately counted.
The statistical method of the game task provided in the embodiment of the present application is introduced above, and the specific implementation of step S101 in the above method is described below.
In a specific implementation, the step S101 may include three implementation manners.
The first implementation mode comprises the following steps: and responding to a target task completion condition query operation of the target user triggered by the target user, and acquiring the target tag carried by the target task.
It is understood that the user may view his task completion while playing the game. In view of this, in order to display the most accurate information of the task completion to the user when the user views the task completion, in this embodiment of the application, if the target user triggers an operation of querying the target task completion of the target user, a target tag carried by the target task is obtained, and steps S102 to S103 are performed, so as to count the completion of the target task corresponding to the target user, and display the statistical result to the user.
It should be noted that the target user triggers the task completion viewing operation, for example, the target user triggers a certain button on the game interface, for example, the target user triggers a "task list viewing" button on the game interface.
The second implementation mode comprises the following steps: and responding to game ending operation triggered by the target user, and acquiring the target tag carried by the target task.
It will be appreciated that as the user is working to complete the task, each game is over, which may result in a change in the completion of the task. In view of this, in the embodiment of the present application, once a target user completes one game, the target tag carried by the target task is obtained, and steps S102 to S103 are executed, so as to count the completion condition of the target task corresponding to the target user, and display the statistical result to the user.
It should be noted that the target user triggers the game ending operation, for example, the target user triggers a certain button on the game interface, for example, the target user triggers a "continue game" or "return to lobby" button on the game interface.
The third implementation mode comprises the following steps: and responding to the starting operation of the game application program triggered by the target user, and acquiring the target tag carried by the target task.
It can be understood that when the user starts the game application, if the task completion status of the user is not stored locally in the terminal, the data of the task completion status of the user may be lost. In view of this, in the embodiment of the present application, once a target user starts a game application, the target tag carried by the target task is obtained, and steps S102 to S103 are executed, so as to count the completion condition of the target task corresponding to the target user, and display the statistical result to the user.
It can be understood that, in practical applications, if a task is completed, it is of little interest to count the completion of the task, because users are often not concerned about the completed task.
In view of this, in an example of the embodiment of the present application, if a statistical result obtained by performing statistics on the target task corresponding to the target user by using the search result meets a task completion condition of the target task, a completion record of the target task may be established for the target user, and a correspondence between the completion record and the target user identifier may be stored in the search engine server.
It should be noted that, in the embodiment of the present application, if the statistical result meets the task completion condition of the target task, it indicates that the target user has completed the target task.
In this embodiment of the application, if a corresponding completion record is established for a task that satisfies the task completion condition, the step S102 may be implemented specifically as follows: and if the completion record of the target task corresponding to the target user does not exist in the search engine server, searching game behavior information which corresponds to the target user identification and carries the target tag from the search engine server to obtain a search result.
That is, if the user does not complete the target task, the search result is obtained in a tag matching manner, and the completion condition of the target task corresponding to the target user is counted by using the search result.
It can be understood that, if a completion record of a target task corresponding to the target user exists in the search engine server, it indicates that the target task is completed, and for this situation, in this embodiment of the present application, a statistical result of the target task corresponding to the target user may be obtained according to a task completion condition of the target task. For example: and if the target task is '5 times of color removal', the frequency of obtaining the target user color removal is 5. Therefore, the game behavior information which corresponds to the target user identification and carries the target label does not need to be searched from the search engine server, and certain search resources can be saved.
As above, the correspondence of the target user identification and the game behavior information of the target user is stored in the search engine server. The following describes an implementation method in which "correspondence between the target user identification and the game behavior information of the target user" is stored in the search engine server.
Referring to fig. 2, the figure is a schematic flowchart of a storage method according to an embodiment of the present application.
The method may be implemented, for example, by the following steps S201-S202.
S201: acquiring game behavior information carrying the label of the target user in a game process; and storing the game behavior information carrying the label of the target user in the game process and the target user identification in a cache.
S202, if a game ending instruction is received, the game behavior information which is stored in the cache and carries the label of the target user in the game process and the target user identification are stored in the search engine server.
In view of the fact that in practical applications, there may be some cheating behavior in order to obtain a corresponding reward after the completion of a task. For example, a plurality of users collaborate to exit the game halfway after typing a special card type such as "clear color" related to the task. In view of this, in order to prevent cheating, in the embodiment of the present application, first, the game behavior information of the target user during the game process, which carries the tag, is stored in a cache, and after a game ending instruction is received and the game behavior information is determined to be valid (non-cheating), the game behavior information of the target user during the game process, which carries the tag and is stored in the cache, and the target user identifier are stored in the search engine server.
It should be noted that, the game ending instruction mentioned herein may be generated based on the game ending operation triggered by the target user, and for the description of the "game ending operation triggered by the target user," reference may be made to the description of the content related to the "game ending operation triggered by the target user," which is not described herein again.
Exemplary device
Referring to fig. 3, the figure is a schematic structural diagram of a game task statistics device according to an embodiment of the present application.
The game task statistics provided in the embodiment of the present application may specifically include, in the device 300: an acquisition unit 310, a search unit 320, and a statistics unit 330.
An obtaining unit 310, configured to obtain a target tag carried by a target task in response to a task statistics operation triggered by the target user;
the searching unit 320 is configured to search, from a search engine server, game behavior information corresponding to the target user identifier and carrying the target tag, to obtain a search result;
the method comprises the steps that a corresponding relation between a target user identification and game behavior information of a target user is stored in a search engine server, and the game behavior information of the target user carries a label;
a counting unit 330, configured to count, by using the search result, the completion condition of the target task corresponding to the target user.
Optionally, the obtaining unit 320 is specifically configured to:
responding to a target task completion condition query operation of the target user triggered by the target user, and acquiring the target tag carried by the target task; or,
responding to game ending operation triggered by the target user, and acquiring the target tag carried by the target task; or,
and responding to the starting operation of the game application program triggered by the target user, and acquiring the target tag carried by the target task.
Optionally, if a statistical result obtained by performing statistics on the target task corresponding to the target user using the search result meets a task completion condition of the target task, the apparatus 300 further includes:
and the record establishing unit is used for establishing a completion record of the target task for the target user and storing the corresponding relation between the completion record and the target user identifier in the search engine server.
Optionally, the searching unit 320 is specifically configured to:
and if the completion record of the target task corresponding to the target user does not exist in the search engine server, searching game behavior information which corresponds to the target user identification and carries the target tag from the search engine server to obtain a search result.
Optionally, the apparatus 300 further includes:
and the statistical result obtaining unit is used for obtaining a statistical result of the target task corresponding to the target user according to a task completion condition of the target task if a completion record of the target task corresponding to the target user exists in the search engine server.
Optionally, the target user identifier and the game behavior information of the target user carrying the tag are stored in the search engine server in the following manner:
acquiring game behavior information carrying the label of the target user in a game process; storing the game behavior information carrying the label of the target user in the game process and the target user identification in a cache;
and if a game ending instruction is received, storing the game behavior information carrying the tag of the target user in the game process and the target user identification stored in the cache into the search engine server.
Optionally, the target task is any one task in a task list corresponding to the target user identifier.
Since the device 300 is a device corresponding to the statistical method of the game task provided by the above method embodiment, and the implementation of each unit of the device 300 is the same concept as the method of the above method embodiment, reference may be made to the description of the above method embodiment for the specific implementation of each unit of the device 300, and details are not repeated here.
In the embodiment of the application, the label matching search mode is adopted, so that all game behavior information meeting the target task in the game behavior information of the target user can be accurately searched, developers do not need to list all tasks needing to be updated by the task completion times corresponding to user operation, the corresponding relation between the user operation and the task to be updated by the task completion times is obtained, and the corresponding software code is written. The target task completion condition of the target user can be accurately counted.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the attached claims
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (14)
1. A statistical method of game tasks is characterized in that a corresponding relation between a target user identification and game behavior information of a target user is stored in a search engine server, and the game behavior information of the target user carries a label; the method comprises the following steps:
responding to task statistic operation triggered by the target user, and acquiring a target label carried by a target task;
searching game behavior information which corresponds to the target user identification and carries the target label from a search engine server to obtain a search result;
and counting the completion condition of the target task corresponding to the target user by using the search result.
2. The method of claim 1, wherein the obtaining a target tag carried by a target task in response to the task statistics operation triggered by the target user comprises:
responding to a target task completion condition query operation of the target user triggered by the target user, and acquiring the target tag carried by the target task; or,
responding to game ending operation triggered by the target user, and acquiring the target tag carried by the target task; or,
and responding to the starting operation of the game application program triggered by the target user, and acquiring the target tag carried by the target task.
3. The method according to claim 1, wherein if a statistical result obtained by performing statistics on the target task corresponding to the target user using the search result satisfies a task completion condition of the target task, the method further comprises:
and establishing a completion record of the target task for the target user, and storing the corresponding relation between the completion record and the target user identification in the search engine server.
4. The method according to claim 3, wherein the searching for the game behavior information carrying the target tag corresponding to the target user identifier from the search engine server to obtain a search result comprises:
and if the completion record of the target task corresponding to the target user does not exist in the search engine server, searching game behavior information which corresponds to the target user identification and carries the target tag from the search engine server to obtain a search result.
5. The method of claim 4, further comprising:
and if the completion record of the target task corresponding to the target user exists in the search engine server, obtaining a statistical result of the target task corresponding to the target user according to a task completion condition of the target task.
6. The method according to any one of claims 1 to 5, wherein the target user identification and the tag-bearing game behavior information of the target user are stored in the search engine server by:
acquiring game behavior information carrying the label of the target user in a game process; storing the game behavior information carrying the label of the target user in the game process and the target user identification in a cache;
and if a game ending instruction is received, storing the game behavior information carrying the tag of the target user in the game process and the target user identification stored in the cache into the search engine server.
7. The method according to any one of claims 1 to 5, wherein the target task is any one of tasks in a task list corresponding to the target user identifier.
8. A statistic device for game tasks is characterized in that the corresponding relation between a target user identification and game behavior information of a target user is stored in a search engine server, and the game behavior information of the target user carries a label; the device comprises:
the acquisition unit is used for responding to task statistic operation triggered by the target user and acquiring a target label carried by a target task;
the searching unit is used for searching the game behavior information which corresponds to the target user identification and carries the target label from a search engine server to obtain a searching result;
and the counting unit is used for counting the completion condition of the target task corresponding to the target user by using the search result.
9. The apparatus according to claim 8, wherein the obtaining unit is specifically configured to:
responding to a target task completion condition query operation of the target user triggered by the target user, and acquiring the target tag carried by the target task; or,
responding to game ending operation triggered by the target user, and acquiring the target tag carried by the target task; or,
and responding to the starting operation of the game application program triggered by the target user, and acquiring the target tag carried by the target task.
10. The apparatus according to claim 8, wherein if a statistical result obtained by performing statistics on the target task corresponding to the target user using the search result satisfies a task completion condition of the target task, the apparatus further includes:
and the record establishing unit is used for establishing a completion record of the target task for the target user and storing the corresponding relation between the completion record and the target user identifier in the search engine server.
11. The apparatus according to claim 10, wherein the search unit is specifically configured to:
and if the completion record of the target task corresponding to the target user does not exist in the search engine server, searching game behavior information which corresponds to the target user identification and carries the target tag from the search engine server to obtain a search result.
12. The apparatus of claim 11, further comprising:
and the statistical result obtaining unit is used for obtaining a statistical result of the target task corresponding to the target user according to a task completion condition of the target task if a completion record of the target task corresponding to the target user exists in the search engine server.
13. The apparatus according to any one of claims 8-12, wherein the target user identification and tag-bearing game behavior information of the target user are stored in the search engine server by:
acquiring game behavior information carrying the label of the target user in a game process; storing the game behavior information carrying the label of the target user in the game process and the target user identification in a cache;
and if a game ending instruction is received, storing the game behavior information carrying the tag of the target user in the game process and the target user identification stored in the cache into the search engine server.
14. The apparatus according to any one of claims 8-12, wherein the target task is any one of a task list corresponding to the target user identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811131976.7A CN110968608A (en) | 2018-09-27 | 2018-09-27 | Game task statistical method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811131976.7A CN110968608A (en) | 2018-09-27 | 2018-09-27 | Game task statistical method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110968608A true CN110968608A (en) | 2020-04-07 |
Family
ID=70026517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811131976.7A Pending CN110968608A (en) | 2018-09-27 | 2018-09-27 | Game task statistical method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110968608A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113836011A (en) * | 2021-09-16 | 2021-12-24 | 网易(杭州)网络有限公司 | Task list processing method and device, storage medium and electronic equipment |
CN115445208A (en) * | 2022-10-09 | 2022-12-09 | 网易(杭州)网络有限公司 | Task state updating method and device for virtual game |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150227954A1 (en) * | 2014-02-07 | 2015-08-13 | Nhn Entertainment Corporation | Push system for mobile game promotion and the method of push service |
CN106457042A (en) * | 2014-06-07 | 2017-02-22 | 微软技术许可有限责任公司 | Display of system-level achievements with real-time updating |
CN108132940A (en) * | 2016-12-01 | 2018-06-08 | 北京金山云网络技术有限公司 | A kind of application data extracting method and device |
-
2018
- 2018-09-27 CN CN201811131976.7A patent/CN110968608A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150227954A1 (en) * | 2014-02-07 | 2015-08-13 | Nhn Entertainment Corporation | Push system for mobile game promotion and the method of push service |
CN106457042A (en) * | 2014-06-07 | 2017-02-22 | 微软技术许可有限责任公司 | Display of system-level achievements with real-time updating |
CN108132940A (en) * | 2016-12-01 | 2018-06-08 | 北京金山云网络技术有限公司 | A kind of application data extracting method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113836011A (en) * | 2021-09-16 | 2021-12-24 | 网易(杭州)网络有限公司 | Task list processing method and device, storage medium and electronic equipment |
CN113836011B (en) * | 2021-09-16 | 2024-02-23 | 网易(杭州)网络有限公司 | Task list processing method and device, storage medium and electronic equipment |
CN115445208A (en) * | 2022-10-09 | 2022-12-09 | 网易(杭州)网络有限公司 | Task state updating method and device for virtual game |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107213641B (en) | Video synchronized with in-game telemetry | |
US9070086B2 (en) | Data driven component reputation | |
US20030181242A1 (en) | Method and apparatus for sotfware delivery and management | |
CN112672795B (en) | In-game resource presentation platform | |
US9185187B2 (en) | Posted information sharing | |
JP6435491B2 (en) | GAME SYSTEM, COMPUTER PROGRAM USED FOR THE SAME, AND SERVER DEVICE | |
CN103329153A (en) | Systems, methods and media for providing virtual badges | |
US20130103747A1 (en) | Posted information sharing system, information-processing device, storage medium, server, information-processing method, and information-processing system | |
CN110968608A (en) | Game task statistical method and device | |
KR101308654B1 (en) | Method and apparatus for providing quest in online game | |
Fry et al. | A player selection heuristic for a sports league draft | |
US20150348092A1 (en) | Game and Competition Based Method of Advertising | |
KR20190066179A (en) | A recommending system for mobile games using records of game delete | |
CN110574066B (en) | Server device and recording medium | |
JP5270878B2 (en) | Game management device and game management program | |
WO2013035935A1 (en) | Method and apparatus for recommending item in online game | |
CN108984756B (en) | Information processing method, medium, device and computing equipment | |
KR101306832B1 (en) | Method and server for providing of service collecting event item | |
KR20200052048A (en) | Game Social Network Service System and method thereof | |
KR20200139038A (en) | Devices and methods for relaying between game developers and producers | |
CN115080811B (en) | Information recommendation and search recommendation word display method and device | |
CN113836011B (en) | Task list processing method and device, storage medium and electronic equipment | |
KR101295616B1 (en) | Method and apparatus for managing item lottery service | |
US8898125B2 (en) | Method and apparatus for awarding trophies | |
CN118698124A (en) | Interaction control method and device in game and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200407 |
|
RJ01 | Rejection of invention patent application after publication |