WO2018214836A1 - 一种应用标识匹配方法、设备、存储介质及服务器 - Google Patents

一种应用标识匹配方法、设备、存储介质及服务器 Download PDF

Info

Publication number
WO2018214836A1
WO2018214836A1 PCT/CN2018/087605 CN2018087605W WO2018214836A1 WO 2018214836 A1 WO2018214836 A1 WO 2018214836A1 CN 2018087605 W CN2018087605 W CN 2018087605W WO 2018214836 A1 WO2018214836 A1 WO 2018214836A1
Authority
WO
WIPO (PCT)
Prior art keywords
data set
target
application identifier
service level
service
Prior art date
Application number
PCT/CN2018/087605
Other languages
English (en)
French (fr)
Inventor
罗结虎
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018214836A1 publication Critical patent/WO2018214836A1/zh

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
    • 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
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list

Definitions

  • the present application relates to the field of computer technologies, and in particular, to an application identifier matching method, device, storage medium, and server.
  • the terminal device installed with the interactive application can randomly allocate an interactive resource to the user according to the user's identification information (for example, a login account), for example, in the online game PVP (Player VS Player) game, in the same game.
  • PVP Player VS Player
  • Players can start the game after the number of players in the order of entry, but the players who enter the game under the random matching mechanism have conflicts with large differences in the ability value, which affects the player's game experience and the probability of long-term game retention.
  • the process of randomly matching interactive resources to users according to user identification may also affect the rationality of resource matching due to the inconsistency of interactive resources and user identity attributes.
  • the embodiment of the present application provides an application identifier matching method, a device, a storage medium, and a server, which can match application identifiers corresponding to service parameters with the same or similar service levels, and allocate interactive resources to the matched application identifiers, which can improve Rationality of resource allocation.
  • An embodiment of the present application provides an application identifier matching method, including:
  • the server receives the service matching request that is sent by the user terminal and carries the target application identifier, obtains the service level to which the target application identifier belongs, and places the target application identifier in the target data set corresponding to the service level;
  • the server acquires a neighboring data set of the target data set, and obtains a target quantity in the adjacent data set.
  • a second application identifier where the target quantity is a difference between the preset quantity threshold and the number of identifiers, and the service level corresponding to the adjacent data set is higher or lower than a service level corresponding to the target data set, And the service level corresponding to the target data set is adjacent;
  • the server returns a service matching result including the first application identifier and the second application identifier to the user terminal.
  • An embodiment of the present application provides an application identifier matching device, including: a processor and a memory connected to the processor; wherein the memory stores computer instructions executable by the processor, where the computer instructions include :
  • the target identifier processing module is configured to receive a service matching request that is sent by the user terminal and that carries the target application identifier, obtain the service level to which the target application identifier belongs, and place the target application identifier in the target data set corresponding to the service level. in;
  • a second identifier obtaining module configured to acquire a neighboring data set of the target data set, and in the adjacent data set, when the number of identifiers of the first application identifier in the target data set does not reach a preset number threshold Obtaining a second application identifier of the target quantity, where the target quantity is a difference between the preset quantity threshold and the number of identifiers, and the service level corresponding to the neighboring data set is higher or lower than the target data set Corresponding service level, and the service level corresponding to the target data set is adjacent;
  • the matching result returning module is configured to return a service matching result including the first application identifier and the second application identifier to the user terminal.
  • An embodiment of the present application provides a computer storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and performing the following steps:
  • the server receives the service matching request that is sent by the user terminal and carries the target application identifier, obtains the service level to which the target application identifier belongs, and places the target application identifier in the target data set corresponding to the service level;
  • the server acquires a neighboring data set of the target data set, and obtains a target quantity in the adjacent data set.
  • a second application identifier where the target quantity is a difference between the preset quantity threshold and the number of identifiers, and the service level corresponding to the adjacent data set is higher or lower than a service level corresponding to the target data set, And the service level corresponding to the target data set is adjacent;
  • the server returns a service matching result including the first application identifier and the second application identifier to the user terminal.
  • the embodiment of the present application provides a server, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and perform the following steps:
  • the server receives a service matching request that is sent by the user terminal and carries the target application identifier, obtains the service level to which the target application identifier belongs, and places the target application identifier in the target data set corresponding to the service level;
  • the server acquires a neighboring data set of the target data set, and obtains a target quantity in the adjacent data set.
  • a second application identifier where the target quantity is a difference between the preset quantity threshold and the number of identifiers, and the service level corresponding to the adjacent data set is higher or lower than a service level corresponding to the target data set, And the service level corresponding to the target data set is adjacent;
  • the server returns a service matching result including the first application identifier and the second application identifier to the user terminal.
  • the server obtains the service level of the target application identifier by receiving the service matching request that is sent by the user terminal and carries the target application identifier, and places the target application identifier in the target data set corresponding to the service level.
  • the number of identifiers of the first application identifier in the target data set does not reach the preset number threshold, obtain a neighboring data set of the target data set, and obtain a target quantity of the second application identifier in the adjacent data set, where the target quantity The difference between the preset number threshold and the number of identifiers, and finally, the service matching result including the first application identifier and the second application identifier is returned to the user terminal.
  • the application identifier corresponding to the service parameter with the same or similar service level is matched, and the interactive resource is allocated to the matched application identifier, thereby improving the rationality of the resource allocation.
  • FIG. 1 is a schematic flowchart of an application identifier matching method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another application identifier matching method provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a preset level list provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of determining a data set provided by an embodiment of the present application.
  • 5a-5b are schematic diagrams of terminal matching display effects provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another application identifier matching method according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an application identifier matching device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another application identifier matching device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a second identifier obtaining module according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a second identifier acquiring unit according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the application identifier matching method provided by the embodiment of the present application may be applied to perform a near matching by the virtual ability value of the player, and the players whose ability values are close to each other are placed in the same game to perform the competition, for example, the application identifier matching device receives the user terminal to send.
  • the service matching request carrying the target application identifier, obtaining the service level to which the target application identifier belongs, and placing the target application identifier in the target data set corresponding to the service level; when the target data set is the first
  • the application identifier matching device acquires the neighboring data sets of the target data set, and obtains the target number of second application identifiers in the neighboring data sets.
  • the target number is a difference between the preset number threshold and the number of identifiers; finally, the application identifier matching device returns a service match including the first application identifier and the second application identifier to the user terminal result.
  • the application identifier corresponding to the service parameter with the same or similar service level is matched, and the interactive resource is allocated to the matched application identifier, thereby improving the rationality of the resource allocation.
  • the application identifier matching device may have a strong data carrying capacity and processing capability server, and a computer device that can manage resources and provide services for the user.
  • FIG. 1 is a schematic flowchart of a method for matching an application identifier according to an embodiment of the present application. As shown in FIG. 1 , the method in this embodiment of the present application may include steps S101 to S103.
  • the server receives a service matching request that is sent by the user terminal and carries the target application identifier, obtains the service level to which the target application identifier belongs, and places the target application identifier in the target data set corresponding to the service level.
  • the application identifier matching device may receive the service matching request that is sent by the user terminal and carries the target application identifier.
  • the target application identifier may be a login account when the user logs in to the target application, for example, when the user logs in to the game. Game account.
  • the service matching request may be a request message requesting matching of the target application identifier.
  • the application identifier matching device may acquire a service parameter corresponding to the target application identifier (for example, a game player's winning rate, an escape rate, a level, and 30 common hero attribute values, etc.), and adopt according to the service parameter.
  • the preset attribute formula calculates the service attribute corresponding to the target application identifier.
  • the service attribute may be a virtual attribute value that can represent the average level of the service parameter (for example, the virtual attribute value is used to represent the winning ratio of the game player, The escaping rate and the attribute parameter of the grading level, and finally matching the service level range of the service attribute to the preset level list, and obtaining the service level corresponding to the service level range.
  • the preset level list may be A pre-set list of service level ranges corresponding to the respective service levels, for example, the service attribute of the target application identifier may be the first service level in the range of 0-1000 or the second service level in the range of 1001-1100. .
  • the application identifier matching device may set the target application identifier to a target data set corresponding to the service level.
  • the target data set may be a current data set to be processed, in the set.
  • the service level corresponding to the user ID belongs to the same level in the preset level list.
  • the service attributes of the user identifier in the target data set are all in the range of 1001-1100, and belong to the second service level.
  • the server acquires a neighboring data set of the target data set, and obtains a target in the adjacent data set.
  • the application identifier matching device may acquire the adjacent data set of the target data set, and it may be understood that
  • the first application identifier is a collective name of all application identifiers in the target data set
  • the preset number threshold is a quantity that the identifier data of the first application identifier in the preset target data set should satisfy, for example, one game.
  • the number of people who should be satisfied in the game start is 4, and 4 is the preset number threshold.
  • the service level corresponding to the adjacent data set may be lower than the service level corresponding to the target data set, or may be higher than the service level corresponding to the target data set, for example, when the service level corresponding to the target data set is the second
  • the service level, the service level corresponding to the neighboring data set may be the third service level or the first service level.
  • the application identifier matching device may bundle the first application identifiers in the target data set to expand the matching range, and obtain the target number of second application identifiers in the adjacent data set, which is understandable
  • the second application identifier is an application identifier that is obtained by the application identifier matching device from the neighboring data set, and the target number may be the number of the second application identifier, which may be the preset number threshold and The difference between the number of identifiers, for example, a game requires 4 people to start, that is, the preset number threshold is 4, and the number of identifiers of the first application identifier in the target data set is 3, that is, 3 people who have entered the game, then The application identifier matching device may obtain the second application identifier of the number 1 from the adjacent data set, that is, find one person from the adjacent data set to join the game.
  • the server returns a service matching result that includes the first application identifier and the second application identifier to the user terminal.
  • the first application identifier may be returned to the user terminal.
  • the service matching result of the second application identifier for example, after the number of users is met, the application identifier matching device returns a player who can start the game to the user terminal.
  • the application identifier matching device is After the user terminal returns the service matching result, the user identifier in the target data set may be removed, so that the new user identifier enters.
  • the service level corresponding to the adjacent data set is in close proximity to the service level corresponding to the target data set
  • the service attribute of the second application identifier in the adjacent data set is related to the target data set.
  • the business attribute of the first application identifier in the middle is also close. For example, the game attribute value of the game player of the first service level and the game player of the second service level are close, and the players of the two similar levels are matched in the same game. In the middle, there will be no significant impact on the player experience due to the disparity in the ability value.
  • the service level of the target application identifier is obtained by receiving the service matching request that is sent by the user terminal and carries the target application identifier, and the target application identifier is placed in the target data set corresponding to the service level, and the target data is used.
  • the number of identifiers of the first application identifier in the set does not reach the preset number threshold, the neighboring data set of the target data set is obtained, and the second application identifier of the target quantity is obtained in the adjacent data set, where the target quantity is preset The difference between the quantity threshold and the number of identifiers.
  • the service matching result including the first application identifier and the second application identifier is returned to the user terminal.
  • the server may return a service matching result including the preset number of first application identifiers in the target data set to the user terminal.
  • the application identifier corresponding to the service parameter with the same or similar service level is matched, and the interactive resource is allocated to the matched application identifier, thereby improving the rationality of the resource allocation.
  • the first application identifier or the second application identifier that has been successfully matched may also be removed from the target data set and/or the adjacent data set.
  • FIG. 2 is a schematic flowchart diagram of another application identifier matching method according to an embodiment of the present application. As shown in FIG. 2, the method in this embodiment of the present application may include steps S201 to S208.
  • S201 The server acquires a target application identifier of the current login target application, and obtains a service parameter corresponding to the target application identifier.
  • the application identifier matching device may obtain the target application identifier of the current login target application. It may be understood that the target application identifier may be a login account when the user logs in to the target application, for example, the game account when the user logs in to the game. .
  • the application identifier matching device may obtain the service parameter corresponding to the target application identifier.
  • the service parameter may be a parameter that represents the related application capability or attribute of the target application, for example, a game player. Win rate, escape rate, rating, and 30 common hero attribute values.
  • the server calculates, according to the service parameter, a service attribute corresponding to the target application identifier by using a preset attribute formula.
  • the application identifier matching device may calculate a service attribute corresponding to the target application identifier according to the service parameter, and use a preset attribute formula.
  • the preset attribute calculation formula may be Where k is the weight of n numerical attributes, and w includes all business parameters of the target application identification, for example, the game player's winning rate, escape rate, rating, and 30 common hero attribute values.
  • the value of the business attribute obtained by calculating the preset attribute formula may represent a virtual attribute of the service parameter corresponding to the application identifier, for example, a virtual ability value representing the game player.
  • the server receives a service matching request that is sent by a user terminal and carries a target application identifier.
  • the application identifier matching device may receive a service matching request that is sent by the user terminal and carries the target application identifier, and the service matching request may be a request packet that requests matching of the target application identifier. .
  • the application identifier matching device may calculate a service attribute corresponding to the target application identifier after detecting that the user logs in the target login identifier of the target application.
  • the application identifier matching device may also receive the service attribute.
  • the service attribute corresponding to the target application identifier is calculated.
  • the server acquires a service attribute corresponding to the target application identifier, matches a service level range to which the service attribute belongs, and obtains a service level corresponding to the service level range, where the target application identifier is Placed in the target data set corresponding to the service level;
  • the application identifier matching device may obtain the service attribute corresponding to the target application identifier, and may match the service level range to which the service attribute belongs in the preset level list.
  • the preset level list is It can be a list of levels as shown in Figure 3, where the ID indicates the level and the lowest And highest Indicates the lowest virtual attribute value and the highest virtual attribute value in the corresponding level range, respectively. For example, when the service attribute corresponding to the target application identifier is 1110, the service level of the service attribute corresponding to the target application identifier belongs to the range of 1101-1200.
  • the application identifier matching device may obtain the service level corresponding to the service level range, and place the target application identifier in the target data set corresponding to the service level, for example, for the level shown in FIG. If the service level of the service attribute corresponding to the target application identifier is in the range of 1101-1200, the application identifier matching device may obtain the service level corresponding to the service level range, that is, the third service level. Further, the application identifier matching device may set the target application identifier to a target data set corresponding to the service level. It may be understood that the target data set may be a current data set to be processed, in the set.
  • the service level corresponding to the user ID belongs to the same level in the preset level list. For example, the service attributes of the user identifier in the target data set are all in the range of 1001-1100, and belong to the second service level.
  • the accuracy of the service level division of the target application identifier is increased by calculating and analyzing the service parameter corresponding to the target application identifier.
  • the server detects a storage time of the target application identifier in the target data set.
  • the application identifier matching device may detect a storage time of the target application identifier in the target data set, and the target application identifier is an application with the longest storage time in the target data set.
  • logo For example, the data set shown in FIG. 4, wherein the dotted line box includes the data set of the application identifiers A, B, and C as the target data set, and the application identifier A with the longest storage time (10s) in the set is the target application identifier.
  • the server acquires the target data set, when the storage time of the target application identifier is equal to a first preset time threshold, and the number of identifiers of the first application identifier in the target data set does not reach a preset number threshold. a set of adjacent data, and obtaining a target number of second application identifiers in the adjacent data set;
  • the first preset time threshold may be the maximum time of the first matching of the preset target application identifier in the target data set, for example, the game player A performs in the target data set.
  • the maximum time for the first match is 10 s.
  • the first preset time threshold is reached.
  • the preset number threshold is a value that should be satisfied by the number of identifiers of the first application identifier in the preset target data set. For example, the number of people that a game opening should satisfy is 4, and 4 is a preset number threshold.
  • the application identifier matching device may obtain
  • the adjacent data set of the target data set may be lower than the service level corresponding to the target data set, or higher than the target data set.
  • the service level for example, when the target data set is the target data set shown in FIG. 4 (the data set including the application identifiers A, B, and C in the dotted line frame), the adjacent data set may be the target data set
  • the data set containing the application identifiers J and K of the neighbor may also be a data set containing the application identifiers D, E, F, and H.
  • the application identifier matching device may bundle the first application identifiers in the target data set to expand the matching range, and obtain the target number of second application identifiers in the adjacent data set, which is understandable
  • the second application identifier is an application identifier that is obtained by the application identifier matching device from the neighboring data set, and the target number may be the number of the second application identifier, which may be the preset number threshold and The difference of the number of identifiers, for example, the identification data of the first application identifier in the target data set in FIG.
  • the application identification matching device can obtain the number 3 from the adjacent data set.
  • the second application identifier is that three people are added to the game from the adjacent data set.
  • the second application identifier is an application identifier that stores the longest time in the adjacent data set.
  • the application identifier matching device acquires the D, E, and F application identifiers in the neighboring data (the data set including the application identifiers D, E, F, and H).
  • the server returns a service matching result that includes the first application identifier and the second application identifier to the user terminal.
  • the first application identifier may be returned to the user terminal.
  • the service matching result of the second application identifier for example, after the number of the users is met, the application identifier matching device may return a player that can start the game to the user terminal.
  • the application identifier matching device is After the user terminal returns the service matching result, the user identifier in the target data set may be removed, so that the new user identifier enters.
  • the service level corresponding to the adjacent data set is in close proximity to the service level corresponding to the target data set
  • the service attribute of the second application identifier in the adjacent data set is related to the target data set.
  • the business attribute of the first application identifier in the middle is also close. For example, the game attribute value of the game player of the first service level and the game player of the second service level are close, and the players of the two similar levels are matched in the same game. In the middle, there will be no significant impact on the player experience due to the disparity in the ability value.
  • the third preset time threshold may be a sum of a matching time of the preset target application identifier in the target data set and a matching time of the second application identifier in the adjacent data set. The maximum value.
  • FIG. 5a is a display interface of the user terminal when the game player is matching, when the storage time of the target application identifier is equal to a third preset time threshold, and the number of identifiers of the first application identifier and the second application
  • the user terminal may display the matching failure prompt information as shown in FIG. 5b, wherein “coming back later” in FIG. 5b may exit the matching interface, “continue Match" to start matching again.
  • the acquiring the adjacent data set of the target data set, and obtaining the target quantity of the second application identifier in the adjacent data set may include the following steps: As shown in Figure 6:
  • the server acquires a first neighboring data set of the target data set, and obtains a first quantity of second application identifiers in the first neighboring data set.
  • the application identifier matching device may obtain
  • the first adjacent data set of the target data set is understood to be that the service level corresponding to the first adjacent data set is lower than the service level corresponding to the target data set, for example, when the target data set is a graph.
  • the target data set shown in 4 the data set containing the application identifiers A, B, and C in the dotted line box
  • the first adjacent data set is the service level lower than the target data set, and includes the application identifiers D, E , F and H data sets.
  • the application identifier matching device may bundle the first application identifiers in the target data set to expand the matching range, and obtain the first quantity of the second application identifiers in the first neighboring data set, where It is understood that the first quantity may be the number of second application identifiers matched in the first neighboring data set, for example, the target data set in FIG.
  • the identification data of the first application identifier in the data collection of B, C and C is 3 (can be understood as 3 players being matched), and the preset number threshold is 6 (it can be understood that 6 players are required)
  • the application identifier matching device may obtain the first quantity 3 of the second application identifier from the first neighboring data set (the data set including the application identifiers D, E, F, and H), that is, from the first phase. Find 3 people in the neighborhood data collection to join the game. It can be understood that the first quantity of the second application identifier is the application identifier that stores the longest time in the first neighboring data set, that is, the three second applications acquired in the first neighboring data set. Marked as D, E, and F.
  • the application identifier matching device may acquire the second adjacent data set of the target data set.
  • the second preset time threshold may be based on the first preset time threshold.
  • the matching time of the application identifier in the preset first neighboring data set for example, the first preset time threshold is 10s, and the second preset time threshold may be 5s after the first preset time threshold, which needs to be explained. Yes, the second preset time threshold and the size of the first preset time threshold are not necessarily related.
  • the service level corresponding to the second adjacent data set is higher than the service level corresponding to the target data set, for example, when the target data set is the target data set shown in FIG. 4 (the application identifier A is included in the dotted line box, The data set of B and C), the second adjacent data set is a data set whose service level is higher than the target data set and contains the application identifiers J and K.
  • the application identifier matching device may obtain a second quantity of the second application identifier in the second neighboring data set, for example, as shown in FIG. 4, the application identifier matching device is in the first neighboring data.
  • the matching time in the set (the data set including the application identifiers D, E, F, and H) is 5s equal to the second preset time threshold, and the sum of the target data set and the number of application identifiers in the first adjacent data set is 7.
  • the application identification matching device may obtain the second quantity (value) in the second adjacent data set (the data set including the application identifiers J and K) when the threshold is less than the preset number threshold 9 (ie, the game starts to require 9 people).
  • the storage time of the target application identifier is equal to a third preset time threshold, and the number of identifiers of the first application identifier, the first quantity, and the second quantity
  • the prompt information of the matching failure is returned to the user terminal. It can be understood that the sum of the first quantity and the second quantity is a difference between the preset quantity threshold and the number of identifiers.
  • the adjacent data set is not limited to the first adjacent data set and the second adjacent data set adjacent to the target data set, and may be that the service level is lower than the first adjacent data set.
  • the data collection range of the application identifier matching is continuously expanded, and the probability of successful matching is increased.
  • the service level of the target application identifier is obtained by receiving the service matching request that is sent by the user terminal and carries the target application identifier, and the target application identifier is placed in the target data set corresponding to the service level, and the target data is used.
  • the number of identifiers of the first application identifier in the set does not reach the preset number threshold, the neighboring data set of the target data set is obtained, and the second application identifier of the target quantity is obtained in the adjacent data set, where the target quantity is preset The difference between the quantity threshold and the number of identifiers.
  • the service matching result including the first application identifier and the second application identifier is returned to the user terminal.
  • the application identifier corresponding to the service parameter with the same or similar service level is matched, and the interactive resource is allocated to the matched application identifier, thereby improving the rationality of the resource allocation.
  • the accuracy of the service level division of the target application identifier is increased; and based on the third preset time threshold, the data collection range of the application identifier matching is continuously expanded, and the matching success is increased. The probability.
  • the application identification matching device provided by the embodiment of the present application will be described in detail below with reference to FIG. 7 to FIG. It should be noted that the apparatus shown in FIG. 7 to FIG. 10 is used to perform the method of the embodiment shown in FIG. 1 to FIG. 6 of the present application. For the convenience of description, only the part related to the embodiment of the present application is shown. For specific technical details not disclosed, please refer to the embodiment shown in Figures 1 to 6 of the present application.
  • FIG. 7 is a schematic structural diagram of an application identifier matching device according to an embodiment of the present application.
  • the application identifier matching 1 in the embodiment of the present application may include: a target identifier processing module 11 , a second identifier acquiring module 12 , and a matching result returning module 13 .
  • the target identifier processing module 11 is configured to receive a service matching request that is sent by the user terminal and that carries the target application identifier, obtain the service level to which the target application identifier belongs, and place the target application identifier in the target data corresponding to the service level. In the collection;
  • the target identifier processing module 11 may receive a service matching request that is sent by the user terminal and carries the target application identifier.
  • the target application identifier may be a login account when the user logs in to the target application, for example, the user logs in.
  • the service matching request may be a request message requesting matching of the target application identifier.
  • the target identifier processing module 11 may acquire a service parameter corresponding to the target application identifier (for example, a game player's winning rate, an escape rate, a level, and 30 common hero attribute values, etc.), and according to the service parameter, Calculating the service attribute corresponding to the target application identifier by using a preset attribute formula, it may be understood that the service attribute may be a virtual attribute value capable of representing an average level of the service parameter (for example, using a virtual attribute value to comprehensively represent a game player's winning rate) And the attribute parameter of the escape rate and the level), and finally matching the service level range of the service attribute to the preset level list, and obtaining the service level corresponding to the service level range.
  • a service parameter corresponding to the target application identifier for example, a game player's winning rate, an escape rate, a level, and 30 common hero attribute values, etc.
  • the preset level list It may be a list of service level ranges corresponding to the preset service levels.
  • the service attribute of the target application identifier may be the first service level in the range of 0-1000 or the second service level in the range of 1001-1100. Wait.
  • the target identifier processing module 11 may set the target application identifier to a target data set corresponding to the service level. It may be understood that the target data set may be a current data set to be processed.
  • the service level corresponding to the user identifier belongs to the same level in the preset level list. For example, the service attributes of the user identifier in the target data set are all in the range of 1001-1100, and belong to the second service level.
  • the second identifier obtaining module 12 is configured to acquire a neighboring data set of the target data set when the number of identifiers of the first application identifier in the target data set does not reach a preset number threshold, and in the adjacent data Obtaining a second application identifier of the target quantity in the collection;
  • the second identifier obtaining module 12 may obtain the adjacent data sets of the target data set, and it may be understood that The first application identifier is a collective name of all application identifiers in the target data set, and the preset number threshold is a quantity that the identifier data of the first application identifier in the preset target data set should satisfy, for example, one.
  • the number of people who should meet the game start is 4, and 4 is the preset number threshold.
  • the service level corresponding to the adjacent data set may be lower than the service level corresponding to the target data set, or may be higher than the service level corresponding to the target data set, for example, when the service level corresponding to the target data set is the second
  • the service level, the service level corresponding to the neighboring data set may be the third service level or the first service level.
  • the second identifier obtaining module 12 may bundle the first application identifiers in the target data set to expand the matching range, and obtain the target number of second application identifiers in the adjacent data set, which can be understood.
  • the second application identifier is an application identifier obtained by the second identifier acquisition module 12 from the neighboring data set, and the target quantity may be the number of the second application identifier, which may be the pre- The difference between the quantity threshold and the number of the identifiers is set. For example, a game requires 4 people to start, that is, the preset number threshold is 4, and the number of identifiers of the first application identifier in the target data set is 3, that is, 3 of the games have entered the game.
  • the second identifier obtaining module 12 may obtain the second application identifier of the number 1 from the adjacent data set, that is, find one person from the adjacent data set to join the game.
  • the matching result returning module 13 is configured to return a service matching result including the first application identifier and the second application identifier to the user terminal;
  • the matching result returning module 13 may return the content to the user terminal.
  • the service matching result of the first application identifier and the second application identifier for example, after the number of users is met, the matching result returning module 13 returns a player who can start the game to the user terminal, optionally, After the matching result returning module 13 returns the service matching result to the user terminal, the user identifier in the target data set may be removed, so that the new user identifier enters.
  • the service level corresponding to the adjacent data set is in close proximity to the service level corresponding to the target data set
  • the service attribute of the second application identifier in the adjacent data set is related to the target data set.
  • the business attribute of the first application identifier in the middle is also close. For example, the game attribute value of the game player of the first service level and the game player of the second service level are close, and the players of the two similar levels are matched in the same game. In the middle, there will be no significant impact on the player experience due to the disparity in the ability value.
  • the service level of the target application identifier is obtained by receiving the service matching request that is sent by the user terminal and carries the target application identifier, and the target application identifier is placed in the target data set corresponding to the service level, and the target data is used.
  • the number of identifiers of the first application identifier in the set does not reach the preset number threshold, the neighboring data set of the target data set is obtained, and the second application identifier of the target quantity is obtained in the adjacent data set, where the target quantity is preset The difference between the quantity threshold and the number of identifiers.
  • the service matching result including the first application identifier and the second application identifier is returned to the user terminal.
  • the application identifier corresponding to the service parameter with the same or similar service level is matched, and the interactive resource is allocated to the matched application identifier, thereby improving the rationality of the resource allocation.
  • FIG. 8 is a schematic structural diagram of another application identifier matching device according to an embodiment of the present application.
  • the application identifier matching device 1 of the embodiment of the present application may include: a target identifier processing module 11, a second identifier obtaining module 12, a matching result returning module 13, a data obtaining module 14, an attribute calculating module 15, and The information is returned to module 16.
  • the data acquisition module 14 is configured to obtain a target application identifier of the current login target application, and obtain a service parameter corresponding to the target application identifier.
  • the data acquisition module 14 may obtain the target application identifier of the current login target application. It may be understood that the target application identifier may be a login account when the user logs in to the target application, for example, a game account when the user logs in to the game.
  • the data obtaining module 14 may obtain the service parameter corresponding to the target application identifier. It may be understood that the service parameter may be a parameter that represents the related application capability or attribute of the target application, for example, a game player. Win rate, escape rate, rating, and 30 common hero attribute values.
  • the attribute calculation module 15 is configured to calculate, according to the service parameter, a service attribute corresponding to the target application identifier by using a preset attribute formula
  • the attribute calculation module 15 may calculate the service attribute corresponding to the target application identifier according to the service parameter, and use a preset attribute formula.
  • the preset attribute calculation formula may be Where k is the weight of n numerical attributes, and w includes all business parameters of the target application identification, for example, the game player's winning rate, escape rate, rating, and 30 common hero attribute values.
  • the value of the business attribute obtained by calculating the preset attribute formula may represent a virtual attribute of the service parameter corresponding to the application identifier, for example, a virtual ability value representing the game player.
  • the target identifier processing module 11 is configured to receive a service matching request that is sent by the user terminal and that carries the target application identifier, obtain the service attribute corresponding to the target application identifier, and match the service level range of the service attribute in the preset level list. Obtaining a service level corresponding to the service level range, and placing the target application identifier in a target data set corresponding to the service level;
  • the target identifier processing module 11 may receive a service matching request that is sent by the user terminal and carries the target application identifier.
  • the service matching request may be a request packet that requests matching of the target application identifier. .
  • the target identifier processing module 11 may calculate a service attribute corresponding to the target application identifier after detecting that the user logs in the target login identifier of the target application.
  • the target identifier processing module 11 may also be in the When the service matching request carrying the target application identifier is received, the service attribute corresponding to the target application identifier is calculated.
  • the target identifier processing module 11 may obtain the service attribute corresponding to the target application identifier, and may match the service level range of the service attribute in the preset level list.
  • the preset level is The list can be a list of levels as shown in Figure 3.
  • the ID in the table indicates the level, the lowest And highest Indicates the lowest virtual attribute value and the highest virtual attribute value in the corresponding level range, respectively. For example, when the service attribute corresponding to the target application identifier is 1110, the service level of the service attribute corresponding to the target application identifier belongs to the range of 1101-1200.
  • the target identifier processing module 11 may obtain the service level corresponding to the service level range, and place the target application identifier in the target data set corresponding to the service level, for example, for the The level list, if the service attribute corresponding to the target application identifier belongs to the service level range of 1101-1200, the target identifier processing module 11 may obtain the service level corresponding to the service level range, that is, the third service level. Further, the target identifier processing module 11 may set the target application identifier to a target data set corresponding to the service level. It may be understood that the target data set may be a current data set to be processed.
  • the service level corresponding to the user identifier belongs to the same level in the preset level list. For example, the service attribute of the user identifier in the target data set is in the range of 1001-1100, and belongs to the second service level.
  • the accuracy of the service level division of the target application identifier is increased by calculating and analyzing the service parameter corresponding to the target application identifier.
  • the second identifier obtaining module 12 is configured to acquire a neighboring data set of the target data set when the number of identifiers of the first application identifier in the target data set does not reach a preset number threshold, and in the adjacent data Obtaining a second application identifier of the target quantity in the collection;
  • the second identifier obtaining module 12 may acquire the adjacent data set of the target data set, and in the phase Obtain a second application identifier of the target quantity in the neighbor data set.
  • FIG. 9 is a schematic structural diagram of a second identifier obtaining module according to an embodiment of the present application.
  • the second identifier obtaining module 12 may include:
  • a time detecting unit 121 configured to detect a storage time of the target application identifier in the target data set, where the target application identifier is an application identifier that has the longest storage time in the target data set;
  • the time detecting unit 121 may detect the storage time of the target application identifier in the target data set, and the target application identifier is the application identifier with the longest storage time in the target data set.
  • the data set shown in FIG. 4, wherein the dotted line box includes the data set of the application identifiers A, B, and C as the target data set, and the application identifier A with the longest storage time (10s) in the set is the target application identifier.
  • the second identifier obtaining unit 122 is configured to: when the storage time of the target application identifier is equal to the first preset time threshold, and the number of identifiers of the first application identifier in the target data set does not reach the preset number threshold, obtain the location An adjacent data set of the target data set, and obtaining a target quantity of the second application identifier in the adjacent data set;
  • the first preset time threshold may be the maximum time of the first matching of the preset target application identifier in the target data set, for example, the game player A performs in the target data set.
  • the maximum time for the first match is 10 s.
  • the first preset time threshold is reached.
  • the preset number threshold is a value that should be satisfied by the number of identifiers of the first application identifier in the preset target data set. For example, the number of people that a game opening should satisfy is 4, and 4 is a preset number threshold.
  • the second identifier obtaining unit 122 may Acquiring the neighboring data set of the target data set, the service level corresponding to the adjacent data set may be lower than the service level corresponding to the target data set, or may be higher than the target data set.
  • the business level for example, when the target data set is the target data set shown in FIG.
  • the adjacent data set may be the target data set
  • the adjacent data set containing the application identifiers J and K may also be a data set containing the application identifiers D, E, F, and H.
  • the second identifier obtaining unit 122 may bundle the first application identifiers in the target data set to expand the matching range, and obtain the target number of second application identifiers in the adjacent data set, which can be understood.
  • the second application identifier is an application identifier obtained by the second identifier acquisition unit 122 from the neighboring data set, and the target quantity may be the number of the second application identifier, which may be the pre- Setting the difference between the quantity threshold and the number of identifiers, for example, the identifier data of the first application identifier in the target data set in FIG.
  • the application identification matching device can obtain from the adjacent data set A second application identifier of number 3, that is, 3 people are added to the game from the adjacent data set.
  • the second application identifier is an application identifier that stores the longest time in the adjacent data set.
  • the application identifier matching device acquires the D, E, and F application identifiers in the neighboring data (the data set including the application identifiers D, E, F, and H).
  • the matching result returning module 13 is configured to return a service matching result including the first application identifier and the second application identifier to the user terminal;
  • the matching result returning module 13 may return the content to the user terminal.
  • the service matching result of the first application identifier and the second application identifier for example, after the number of users is met, the matching result returning module 13 may return a player who can start the game to the user terminal, optionally After the matching result returning module 13 returns the service matching result to the user terminal, the user identifier in the target data set may be removed, so that the new user identifier enters.
  • the service level corresponding to the adjacent data set is in close proximity to the service level corresponding to the target data set
  • the service attribute of the second application identifier in the adjacent data set is related to the target data set.
  • the business attribute of the first application identifier in the middle is also close. For example, the game attribute value of the game player of the first service level and the game player of the second service level are close, and the players of the two similar levels are matched in the same game. In the middle, there will be no significant impact on the player experience due to the disparity in the ability value.
  • the information returning module 16 is configured to: when the storage time of the target application identifier is equal to a third preset time threshold, and the sum of the identifier quantity of the first application identifier and the target quantity of the second application identifier does not reach the When the threshold number is preset, the prompt information of the matching failure is returned to the user terminal;
  • the third preset time threshold may be a sum of a matching time of the preset target application identifier in the target data set and a matching time of the second application identifier in the adjacent data set. The maximum value.
  • the information returning module 16 may return the prompt information of the matching failure to the user terminal.
  • FIG. 5a is a display interface of the user terminal when the game player is matching, when the storage time of the target application identifier is equal to a third preset time threshold, and the number of identifiers of the first application identifier and the second application
  • the user terminal may display the matching failure prompt information as shown in FIG. 5b, wherein “coming back later” in FIG. 5b may exit the matching interface, “continue Match" to start matching again.
  • the second identifier obtaining unit 122 may include:
  • the first set acquisition sub-unit 1221 The first neighboring data set of the target data set may be obtained. It may be understood that the service level corresponding to the first neighboring data set is lower than the service level corresponding to the target data set, for example, when the target data set is used.
  • the first adjacent data set is the service level lower than the target data set, and includes the application identifier D. , E, F, and H data sets.
  • the first set obtaining sub-unit 1221 may bundle the first application identifiers in the target data set to expand the matching range, and obtain the first quantity of the second application in the first neighboring data set.
  • the identifier may be understood that the first quantity may be a quantity of the second application identifier matched in the first neighboring data set, for example, the target data set in FIG.
  • the identification data of the first application identifier in the data set of the application identifiers A, B, and C is 3 (can be understood as 3 players being matched), and the preset number threshold is 6 (it can be understood as, 6 is required)
  • the application identifier matching device may obtain the first quantity 3 of the second application identifier from the first adjacent data set (the data set including the application identifiers D, E, F, and H), that is, from Three people in the first adjacent data set are added to the game. It can be understood that the first quantity of the second application identifier is the application identifier that stores the longest time in the first neighboring data set, that is, the three second applications acquired in the first neighboring data set. Marked as D, E, and F.
  • a second set obtaining sub-unit 1222 when the storage time of the target application identifier is equal to a second preset time threshold, and the sum of the number of identifiers of the first application identifier and the first quantity in the target data set does not reach Obtaining a second adjacent data set of the target data set, and acquiring a second quantity of second application identifiers in the second adjacent data set;
  • the second set of acquisition time sub-units 1222 can obtain the second adjacent data set of the target data set.
  • the second preset time threshold may be the basis of the first preset time threshold.
  • the matching time of the application identifier in the preset first neighboring data set for example, the first preset time threshold is 10s, and the second preset time threshold may be 5s after the first preset time threshold, which needs to be explained.
  • the second preset time threshold and the size of the first preset time threshold are not necessarily related.
  • the service level corresponding to the second adjacent data set is higher than the service level corresponding to the target data set, for example, when the target data set is the target data set shown in FIG. 4 (the application identifier A is included in the dotted line box, The data set of B and C), the second adjacent data set is a data set whose service level is higher than the target data set and contains the application identifiers J and K.
  • the second set obtaining sub-unit 1222 may obtain a second quantity of second application identifiers in the second neighboring data set, for example, as shown in FIG. 4, the first set obtaining sub-unit 1221 is in the The matching time in the first adjacent data set (the data set including the application identifiers D, E, F, and H) is 5s equal to the second preset time threshold, and the target data set and the application in the first adjacent data set When the sum of the number of identifiers is 7, less than the preset number threshold 9 (ie, 9 players need to start the game), the second set obtaining sub-unit 1222 may be in the second adjacent data set (including the data of the application identifiers J and K). The second application identifier of the second quantity (value 2) is obtained in the set).
  • the information returning module 16 is specifically configured to: when the storage time of the target application identifier is equal to a third preset time threshold, and the number of identifiers of the first application identifier, When the sum of the first quantity and the second quantity does not reach the preset number threshold, the prompt information of the matching failure is returned to the user terminal. It can be understood that the sum of the first quantity and the second quantity is a difference between the preset quantity threshold and the number of identifiers.
  • the adjacent data set is not limited to the first adjacent data set and the second adjacent data set adjacent to the target data set, and may be that the service level is lower than the first adjacent data set.
  • the data collection range of the application identifier matching is continuously expanded, and the probability of successful matching is increased.
  • the service level of the target application identifier is obtained by receiving the service matching request that is sent by the user terminal and carries the target application identifier, and the target application identifier is placed in the target data set corresponding to the service level, and the target data is used.
  • the number of identifiers of the first application identifier in the set does not reach the preset number threshold, the neighboring data set of the target data set is obtained, and the second application identifier of the target quantity is obtained in the adjacent data set, where the target quantity is preset The difference between the quantity threshold and the number of identifiers.
  • the service matching result including the first application identifier and the second application identifier is returned to the user terminal.
  • the application identifier corresponding to the service parameter with the same or similar service level is matched, and the interactive resource is allocated to the matched application identifier, thereby improving the rationality of the resource allocation.
  • the accuracy of the service level division of the target application identifier is increased; and based on the third preset time threshold, the data collection range of the application identifier matching is continuously expanded, and the matching success is increased. The probability.
  • the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium may store a plurality of instructions, the instructions being adapted to be loaded by a processor and executing the method steps of the embodiment shown in FIG. 1 to FIG. 6 above.
  • the computer storage medium may store a plurality of instructions, the instructions being adapted to be loaded by a processor and executing the method steps of the embodiment shown in FIG. 1 to FIG. 6 above.
  • FIG. 11 is a schematic structural diagram of another server according to an embodiment of the present application.
  • the server 1000 may include at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display and a keyboard.
  • the optional user interface 1003 can also include a standard wired interface and a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 1005 can also optionally be at least one storage device located remotely from the aforementioned processor 1001. As shown in FIG. 11, an operating system, a network communication module, a user interface module, and a page display application may be included in the memory 1005 as a computer storage medium.
  • the user interface 1003 is mainly used to provide an input interface for the user to acquire data input by the user;
  • the network interface 1004 is used for data communication with the user terminal; and
  • the processor 1001 can be used to call the memory.
  • the application ID stored in 1005 matches the application and performs the following operations:
  • the processor may receive a service matching request that is sent by the user terminal and carries the target application identifier.
  • the target application identifier may be a login account when the user logs in to the target application, for example, when the user logs in to the game. Game account.
  • the service matching request may be a request message requesting matching of the target application identifier.
  • the processor may obtain the service level to which the target application identifier belongs, and place the target application identifier in the target data set corresponding to the service level, and the specific implementation process may refer to the foregoing method embodiment. Description, no longer repeat here.
  • the target number is a difference between the preset number threshold and the number of identifiers
  • the service level corresponding to the neighboring data set is higher or lower than a service level corresponding to the target data set, and
  • the service level corresponding to the target data set is adjacent to the service level
  • the processor may acquire a neighboring data set of the target data set, and it may be understood that the An application identifier is a collective name of all application identifiers in the target data set, and the preset number threshold is a quantity that the identification data of the first application identifier in the preset target data set should satisfy, for example, a game opening
  • the number of people that should be met is 4, and 4 is the preset number threshold.
  • the service level corresponding to the adjacent data set may be lower than the service level corresponding to the target data set, or may be higher than the service level corresponding to the target data set, for example, when the service level corresponding to the target data set is the second
  • the service level, the service level corresponding to the neighboring data set may be the third service level or the first service level.
  • the processor may bundle the first application identifiers in the target data set to expand the matching range, and obtain a target number of second application identifiers in the adjacent data set, which may be understood.
  • the second application identifier is an application identifier that is obtained by the processor from the neighboring data set, where the target number may be the number of the second application identifier, and may be the preset number threshold and the number of identifiers.
  • the processor may A second application identifier of the number 1 is obtained from the adjacent data set, that is, one person is added to the game from the adjacent data set.
  • a service matching result including the first application identifier and the second application identifier
  • the processor After the processor obtains the application identifier of the preset number threshold from the target data set and the neighboring data set, the first application identifier and the The service matching result of the second application identifier, for example, after the number of the users is met, the processor returns a player that can start the game to the user terminal.
  • the application identifier matching device returns to the user terminal.
  • the user identifier in the target data set may be removed, so that the new user identifier enters.
  • the service level corresponding to the adjacent data set is in close proximity to the service level corresponding to the target data set
  • the service attribute of the second application identifier in the adjacent data set is related to the target data set.
  • the business attribute of the first application identifier in the middle is also close. For example, the game attribute value of the game player of the first service level and the game player of the second service level are close, and the players of the two similar levels are matched in the same game. In the middle, there will be no significant impact on the player experience due to the disparity in the ability value.
  • the processor 1001 performs the following operations before performing the service matching request that is sent by the user terminal and carries the target application identifier:
  • the processor may obtain the target application identifier of the current login target application. It may be understood that the target application identifier may be a login account when the user logs in to the target application, for example, a game account when the user logs in to the game.
  • the processor may obtain a service parameter corresponding to the target application identifier, and it may be understood that the service parameter may be a parameter that represents a related capability or attribute of the target application identifier, for example, a game player's winning rate, Escape rate, level, and 30 common hero attribute values.
  • the processor may calculate, according to the service parameter, a service attribute corresponding to the target application identifier by using a preset attribute formula
  • the preset attribute calculation formula may be Where k is the weight of n numerical attributes, and w includes all business parameters of the target application identification, for example, the game player's winning rate, escape rate, rating, and 30 common hero attribute values.
  • the value of the business attribute obtained by calculating the preset attribute formula may represent a virtual attribute of the service parameter corresponding to the application identifier, for example, a virtual ability value representing the game player.
  • the processor 1001 performs the following operations when performing the acquiring the service level to which the target application identifier belongs:
  • the processor may obtain the service attribute corresponding to the target application identifier, and may match the service level range of the service attribute in the preset level list.
  • the preset level list may be As shown in the level list in Figure 3, the ID in the table indicates the level, the lowest And highest Indicates the lowest virtual attribute value and the highest virtual attribute value in the corresponding level range, respectively. For example, when the service attribute corresponding to the target application identifier is 1110, the service level of the service attribute corresponding to the target application identifier belongs to the range of 1101-1200.
  • the processor may obtain a service level corresponding to the service level range, and place the target application identifier in a target data set corresponding to the service level, for example, for the level list shown in FIG. If the service level of the service attribute corresponding to the target application identifier is in the range of 1101-1200, the application identifier matching device may obtain the service level corresponding to the service level range, that is, the third service level.
  • the processor 1001 acquires a neighboring data set of the target data set when the number of identifiers of the first application identifier in the target data set does not reach a preset number threshold, and performs When the second application identifier of the target quantity is obtained in the adjacent data set, the following operations are performed:
  • the processor may detect a storage time of the target application identifier in the target data set, and the target application identifier is an application identifier that has the longest storage time in the target data set.
  • the first preset time threshold may be the maximum time of the first matching of the preset target application identifier in the target data set, for example, the game player A performs in the target data set.
  • the maximum time for the first match is 10 s.
  • the first preset time threshold is reached.
  • the preset number threshold is a value that should be satisfied by the number of identifiers of the first application identifier in the preset target data set. For example, the number of people that a game opening should satisfy is 4, and 4 is a preset number threshold.
  • the processor may obtain the A set of adjacent data of the target data set, and obtaining a target number of second application identifiers in the adjacent data set.
  • the processor 1001 when the processor 1001 performs the acquisition of the adjacent data set of the target data set, and obtains the target quantity of the second application identifier in the adjacent data set, the processor 1001 performs the following operations: a first adjacent data set of the target data set, and acquiring a first quantity of second application identifiers in the first neighboring data set, where the first quantity of second application identifiers is at the first The application identifier with the longest storage time in the adjacent data set;
  • the processor may obtain the The first adjacent data set of the target data set is understood to be that the service level corresponding to the first adjacent data set is lower than the service level corresponding to the target data set, for example, when the target data set is in FIG.
  • the target data set is shown (the data set containing the application identifiers A, B, and C in the dashed box)
  • the first adjacent data set is the service level lower than the target data set, and includes the application identifiers D, E, and F. And H's data collection.
  • the processor may bundle the first application identifiers in the target data set to expand the matching range, and obtain the first quantity of the second application identifiers in the first neighboring data set, which is understandable.
  • the first quantity may be a quantity of the second application identifier matched in the first neighboring data set, for example, the target data set in FIG.
  • the identification data of the first application identifier in the data set of C and C is 3 (can be understood as 3 players being matched), and the preset number threshold is 6 (it can be understood that 6 players are required to start)
  • the application identifier matching device may obtain the first quantity 3 of the second application identifier from the first neighboring data set (the data set including the application identifiers D, E, F, and H), that is, the first neighbor data. Find 3 people in the collection to join the game. It can be understood that the first quantity of the second application identifier is the application identifier that stores the longest time in the first neighboring data set, that is, the three second applications acquired in the first neighboring data set. Marked as D, E, and F.
  • the storage time of the target application identifier is equal to the second preset time threshold, and the sum of the identifier number of the first application identifier and the first quantity in the target data set does not reach the preset quantity threshold, obtain a second adjacent data set of the target data set, and acquiring a second quantity of second application identifiers in the second adjacent data set, the second quantity of second application identifiers being in the second The application identifier with the longest storage time in the adjacent data set;
  • the processor may obtain the second adjacent data set of the target data set.
  • the second preset time threshold may be based on the first preset time threshold.
  • the first preset time threshold is 10s
  • the second preset time threshold may be 5s after the first preset time threshold. It should be noted that, The second preset time threshold and the size of the first preset time threshold are not necessarily related.
  • the service level corresponding to the second adjacent data set is higher than the service level corresponding to the target data set, for example, when the target data set is the target data set shown in FIG. 4 (the application identifier A is included in the dotted line box, The data set of B and C), the second adjacent data set is a data set whose service level is higher than the target data set and contains the application identifiers J and K.
  • the processor may obtain a second quantity of second application identifiers in the second neighboring data set, for example, as shown in FIG. 4, the processor is in the first neighboring data set (including an application)
  • the matching time in the data set identifying the D, E, F, and H is 5s equal to the second preset time threshold, and the sum of the target data set and the number of application identifiers in the first adjacent data set is 7, less than the pre-
  • the processor may acquire the second quantity (value 2) in the second adjacent data set (the data set including the application identifiers J and K).
  • Application ID the second quantity of second application identifiers in the second neighboring data set
  • the processor 1001 also performs the following operations:
  • the third preset time threshold may be a sum of a matching time of the preset target application identifier in the target data set and a matching time of the second application identifier in the adjacent data set. The maximum value.
  • FIG. 5a is a display interface of the user terminal when the game player is matching, when the storage time of the target application identifier is equal to a third preset time threshold, and the number of identifiers of the first application identifier and the second application
  • the user terminal may display the matching failure prompt information as shown in FIG. 5b, wherein “coming back later” in FIG. 5b may exit the matching interface, “continue Match” to start matching again.
  • the service level of the target application identifier is obtained by receiving the service matching request that is sent by the user terminal and carries the target application identifier, and the target application identifier is placed in the target data set corresponding to the service level, and the target data is used.
  • the number of identifiers of the first application identifier in the set does not reach the preset number threshold, the neighboring data set of the target data set is obtained, and the second application identifier of the target quantity is obtained in the adjacent data set, where the target quantity is preset The difference between the quantity threshold and the number of identifiers.
  • the service matching result including the first application identifier and the second application identifier is returned to the user terminal.
  • the application identifier corresponding to the service parameter with the same or similar service level is matched, and the interactive resource is allocated to the matched application identifier, thereby improving the rationality of the resource allocation.
  • the accuracy of the service level division of the target application identifier is increased; and based on the third preset time threshold, the data collection range of the application identifier matching is continuously expanded, and the matching success is increased. The probability.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种应用标识匹配方法及其设备、存储介质、服务器,其中方法包括如下步骤:接收用户终端发送的携带有目标应用标识的业务匹配请求,获取目标应用标识所属业务级别,并将目标应用标识置于所述业务级别对应的目标数据集合中(S101);当目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取目标数据集合的相邻数据集合,并在相邻数据集合中获取目标数量的第二应用标识(S102),所述目标数量为所述预设数量阈值与所述标识数量的差值;向用户终端返回包含第一应用标识和第二应用标识的业务匹配结果(S103)。采用本方法,可以提高资源分配的合理性。

Description

一种应用标识匹配方法、设备、存储介质及服务器
本申请要求于2017年5月25日提交中国专利局、申请号为201710379837.5、发明名称为“一种应用标识匹配方法及其设备、存储介质、服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种应用标识匹配方法、设备、存储介质及服务器。
技术背景
随着互联网技术的快速发展,手机、平板电脑等智能终端中的各类交互式应用(例如,游戏、视频以及购物等)也越来越深入人们的生活。现有技术中,安装有交互式应用的终端设备可以根据用户的标识信息(例如,登录账号)随机向用户分配交互式资源,例如,在线游戏PVP(Player VS Player)玩法中,同一局游戏中的玩家根据进场顺序凑齐人数后即可开局竞技,但是,进场的玩家在随机匹配的机制下,存在能力值差异化较大的冲突,影响了玩家的游戏体验和游戏长期留存的概率。在其他的交互式应用中,根据用户标识向用户随机匹配交互式资源的过程,也会因交互式资源与用户身份属性不符而影响资源匹配的合理性。
技术内容
本申请实施例提供一种应用标识匹配方法、设备、存储介质及服务器,可以实现对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,可以提高资源分配的合理性。
本申请实施例提供了一种应用标识匹配方法,包括:
服务器接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的 业务匹配结果。
本申请实施例提供了一种应用标识匹配设备,包括:处理器和与所述处理器相连的存储器;其中,所述存储器存储有可被所述处理器执行的计算机指令,所述计算机指令包括:
目标标识处理模块,用于接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
第二标识获取模块,用于当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
匹配结果返回模块,用于向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。
本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行以下步骤:
服务器接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。
本申请实施例提供了一种服务器,可包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行以下步骤:
所述服务器接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别, 且与所述目标数据集合对应的业务级别相邻;
所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。
在本申请实施例中,所述服务器通过接收用户终端发送的携带有目标应用标识的业务匹配请求,获取目标应用标识所属业务级别,并将目标应用标识置于业务级别对应的目标数据集合中,当目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取目标数据集合的相邻数据集合,并在相邻数据集合中获取目标数量的第二应用标识,其中,目标数量为预设数量阈值与标识数量的差值,最后,向用户终端返回包含第一应用标识和第二应用标识的业务匹配结果。通过分析与应用标识相关联的业务参数的业务级别,实现了对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,提高了资源分配的合理性。
附图简要说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种应用标识匹配方法的流程示意图;
图2是本申请实施例提供的另一种应用标识匹配方法的流程示意图;
图3是本申请实施例提供的预设级别列表的结构示意图;
图4是本申请实施例提供的数据集合确定示意图;
图5a-图5b是本申请实施例提供的终端匹配显示效果示意图;
图6是本申请实施例提供的另一种应用标识匹配方法的流程示意图;
图7是本申请实施例提供的一种应用标识匹配设备的结构示意图;
图8是本申请实施例提供的另一种应用标识匹配设备的结构示意图;
图9是本申请实施例提供的第二标识获取模块的结构示意图;
图10是本申请实施例提供的第二标识获取单元的结构示意图;
图11是本申请实施例提供的一种服务器的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下 所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例提供的应用标识匹配方法可以应用于通过玩家的虚拟能力值进行就近匹配,将能力值接近的玩家放在同一局中进行竞技的场景中,例如:应用标识匹配设备接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述应用标识匹配设备获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值;最后,所述应用标识匹配设备向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。通过分析与应用标识相关联的业务参数的业务级别,实现了对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,提高了资源分配的合理性。
本申请实施例涉及的应用标识匹配设备可以具备较强的数据承载能力和处理能力服务器,可以管理资源并为用户提供服务的计算机设备。
下面结合附图1-附图7,对本申请实施例提供的应用标识匹配方法进行详细介绍。
图1为本申请实施例提供了一种应用标识匹配方法的流程示意图。如图1所示,本申请实施例的所述方法可以包括步骤S101-步骤S103。
S101,服务器接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
具体的,应用标识匹配设备可以接收用户终端发送的携带有目标应用标识的业务匹配请求,可以理解的是,所述目标应用标识可以为用户登录目标应用时的登录账号,例如,用户登录游戏时的游戏账号。所述业务匹配请求可以为请求对所述目标应用标识进行匹配的请求报文。
进一步的,所述应用标识匹配设备可以获取所述目标应用标识对应的业务参数(例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等),并根据所述业务参数,采用预设属性公式计算所述目标应用标识对应的业务属性,可以理解的是,所述业务属性可以为能够代表业务参数平均水平的虚拟属性值(例如,用虚拟属性值综合代表游戏玩家的胜率、逃跑率以及等级等属性参数),最后在预设级别列表中匹配所述业务属性所属业务级别范围,并获取所述业务级别范围对应的业务级别,可以理解的是,所述预设级别列表可以为预先设置的各个业务级别所对应的业务级别范围的列表,例如,目标应用标识的业务属性在0-1000范围内可以是第一业务级别或者在1001-1100范围内可以是第二业务级别等。
进一步的,所述应用标识匹配设备可以将所述目标应用标识置于所述业务级别 对应的目标数据集合中,可以理解的是,所述目标数据集合可以为当前待处理的数据集合,集合中的用户标识对应的业务级别同属于所述预设级别列表中的同一级别,例如,所述目标数据集合中用户标识的业务属性都在1001-1100范围内,同属于第二业务级别。
S102,当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识;
具体的,当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述应用标识匹配设备可以获取所述目标数据集合的相邻数据集合,可以理解的是,所述第一应用标识为所示目标数据集合中所有应用标识的统称,所述预设数量阈值为预先设定的目标数据集合中的第一应用标识的标识数据应该满足的数量,例如,一局游戏开局应该满足的人数为4人,4就是预设数量阈值。所述相邻数据集合对应的业务级别可以低于所述目标数据集合对应的业务级别,也可以高于所述目标数据集合对应的业务级别,例如,当目标数据集合对应的业务级别为第二业务级别,则所述相邻数据集合对应的业务级别可以是第三业务级别或者第一业务级别。
进一步的,所述应用标识匹配设备可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述相邻数据集合中获取目标数量的第二应用标识,可以理解的是所述第二应用标识为所述应用标识匹配设备从所述相邻数据集合中获取的应用标识,所述目标数量可以为所述第二应用标识的数量,可以是所述预设数量阈值与所述标识数量的差值,例如,一局游戏需要4个人才能开局即预设数量阈值为4,目标数据集合中第一应用标识的标识数量为3即已经进入游戏的有3人,则所述应用标识匹配设备可以从相邻数据集合中获取数量为1的第二应用标识,即从相邻数据集合中找1人加入游戏。
S103,所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果;
具体的,当所述应用标识匹配设备从所述目标数据集合和所述相邻数据集合中获取到预设数量阈值的应用标识后,可以向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果,例如,当满足开局人数后,所述应用标识匹配设备向所述用户终端返回可以进行游戏开局的玩家,可选的,所述应用标识匹配设备向所述用户终端返回所述业务匹配结果后,可以将所述目标数据集合中的用户标识移除,以便新的用户标识进入。
需要说明的是,所述相邻数据集合对应的业务级别跟所述目标数据集合对应的业务级别是紧邻的,所述相邻数据集合中的第二应用标识的业务属性与所述目标数据集合中的第一应用标识的业务属性也是接近的,例如,第一业务级别的游戏玩家与第二业务级别的游戏玩家的玩家属性值是接近的,将两个相近级别的玩家匹配在 同一局游戏中时,不会由于能力值悬殊较大影响玩家体验。
在本申请实施例中,通过接收用户终端发送的携带有目标应用标识的业务匹配请求,获取目标应用标识所属业务级别,并将目标应用标识置于业务级别对应的目标数据集合中,当目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取目标数据集合的相邻数据集合,并在相邻数据集合中获取目标数量的第二应用标识,其中,目标数量为预设数量阈值与标识数量的差值,最后,向用户终端返回包含第一应用标识和第二应用标识的业务匹配结果。而当目标数据集合中第一应用标识的标识数量达到预设数量阈值时,服务器可以向用户终端返回包含目标数据集合中预设数量第一应用标识的业务匹配结果。通过分析与应用标识相关联的业务参数的业务级别,实现了对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,提高了资源分配的合理性。而且,当匹配成功后,还可以从目标数据集合和/或相邻数据集合中去除已匹配成功的第一应用标识或者第二应用标识。
图2为本申请实施例提供了另一种应用标识匹配方法的流程示意图。如图2所示,本申请实施例的所述方法可以包括步骤S201-步骤S208。
S201,服务器获取当前登录目标应用的目标应用标识,并获取所述目标应用标识对应的业务参数;
具体的,所述应用标识匹配设备可以获取当前登录目标应用的目标应用标识,可以理解的是,所述目标应用标识可以为用户登录目标应用时的登录账号,例如,用户登录游戏时的游戏账号。
进一步的,所述应用标识匹配设备可以获取所述目标应用标识对应的业务参数,可以理解的是,所述业务参数可以是代表所述目标应用标识相关能力或者属性的参数,例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等。
S202,所述服务器根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性;
具体的,所述应用标识匹配设备可以根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性,可以理解的是,所述预设属性计算公式可以为
Figure PCTCN2018087605-appb-000001
其中,k为n个数值属性的权重,w包括了该目标应用标识的所有业务参数,例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等。可以理解的是,经过预设属性公式计算后得到的业务属性这一数值可以代表应用标识对应的业务参数的虚拟属性,例如,代表游戏玩家的虚拟能力值。
S203,所述服务器接收用户终端发送的携带有目标应用标识的业务匹配请求;
具体的,所述应用标识匹配设备可以接收用户终端发送的携带有目标应用标识的业务匹配请求,可以理解的是,所述业务匹配请求可以为请求对所述目标应用标 识进行匹配的请求报文。
需要说明的是,所述应用标识匹配设备可以在检测到用户登录目标应用的目标登录标识后计算所述目标应用标识对应的业务属性,可选的,所述应用标识匹配设备也可以在接收到携带有目标应用标识的业务匹配请求时,计算所述目标应用标识对应的业务属性。
S204,所述服务器获取所述目标应用标识对应的业务属性,在预设级别列表中匹配所述业务属性所属业务级别范围,并获取所述业务级别范围对应的业务级别,将所述目标应用标识置于所述业务级别对应的目标数据集合中;
具体的,所述应用标识匹配设备可以获取所述目标应用标识对应的业务属性,并可以在预设级别列表中匹配所述业务属性所属业务级别范围,可以理解的是,所述预设级别列表可以是如图3所示的级别列表,表中ID表示级别,最低
Figure PCTCN2018087605-appb-000002
和最高
Figure PCTCN2018087605-appb-000003
分别指示相应级别范围内的最低虚拟属性值和最高虚拟属性值。例如,当目标应用标识对应的业务属性为1110时,该目标应用标识对应的业务属性所属业务级别范围为1101-1200。
进一步的,所述应用标识匹配设备可以获取所述业务级别范围对应的业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中,例如,针对图3所示的级别列表,若目标应用标识对应的业务属性所属业务级别范围为1101-1200,则所述应用标识匹配设备可以获取该业务级别范围对应的业务级别即第三业务级别。进一步的,所述应用标识匹配设备可以将所述目标应用标识置于所述业务级别对应的目标数据集合中,可以理解的是,所述目标数据集合可以为当前待处理的数据集合,集合中的用户标识对应的业务级别同属于所述预设级别列表中的同一级别,例如,所述目标数据集合中用户标识的业务属性都在1001-1100范围内,同属于第二业务级别。
在本申请实施例中,通过对目标应用标识对应的业务参数的计算分析,增加了对目标应用标识进行业务级别划分的准确性。
S205,所述服务器检测所述目标应用标识在所述目标数据集合中的存储时间;
具体的,所述应用标识匹配设备可以检测所述目标应用标识在所述目标数据集合中的存储时间,需要说明的是,所述目标应用标识为所述目标数据集合中存储时间最长的应用标识。例如,图4所示的数据集合,其中虚线框中包括应用标识A、B和C的数据集合作为目标数据集合,该集合中的存储时间最长(10s)的应用标识A为目标应用标识。
S206,当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识;
可以理解的是,所示第一预设时间阈值可以为预先设定的目标应用标识在所述目标数据集合中的第一次匹配的最长时间,例如,游戏玩家A在目标数据集合中进行第一次匹配的最长时间为10s,当玩家A在所述目标数据集合中的存储时间为10s时,即达到了第一预设时间阈值。所述预设数量阈值为预先设定的目标数据集合中的第一应用标识的标识数量应该满足的值,例如,一局游戏开局应该满足的人数为4人,4就是预设数量阈值。
具体的,当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述应用标识匹配设备可以获取所述目标数据集合的相邻数据集合,可以理解的是,所述相邻数据集合对应的业务级别可以低于所述目标数据集合对应的业务级别,也可以高于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,相邻数据集合可以是与该目标数据集合相邻的包含应用标识J和K的数据集合也可以是包含应用标识D、E、F和H的数据集合。
进一步的,所述应用标识匹配设备可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述相邻数据集合中获取目标数量的第二应用标识,可以理解的是所述第二应用标识为所述应用标识匹配设备从所述相邻数据集合中获取的应用标识,所述目标数量可以为所述第二应用标识的数量,可以是所述预设数量阈值与所述标识数量的差值,例如,图4中的目标数据集合(虚线框中的包含第一应用标识A、B和C的数据集合)中的第一应用标识的标识数据为3(可以理解为正在匹配的游戏玩家为3人),而预设数量阈值为6(可以理解为,需要6位玩家才能开局),则所述应用标识匹配设备可以从相邻数据集合中获取数量为3的第二应用标识,即从相邻数据集合中找3人加入游戏。
需要说明的是,所述第二应用标识为在所述相邻数据集合中存储时间最长的应用标识。例如,所述应用标识匹配设备获取的是相邻数据(包含应用标识D、E、F和H的数据集合)中的D、E、F应用标识。
S207,所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果;
具体的,当所述应用标识匹配设备从所述目标数据集合和所述相邻数据集合中获取到预设数量阈值的应用标识后,可以向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果,例如,当满足开局人数后,所述应用标识匹配设备可以向所述用户终端返回可以进行游戏开局的玩家,可选的,所述应用标识匹配设备向所述用户终端返回所述业务匹配结果后,可以将所述目标数据集合中的用户标识移除,以便新的用户标识进入。
需要说明的是,所述相邻数据集合对应的业务级别跟所述目标数据集合对应的 业务级别是紧邻的,所述相邻数据集合中的第二应用标识的业务属性与所述目标数据集合中的第一应用标识的业务属性也是接近的,例如,第一业务级别的游戏玩家与第二业务级别的游戏玩家的玩家属性值是接近的,将两个相近级别的玩家匹配在同一局游戏中时,不会由于能力值悬殊较大影响玩家体验。
S208,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量和所述第二应用标识的目标数量之和未达到所述预设数量阈值时,所述服务器向所述用户终端返回匹配失败的提示信息;
可以理解的是,所述第三预设时间阈值可以为预先设定的目标应用标识在所述目标数据集合中的匹配时间和第二应用标识在所述相邻数据集合中的匹配时间之和的最大值。
具体的,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量和所述第二应用标识的目标数量之和未达到所述预设数量阈值时,所述应用标识匹配设备可以向所述用户终端返回匹配失败的提示信息。例如,图5a为游戏玩家正在匹配时,用户终端的显示界面,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量和所述第二应用标识的目标数量之和未达到所述预设数量阈值时,所述用户终端可以显示如图5b所示的匹配失败提示信息,其中图5b中的“稍后再来”可以退出匹配界面,“继续匹配”则可以重新开始匹配。
在本申请实施例一种具体实现方式中,所述获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识可以包括以下几个步骤,如图6所示:
S301,服务器获取所述目标数据集合的第一相邻数据集合,并在所述第一相邻数据集合中获取第一数量的第二应用标识;
具体的,当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述应用标识匹配设备可以获取所述目标数据集合的第一相邻数据集合,可以理解的是,所述第一相邻数据集合对应的业务级别低于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,第一相邻数据集合是业务级别低于该目标数据集合,且包含应用标识D、E、F和H的数据集合。
进一步的,所述应用标识匹配设备可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述第一相邻数据集合中获取第一数量的第二应用标识,可以理解的是,所述第一数量可以是在所述第一相邻数据集合中匹配的第二应用标识的数量,例如,图4中的目标数据集合(虚线框中的包含第一应用标识A、B和C的数据集合)中的第一应用标识的标识数据为3(可以理解为正在匹配的游戏玩 家为3人),而预设数量阈值为6(可以理解为,需要6位玩家才能开局),则所述应用标识匹配设备可以从第一相邻数据集合(包含应用标识D、E、F和H的数据集合)中获取第一数量3的第二应用标识,即从第一相邻数据集合中找3人加入游戏。可以理解的是,所述第一数量的第二应用标识为在所述第一相邻数据集合中存储时间最长的应用标识,即在第一相邻数据集合中获取的3个第二应用标识为D、E和F。
S302,当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,所述服务器获取所述目标数据集合的第二相邻数据集合,并在所述第二相邻数据集合中获取第二数量的第二应用标识;
具体的,当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,所述应用标识匹配设备可以获取所述目标数据集合的第二相邻数据集合,可以理解的是,所述第二预设时间阈值可以为在所述第一预设时间阈值的基础上,预设的第一相邻数据集合中应用标识的匹配时间,例如,第一预设时间阈值为10s,第二预设时间阈值可以是在第一预设时间阈值之后的5s,需要说明的是,第二预设时间阈值和第一预设时间阈值的大小没有必然关系。所述第二相邻数据集合对应的业务级别高于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,第二相邻数据集合是业务级别高于该目标数据集合,且包含应用标识J和K的数据集合。
进一步的,所述应用标识匹配设备可以在所述第二相邻数据集合中获取第二数量的第二应用标识,例如图4所示,所述应用标识匹配设备在所述第一相邻数据集合(包含应用标识D、E、F和H的数据集合)中的匹配时间为5s等于第二预设时间阈值,而目标数据集合和第一相邻数据集合中的应用标识的数量之和为7,小于预设数量阈值9(即游戏开局需要9人)时,所述应用标识匹配设备可以在第二相邻数据集合(包含应用标识J和K的数据集合)中获取第二数量(值为2)的第二应用标识。
在本申请实施例的具体实施方式中,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量、所述第一数量以及所述第二数量之和未达到所述预设数量阈值时,向所述用户终端返回匹配失败的提示信息。可以理解的是,所述第一数量和所述第二数量之和为所述预设数量阈值与所述标识数量的差值。
需要说明的是,所述相邻数据集合并不只限于与所述目标数据集合相邻的第一相邻数据集合和第二相邻数据集合,也可以是业务级别低于第一相邻数据集合对应的业务级别的第三相邻数据集合、业务级别高于第二相邻数据集合对应的业务级别的第四相邻数据集合或者与第三相邻数据集合或第四相邻数据集合相邻的数据集合。可以理解的是,只要在第三预设时间阈值内,所述应用标识匹配设备可以最大 限度的在相邻数据集合中获取应用标识,直到达到预设数量阈值。
在本申请实施例中,基于第三预设时间阈值,不断扩大应用标识匹配的数据集合范围,增加了匹配成功的概率。
在本申请实施例中,通过接收用户终端发送的携带有目标应用标识的业务匹配请求,获取目标应用标识所属业务级别,并将目标应用标识置于业务级别对应的目标数据集合中,当目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取目标数据集合的相邻数据集合,并在相邻数据集合中获取目标数量的第二应用标识,其中,目标数量为预设数量阈值与标识数量的差值,最后,向用户终端返回包含第一应用标识和第二应用标识的业务匹配结果。通过分析与应用标识相关联的业务参数的业务级别,实现了对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,提高了资源分配的合理性;通过对目标应用标识对应的业务参数的计算分析,增加了对目标应用标识进行业务级别划分的准确性;基于第三预设时间阈值,不断扩大应用标识匹配的数据集合范围,增加了匹配成功的概率。
下面将结合附图7-附图10,对本申请实施例提供的应用标识匹配设备进行详细介绍。需要说明的是,附图7-附图10所示的设备,用于执行本申请图1-图6所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图1-图6所示的实施例。
图7为本申请实施例提供了一种应用标识匹配设备的结构示意图。如图7所示,本申请实施例的所述应用标识匹配1可以包括:目标标识处理模块11、第二标识获取模块12和匹配结果返回模块13。
目标标识处理模块11,用于接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
具体实现中,目标标识处理模块11可以接收用户终端发送的携带有目标应用标识的业务匹配请求,可以理解的是,所述目标应用标识可以为用户登录目标应用时的登录账号,例如,用户登录游戏时的游戏账号。所述业务匹配请求可以为请求对所述目标应用标识进行匹配的请求报文。
进一步的,所述目标标识处理模块11可以获取所述目标应用标识对应的业务参数(例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等),并根据所述业务参数,采用预设属性公式计算所述目标应用标识对应的业务属性,可以理解的是,所述业务属性可以为能够代表业务参数平均水平的虚拟属性值(例如,用虚拟属性值综合代表游戏玩家的胜率、逃跑率以及等级等属性参数),最后在预设级别列表中匹配所述业务属性所属业务级别范围,并获取所述业务级别范围对应的业务级别,可以理解的是,所述预设级别列表可以为预先设置的各个业务级别所对 应的业务级别范围的列表,例如,目标应用标识的业务属性在0-1000范围内可以是第一业务级别或者在1001-1100范围内可以是第二业务级别等。
进一步的,所述目标标识处理模块11可以将所述目标应用标识置于所述业务级别对应的目标数据集合中,可以理解的是,所述目标数据集合可以为当前待处理的数据集合,集合中的用户标识对应的业务级别同属于所述预设级别列表中的同一级别,例如,所述目标数据集合中用户标识的业务属性都在1001-1100范围内,同属于第二业务级别。
第二标识获取模块12,用于当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识;
具体实现中,当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,第二标识获取模块12可以获取所述目标数据集合的相邻数据集合,可以理解的是,所述第一应用标识为所示目标数据集合中所有应用标识的统称,所述预设数量阈值为预先设定的目标数据集合中的第一应用标识的标识数据应该满足的数量,例如,一局游戏开局应该满足的人数为4人,4就是预设数量阈值。所述相邻数据集合对应的业务级别可以低于所述目标数据集合对应的业务级别,也可以高于所述目标数据集合对应的业务级别,例如,当目标数据集合对应的业务级别为第二业务级别,则所述相邻数据集合对应的业务级别可以是第三业务级别或者第一业务级别。
进一步的,所述第二标识获取模块12可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述相邻数据集合中获取目标数量的第二应用标识,可以理解的是所述第二应用标识为所述第二标识获取模块12从所述相邻数据集合中获取的应用标识,所述目标数量可以为所述第二应用标识的数量,可以是所述预设数量阈值与所述标识数量的差值,例如,一局游戏需要4个人才能开局即预设数量阈值为4,目标数据集合中第一应用标识的标识数量为3即已经进入游戏的有3人,则所述第二标识获取模块12可以从相邻数据集合中获取数量为1的第二应用标识,即从相邻数据集合中找1人加入游戏。
匹配结果返回模块13,用于向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果;
具体实现中,当所述应用标识匹配设备1从所述目标数据集合和所述相邻数据集合中获取到预设数量阈值的应用标识后,匹配结果返回模块13可以向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果,例如,当满足开局人数后,所述匹配结果返回模块13向所述用户终端返回可以进行游戏开局的玩家,可选的,所述匹配结果返回模块13向所述用户终端返回所述业务匹配结果后,可以将所述目标数据集合中的用户标识移除,以便新的用户标识进入。
需要说明的是,所述相邻数据集合对应的业务级别跟所述目标数据集合对应的业务级别是紧邻的,所述相邻数据集合中的第二应用标识的业务属性与所述目标数据集合中的第一应用标识的业务属性也是接近的,例如,第一业务级别的游戏玩家与第二业务级别的游戏玩家的玩家属性值是接近的,将两个相近级别的玩家匹配在同一局游戏中时,不会由于能力值悬殊较大影响玩家体验。
在本申请实施例中,通过接收用户终端发送的携带有目标应用标识的业务匹配请求,获取目标应用标识所属业务级别,并将目标应用标识置于业务级别对应的目标数据集合中,当目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取目标数据集合的相邻数据集合,并在相邻数据集合中获取目标数量的第二应用标识,其中,目标数量为预设数量阈值与标识数量的差值,最后,向用户终端返回包含第一应用标识和第二应用标识的业务匹配结果。通过分析与应用标识相关联的业务参数的业务级别,实现了对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,提高了资源分配的合理性。
见图8为本申请实施例提供了另一种应用标识匹配设备的结构示意图。如图8所示,本申请实施例的所述应用标识匹配设备1可以包括:目标标识处理模块11、第二标识获取模块12、匹配结果返回模块13、数据获取模块14、属性计算模块15和信息返回模块16。
数据获取模块14,用于获取当前登录目标应用的目标应用标识,并获取所述目标应用标识对应的业务参数;
具体实现中,数据获取模块14可以获取当前登录目标应用的目标应用标识,可以理解的是,所述目标应用标识可以为用户登录目标应用时的登录账号,例如,用户登录游戏时的游戏账号。
进一步的,所述数据获取模块14可以获取所述目标应用标识对应的业务参数,可以理解的是,所述业务参数可以是代表所述目标应用标识相关能力或者属性的参数,例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等。
属性计算模块15,用于根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性;
具体实现中,属性计算模块15可以根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性,可以理解的是,所述预设属性计算公式可以为
Figure PCTCN2018087605-appb-000004
其中,k为n个数值属性的权重,w包括了该目标应用标识的所有业务参数,例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等。可以理解的是,经过预设属性公式计算后得到的业务属性这一数值可以代表应用标识对应的业务参数的虚拟属性,例如,代表游戏玩家的虚拟能力值。
目标标识处理模块11,用于接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识对应的业务属性,在预设级别列表中匹配所述业务属性所属业务级别范围,并获取所述业务级别范围对应的业务级别,将所述目标应用标识置于所述业务级别对应的目标数据集合中;
具体实现中,目标标识处理模块11可以接收用户终端发送的携带有目标应用标识的业务匹配请求,可以理解的是,所述业务匹配请求可以为请求对所述目标应用标识进行匹配的请求报文。
需要说明的是,所述目标标识处理模块11可以在检测到用户登录目标应用的目标登录标识后计算所述目标应用标识对应的业务属性,可选的,所述目标标识处理模块11也可以在接收到携带有目标应用标识的业务匹配请求时,计算所述目标应用标识对应的业务属性。
进一步的,所述目标标识处理模块11可以获取所述目标应用标识对应的业务属性,并可以在预设级别列表中匹配所述业务属性所属业务级别范围,可以理解的是,所述预设级别列表可以是如图3所示的级别列表,表中ID表示级别,最低
Figure PCTCN2018087605-appb-000005
和最高
Figure PCTCN2018087605-appb-000006
分别指示相应级别范围内的最低虚拟属性值和最高虚拟属性值。例如,当目标应用标识对应的业务属性为1110时,该目标应用标识对应的业务属性所属业务级别范围为1101-1200。
进一步的,所述目标标识处理模块11可以获取所述业务级别范围对应的业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中,例如,针对图3所示的级别列表,若目标应用标识对应的业务属性所属业务级别范围为1101-1200,则所述目标标识处理模块11可以获取该业务级别范围对应的业务级别即第三业务级别。进一步的,所述目标标识处理模块11可以将所述目标应用标识置于所述业务级别对应的目标数据集合中,可以理解的是,所述目标数据集合可以为当前待处理的数据集合,集合中的用户标识对应的业务级别同属于所述预设级别列表中的同一级别,例如,所述目标数据集合中用户标识的业务属性都在1001-1100范围内,同属于第二业务级别。
在本申请实施例中,通过对目标应用标识对应的业务参数的计算分析,增加了对目标应用标识进行业务级别划分的准确性。
第二标识获取模块12,用于当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识;
具体实现中,当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,第二标识获取模块12可以获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识。
图9为本申请实施例提供了第二标识获取模块的结构示意图。如图9所示,所述第二标识获取模块12可以包括:
时间检测单元121,用于检测所述目标应用标识在所述目标数据集合中的存储时间,所述目标应用标识为所述目标数据集合中存储时间最长的应用标识;
具体实现中,时间检测单元121可以检测所述目标应用标识在所述目标数据集合中的存储时间,需要说明的是,所述目标应用标识为所述目标数据集合中存储时间最长的应用标识。例如,图4所示的数据集合,其中虚线框中包括应用标识A、B和C的数据集合作为目标数据集合,该集合中的存储时间最长(10s)的应用标识A为目标应用标识。
第二标识获取单元122,用于当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识;
可以理解的是,所示第一预设时间阈值可以为预先设定的目标应用标识在所述目标数据集合中的第一次匹配的最长时间,例如,游戏玩家A在目标数据集合中进行第一次匹配的最长时间为10s,当玩家A在所述目标数据集合中的存储时间为10s时,即达到了第一预设时间阈值。所述预设数量阈值为预先设定的目标数据集合中的第一应用标识的标识数量应该满足的值,例如,一局游戏开局应该满足的人数为4人,4就是预设数量阈值。
具体实现中,当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,第二标识获取单元122可以获取所述目标数据集合的相邻数据集合,可以理解的是,所述相邻数据集合对应的业务级别可以低于所述目标数据集合对应的业务级别,也可以高于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,相邻数据集合可以是与该目标数据集合相邻的包含应用标识J和K的数据集合也可以是包含应用标识D、E、F和H的数据集合。
进一步的,所述第二标识获取单元122可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述相邻数据集合中获取目标数量的第二应用标识,可以理解的是所述第二应用标识为所述第二标识获取单元122从所述相邻数据集合中获取的应用标识,所述目标数量可以为所述第二应用标识的数量,可以是所述预设数量阈值与所述标识数量的差值,例如,图4中的目标数据集合(虚线框中的包含第一应用标识A、B和C的数据集合)中的第一应用标识的标识数据为3(可以理解为正在匹配的游戏玩家为3人),而预设数量阈值为6(可以理解为,需要6位玩家才能开局),则所述应用标识匹配设备可以从相邻数据集合中获取数量为3 的第二应用标识,即从相邻数据集合中找3人加入游戏。
需要说明的是,所述第二应用标识为在所述相邻数据集合中存储时间最长的应用标识。例如,所述应用标识匹配设备获取的是相邻数据(包含应用标识D、E、F和H的数据集合)中的D、E、F应用标识。
匹配结果返回模块13,用于向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果;
具体实现中,当所述应用标识匹配设备1从所述目标数据集合和所述相邻数据集合中获取到预设数量阈值的应用标识后,匹配结果返回模块13可以向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果,例如,当满足开局人数后,所述匹配结果返回模块13可以向所述用户终端返回可以进行游戏开局的玩家,可选的,所述匹配结果返回模块13向所述用户终端返回所述业务匹配结果后,可以将所述目标数据集合中的用户标识移除,以便新的用户标识进入。
需要说明的是,所述相邻数据集合对应的业务级别跟所述目标数据集合对应的业务级别是紧邻的,所述相邻数据集合中的第二应用标识的业务属性与所述目标数据集合中的第一应用标识的业务属性也是接近的,例如,第一业务级别的游戏玩家与第二业务级别的游戏玩家的玩家属性值是接近的,将两个相近级别的玩家匹配在同一局游戏中时,不会由于能力值悬殊较大影响玩家体验。
信息返回模块16,用于当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量和所述第二应用标识的目标数量之和未达到所述预设数量阈值时,向所述用户终端返回匹配失败的提示信息;
可以理解的是,所述第三预设时间阈值可以为预先设定的目标应用标识在所述目标数据集合中的匹配时间和第二应用标识在所述相邻数据集合中的匹配时间之和的最大值。
具体实现中,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量和所述第二应用标识的目标数量之和未达到所述预设数量阈值时,信息返回模块16可以向所述用户终端返回匹配失败的提示信息。例如,图5a为游戏玩家正在匹配时,用户终端的显示界面,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量和所述第二应用标识的目标数量之和未达到所述预设数量阈值时,所述用户终端可以显示如图5b所示的匹配失败提示信息,其中图5b中的“稍后再来”可以退出匹配界面,“继续匹配”则可以重新开始匹配。
在本申请实施例一种具体实现方式中,如图10所示,所述第二标识获取单元122可以包括:
第一集合获取子单元1221,获取所述目标数据集合的第一相邻数据集合,并在所述第一相邻数据集合中获取第一数量的第二应用标识;
具体实现中,当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,第一集合获取子单元1221可以获取所述目标数据集合的第一相邻数据集合,可以理解的是,所述第一相邻数据集合对应的业务级别低于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,第一相邻数据集合是业务级别低于该目标数据集合,且包含应用标识D、E、F和H的数据集合。
进一步的,所述第一集合获取子单元1221可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述第一相邻数据集合中获取第一数量的第二应用标识,可以理解的是,所述第一数量可以是在所述第一相邻数据集合中匹配的第二应用标识的数量,例如,图4中的目标数据集合(虚线框中的包含第一应用标识A、B和C的数据集合)中的第一应用标识的标识数据为3(可以理解为正在匹配的游戏玩家为3人),而预设数量阈值为6(可以理解为,需要6位玩家才能开局),则所述应用标识匹配设备可以从第一相邻数据集合(包含应用标识D、E、F和H的数据集合)中获取第一数量3的第二应用标识,即从第一相邻数据集合中找3人加入游戏。可以理解的是,所述第一数量的第二应用标识为在所述第一相邻数据集合中存储时间最长的应用标识,即在第一相邻数据集合中获取的3个第二应用标识为D、E和F。
第二集合获取子单元1222,当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,获取所述目标数据集合的第二相邻数据集合,并在所述第二相邻数据集合中获取第二数量的第二应用标识;
具体的,当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,第二集合获取子单元1222可以获取所述目标数据集合的第二相邻数据集合,可以理解的是,所述第二预设时间阈值可以为在所述第一预设时间阈值的基础上,预设的第一相邻数据集合中应用标识的匹配时间,例如,第一预设时间阈值为10s,第二预设时间阈值可以是在第一预设时间阈值之后的5s,需要说明的是,第二预设时间阈值和第一预设时间阈值的大小没有必然关系。所述第二相邻数据集合对应的业务级别高于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,第二相邻数据集合是业务级别高于该目标数据集合,且包含应用标识J和K的数据集合。
进一步的,所述第二集合获取子单元1222可以在所述第二相邻数据集合中获取第二数量的第二应用标识,例如图4所示,所述第一集合获取子单元1221在所述第一相邻数据集合(包含应用标识D、E、F和H的数据集合)中的匹配时间为5s等 于第二预设时间阈值,而目标数据集合和第一相邻数据集合中的应用标识的数量之和为7,小于预设数量阈值9(即游戏开局需要9人)时,所述第二集合获取子单元1222可以在第二相邻数据集合(包含应用标识J和K的数据集合)中获取第二数量(值为2)的第二应用标识。
在本申请实施例的具体实施方式中,所述信息返回模块16具体用于,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量、所述第一数量以及所述第二数量之和未达到所述预设数量阈值时,向所述用户终端返回匹配失败的提示信息。可以理解的是,所述第一数量和所述第二数量之和为所述预设数量阈值与所述标识数量的差值。
需要说明的是,所述相邻数据集合并不只限于与所述目标数据集合相邻的第一相邻数据集合和第二相邻数据集合,也可以是业务级别低于第一相邻数据集合对应的业务级别的第三相邻数据集合、业务级别高于第二相邻数据集合对应的业务级别的第四相邻数据集合或者与第三相邻数据集合或第四相邻数据集合相邻的数据集合。可以理解的是,只要在第三预设时间阈值内,所述应用标识匹配设备可以最大限度的在相邻数据集合中获取应用标识,直到达到预设数量阈值。
在本申请实施例中,基于第三预设时间阈值,不断扩大应用标识匹配的数据集合范围,增加了匹配成功的概率。
在本申请实施例中,通过接收用户终端发送的携带有目标应用标识的业务匹配请求,获取目标应用标识所属业务级别,并将目标应用标识置于业务级别对应的目标数据集合中,当目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取目标数据集合的相邻数据集合,并在相邻数据集合中获取目标数量的第二应用标识,其中,目标数量为预设数量阈值与标识数量的差值,最后,向用户终端返回包含第一应用标识和第二应用标识的业务匹配结果。通过分析与应用标识相关联的业务参数的业务级别,实现了对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,提高了资源分配的合理性;通过对目标应用标识对应的业务参数的计算分析,增加了对目标应用标识进行业务级别划分的准确性;基于第三预设时间阈值,不断扩大应用标识匹配的数据集合范围,增加了匹配成功的概率。
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图1-图6所示实施例的方法步骤,具体执行过程可以参见图1-图6所示实施例的具体说明,在此不进行赘述。
请参见图11,为本申请实施例提供了又一种服务器的结构示意图。如图11所示,所述服务器1000可以包括:至少一个处理器1001,例如CPU,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,用户接口1003可以包括显示屏 (Display)、键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图11所示,作为一种计算机存储介质的存储器1005中可以包括操作***、网络通信模块、用户接口模块以及页面显示应用程序。
在图11所示的服务器1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;网络接口1004用于与用户终端进行数据通信;而处理器1001可以用于调用存储器1005中存储的应用标识匹配应用程序,并具体执行以下操作:
接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
具体的,所述处理器可以接收用户终端发送的携带有目标应用标识的业务匹配请求,可以理解的是,所述目标应用标识可以为用户登录目标应用时的登录账号,例如,用户登录游戏时的游戏账号。所述业务匹配请求可以为请求对所述目标应用标识进行匹配的请求报文。
进一步的,所述处理器可以获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中,具体的实现过程可以参考上述方法实施例中的描述,此处不再赘述。
当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
具体的,当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述处理器可以获取所述目标数据集合的相邻数据集合,可以理解的是,所述第一应用标识为所示目标数据集合中所有应用标识的统称,所述预设数量阈值为预先设定的目标数据集合中的第一应用标识的标识数据应该满足的数量,例如,一局游戏开局应该满足的人数为4人,4就是预设数量阈值。所述相邻数据集合对应的业务级别可以低于所述目标数据集合对应的业务级别,也可以高于所述目标数据集合对应的业务级别,例如,当目标数据集合对应的业务级别为第二业务级别,则所述相邻数据集合对应的业务级别可以是第三业务级别或者第一业务级别。
进一步的,所述处理器可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述相邻数据集合中获取目标数量的第二应用标识,可以理解的是所述第二应用标识为所述处理器从所述相邻数据集合中获取的应用标识,所述目 标数量可以为所述第二应用标识的数量,可以是所述预设数量阈值与所述标识数量的差值,例如,一局游戏需要4个人才能开局即预设数量阈值为4,目标数据集合中第一应用标识的标识数量为3即已经进入游戏的有3人,则所述处理器可以从相邻数据集合中获取数量为1的第二应用标识,即从相邻数据集合中找1人加入游戏。
向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果;
具体的,当所述处理器从所述目标数据集合和所述相邻数据集合中获取到预设数量阈值的应用标识后,可向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果,例如,当满足开局人数后,所述处理器向所述用户终端返回可以进行游戏开局的玩家,可选的,所述应用标识匹配设备向所述用户终端返回所述业务匹配结果后,可以将所述目标数据集合中的用户标识移除,以便新的用户标识进入。
需要说明的是,所述相邻数据集合对应的业务级别跟所述目标数据集合对应的业务级别是紧邻的,所述相邻数据集合中的第二应用标识的业务属性与所述目标数据集合中的第一应用标识的业务属性也是接近的,例如,第一业务级别的游戏玩家与第二业务级别的游戏玩家的玩家属性值是接近的,将两个相近级别的玩家匹配在同一局游戏中时,不会由于能力值悬殊较大影响玩家体验。
在一个实施例中,所述处理器1001在执行接收用户终端发送的携带有目标应用标识的业务匹配请求之前,还执行以下操作:
获取当前登录目标应用的目标应用标识,并获取所述目标应用标识对应的业务参数;
具体的,所述处理器可以获取当前登录目标应用的目标应用标识,可以理解的是,所述目标应用标识可以为用户登录目标应用时的登录账号,例如,用户登录游戏时的游戏账号。
进一步的,所述处理器可以获取所述目标应用标识对应的业务参数,可以理解的是,所述业务参数可以是代表所述目标应用标识相关能力或者属性的参数,例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等。
根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性;
具体的,所述处理器可以根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性,可以理解的是,所述预设属性计算公式可以为
Figure PCTCN2018087605-appb-000007
其中,k为n个数值属性的权重,w包括了该目标应用标识的所有业务参数,例如,游戏玩家的胜率、逃跑率、等级以及30个常用英雄属性值等。可以理解的是,经过预设属性公式计算后得到的业务属性这一数值可以代表应用标识 对应的业务参数的虚拟属性,例如,代表游戏玩家的虚拟能力值。
在一个实施例中,所述处理器1001在执行获取所述目标应用标识所属业务级别时,具体执行以下操作:
获取所述目标应用标识对应的业务属性,在预设级别列表中匹配所述业务属性所属业务级别范围,并获取所述业务级别范围对应的业务级别;
具体的,所述处理器可以获取所述目标应用标识对应的业务属性,并可以在预设级别列表中匹配所述业务属性所属业务级别范围,可以理解的是,所述预设级别列表可以是如图3所示的级别列表,表中ID表示级别,最低
Figure PCTCN2018087605-appb-000008
和最高
Figure PCTCN2018087605-appb-000009
分别指示相应级别范围内的最低虚拟属性值和最高虚拟属性值。例如,当目标应用标识对应的业务属性为1110时,该目标应用标识对应的业务属性所属业务级别范围为1101-1200。
进一步的,所述处理器可以获取所述业务级别范围对应的业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中,例如,针对图3所示的级别列表,若目标应用标识对应的业务属性所属业务级别范围为1101-1200,则所述应用标识匹配设备可以获取该业务级别范围对应的业务级别即第三业务级别。
在一个实施例中,所述处理器1001在执行当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识时,具体执行以下操作:
检测所述目标应用标识在所述目标数据集合中的存储时间,所述目标应用标识为所述目标数据集合中存储时间最长的应用标识;
具体的,所述处理器可以检测所述目标应用标识在所述目标数据集合中的存储时间,需要说明的是,所述目标应用标识为所述目标数据集合中存储时间最长的应用标识。例如,图4所示的数据集合,其中虚线框中包括应用标识A、B和C的数据集合作为目标数据集合,该集合中的存储时间最长(10s)的应用标识A为目标应用标识。
当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识;
可以理解的是,所示第一预设时间阈值可以为预先设定的目标应用标识在所述目标数据集合中的第一次匹配的最长时间,例如,游戏玩家A在目标数据集合中进行第一次匹配的最长时间为10s,当玩家A在所述目标数据集合中的存储时间为10s时,即达到了第一预设时间阈值。所述预设数量阈值为预先设定的目标数据集合中的第一应用标识的标识数量应该满足的值,例如,一局游戏开局应该满足的人数为4人,4就是预设数量阈值。
具体的,当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标 数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述处理器可以获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识。
在一个实施例中,所述处理器1001在执行获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识时,具体执行以下操作:获取所述目标数据集合的第一相邻数据集合,并在所述第一相邻数据集合中获取第一数量的第二应用标识,所述第一数量的第二应用标识为在所述第一相邻数据集合中存储时间最长的应用标识;
具体的,当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述处理器可以获取所述目标数据集合的第一相邻数据集合,可以理解的是,所述第一相邻数据集合对应的业务级别低于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,第一相邻数据集合是业务级别低于该目标数据集合,且包含应用标识D、E、F和H的数据集合。
进一步的,所述处理器可以将所述目标数据集合中的第一应用标识捆绑在一起扩大匹配范围,在所述第一相邻数据集合中获取第一数量的第二应用标识,可以理解的是,所述第一数量可以是在所述第一相邻数据集合中匹配的第二应用标识的数量,例如,图4中的目标数据集合(虚线框中的包含第一应用标识A、B和C的数据集合)中的第一应用标识的标识数据为3(可以理解为正在匹配的游戏玩家为3人),而预设数量阈值为6(可以理解为,需要6位玩家才能开局),则所述应用标识匹配设备可以从第一相邻数据集合(包含应用标识D、E、F和H的数据集合)中获取第一数量3的第二应用标识,即从第一相邻数据集合中找3人加入游戏。可以理解的是,所述第一数量的第二应用标识为在所述第一相邻数据集合中存储时间最长的应用标识,即在第一相邻数据集合中获取的3个第二应用标识为D、E和F。
当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,获取所述目标数据集合的第二相邻数据集合,并在所述第二相邻数据集合中获取第二数量的第二应用标识,所述第二数量的第二应用标识为在所述第二相邻数据集合中存储时间最长的应用标识;
具体的,当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,所述处理器可以获取所述目标数据集合的第二相邻数据集合,可以理解的是,所述第二预设时间阈值可以为在所述第一预设时间阈值的基础上,预设的第一相邻数据集合中应用标识的匹配时间,例如,第一预设时间阈值为10s,第二预设时间 阈值可以是在第一预设时间阈值之后的5s,需要说明的是,第二预设时间阈值和第一预设时间阈值的大小没有必然关系。所述第二相邻数据集合对应的业务级别高于所述目标数据集合对应的业务级别,例如,当目标数据集合为图4中所示的目标数据集合(虚线框中的包含应用标识A、B和C的数据集合)时,第二相邻数据集合是业务级别高于该目标数据集合,且包含应用标识J和K的数据集合。
进一步的,所述处理器可以在所述第二相邻数据集合中获取第二数量的第二应用标识,例如图4所示,所述处理器在所述第一相邻数据集合(包含应用标识D、E、F和H的数据集合)中的匹配时间为5s等于第二预设时间阈值,而目标数据集合和第一相邻数据集合中的应用标识的数量之和为7,小于预设数量阈值9(即游戏开局需要9人)时,所述处理器可以在第二相邻数据集合(包含应用标识J和K的数据集合)中获取第二数量(值为2)的第二应用标识。
在一个实施例中,所述处理器1001还执行以下操作:
当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量、所述第一数量以及所述第二数量之和未达到所述预设数量阈值时,向所述用户终端返回匹配失败的提示信息;
可以理解的是,所述第三预设时间阈值可以为预先设定的目标应用标识在所述目标数据集合中的匹配时间和第二应用标识在所述相邻数据集合中的匹配时间之和的最大值。
具体的,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量、所述第一数量以及所述第二数量之和未达到所述预设数量阈值时,所述处理器可以向所述用户终端返回匹配失败的提示信息。例如,图5a为游戏玩家正在匹配时,用户终端的显示界面,当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量和所述第二应用标识的目标数量之和未达到所述预设数量阈值时,所述用户终端可以显示如图5b所示的匹配失败提示信息,其中图5b中的“稍后再来”可以退出匹配界面,“继续匹配”则可以重新开始匹配。
在本申请实施例中,通过接收用户终端发送的携带有目标应用标识的业务匹配请求,获取目标应用标识所属业务级别,并将目标应用标识置于业务级别对应的目标数据集合中,当目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取目标数据集合的相邻数据集合,并在相邻数据集合中获取目标数量的第二应用标识,其中,目标数量为预设数量阈值与标识数量的差值,最后,向用户终端返回包含第一应用标识和第二应用标识的业务匹配结果。通过分析与应用标识相关联的业务参数的业务级别,实现了对业务级别相同或相近的业务参数对应的应用标识进行匹配,对匹配后的应用标识分配交互式资源,提高了资源分配的合理性;通过对目标应用标识对应的业务参数的计算分析,增加了对目标应用标识进行业务级别划 分的准确性;基于第三预设时间阈值,不断扩大应用标识匹配的数据集合范围,增加了匹配成功的概率。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (14)

  1. 一种应用标识匹配方法,其特征在于,包括:
    服务器接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
    当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
    所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。
  2. 如权利要求1所述的方法,其特征在于,所述服务器接收用户终端发送的携带有目标应用标识的业务匹配请求之前,还包括:
    所述服务器获取当前登录目标应用的目标应用标识,并获取所述目标应用标识对应的业务参数;
    所述服务器根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性。
  3. 如权利要求2所述的方法,其特征在于,所述服务器获取所述目标应用标识所属业务级别,包括:
    所述服务器获取所述目标应用标识对应的业务属性,在预设级别列表中匹配所述业务属性所属业务级别范围,并获取所述业务级别范围对应的业务级别。
  4. 如权利要求1所述的方法,其特征在于,所述当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,包括:
    所述服务器检测所述目标应用标识在所述目标数据集合中的存储时间,所述目标应用标识为所述目标数据集合中存储时间最长的应用标识;
    当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识。
  5. 如权利要求4所述的方法,其特征在于,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,包括:
    所述服务器获取所述目标数据集合的第一相邻数据集合,并在所述第一相邻数据集合中获取第一数量的第二应用标识,所述第一数量的第二应用标识为在所述第一相邻数据集合中存储时间最长的应用标识;
    当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,所述服务器获取所述目标数据集合的第二相邻数据集合,并在所述第二相邻数据集合中获取第二数量的第二应用标识,所述第二数量的第二应用标识为在所述第二相邻数据集合中存储时间最长的应用标识;
    所述第一数量和所述第二数量之和为所述预设数量阈值与所述标识数量的差值,所述第一相邻数据集合对应的业务级别低于所述目标数据集合对应的业务级别,第二相邻数据集合对应的业务级别高于所述目标数据集合对应的业务级别。
  6. 如权利要求5所述的方法,其特征在于,还包括:
    当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量、所述第一数量以及所述第二数量之和未达到所述预设数量阈值时,所述服务器向所述用户终端返回匹配失败的提示信息。
  7. 一种应用标识匹配设备,其特征在于,包括:处理器和与所述处理器相连的存储器;其中,所述存储器存储有可被所述处理器执行的计算机指令,所述计算机指令包括:
    目标标识处理模块,用于接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
    第二标识获取模块,用于当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
    匹配结果返回模块,用于向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。
  8. 如权利要求7所述的设备,其特征在于,所述计算机指令还包括:
    数据获取模块,用于获取当前登录目标应用的目标应用标识,并获取所述目标应用标识对应的业务参数;
    属性计算模块,用于根据所述业务参数,并采用预设属性公式计算所述目标应用标识对应的业务属性。
  9. 如权利要求8所述的设备,其特征在于,所述目标标识处理模块具体用于,获取所述目标应用标识对应的业务属性,在预设级别列表中匹配所述业务属性所属业务级别范围,并获取所述业务级别范围对应的业务级别。
  10. 如权利要求7所述的设备,其特征在于,所述第二标识获取模块包括:
    时间检测单元,用于检测所述目标应用标识在所述目标数据集合中的存储时间, 所述目标应用标识为所述目标数据集合中存储时间最长的应用标识;
    第二标识获取单元,用于当所述目标应用标识的存储时间等于第一预设时间阈值,且所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识。
  11. 如权利要求10所述的设备,其特征在于,所述第二标识获取单元包括:
    第一集合获取子单元,获取所述目标数据集合的第一相邻数据集合,并在所述第一相邻数据集合中获取第一数量的第二应用标识,所述第一数量的第二应用标识为在所述第一相邻数据集合中存储时间最长的应用标识;
    第二集合获取子单元,当所述目标应用标识的存储时间等于第二预设时间阈值,且所述目标数据集合中第一应用标识的标识数量和所述第一数量之和未达到所述预设数量阈值时,获取所述目标数据集合的第二相邻数据集合,并在所述第二相邻数据集合中获取第二数量的第二应用标识,所述第二数量的第二应用标识为在所述第二相邻数据集合中存储时间最长的应用标识;
    所述第一数量和所述第二数量之和为所述预设数量阈值与所述标识数量的差值,所述第一相邻数据集合对应的业务级别低于所述目标数据集合对应的业务级别,第二相邻数据集合对应的业务级别高于所述目标数据集合对应的业务级别。
  12. 如权利要求11所述的设备,所述计算机指令还包括:
    信息返回模块,用于当所述目标应用标识的存储时间等于第三预设时间阈值,且所述第一应用标识的标识数量、所述第一数量以及所述第二数量之和未达到所述预设数量阈值时,向所述用户终端返回匹配失败的提示信息。
  13. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行以下步骤:
    服务器接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
    当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,所述服务器获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
    所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。
  14. 一种服务器,其特征在于,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行以下步骤:
    所述服务器接收用户终端发送的携带有目标应用标识的业务匹配请求,获取所述目标应用标识所属业务级别,并将所述目标应用标识置于所述业务级别对应的目标数据集合中;
    所述服务器当所述目标数据集合中第一应用标识的标识数量未达到预设数量阈值时,获取所述目标数据集合的相邻数据集合,并在所述相邻数据集合中获取目标数量的第二应用标识,所述目标数量为所述预设数量阈值与所述标识数量的差值,所述相邻数据集合对应的业务级别高于或低于所述目标数据集合对应的业务级别,且与所述目标数据集合对应的业务级别相邻;
    所述服务器向所述用户终端返回包含所述第一应用标识和所述第二应用标识的业务匹配结果。
PCT/CN2018/087605 2017-05-25 2018-05-21 一种应用标识匹配方法、设备、存储介质及服务器 WO2018214836A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710379837.5A CN107281754B (zh) 2017-05-25 2017-05-25 一种应用标识匹配方法及其设备、存储介质、服务器
CN201710379837.5 2017-05-25

Publications (1)

Publication Number Publication Date
WO2018214836A1 true WO2018214836A1 (zh) 2018-11-29

Family

ID=60094119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/087605 WO2018214836A1 (zh) 2017-05-25 2018-05-21 一种应用标识匹配方法、设备、存储介质及服务器

Country Status (2)

Country Link
CN (1) CN107281754B (zh)
WO (1) WO2018214836A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107281754B (zh) * 2017-05-25 2018-10-09 腾讯科技(深圳)有限公司 一种应用标识匹配方法及其设备、存储介质、服务器
CN111080429B (zh) * 2018-10-18 2023-03-10 腾讯科技(深圳)有限公司 一种虚拟资源获取方法、装置和存储介质
CN111589161B (zh) * 2020-05-12 2023-07-25 上海商汤临港智能科技有限公司 一种竞技任务匹配方法、装置、设备及计算机存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133825A (zh) * 2013-09-10 2014-11-05 腾讯科技(深圳)有限公司 一种匹配客户端用户的方法及装置
CN105468443A (zh) * 2015-11-19 2016-04-06 北京乐动卓越科技有限公司 社交应用软件的用户匹配方法和装置
CN105577615A (zh) * 2014-10-14 2016-05-11 四三九九网络股份有限公司 一种游戏交互前期的等待方法和游戏服务器
CN107281754A (zh) * 2017-05-25 2017-10-24 腾讯科技(深圳)有限公司 一种应用标识匹配方法及其设备、存储介质、服务器

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812353B (zh) * 2016-02-23 2019-01-22 平安科技(深圳)有限公司 终端识别方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133825A (zh) * 2013-09-10 2014-11-05 腾讯科技(深圳)有限公司 一种匹配客户端用户的方法及装置
CN105577615A (zh) * 2014-10-14 2016-05-11 四三九九网络股份有限公司 一种游戏交互前期的等待方法和游戏服务器
CN105468443A (zh) * 2015-11-19 2016-04-06 北京乐动卓越科技有限公司 社交应用软件的用户匹配方法和装置
CN107281754A (zh) * 2017-05-25 2017-10-24 腾讯科技(深圳)有限公司 一种应用标识匹配方法及其设备、存储介质、服务器

Also Published As

Publication number Publication date
CN107281754B (zh) 2018-10-09
CN107281754A (zh) 2017-10-24

Similar Documents

Publication Publication Date Title
CN109120679B (zh) 任务分配方法及装置
US11068964B2 (en) Method and device for processing service request
WO2018214836A1 (zh) 一种应用标识匹配方法、设备、存储介质及服务器
WO2017185616A1 (zh) 文件存储方法及电子设备
CN106682906B (zh) 一种风险识别、业务处理方法和设备
CN106911487B (zh) 一种进行语音聊天的方法和装置
WO2019042180A1 (zh) 资源配置方法及相关产品
US20150113064A1 (en) Network Information Push Method and System Thereof, and Computer Storage Medium
US11889133B2 (en) Burst traffic processing method, computer device and readable storage medium
CN107360117B (zh) 数据处理的方法、装置及***
US11978025B2 (en) Method and device for processing virtual cards
US20140101739A1 (en) Semantic challenge for audio human interactive proof
WO2019072208A1 (zh) 应用程序运行控制方法及设备
WO2015106728A1 (en) Data processing method and system
WO2023116219A1 (zh) Cdn节点分配方法、装置、电子设备、介质及程序产品
CN111068305A (zh) 云游戏加载控制方法、装置、电子设备及存储介质
CN107798239B (zh) 操作风险处理方法、装置、计算机设备和存储介质
CN111523888A (zh) 基于区块链技术的链上数据及信息溯源***
CN116431282A (zh) 一种云虚拟主机服务器管理方法、装置、设备及存储介质
WO2015090044A1 (zh) 一种数据扫描的方法及装置
US10572486B2 (en) Data communication in a distributed data grid
US9280384B2 (en) Method, server and system for processing task data
US9149725B2 (en) Method and server for PVP team matching in computer games
EP4142258A1 (en) Edge computing network, data transmission method and apparatus, device and storage medium
CN112988983B (zh) 视频客服分配方法、装置、计算机设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18806009

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18806009

Country of ref document: EP

Kind code of ref document: A1