Object matching method, apparatus, device, and storage medium

By selecting a set from the object matching pool and determining the object identifier to participate in the target activity, the problem of excessively long matching time in the prior art is solved, thereby improving the matching speed and user experience.

CN117409218BActive Publication Date: 2026-05-19SHENZHEN TENCENT INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN TENCENT INFORMATION TECH CO LTD
Filing Date
2022-07-07
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, when matching objects, sets that do not meet the quantity requirements need to be matched across sets, which results in longer matching times and affects the matching rate.

Method used

By selecting at least one set from the object matching pool, it is ensured that the sum of the matching indicators of the set is greater than or equal to the target matching indicator, and when the total number of object identifiers is detected to reach the preset matching number, the object identifier is determined to participate in the target activity.

Benefits of technology

It effectively saves waiting time for cross-set matching, improves object matching speed, and improves user experience by matching objects with similar evaluation information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117409218B_ABST
    Figure CN117409218B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an object matching method, device and equipment, and a storage medium, wherein the object matching method comprises: receiving an activity participation request initiated by a target object for a target activity; adding an object identifier of the target object into a target set contained in an object matching pool corresponding to the target activity according to evaluation information of the target object; calculating a target matching index of the target activity according to a preset matching number corresponding to the target activity and an expected matching time length of the target object; selecting at least one set from the object matching pool based on the target matching index; determining object identifiers with a number of the preset matching number from the at least one set when detecting that the number sum of the object identifiers in the at least one set is greater than or equal to the preset matching number; starting the target activity, and controlling objects indicated by the determined object identifiers to participate in the target activity. The embodiments of the present application can improve the rate of object matching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an object matching method, apparatus, device and storage medium. Background Technology

[0002] Currently, with the continuous development of computer technology, object (i.e., user) matching tasks have been widely applied. For example, in game scenarios, it is necessary to match objects participating in the game so that successfully matched objects can start the game experience. However, existing technologies typically perform cross-set matching on sets that do not meet the quantity requirement after a fixed period of time until a matching object that meets the quantity requirement is found, resulting in a long matching time. Based on this, how to improve the speed of object matching has become a research hotspot. Summary of the Invention

[0003] This application provides an object matching method, apparatus, device, and storage medium. In the process of matching a target object, at least one set to be matched is first selected from the object matching pool, and object identifiers of a preset number are determined from the at least one set. This saves waiting time across sets and effectively improves the object matching speed.

[0004] On one hand, embodiments of this application provide an object matching method, the method comprising:

[0005] Receive activity participation requests initiated by the target object for the target activity;

[0006] Based on the evaluation information of the target object, the object identifier of the target object is added to the target set contained in the object matching pool corresponding to the target activity. The object matching pool includes at least one set. Any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set.

[0007] Based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object, the target matching index of the target activity is calculated; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration.

[0008] Based on the target matching index, at least one set is selected from the object matching pool, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set;

[0009] When the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, object identifiers of the preset matching number are determined from the at least one set, and the determined object identifiers include the object identifiers of the target object;

[0010] Initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

[0011] On the other hand, embodiments of this application provide an object matching device, the device comprising:

[0012] The receiving unit is used to receive activity participation requests for the target activity initiated by the target object;

[0013] The processing unit is configured to add the object identifier of the target object to the target set contained in the object matching pool corresponding to the target activity according to the evaluation information of the target object. The object matching pool includes at least one set, and any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set.

[0014] The processing unit is further configured to calculate the target matching index of the target activity based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration;

[0015] The processing unit is further configured to select at least one set from the object matching pool based on the target matching index, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set.

[0016] The processing unit is further configured to, when detecting that the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, determine object identifiers from the at least one set that are equal to the preset matching number, wherein the determined object identifiers include the object identifiers of the target object;

[0017] The processing unit is also configured to initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

[0018] In another aspect, embodiments of this application provide a computer device, the computer device including a processor and a memory, wherein the memory is used to store a computer program, and the computer program, when executed by the processor, performs the following steps:

[0019] Receive activity participation requests initiated by the target object for the target activity;

[0020] Based on the evaluation information of the target object, the object identifier of the target object is added to the target set contained in the object matching pool corresponding to the target activity. The object matching pool includes at least one set. Any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set.

[0021] Based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object, the target matching index of the target activity is calculated; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration.

[0022] Based on the target matching index, at least one set is selected from the object matching pool, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set;

[0023] When the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, object identifiers of the preset matching number are determined from the at least one set, and the determined object identifiers include the object identifiers of the target object;

[0024] Initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

[0025] In another aspect, embodiments of this application provide a computer storage medium storing a computer program adapted for loading by a processor and executing the following steps:

[0026] Receive activity participation requests initiated by the target object for the target activity;

[0027] Based on the evaluation information of the target object, the object identifier of the target object is added to the target set contained in the object matching pool corresponding to the target activity. The object matching pool includes at least one set. Any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set.

[0028] Based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object, the target matching index of the target activity is calculated; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration.

[0029] Based on the target matching index, at least one set is selected from the object matching pool, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set;

[0030] When the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, object identifiers of the preset matching number are determined from the at least one set, and the determined object identifiers include the object identifiers of the target object;

[0031] Initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

[0032] In another aspect, embodiments of this application provide a computer program product, which includes a computer program that, when executed by a processor, can perform the following steps:

[0033] Receive activity participation requests initiated by the target object for the target activity;

[0034] Based on the evaluation information of the target object, the object identifier of the target object is added to the target set contained in the object matching pool corresponding to the target activity. The object matching pool includes at least one set. Any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set.

[0035] Based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object, the target matching index of the target activity is calculated; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration.

[0036] Based on the target matching index, at least one set is selected from the object matching pool, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set;

[0037] When the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, object identifiers of the preset matching number are determined from the at least one set, and the determined object identifiers include the object identifiers of the target object;

[0038] Initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

[0039] In this embodiment, upon receiving a request from a target object to participate in a target activity, the object identifier of the target object can be added to the target set contained in the object matching pool corresponding to the target activity based on the target object's evaluation information. The evaluation value indicated by the evaluation information is within the evaluation interval corresponding to the target set. Then, a target matching index for the target activity can be calculated based on the preset matching quantity corresponding to the target activity and the target object's expected matching duration. This target matching index indicates the number of objects participating in matching per unit time required to start the target activity under the expected matching duration. Based on the target matching index, at least one set is selected from the object matching pool, and the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index. Based on this, at least one set to participate in matching can be selected at the start of matching, effectively saving the waiting time for cross-set matching. Correspondingly, when the total number of object identifiers in at least one set is detected to be greater than or equal to the preset matching quantity, object identifiers of the preset matching quantity can be determined from at least one set, and the determined object identifiers include the object identifier of the target object. This initiates the target activity and controls the objects indicated by the determined object identifiers to participate in the target activity, effectively improving the object matching rate. In addition, embodiments of this application can also match objects with similar evaluation information (i.e., strength) by selecting at least one set. Based on this, embodiments of this application can improve the object matching speed when matching objects with similar evaluation information, thereby improving the object experience (i.e., user experience). Attached Figure Description

[0040] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1a This is a flowchart illustrating an object matching scheme provided in an embodiment of this application;

[0042] Figure 1b This is a schematic diagram illustrating the interaction between a terminal and a server, provided in an embodiment of this application.

[0043] Figure 2 This is a flowchart illustrating an object matching method provided in an embodiment of this application;

[0044] Figure 3a This is a schematic diagram of an activity participation interface provided in an embodiment of this application;

[0045] Figure 3b This is a schematic diagram of another activity participation interface provided in an embodiment of this application;

[0046] Figure 3c This is a flowchart illustrating another object matching method provided in an embodiment of this application;

[0047] Figure 4 This is a flowchart illustrating another object matching method provided in an embodiment of this application;

[0048] Figure 5a This is a schematic diagram illustrating the number of objects participating in the matching process, as provided in an embodiment of this application.

[0049] Figure 5b This is a schematic diagram illustrating a matching waiting time provided in an embodiment of this application;

[0050] Figure 5c This is a schematic diagram illustrating the selection of a set according to an embodiment of this application;

[0051] Figure 5d This is a schematic diagram illustrating another selection of sets provided in an embodiment of this application;

[0052] Figure 5e This is a schematic diagram illustrating yet another selection of a set provided in an embodiment of this application;

[0053] Figure 5f This is a schematic diagram illustrating the selection of an object identifier according to an embodiment of this application;

[0054] Figure 5g This is a schematic diagram illustrating another method of selecting an object identifier provided in an embodiment of this application;

[0055] Figure 6 This is a schematic diagram of the structure of an object matching device provided in an embodiment of this application;

[0056] Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0057] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0058] To improve the object matching speed, this application proposes an object matching scheme: see [link to relevant documentation]. Figure 1a As shown, the general principle of the object matching scheme proposed in this application embodiment is as follows:

[0059] First, the system can receive activity participation requests from target objects for a target activity and add the target object's identifier to the target set contained in the object matching pool corresponding to the target activity. Further, it can determine the target matching index for the target activity to select at least one set from the object matching pool, such that the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index. Then, correspondingly, when the total number of object identifiers in the at least one set is detected to be greater than or equal to a preset matching number, the system determines the number of object identifiers equal to the preset matching number from the at least one set, thereby controlling the objects indicated by the determined object identifiers to participate in the target activity.

[0060] Practice has shown that the object matching scheme proposed in this application has at least the following beneficial effects: ① It can select at least one set from the object matching pool for matching at the beginning of the matching process, which can effectively avoid waiting for a certain period of time before determining that cross-set matching is required, saving unnecessary waiting time and effectively improving the object matching speed; ② It can determine objects with similar evaluation information for matching through at least one set, effectively reducing the situation of matching objects with large differences in evaluation information together, and improving the experience of objects participating in target activities.

[0061] In practical implementation, the object matching scheme mentioned above can be executed by a computer device, which can be a terminal or a server. The terminal mentioned here can include, but is not limited to, smartphones, tablets, laptops, desktop computers, smartwatches, smart voice interaction devices, smart home appliances, in-vehicle terminals, and aircraft. Various clients (apps) can run within the terminal, such as video playback clients, social media clients, browser clients, news feed clients, educational clients, and so on. The server mentioned here can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, etc. Cloud computing is a computing model that distributes computing tasks across a resource pool composed of a large number of computers, enabling various application systems to obtain computing power, storage space, and information services as needed.

[0062] It should be noted that the computer device mentioned in the embodiments of this application may be located outside or inside the blockchain network, and there is no limitation thereto. The so-called blockchain network is a network composed of a peer-to-peer network (P2P network) and a blockchain. The blockchain refers to a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. In essence, it is a decentralized database, which is a series of data blocks (or blocks) linked together using cryptographic methods.

[0063] Alternatively, in other embodiments, the object matching scheme mentioned above can also be executed jointly by the server and the terminal; the terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited herein. For example, the terminal can receive an activity participation request initiated by the target object for the target activity, and then send the activity participation request to the server; so that the server can add the object identifier of the target object to the target set, and determine the target matching index of the target activity, so as to select at least one set from the object matching pool, and then determine the corresponding object identifier from the at least one set, and then send the determined object identifier to the terminal; then, correspondingly, the terminal can then start the target activity and control the object indicated by the determined object identifier to participate in the target activity, such as... Figure 1b As shown. For example, the terminal can receive activity participation requests from the target object and add the target object's object identifier to the target set in the object matching pool. The terminal then sends each set in the object matching pool to the server. This allows the server to determine the target matching index for the target activity, select at least one set from the received sets, and determine the corresponding object identifier from that set. The server can then control the object indicated by the determined object identifier to participate in the target activity. It should be understood that this is merely an illustrative example of two scenarios where the terminal and server jointly execute the above object matching scheme, and is not an exhaustive list.

[0064] Based on the above description of the object matching scheme, this application proposes an object matching method, which can be executed by the aforementioned computer device (terminal or server); or, the object matching method can be executed jointly by the terminal and the server. For ease of explanation, the following description will use the execution of the object matching method by a computer device as an example; please refer to... Figure 2 The object matching method may include the following steps S201-S206:

[0065] S201, Receive the activity participation request for the target activity initiated by the target object.

[0066] The target object mentioned above can refer to any object that initiates a request to participate in the target activity, and an object can refer to a user; correspondingly, the target activity can refer to any activity that supports initiation, such as an activity in the BR (Battle Royale) mode or the TDM (Team DeathMatch) mode in a game scenario, etc., and this application does not limit it.

[0067] In the embodiments of this application, the application scenario of the object matching method can be a game scenario, a singing scenario, etc.; that is, the object matching method proposed in the embodiments of this application can be applied to any scenario that requires object matching tasks, and this application does not limit it. For example, in a game scenario, the user can also be called a player, that is, the above-mentioned target object can refer to any player in the game, and the target activity can be any game project; in a singing scenario, the above-mentioned target object can refer to any object participating in a singing competition, and the target activity can be any singing competition project, etc. For ease of explanation, the following will all use game scenarios as examples.

[0068] In specific implementation, when a computer device detects any object's participation operation (also known as an activity matching operation) in any activity, that object can be designated as the target object, and that activity as the target activity, thereby receiving the activity participation request initiated by the target object for the target activity. It should be noted that the aforementioned activity participation operation may include, but is not limited to: triggering operations on participation components in the activity participation interface, inputting voice commands for participating in the target activity, and inputting preset gestures, etc.; this application does not limit the specific implementation of the activity participation operation. The input preset gesture can be set according to business needs, and this application does not limit the specific content of the preset gesture; furthermore, the aforementioned triggering operation can be a short press operation (i.e., a press time less than a preset press duration), a long press operation (i.e., a press time greater than or equal to a preset press duration), or a click operation, etc.; this application does not limit the specific implementation of the triggering operation. It should be noted that the preset press duration can be set based on experience or according to actual needs, such as 2 seconds or 3 seconds, etc.; this application does not limit this.

[0069] For example, taking a game scenario as an example, when the activity participation operation is a trigger operation on the participation component 31 in the activity participation interface, the target object can trigger the participation component 31 to initiate an activity participation request for the target activity, such as... Figure 3aAs shown; when the activity participation operation is the input of a preset gesture, taking preset gesture V as an example, the target object can input preset gesture V to initiate an activity participation request for the target activity, such as... Figure 3b As shown.

[0070] It should be noted that, Figure 3a and Figure 3b The examples provided illustrate schematic diagrams of the activity participation interface, but this application does not limit the scope of the examples. For instance, the activity participation interface may also include corresponding equipment options; or, conversely, the activity participation interface may not include corresponding clothing options, and so on.

[0071] S202, based on the evaluation information of the target object, add the object identifier of the target object to the target set contained in the object matching pool corresponding to the target activity.

[0072] The aforementioned object matching pool may include at least one set. Any object identifier within any set of the object matching pool is used to indicate that the corresponding object requests to participate in the target activity, and the evaluation value indicated by the evaluation information of the target object is within the evaluation interval corresponding to the target set. It should be noted that the object identifier of any object may refer to the object name of that object, or the object ID (Identity number) of that object, or a series of object data (such as object name, object ID, and evaluation information, etc.). This application does not limit this. It should also be noted that when the object identifier of any object is a series of object data, the series of object data of any object can be regarded as a whole (i.e., a set of object data), such that an object identifier includes a series of object data and is used to indicate the corresponding object. In this case, a set of object data corresponds to one object.

[0073] Accordingly, for any given object, upon receiving an activity participation request from that object for a target activity, the computer device can determine the object's evaluation information and the set corresponding to the evaluation interval where the evaluation value indicated by the object's evaluation information falls. In other words, after any object initiates an activity participation request for any activity—that is, after any object initiates matching for that activity—the computer device can add the object's object identifier to the corresponding set in the object matching pool for the corresponding activity, based on the object's evaluation information.

[0074] In this application embodiment, the evaluation information can be a numerical value. In this case, the evaluation value indicated by the evaluation information can be the evaluation information itself. For example, when the evaluation information is a numerical value of 1200, the evaluation value indicated by the evaluation information can be 1200. The evaluation information can also be level information. In this case, the evaluation value indicated by the evaluation information can be the numerical value corresponding to the corresponding level information. For example, when the evaluation information is level A, the evaluation value indicated by the evaluation information can be 2000, and so on. This application does not limit this.

[0075] It should be noted that in the game scenario, the above evaluation information can also be called skill level (i.e., object's technical level), and the evaluation value indicated by the evaluation information of any object can also be called a score. The higher the score of any object, the better the object plays the game. Therefore, the evaluation interval corresponding to any set can also be called a score interval, which is used to indicate the distribution range of evaluation values ​​corresponding to the evaluation information of the objects indicated by the object identifier that the set can support. Correspondingly, a set can also be called a bucket. The computer device can divide each object according to the object's evaluation information. For example, the evaluation interval corresponding to set 1 in the object matching pool corresponding to the target activity can be [1200, 1300), and the evaluation interval corresponding to set 2 can be [1300, 1400). When the evaluation value indicated by the evaluation information of any object is 1250, the evaluation value indicated by the evaluation information of any object is located in the evaluation interval corresponding to set 1. After receiving the activity participation request for the target activity initiated by any object, the computer device can add the object identifier of any object to set 1.

[0076] Furthermore, in a game scenario, a game mode (i.e., gameplay or map, etc.) can correspond to an object matching pool (also called a match pool), or the same game mode with the same version number corresponds to the same object matching pool; in this case, objects (i.e., players) in the same object matching pool can be matched together, that is, objects indicated by object identifiers in the same object matching pool can be matched together; specifically, an object matching pool can consist of one or more sets (i.e., buckets), that is, an object matching pool can include at least one set.

[0077] It should be noted that objects indicated by object identifiers in different sets within the same object matching pool can be matched together. This application refers to this phenomenon as cross-set (i.e., cross-bucket) matching. For example, objects indicated by object identifiers in set 1 and objects indicated by object identifiers in set 2 can be matched together. In other words, a computer device can match objects indicated by object identifiers in set 1 and objects indicated by object identifiers in set 2 together.

[0078] S203, calculate the target matching index of the target activity based on the preset matching quantity corresponding to the target activity and the expected matching time of the target object.

[0079] The target matching metric is used to indicate the number of objects participating in the matching process per unit time required to start the target activity under the above-mentioned expected matching duration. In other words, the target matching metric can be used to indicate the number of objects participating in the matching process per unit time required to start the target activity to control the target object's participation in the target activity under the expected matching duration of the target object.

[0080] In the embodiments of this application, the aforementioned unit time can be one second, one minute, etc.; this application does not limit this; when the aforementioned unit time is one second, the target matching index can also be called the target player arrival rate. In this case, the target matching index can be used to indicate the number of objects participating in the matching per second required to start the target activity under the aforementioned expected matching duration.

[0081] It should be noted that the preset matching number for different activities can be the same or different, and this application does not limit this; the preset matching number for any activity can be set according to experience, according to actual needs, or according to the mode corresponding to any activity, such as 15 or 60.

[0082] S204, Based on the target matching index, select at least one set from the object matching pool, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set.

[0083] The matching metric for any set can refer to the number of objects participating in the matching process indicated by the set within a unit of time. In other words, it can refer to the number of object identifiers added by the set within a unit of time. Correspondingly, when the unit of time is one second, the matching metric for any set can be called the player arrival rate, which is used to indicate how many players join the matching process per second, i.e., the number of object identifiers added by the set per second.

[0084] It should be noted that the unit time corresponding to the target matching metric must be consistent with the unit time corresponding to the matching metric of any set. That is, when the target matching metric is used to indicate the number of objects participating in the matching per minute required to start the target activity under the expected matching duration, the matching metric of any set is used to indicate the number of objects participating in the matching per minute indicated by that set; when the target matching metric is used to indicate the number of objects participating in the matching per second required to start the target activity under the expected matching duration, the matching metric of any set is used to indicate the number of objects participating in the matching per second indicated by that set, and so on.

[0085] In the embodiments of this application, the above-mentioned at least one set can also be referred to as the selected set corresponding to the target set; then, correspondingly, when any set includes at least one object identifier, the computer device can determine the selected set corresponding to any set.

[0086] S205, when the total number of object identifiers in at least one set is greater than or equal to a preset matching number, object identifiers of the preset matching number are determined from at least one set, and the determined object identifiers include the object identifiers of the target object.

[0087] In one specific implementation, the computer device can detect the total number of object identifiers in at least one set according to a preset detection time interval. That is, after each preset detection time interval, the computer device can detect the total number of object identifiers in at least one set until the total number of object identifiers in at least one set is greater than or equal to a preset matching number. The preset detection time interval can be set based on experience or based on actual needs, and this application does not limit it in this way.

[0088] In another specific implementation, the computer device can calculate the target matching index of the target activity under the current system time according to a preset detection duration, so as to select at least one set from the object matching pool, and then detect the total number of object identifiers in the at least one set under the current system time; that is, after each preset detection duration, the computer device can determine at least one set under the current system time and detect the total number of object identifiers in the at least one set under the current system time, until the total number of object identifiers in the at least one set under the current system time is greater than or equal to the preset matching number.

[0089] Therefore, after a target object initiates a request to participate in a target activity, the target object can wait until a match is found. During this waiting period, the computer device can continuously attempt to find a match for the target object. Figure 3cAs shown; for example, when the preset detection time is 0.5 seconds, the computer device can select at least one set from the object matching pool every 0.5 seconds, and try to find a sufficient number of object identifiers from the at least one set. When the number is sufficient (that is, the total number of object identifiers in at least one set reaches the preset matching number), the match is successful.

[0090] It should be noted that, Figure 3c The flowchart of the object matching method is merely illustrative and is not intended to limit the scope of the method. For example, if a match is not found, the computer device may stop calculating the range across sets, i.e., stop determining at least one set under the current system time, and instead continue to detect the number of object identifiers in the at least one set that has been determined. Then, every preset detection interval, it may directly try to find a sufficient number of object identifiers from at least one set until a match is found, and delete the corresponding object identifiers, etc.

[0091] In the embodiments of this application, when searching for a preset number (i.e., a specified number) of object identifiers from the set contained in the object matching pool, the search may be performed only from one set or from multiple sets. This is related to the range of sets that can be crossed, i.e., at least one set selected from the object matching pool.

[0092] In this scenario, when the number of sets in at least one set is one (meaning that at least one set includes only the target set), the computer device can search for object identifiers only within the target set. Conversely, when the number of sets in at least one set is greater than one, the computer device can search for object identifiers in the target set as well as other sets besides the target set. Therefore, the process by which the computer device selects at least one set from the object matching pool is crucial; that is, calculating which other sets the target set containing the target object can be matched with is essential.

[0093] S206, Start the target activity and control the object indicated by the identified object identifier to participate in the target activity.

[0094] It should be noted that after a successful match, that is, after the number of object identifiers that meet the preset matching number is determined, the computer device can start the target activity and control the objects indicated by the determined object identifiers to participate in the target activity.

[0095] In this embodiment, after controlling the object indicated by the determined object identifier to participate in the target activity, the computer device can delete the determined object identifier from the set to which the determined object identifier belongs, thereby updating the set to which the determined object identifier belongs. In this case, if at least one set only includes the target set, and the number of object identifiers in the target set is greater than the preset matching number, then after deleting the determined object identifier from the target set, the target set still includes remaining object identifiers (object identifiers in the target set other than the determined object identifier). Accordingly, the computer device can continue to determine the selected set corresponding to the target set, and then match the objects indicated by the remaining object identifiers in the target set until a match is successful.

[0096] In this embodiment, upon receiving a request from a target object to participate in a target activity, the object identifier of the target object can be added to the target set contained in the object matching pool corresponding to the target activity based on the target object's evaluation information. The evaluation value indicated by the evaluation information is within the evaluation interval corresponding to the target set. Then, a target matching index for the target activity can be calculated based on the preset matching quantity corresponding to the target activity and the target object's expected matching duration. This target matching index indicates the number of objects participating in matching per unit time required to start the target activity under the expected matching duration. Based on the target matching index, at least one set is selected from the object matching pool, and the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index. Based on this, at least one set to participate in matching can be selected at the start of matching, effectively saving the waiting time for cross-set matching. Correspondingly, when the total number of object identifiers in at least one set is detected to be greater than or equal to the preset matching quantity, object identifiers of the preset matching quantity can be determined from at least one set, and the determined object identifiers include the object identifier of the target object. This initiates the target activity and controls the objects indicated by the determined object identifiers to participate in the target activity, effectively improving the object matching rate. In addition, embodiments of this application can also match objects with similar evaluation information (i.e., strength) by selecting at least one set. Based on this, embodiments of this application can improve the object matching speed when matching objects with similar evaluation information, thereby improving the object experience (i.e., user experience).

[0097] Please see Figure 4 This is a flowchart illustrating another object matching method provided in an embodiment of this application. This object matching method can be executed by the computer device (terminal or server) mentioned above; alternatively, it can be executed jointly by the terminal and the server. For ease of explanation, the following description will use the execution of this object matching method by a computer device as an example; please refer to [link to relevant documentation]. Figure 4The object matching method may include the following steps S401-S407:

[0098] S401, Receive the activity participation request for the target activity initiated by the target object.

[0099] S402, based on the evaluation information of the target object, add the object identifier of the target object to the target set contained in the object matching pool corresponding to the target activity.

[0100] The target activity's object matching pool includes at least one set. Any object identifier in any set included in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity, and the evaluation value indicated by the target object's evaluation information is within the evaluation interval corresponding to the target set.

[0101] It should be noted that steps S401 and S402 are as described above, and will not be repeated here in the embodiments of this application.

[0102] S403, calculate the target matching index of the target activity based on the preset matching quantity corresponding to the target activity and the expected matching time of the target object.

[0103] The target matching metric indicates the number of objects participating in the matching process per unit of time required to initiate a target activity, given the desired matching duration.

[0104] It's important to note that the expected matching time for a target object is affected by the CCU (Concurrent Users). In other words, the computer device can determine the expected matching time for the target object based on the number of concurrent users. The number of concurrent users can also be referred to as the number of people participating in the matching process, or the number of objects participating in the matching process. The number of objects participating in the matching process within any given time period indicates the number of objects participating in the matching process for the target activity within that given time period. In a game scenario, the number of objects participating in the matching process can be used to represent how many objects are simultaneously engaged in game matching within a certain time frame. The number of objects participating in the matching process changes continuously throughout the day. Figure 5a As shown.

[0105] Correspondingly, when calculating the range across sets, there needs to be an expected matching time (i.e., the expected duration for starting the target activity to control the target object's participation in the target activity), so that any object can be successfully matched within that expected matching time. If the objects participating in the matching can tolerate a long matching wait time (i.e., the waiting time required for a successful match, that is, the actual time required for starting the target activity to control the target object's participation in the target activity), then cross-sets can be avoided or minimized, thus matching objects with similar evaluation information. In this case, the expected matching time is longer. Conversely, if the object can tolerate a short matching wait time, it is necessary to reduce the fairness of the competition (i.e., matching objects with a certain difference in strength) and increase the range across sets. In this case, the expected matching time is shorter. In the embodiments of this application, since the expected matching time can affect the range across sets, the matching wait time will also be affected by the corresponding expected matching time. In the most ideal case, the matching wait time is less than or equal to the expected matching time, that is, in the most ideal case, a successful match can be achieved within the expected matching time.

[0106] Therefore, the longer the matching wait time, the more similar the strengths of the successfully matched objects, and the closer the win rate is to 50%; for example, such as Figure 5b As shown, the horizontal axis represents the matching waiting time, and the vertical axis represents the win rate of a successfully matched object in this round. Ideally, the win rate is 50%, meaning the probability of winning or losing is equal. In this case, the strength of the successfully matched objects is roughly the same. It should be noted that... Figure 5b This application merely illustrates the relationship between match waiting time and competitive fairness; it does not limit the scope of the application. For example, the win rate may be less than 50%, etc.

[0107] In this embodiment, since the patience of the participants in the matching process is limited, the goal of achieving a 50% win rate cannot be achieved indefinitely by increasing the matching waiting time. Therefore, this application can configure the expected matching time for different CCUs in advance to establish the correspondence between the number of concurrent online users (i.e., the number of participants in the matching process within the preset counting time) and the expected matching time. The preset counting time can be set based on experience or according to actual needs, such as one second or one minute, etc.

[0108] It should be noted that the construction of the correspondence between the number of objects participating in the matching within the preset counting time and the expected matching time can be positively correlated with the preset matching number. That is, for any activity, the larger the preset matching number corresponding to that activity, the longer the expected matching time corresponding to the same number of objects will be when configuring the correspondence between the number of objects and the expected matching time under that activity. Specifically, for the first activity and the second activity, when the preset matching number corresponding to the first activity is greater than the preset matching number corresponding to the second activity, the expected matching time corresponding to any number of objects under the first activity can be greater than or equal to the expected matching time corresponding to any number of objects under the second activity.

[0109] For example, taking the activity in BR mode as an example, when the preset counting time is one minute, the correspondence between the number of objects participating in matching per minute and the expected matching time can be shown in Table 1:

[0110] Table 1

[0111]

[0112]

[0113] As can be seen from Table 1, the expected matching time changes with the number of objects participating in the matching. Specifically, the expected matching time should not be too long when the number of objects is small, in order to prevent the objects participating in the matching from running out of patience. When the number of objects is large, the expected matching time should not be too short, in order to match the object with the closest strength.

[0114] It should be noted that Table 1 only illustrates the correspondence between the number of objects and the expected matching time, and this application does not limit it; for example, the computer device can also be configured to match the number of objects participating in the matching per second and the expected matching time; for example, when the number of objects participating in the matching per minute is 10, the corresponding expected matching time can also be configured to 56 (seconds), and so on.

[0115] In the embodiments of this application, the correspondence between the number of objects and the expected matching time can be a one-to-one correspondence, that is, one number of objects corresponds to one expected matching time, and the expected matching time corresponding to different number of objects can be the same or different; the correspondence between the number of objects and the expected matching time can also be a many-to-one correspondence, that is, a range of values ​​for the number of objects can correspond to one expected matching time, that is, the number of objects in the same range of values ​​can correspond to the same expected matching time, and this application does not limit this.

[0116] When the above correspondence is a many-to-one correspondence, the computer device can use a one-to-one correspondence representation to show the correspondence between the number of objects and the expected matching time, and determine the correspondence between the range of values ​​for the number of objects and the expected matching time based on the representation result, that is, determine the many-to-one correspondence. For example, when the representation result is as shown in Table 1, the computer device can determine that the expected matching time for the number of objects in the value range [0, 10] is 60 (seconds), the expected matching time for the number of objects in the value range (10, 20) is 55 (seconds), and so on; or, it can determine that the expected matching time for the number of objects in the value range [0, 15) is 60 (seconds), the expected matching time for the number of objects in the value range [15, 25) is 55 (seconds), and so on. Optionally, the computer device can also use a many-to-one correspondence representation to show the correspondence between the number of objects and the expected matching time, that is, the computer device can represent the expected matching time corresponding to the value range of each number of objects.

[0117] Furthermore, the computer device can obtain the number of object identifiers added to each set in the object matching pool corresponding to the target activity within a preset time period; and sum the number of object identifiers added to each set in the object matching pool corresponding to the target activity within the preset time period to obtain the summation result; then, based on the summation result and the preset time period, the number of target objects can be calculated; thus, according to the correspondence between the number of objects and the expected matching time, the expected matching time corresponding to the number of target objects can be determined, and the determined expected matching time can be used as the expected matching time of the target objects.

[0118] In this embodiment, since any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity, the number of object identifiers contained in any set in the object matching pool can reflect the number of objects participating in the matching corresponding to that set (i.e., the number of objects participating in the matching of the target activity). In other words, the number of object identifiers in any set contained in the object matching pool can refer to the number of objects participating in the matching corresponding to that set.

[0119] The preset duration can be set based on experience or based on actual needs, and this application does not limit it. For example, assuming the preset duration is 5 minutes, the computer device can obtain the number of object identifiers added to each set in the object matching pool in the last 5 minutes (i.e., 5 minutes before the current system time), and thus obtain the summation result (i.e., the number of object identifiers added to the object matching pool in the preset duration).

[0120] It should be noted that the aforementioned number of target objects refers to the number of target objects participating in matching within a preset counting time. In other words, the computer device can calculate the number of target objects participating in matching within the preset counting time based on the summation result and the preset time. Specifically, the computer device can perform a division operation on the summation result and the preset time to obtain the number of target objects. Therefore, when the unit of the preset time is minutes, the preset counting time can be one minute, meaning the average number of target objects participating in matching per minute can be obtained; when the unit of the preset time is seconds, the preset counting time can be one second, meaning the average number of target objects participating in matching per second can be obtained.

[0121] For example, suppose the preset duration is 5 minutes, and the total number of object identifiers in each set included in the object matching pool within the preset duration (i.e., the number of objects participating in the matching within the preset duration) is 2500. In other words, the above summation result is 2500, so the computer device can obtain an average of 500 target objects participating in the matching per minute. In this case, the correspondence between the number of objects participating in the matching per minute and the expected matching duration shown in Table 1 can be consulted to determine the expected matching duration (i.e., 25 seconds) corresponding to the number of target objects, and thus the determined expected matching duration can be used as the expected matching duration for the target objects.

[0122] In practical implementation, the computer device can use a preset matching quantity as the dividend and the expected matching time of the target object as the divisor to perform a division operation on the preset matching quantity and the expected matching time of the target object, thereby obtaining the target matching index. The target matching index can also be called the required object arrival rate. Furthermore, since the target matching index indicates the number of objects participating in the matching process per unit time required to initiate the target activity under the expected matching time, when the unit time is one second, the unit of the target matching index can be: people / second, or objects / second, etc.

[0123] For example, suppose the preset matching quantity P corresponding to the target activity is 15, that is, the target activity requires 15 objects (i.e. 15 people) to start. Then, when the number of target objects is 500 and the expected matching time T obtained from the table is 25 seconds, the computer device can calculate the target matching index as: P / T = 15 / 25 = 0.6 (people / second).

[0124] It should be noted that the sets in the object matching pool can be arranged according to the size of the corresponding evaluation interval, so as to facilitate the selection of at least one set from the object matching pool later. In the embodiments of this application, the sets in the object matching pool can be arranged in ascending order of the corresponding evaluation interval or in descending order of the corresponding evaluation interval. This application does not limit this arrangement.

[0125] S404, based on the position of the target set in the object matching pool and the target matching index, select a set from the object matching pool in turn until the sum of the matching indices of the selected sets is greater than or equal to the target matching index.

[0126] Specifically, the distance between any selected set and the target set is less than or equal to the distance between any other set in the object matching pool and the target set. The distance between any two sets in the object matching pool refers to the distance between their positions in the pool. Correspondingly, the matching metric can be called the object arrival rate.

[0127] It should be noted that in order to successfully match within the expected matching time, the computer device needs to find enough objects (i.e., reach the preset number of matches) to start the target activity within the expected matching time. Accordingly, in order to achieve this goal, it is necessary to determine how many objects will join the matching within the expected matching time. In this case, if the matching index of a set does not reach the target matching index, several sets can be selected for matching together.

[0128] In this embodiment, before sequentially selecting a set from the object matching pool, the computer device can obtain the number of object identifiers added to each set in the object matching pool within a preset time period; and calculate the matching index of each set in the object matching pool using the number of object identifiers added to each set within the preset time period and the preset time period. The matching index of any set refers to the number of object identifiers added to that set within a unit time period, that is, the number of objects participating in matching indicated by that set within a unit time period. Specifically, for any set in the object matching pool corresponding to the target activity, the computer device can perform a division operation between the number of object identifiers added to that set within the preset time period and the preset time period to obtain the matching index of that set. For example, assuming the preset time period is 5 minutes and the number of sets contained in the object matching pool is 50, then at a certain time, the matching index of each set in the object matching pool can be as shown in Table 2:

[0129] Table 2

[0130]

[0131] For example, as shown in Table 2, suppose the object identifier of the target object is added to set 3, that is, suppose the target set is set 3. Since the matching index of set 3 is 0.166 (people / second), and suppose the calculated target matching index is 0.6 (people / second), the matching index of set 3 does not reach the target matching index. Therefore, an additional matching index of 0.6-0.166=0.434 (people / second) is needed to make the sum of the matching indices of the selected sets greater than or equal to the target matching index. In this case, the number of selected sets is greater than 1.

[0132] It should be noted that Table 2 only exemplarily represents the matching metrics of each set in the object matching pool, and this application does not limit this; for example, the unit of the matching metric of any set can also be (people / minute). In this case, the matching metric of any set is used to indicate the number of object identifiers added to that set per minute; or, for example, a computer device can also count the number of object identifiers added to each set in the last 6 minutes to calculate the corresponding matching metric, and so on.

[0133] In one implementation, the computer device can select a target set from an object matching pool; if the matching index of the target set is less than the target matching index, then a set adjacent to the target set is selected from the object matching pool; if the sum of the matching indices of the selected sets is less than the target matching index, then a set adjacent to the target set is selected from the object matching pool, until the sum of the matching indices of the selected sets is greater than or equal to the target matching index. It should be noted that the set selected again is different from the previously selected set.

[0134] The set adjacent to the target set can refer to the set in the object matching pool that is adjacent to the target set, that is, the set adjacent to the target set can refer to the set in the object matching pool that is closest to the target set; and the set adjacent to the target set can also refer to the set in the object matching pool that is closer to the target set than a preset distance threshold. This application does not limit this. The preset distance threshold can be set according to experience or according to actual needs. This application does not limit this.

[0135] For example, such as Figure 5c As shown, assuming the target set is set 3, if the set adjacent to the target set refers to the set in the object matching pool that is closest to the target set, then the set adjacent to the target set may include set 2 and set 4; if the set adjacent to the target set refers to the set in the object matching pool that is less than a preset distance threshold, then when the preset distance threshold is 3, the set adjacent to the target set may include set 1, set 2, set 4 and set 5.

[0136] Specifically, if the matching index of the target set is less than the target matching index, the computer device can select a set adjacent to the target set from the object matching pool in ascending order of distance from the target set. If the sum of the matching indices of the selected sets is less than the target matching index, it can trigger the selection of a set adjacent to the target set from the object matching pool in ascending order of distance from the target set, until the sum of the matching indices of the selected sets is greater than or equal to the target matching index. The ascending order of distance from the target set can also refer to the order of proximity to the target set.

[0137] It should be noted that, for any distance from the target set, if the adjacent sets at that distance may include a first adjacent set and a second adjacent set, and the first adjacent set is ranked higher than the second adjacent set in the object matching pool, then the computer device can determine that the selection order of the first adjacent set is higher than the selection order of the second adjacent set. In this case, among the sets equidistant from the target set, the selection order of any set is positively correlated with its ranking position in the object matching pool. That is, among the sets equidistant from the target set, the ranking position... The earlier a set appears in the selection order, the earlier it appears in the selection order. That is, the computer device can first select sets whose arrangement position precedes that of the target set. Alternatively, the computer device can determine that the selection order of the first adjacent set follows that of the second adjacent set. In this case, among sets equidistant from the target set, the selection order of any set is negatively correlated with its arrangement position in the object matching pool. In other words, among sets equidistant from the target set, the earlier a set appears in the selection order, the later it appears in the selection order. This application does not limit this. Furthermore, if there are multiple adjacent sets whose distance to the target set is any of the above distances, then when selecting a set sequentially from these adjacent sets, the selection can be performed according to the selection order.

[0138] In this embodiment, if the sets in the object matching pool are arranged in ascending order of their corresponding evaluation intervals, then when the selection order of any set equidistant from the target set is positively correlated with its position in the object matching pool, the computer device may first select the set with the smallest evaluation interval from the sets equidistant from the target set; when the selection order of any set equidistant from the target set is negatively correlated with its position in the object matching pool, the computer device may first select the set with the largest evaluation interval from the sets equidistant from the target set, and so on.

[0139] For example, such as Figure 5c As shown, taking set 3 as an example, assuming the target matching index is 0.6, and that among sets equidistant from the target set, the selection order of any set is positively correlated with its position in the object matching pool, the computer device can select the target set from the object matching pool. Since the target set's matching index is 0.166, meaning its matching index is less than the target matching index, the computer device can first select the set closest to the target set (i.e., set 2 and set 4). Since set 2's position in the object matching pool precedes set 4's position, meaning set 2's selection order precedes set 4's selection order, the computer device can select set 2. Next, since the selected set (i.e.... The sum of the matching indices of sets 2 and 3 is 0.322, which is less than the target matching index. Therefore, the computer device can continue to select a set adjacent to the target set from the object matching pool in ascending order of distance. Since the selected set must be different from the previously selected set, set 4, which has the smallest distance to the target set, can be selected. Furthermore, since the sum of the matching indices of the selected sets (sets 2, 3, and 4) is 0.582, which is less than the target matching index, the computer device can continue to select a set adjacent to the target set (i.e., set 1) from the object matching pool in ascending order of distance and the selection order of each set in the object matching pool. In this case, the sum of the matching indices of the selected set is greater than the target matching index, so the selection of the set can be completed.

[0140] For example, such as Figure 5dAs shown, taking set 3 as an example, assuming the target matching index is 0.6, and that among sets equidistant from the target set, the selection order of any set is negatively correlated with its position in the object matching pool, the computer device can select the target set from the object matching pool. Since the matching index of the target set is less than the target matching index, and among the sets with the smallest distance from the target set, set 2's position in the object matching pool precedes that of set 4, meaning set 4's selection order precedes set 2's, the computer device can select set 4. Next, since the sum of the matching indices of the selected sets (sets 3 and 4) is 0.416, which is less than... Given the target matching index, the computer device can continue to select a set adjacent to the target set from the object matching pool in ascending order of distance. Since the selected set must be different from the previously selected set, set 2, which has the smallest distance to the target set, can be selected. Furthermore, since the sum of the matching indices of the selected sets (sets 2, 3, and 4) is 0.582, which is less than the target matching index, the computer device can continue to select a set adjacent to the target set from the object matching pool (i.e., set 5) in ascending order of distance and the selection order of each set in the object matching pool. In this case, the sum of the matching indices of the selected sets is greater than the target matching index, so the selection of the set can be completed.

[0141] In another implementation, the computer device may select a target set from an object matching pool; if the matching index of the target set is less than the target matching index, a difference calculation is performed between the target matching index and the matching index of the target set to obtain a target difference; then, starting from the first set in the object matching pool that precedes the target set, a first set is selected sequentially from the object matching pool in order of increasing distance from the target set, until the sum of the matching indices of the selected first sets is greater than or equal to a first multiple of the target difference; and starting from the first set in the object matching pool that follows the target set, a second set is selected sequentially from the object matching pool in order of increasing distance from the target set, until the sum of the matching indices of the selected second sets is greater than or equal to a second multiple of the target difference; wherein, the sum of the first multiple of the target difference and the second multiple of the target difference equals the target difference.

[0142] Correspondingly, the sum of the first multiple and the second multiple can be equal to 1. This application does not limit the specific values ​​of the first multiple and the second multiple. Optionally, both the first multiple and the second multiple can be 0.5. In this case, the first multiple and the second multiple of the target difference are both half of the target multiple.

[0143] In a specific implementation, the computer device can start from the first set in the object matching pool that precedes the target set, and select a set from the object matching pool in order of distance from the target set, defining the selected set as the first set, until the sum of the matching indicators of the selected first set is greater than or equal to the first multiple of the target difference; correspondingly, the computer device can start from the first set in the object matching pool that follows the target set, and select a set from the object matching pool in order of distance from the target set, defining the selected set as the second set, until the sum of the matching indicators of the selected second set is greater than or equal to the second multiple of the target difference.

[0144] For example, such as Figure 5e As shown, assuming the target set is set 3 and the target matching index is 0.6, set 3 can be matched with adjacent sets to obtain a larger matching index. Assuming both the first and second multiples are 0.5, and since the target difference is 0.6 - 0.166 = 0.434, the computer device can obtain matching indices of 0.434 / 2 = 0.2167 from the sets preceding the target set (i.e., low-score sets) and the sets following the target set (i.e., high-score sets). In this case, the computer device can start from the first set in the object matching pool that precedes the target set. Following the order of proximity to the target set, sets 2 and 1 are selected sequentially from the object matching pool, such that the sum of the matching indices of sets 1 and 2 reaches the requirement of 0.2167. Correspondingly, the computer device can start from the first set in the object matching pool after the target set, and select a set sequentially from the object matching pool in the order of proximity to the target set. Since only one set 4 is needed to achieve the requirement of 0.2167 for the high-scoring set, the selected sets include sets 1, 2, 3, and 4. In other words, the range of sets 3 is from set 1 to set 4.

[0145] It should be noted that, Figures 5c-5e These examples exemplify the sets in the object matching pool, and this application does not limit them; for example, the number of sets in the object matching pool corresponding to the target activity can also be 60 or 100, etc.

[0146] S405, the selected set is used as at least one set.

[0147] For example, assuming the selected sets include set 1, set 2, set 3, and set 4, then the computer device can use set 1, set 2, set 3, and set 4 as at least one set. That is, at least one set can include set 1, set 2, set 3, and set 4.

[0148] It should be noted that in the matching system (i.e., the object matching task), it is necessary to comprehensively consider both matching objects with similar strengths and the matching waiting time. These two points are conflicting, so a balance needs to be struck. Therefore, the embodiments of this application can perform real-time data statistics (i.e., count the number of objects participating in matching within the most recent preset counting time, and use this data to calculate the matching under the current system time), and calculate the range across sets (i.e., determine at least one set based on the dynamic real-time matching data and the correspondence between the configured number of objects and the expected matching time), so as to facilitate subsequent cross-set matching. Based on this, the computer device can accurately match objects in at least one set, matching objects with similar strengths while minimizing the matching waiting time. It can be seen that the object matching method proposed in the embodiments of this application can serve as a standard method, possessing certain automatic and adaptive characteristics, thereby achieving a balance between matching objects with similar strengths and the matching waiting time.

[0149] S406, when the total number of object identifiers in at least one set is detected to be greater than or equal to a preset matching number, object identifiers of a number equal to the preset matching number are determined from at least one set.

[0150] In one specific implementation, if the number of object identifiers in the target set is greater than or equal to a preset matching number, the computer device can determine the number of object identifiers in the target set that equals the preset matching number. In this case, all determined object identifiers come from the target set.

[0151] In another specific implementation, if the number of object identifiers in the target set is less than the preset matching number, then the set with the smallest distance from the target set is selected from at least one set; further, if the sum of the number of object identifiers in the target set and the number of object identifiers in the selected set is less than the preset matching number, then the set with the smallest distance from the target set is selected from at least one set, and the selected set is different from the previously selected set, until the sum of the number of object identifiers in the target set and the number of object identifiers in the selected set is greater than or equal to the preset matching number; and then the number of object identifiers equal to the preset matching number is determined from the target set and the selected set.

[0152] In this embodiment, if the total number of object identifiers in the target set and the selected set is equal to the preset matching number, the computer device can use the object identifiers in the target set and the selected set as the determined object identifiers; if the total number of object identifiers in the target set and the selected set is greater than the preset matching number, the computer device can determine the object identifiers contained in the selected set excluding the last selected set, and the first total number of object identifiers in the target set, and determine the first quantity difference between the preset matching number and the first total number, thereby using the object identifiers in the target set, the object identifiers contained in the selected set excluding the last selected set, and the object identifiers in the last selected set whose quantity is equal to the first quantity difference as the determined object identifiers.

[0153] It should be noted that, since the set selected again must be different from the previously selected set, in this case, selecting the set with the smallest distance from the target set from at least one set means: selecting the set with the smallest distance from the target set from the sets included in at least one set, excluding the target set and the selected sets. In other words, selecting the set with the smallest distance from the target set from at least one set means: selecting the set with the smallest distance from the target set from the unselected sets of at least one set.

[0154] Furthermore, if there are multiple sets in at least one set that are closest to the target set, and none of them have been selected, then the computer device may first select the set with the smallest evaluation interval contained in the set that is closest to the target set from at least one set; the computer device may also first select the set with the largest evaluation interval contained in the set that is closest to the target set from at least one set, and this application does not limit this.

[0155] For example, such as Figure 5fAs shown, assuming the target set is set 3, the preset matching quantity is 15, and at least one set includes set 1, set 2, set 3, and set 4, then if there are multiple sets in at least one set that are closest to the target set, and none of them have been selected, we can first select the set with the smallest evaluation interval contained in the set closest to the target set (i.e., select the adjacent low-scoring set first). In this case, since the number of object identifiers in set 3 is 4 (less than the preset matching quantity, i.e., finding 4 people is insufficient to start the target activity of 15 people), and the set with the smallest distance to the target set in at least one set includes set 2 and set 4, and the set with the smallest evaluation interval in set 2 and set 4 is set 2, then set 2 can be selected first. Since the total number of object identifiers in set 2 and set 3 is 8 (less than the preset matching quantity, i.e., cumulatively finding...), the set with the smallest evaluation interval in set 2 is set 2. If there are 8 people (less than the 15 required to start the target activity), and the set with the smallest distance from the target set among at least one unselected set is set 4, then the computer device can select set 4. Since the total number of object identifiers in the target set and the selected sets is 14 (less than the preset matching number, i.e., a total of 14 people were found, which is less than the 15 required to start the target activity), the computer device can select set 1 from at least one set. At this time, the total number of object identifiers in the target set and the selected sets is greater than the preset matching number. Based on this, the computer device can determine 4 object identifiers from set 3, 4 object identifiers from set 2, 6 object identifiers from set 4, and 1 object identifier from set 1, thereby determining the preset matching number of object identifiers from the target set and the selected sets.

[0156] For example, such as Figure 5gAs shown, assuming the target set is set 3, the preset matching quantity is 15, and at least one set includes set 1, set 2, set 3, and set 4, then if there are multiple sets in at least one set that are closest to the target set, and none of them have been selected, we can first select the set with the largest evaluation interval contained in the set with the smallest distance to the target set (i.e., first select the adjacent high-scoring set). In this case, since the number of object identifiers in set 3 is 4 (less than the preset matching quantity), and the sets with the smallest distance to the target set in at least one set include set 2 and set 4, and the set with the largest evaluation interval in set 2 and set 4 is set 4, First, set 4 can be selected. Since the total number of object identifiers in set 3 and set 4 is 10 (less than the preset matching number), and set 2 is the set that is least selected from the target set, the computer device can select set 2. Since the total number of object identifiers in the target set and the selected set is 18 (greater than the preset matching number), the computer device can determine 4 object identifiers from set 3, 6 object identifiers from set 4, and 5 object identifiers from set 2, thereby determining the preset matching number of object identifiers from the target set and the selected set.

[0157] It should be noted that, Figure 5f and Figure 5g The above examples illustrate the determination of object identifiers, and this application does not limit the scope of the examples. For instance, when the target set is set 3 and the number of object identifiers in set 3 is greater than or equal to the preset matching number, the computer device may determine the number of object identifiers that is equal to the preset matching number from set 3, and so on.

[0158] In another specific implementation, the computer device may select one set from at least one set in the order in which at least one set is selected, until the total number of object identifiers in the selected set is greater than or equal to a preset matching number; and determine the number of object identifiers that is the preset matching number from the selected set.

[0159] It should be noted that if the total number of object identifiers in the selected set is equal to the preset matching number, the computer device can use the object identifiers in the selected set as the determined object identifiers; if the total number of object identifiers in the selected set is greater than the preset matching number, the computer device can determine the second total number of object identifiers contained in the sets other than the last selected set, and determine the second quantity difference between the preset matching number and the second total number, thereby using the object identifiers contained in the sets other than the last selected set, and the object identifiers in the last selected set whose quantity is equal to the second quantity difference, as the determined object identifiers.

[0160] For example, suppose at least one set is selected in the order of set 3, set 2, set 4, and set 1, with a preset matching quantity of 15. Then the computer device can select one set from at least one set in the order of set 3, set 2, set 4, and set 1. Suppose the number of object identifiers in set 3 is 6, the number of object identifiers in set 2 is 8, the number of object identifiers in set 4 is 6, and the number of object identifiers in set 1 is 2. Then the computer device can select set 3, set 2, and set 4 in sequence, such that the total number of object identifiers in the selected sets is greater than the preset matching quantity. Thus, all object identifiers in set 3, all object identifiers in set 2, and 1 object identifier in set 4 are used as the determined object identifiers, achieving 15 object identifiers.

[0161] S407, Start the target activity and control the object indicated by the identified object identifier to participate in the target activity.

[0162] It should be noted that if the object identifier of the target object is the first object identifier added to the target set, the computer device can trigger the calculation of the target matching index of the target activity based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object, that is, trigger the execution step S403, thereby further triggering the execution steps S404-S407, so that the target object participates in the above-mentioned target activity. Here, the first object identifier in any set refers to the object identifier with the earliest addition time in any set.

[0163] In this embodiment, when multiple objects initiate a request to participate in a target activity, and the object identifiers of each of the multiple objects are added to their respective sets, the computer device can start from the set with the largest evaluation interval in the object matching pool and sequentially traverse each set in the object matching pool in descending order of evaluation interval. If the object identifier of any of the multiple objects exists in the currently traversed set, the selected set corresponding to the currently traversed set is determined. Then, when the total number of object identifiers in the selected set is detected to be greater than or equal to a preset matching number, the object identifiers with the preset matching number are determined from the selected set, and the determined object identifiers corresponding to the currently traversed set are used as the currently determined object identifiers. Furthermore, the target activity can be started, and the object indicated by the currently determined object identifier can be controlled to participate in the target activity.

[0164] Based on this, computer devices can prioritize the participation of objects indicated by object identifiers that meet the preset matching quantity and are located in the set with the larger evaluation interval in the target activity. This is because, under normal circumstances, there are fewer objects with larger evaluation values, and therefore fewer object identifiers in the set with the larger evaluation interval. This can prevent objects with larger evaluation values ​​from waiting too long during the matching process, thereby reducing the matching waiting time for objects with larger evaluation values ​​and effectively improving the user experience.

[0165] It should be noted that the computer device can sequentially traverse each set in the object matching pool according to the preset detection time; that is, the computer device can start from the set with the largest evaluation interval in the object matching pool after each preset detection time, and sequentially traverse each set in the object matching pool in ascending order of evaluation interval.

[0166] In one specific implementation, when determining the selected set corresponding to the currently traversed set, the computer device can calculate the target matching index of the target activity under the current system time based on the preset matching quantity corresponding to the target activity and the expected matching duration of the object indicated by the first object identifier in the currently traversed set under the current system time. Furthermore, the computer device can determine the selected set corresponding to the currently traversed set from the object matching pool based on the target matching index under the current system time. In this case, the target matching index of the target activity under the current system time needs to be calculated each time the currently traversed set is traversed, in order to determine the selected set corresponding to the currently traversed set from the object matching pool.

[0167] In another specific implementation, when determining the selected set corresponding to the currently traversed set, if a corresponding selected set already exists for the currently traversed set, the computer device can use that selected set as the selected set corresponding to the currently traversed set. In this case, the computer device only needs to calculate the target matching index of the target activity under the current system time when determining the selected set corresponding to the currently traversed set for the first time, so as to determine the selected set corresponding to the currently traversed set from the object matching pool; subsequently, every time the currently traversed set is traversed after a preset detection period, the selected set corresponding to the currently traversed set determined in the first instance is used as the selected set corresponding to the currently traversed set.

[0168] Furthermore, after controlling the object indicated by the currently determined object identifier to participate in the target activity, the computer device can delete the currently determined object identifier from the set to which the currently determined object identifier belongs, so as to update the set to which the currently determined object identifier belongs; continue to traverse the next set in the object matching pool, and trigger the execution if the object identifier of any of the multiple objects in the currently traversed set exists, then determine the selected set corresponding to the currently traversed set.

[0169] For example, suppose the evaluation interval of set 4 in the object matching pool is larger than that of set 3. The selected sets corresponding to set 4 include sets 3 and 4. Set 3 includes object identifier 1, object identifier 2, object identifier 3, and object identifier 4, and set 4 includes object identifier 5, object identifier 6, and object identifier 7. Assuming the preset matching quantity is 5, when the currently traversed set is set 4, the computer device can determine 5 object identifiers from sets 3 and 4. In this case, suppose the currently determined object identifiers include object identifier 5, object identifier 6, object identifier 7, object identifier 1, and object identifier 2. Then the computer device can delete the currently determined object identifiers from sets 3 and 4 to update sets 3 and 4. At this time, set 3 includes object identifiers 3 and 4, and set 4 does not contain any object identifiers. Furthermore, the computer device can continue to traverse set 3. Suppose the selected sets corresponding to set 3 include sets 2, 3, and 4. Then the computer device can detect the total number of object identifiers in sets 2, 3, and 4 at the current system time.

[0170] In this embodiment, after receiving a request from a target object to participate in a target activity, the object identifier of the target object can be added to the target set contained in the object matching pool corresponding to the target activity based on the evaluation information of the target object. Then, the target matching index of the target activity can be calculated based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object. Since the sets in the object matching pool are arranged according to the size of the corresponding evaluation interval, a set can be selected from the object matching pool in turn according to the arrangement position of the target set in the object matching pool and the target matching index, until the sum of the matching indices of the selected sets is greater than or equal to the target matching index, and the distance between any set in the selected set and the target set is less than or equal to the distance between other sets in the object matching pool and the target set. The selected set is then regarded as at least one set, thereby effectively saving the waiting time for cross-set matching and ensuring that the evaluation information of the objects indicated by the object identifiers in at least one set is similar (i.e., similar strength). Accordingly, a preset number of object identifiers can be determined from at least one set, and the evaluation information of the objects indicated by the determined object identifiers is similar. This initiates the target activity and controls the participation of the objects indicated by the determined object identifiers in the target activity, effectively improving the object matching rate. This achieves a dynamic balance between matching objects with similar evaluation information and the matching waiting time, thus improving the object experience. Therefore, this application proposes a dynamic matching scheme that can statistically analyze the number of objects participating in matching and their evaluation information over a period of time to obtain the matching indicators for each set in the object matching pool. Furthermore, by combining the expected matching time corresponding to the number of target objects participating in matching under the current system time, the range of sets the target object needs to cross can be calculated, thereby achieving successful matching within the expected matching time and matching objects with similar capabilities.

[0171] Based on the description of the relevant embodiments of the object matching method above, this application also proposes an object matching apparatus, which can be a computer program (including program code) running on a computer device. The object matching apparatus can execute... Figure 2 or Figure 4 The object matching method shown; please refer to [link / reference]. Figure 6 The object matching device can operate the following units:

[0172] The receiving unit 601 is used to receive an activity participation request for the target activity initiated by the target object;

[0173] Processing unit 602 is configured to add the object identifier of the target object to the target set contained in the object matching pool corresponding to the target activity according to the evaluation information of the target object. The object matching pool includes at least one set, and any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set.

[0174] The processing unit 602 is further configured to calculate the target matching index of the target activity based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration;

[0175] The processing unit 602 is further configured to select at least one set from the object matching pool based on the target matching index, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set.

[0176] The processing unit 602 is further configured to, when detecting that the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, determine object identifiers from the at least one set that have a number equal to the preset matching number, wherein the determined object identifiers include the object identifiers of the target object;

[0177] The processing unit 602 is also configured to initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

[0178] In one implementation, the sets in the object matching pool are arranged according to the size of their corresponding evaluation intervals; when the processing unit 602 selects at least one set from the object matching pool based on the target matching index, it may specifically be used to:

[0179] Based on the position of the target set in the object matching pool and the target matching index, a set is selected sequentially from the object matching pool until the sum of the matching indices of the selected sets is greater than or equal to the target matching index. The distance between any set in the selected set and the target set is less than or equal to the distance between any other set in the object matching pool and the target set. The distance between any two sets in the object matching pool refers to the distance between the positions of the two sets in the object matching pool.

[0180] The selected set shall be referred to as the at least one set.

[0181] In another embodiment, the processing unit 602 selects a set from the object matching pool sequentially based on the arrangement position of the target set in the object matching pool and the target matching index, until the sum of the matching indices of the selected sets is greater than or equal to the target matching index. Specifically, this can be used to:

[0182] Select the target set from the object matching pool;

[0183] If the matching index of the target set is less than the target matching index, then a set adjacent to the target set is selected from the object matching pool;

[0184] If the sum of the matching metrics of the selected set is less than the target matching metric, then a set adjacent to the target set is selected from the object matching pool until the sum of the matching metrics of the selected set is greater than or equal to the target matching metric.

[0185] In another embodiment, the processing unit 602 selects a set from the object matching pool sequentially based on the arrangement position of the target set in the object matching pool and the target matching index, until the sum of the matching indices of the selected sets is greater than or equal to the target matching index. Specifically, this can be used to:

[0186] Select the target set from the object matching pool;

[0187] If the matching index of the target set is less than the target matching index, then the difference between the target matching index and the matching index of the target set is calculated to obtain the target difference.

[0188] Starting from the first set in the object matching pool that precedes the target set, select a first set from the object matching pool in order of distance from the target set to the nearest and farthest, until the sum of the matching indices of the selected first sets is greater than or equal to the first multiple of the target difference;

[0189] Starting from the first set in the object matching pool that follows the target set, a second set is selected sequentially from the object matching pool in order of increasing distance from the target set, until the sum of the matching indices of the selected second sets is greater than or equal to a second multiple of the target difference; wherein, the sum of a first multiple of the target difference and a second multiple of the target difference equals the target difference.

[0190] In another embodiment, when the processing unit 602 determines the number of object identifiers equal to the preset matching number from the at least one set, it may specifically be used to:

[0191] If the number of object identifiers in the target set is greater than or equal to the preset matching number, then object identifiers with a number equal to the preset matching number are determined from the target set.

[0192] If the number of object identifiers in the target set is less than the preset matching number, then the set with the smallest distance to the target set is selected from the at least one set;

[0193] If the total number of object identifiers in the target set and the number of object identifiers in the selected set is less than the preset matching number, then the set with the smallest distance from the target set is selected from the at least one set. The selected set is different from the previously selected set, until the total number of object identifiers in the target set and the number of object identifiers in the selected set is greater than or equal to the preset matching number.

[0194] From the target set and the selected set, determine the number of object identifiers that is equal to the preset matching number.

[0195] In another embodiment, when the processing unit 602 determines the number of object identifiers equal to the preset matching number from the at least one set, it may specifically be used to:

[0196] In accordance with the order in which the at least one set is selected, one set is selected from the at least one set in turn until the total number of object identifiers in the selected set is greater than or equal to the preset matching number;

[0197] From the selected set, determine the number of object identifiers that match the preset number.

[0198] In another embodiment, the processing unit 602 may also be used for:

[0199] The number of object identifiers added to each set in the object matching pool within a preset time period is obtained respectively;

[0200] The matching index of each set in the object matching pool is calculated using the number of object identifiers added to each set within the preset time period and the preset time period. The matching index of any set refers to the number of object identifiers added to any set within a unit of time.

[0201] In another embodiment, the processing unit 602 may also be used for:

[0202] The number of object identifiers added to each set in the object matching pool within a preset time period is obtained respectively;

[0203] The summation operation is performed on the number of object identifiers added to each set in the object matching pool within the preset time period to obtain the summation result;

[0204] Based on the summation result and the preset duration, calculate the number of target objects;

[0205] Based on the correspondence between the number of objects and the expected matching time, the expected matching time corresponding to the number of target objects is determined, and the determined expected matching time is used as the expected matching time of the target objects.

[0206] In another embodiment, the processing unit 602 may also be used for:

[0207] If the object identifier of the target object is the first object identifier added to the target set, then the calculation of the target matching index of the target activity is triggered based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object.

[0208] In another implementation, upon receiving activity participation requests for the target activity initiated by multiple objects, and with the object identifiers of each of the multiple objects being added to their respective sets, the processing unit 602 can also be used to:

[0209] Starting from the set with the largest evaluation interval in the object matching pool, traverse each set in the object matching pool in descending order of evaluation interval;

[0210] If the object identifier of any of the multiple objects exists in the currently traversed set, then the selected set corresponding to the currently traversed set is determined.

[0211] When the total number of object identifiers in the selected set is detected to be greater than or equal to the preset matching number, object identifiers with the preset matching number are determined from the selected set, and the determined object identifiers corresponding to the currently traversed set are used as the currently determined object identifiers.

[0212] Initiate the target activity and control the object indicated by the currently determined object identifier to participate in the target activity.

[0213] In another embodiment, after controlling the object indicated by the currently determined object identifier to participate in the target activity, the processing unit 602 can also be used to:

[0214] Delete the currently determined object identifier from the set to which it belongs, so as to update the set to which the currently determined object identifier belongs;

[0215] Continue traversing the next set in the object matching pool and trigger the execution of the step of determining the selected set corresponding to the current traversed set if the object identifier of any of the multiple objects exists in the currently traversed set.

[0216] According to one embodiment of this application, Figure 2 or Figure 4 Each step involved in the method shown can be derived from... Figure 6 This is performed by the individual units in the object matching device shown. For example, Figure 2 Step S201 shown can be performed by Figure 6 The receiving unit 601 shown executes the steps S202-S206, which can all be performed by... Figure 6 The processing unit 602 shown executes this. For example, Figure 4 Step S401 shown can be performed by Figure 6 The receiving unit 601 shown executes the steps S402-S407, which can all be performed by... Figure 6 The processing unit 602 shown executes, etc.

[0217] According to another embodiment of this application, Figure 6 The units in the object matching device shown can be individually or entirely merged into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above units are based on logical function division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the object matching device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.

[0218] According to another embodiment of this application, the following can be achieved by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM), a device capable of performing operations such as... Figure 2 or Figure 4 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 6 The object matching apparatus shown herein, and the object matching method for implementing the embodiments of this application, are described. The computer program may be recorded on, for example, a computer storage medium, loaded onto the aforementioned computing device via the computer storage medium, and run therein.

[0219] In this embodiment, upon receiving a request from a target object to participate in a target activity, the object identifier of the target object can be added to the target set contained in the object matching pool corresponding to the target activity based on the target object's evaluation information. The evaluation value indicated by the evaluation information is within the evaluation interval corresponding to the target set. Then, a target matching index for the target activity can be calculated based on the preset matching quantity corresponding to the target activity and the target object's expected matching duration. This target matching index indicates the number of objects participating in matching per unit time required to start the target activity under the expected matching duration. Based on the target matching index, at least one set is selected from the object matching pool, and the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index. Based on this, at least one set to participate in matching can be selected at the start of matching, effectively saving the waiting time for cross-set matching. Correspondingly, when the total number of object identifiers in at least one set is detected to be greater than or equal to the preset matching quantity, object identifiers of the preset matching quantity can be determined from at least one set, and the determined object identifiers include the object identifier of the target object. This initiates the target activity and controls the objects indicated by the determined object identifiers to participate in the target activity, effectively improving the object matching rate. In addition, embodiments of this application can also match objects with similar evaluation information (i.e., strength) by selecting at least one set. Based on this, embodiments of this application can improve the object matching speed when matching objects with similar evaluation information, thereby improving the object experience (i.e., user experience).

[0220] Based on the description of the above method and apparatus embodiments, this application also provides a computer device. Please refer to... Figure 7 The computer device includes at least a processor 701, an input interface 702, an output interface 703, and a computer storage medium 704. The processor 701, input interface 702, output interface 703, and computer storage medium 704 within the computer device can be connected via a bus or other means.

[0221] Computer storage medium 704 can be stored in the memory of a computer device. The computer storage medium 704 is used to store computer programs, which include program instructions. The processor 701 is used to execute the program instructions stored in the computer storage medium 704. The processor 701 (or CPU (Central Processing Unit)) is the computing and control core of the computer device, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to implement a corresponding method flow or corresponding function. In one embodiment, the processor 701 described in this application embodiment can be used to perform a series of object matching, specifically including: receiving an activity participation request initiated by a target object for a target activity; adding the object identifier of the target object to the target set included in the object matching pool corresponding to the target activity according to the evaluation information of the target object, the object matching pool including at least one set, any object identifier in any set included in the object matching pool being used to indicate that the corresponding object requests to participate in the target activity, the evaluation value indicated by the evaluation information being located within the evaluation interval corresponding to the target set; and performing a preset matching according to the target activity. The target matching index of the target activity is calculated based on the quantity and the expected matching duration of the target objects. The target matching index indicates the number of objects participating in the matching within a unit of time required to start the target activity under the expected matching duration. Based on the target matching index, at least one set is selected from the object matching pool, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set. When the total number of object identifiers in the at least one set is detected to be greater than or equal to the preset matching quantity, object identifiers with the preset matching quantity are determined from the at least one set, and the determined object identifiers include the object identifiers of the target object. The target activity is started, and the objects indicated by the determined object identifiers are controlled to participate in the target activity, etc.

[0222] This application embodiment also provides a computer storage medium (memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer storage medium provides storage space that stores the operating system of the computer device. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer storage medium located remotely from the aforementioned processor. In one embodiment, the processor can load and execute one or more instructions stored in the computer storage medium to implement the above-mentioned... Figure 2 or Figure 4 The various method steps in an embodiment of the object matching method shown.

[0223] In this embodiment, upon receiving a request from a target object to participate in a target activity, the object identifier of the target object can be added to the target set contained in the object matching pool corresponding to the target activity based on the target object's evaluation information. The evaluation value indicated by the evaluation information is within the evaluation interval corresponding to the target set. Then, a target matching index for the target activity can be calculated based on the preset matching quantity corresponding to the target activity and the target object's expected matching duration. This target matching index indicates the number of objects participating in matching per unit time required to start the target activity under the expected matching duration. Based on the target matching index, at least one set is selected from the object matching pool, and the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index. Based on this, at least one set to participate in matching can be selected at the start of matching, effectively saving the waiting time for cross-set matching. Correspondingly, when the total number of object identifiers in at least one set is detected to be greater than or equal to the preset matching quantity, object identifiers of the preset matching quantity can be determined from at least one set, and the determined object identifiers include the object identifier of the target object. This initiates the target activity and controls the objects indicated by the determined object identifiers to participate in the target activity, effectively improving the object matching rate. In addition, embodiments of this application can also match objects with similar evaluation information (i.e., strength) by selecting at least one set. Based on this, embodiments of this application can improve the object matching speed when matching objects with similar evaluation information, thereby improving the object experience (i.e., user experience).

[0224] It should be noted that, according to one aspect of this application, a computer program product or computer program is also provided, which includes computer instructions stored in a computer storage medium. The processor of a computer device reads the computer instructions from the computer storage medium, executes the computer instructions, and causes the computer device to perform the aforementioned actions. Figure 2 or Figure 4 The methods provided in various alternative ways in the embodiments of the object matching method shown are as follows.

[0225] Furthermore, it should be understood that the above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application are still within the scope of this application.

Claims

1. An object matching method, characterized in that, include: Receive activity participation requests initiated by the target object for the target activity; Based on the evaluation information of the target object, the object identifier of the target object is added to the target set contained in the object matching pool corresponding to the target activity. The object matching pool includes at least one set. Any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set. Based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object, the target matching index of the target activity is calculated; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration. Based on the target matching index, at least one set is selected from the object matching pool, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set; When the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, object identifiers of the preset matching number are determined from the at least one set, and the determined object identifiers include the object identifiers of the target object; Initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

2. The method according to claim 1, characterized in that, The sets in the object matching pool are arranged according to the size of their corresponding evaluation intervals; the step of selecting at least one set from the object matching pool based on the target matching index includes: Based on the position of the target set in the object matching pool and the target matching index, a set is selected sequentially from the object matching pool until the sum of the matching indices of the selected sets is greater than or equal to the target matching index. The distance between any set in the selected set and the target set is less than or equal to the distance between any other set in the object matching pool and the target set. The distance between any two sets in the object matching pool refers to the distance between the positions of the two sets in the object matching pool. The selected set shall be referred to as the at least one set.

3. The method according to claim 2, characterized in that, The step of sequentially selecting a set from the object matching pool based on the ranking position of the target set in the object matching pool and the target matching index, until the sum of the matching indices of the selected sets is greater than or equal to the target matching index, includes: Select the target set from the object matching pool; If the matching index of the target set is less than the target matching index, then a set adjacent to the target set is selected from the object matching pool; If the sum of the matching metrics of the selected set is less than the target matching metric, then a set adjacent to the target set is selected from the object matching pool until the sum of the matching metrics of the selected set is greater than or equal to the target matching metric.

4. The method according to claim 2, characterized in that, The step of sequentially selecting a set from the object matching pool based on the ranking position of the target set in the object matching pool and the target matching index, until the sum of the matching indices of the selected sets is greater than or equal to the target matching index, includes: Select the target set from the object matching pool; If the matching index of the target set is less than the target matching index, then the difference between the target matching index and the matching index of the target set is calculated to obtain the target difference. Starting from the first set in the object matching pool that precedes the target set, select a first set from the object matching pool in order of distance from the target set to the nearest and farthest, until the sum of the matching indices of the selected first sets is greater than or equal to the first multiple of the target difference; Starting from the first set in the object matching pool that follows the target set, a second set is selected sequentially from the object matching pool in order of increasing distance from the target set, until the sum of the matching indices of the selected second sets is greater than or equal to a second multiple of the target difference; wherein, the sum of a first multiple of the target difference and a second multiple of the target difference equals the target difference.

5. The method according to any one of claims 1-4, characterized in that, The step of determining the number of object identifiers from the at least one set that equals the preset matching number includes: If the number of object identifiers in the target set is greater than or equal to the preset matching number, then object identifiers with a number equal to the preset matching number are determined from the target set. If the number of object identifiers in the target set is less than the preset matching number, then the set with the smallest distance to the target set is selected from the at least one set; If the total number of object identifiers in the target set and the number of object identifiers in the selected set is less than the preset matching number, then the set with the smallest distance from the target set is selected from the at least one set. The selected set is different from the previously selected set, until the total number of object identifiers in the target set and the number of object identifiers in the selected set is greater than or equal to the preset matching number. From the target set and the selected set, determine the number of object identifiers that is equal to the preset matching number.

6. The method according to any one of claims 1-4, characterized in that, The step of determining the number of object identifiers from the at least one set that equals the preset matching number includes: In accordance with the order in which the at least one set is selected, one set is selected from the at least one set in turn until the total number of object identifiers in the selected set is greater than or equal to the preset matching number; From the selected set, determine the number of object identifiers that match the preset number.

7. The method according to any one of claims 1-4, characterized in that, The method further includes: The number of object identifiers added to each set in the object matching pool within a preset time period is obtained respectively; The matching index of each set in the object matching pool is calculated using the number of object identifiers added to each set within the preset time period and the preset time period. The matching index of any set refers to the number of object identifiers added to any set within a unit of time.

8. The method according to any one of claims 1-4, characterized in that, The method further includes: The number of object identifiers added to each set in the object matching pool within a preset time period is obtained respectively; The summation operation is performed on the number of object identifiers added to each set in the object matching pool within the preset time period to obtain the summation result; Based on the summation result and the preset duration, calculate the number of target objects; Based on the correspondence between the number of objects and the expected matching time, the expected matching time corresponding to the number of target objects is determined, and the determined expected matching time is used as the expected matching time of the target objects.

9. The method according to any one of claims 1-4, characterized in that, The method further includes: If the object identifier of the target object is the first object identifier added to the target set, then the calculation of the target matching index of the target activity is triggered based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object.

10. The method according to any one of claims 1-4, characterized in that, The method further includes receiving activity participation requests for the target activity initiated by multiple objects, and adding the object identifiers of each of the multiple objects to their respective collections. Starting from the set with the largest evaluation interval in the object matching pool, traverse each set in the object matching pool in descending order of evaluation interval; If the object identifier of any of the multiple objects exists in the currently traversed set, then the selected set corresponding to the currently traversed set is determined. When the total number of object identifiers in the selected set is detected to be greater than or equal to the preset matching number, object identifiers with the preset matching number are determined from the selected set, and the determined object identifiers corresponding to the currently traversed set are used as the currently determined object identifiers. Initiate the target activity and control the object indicated by the currently determined object identifier to participate in the target activity.

11. The method according to claim 10, characterized in that, After controlling the object indicated by the currently determined object identifier to participate in the target activity, the method further includes: Delete the currently determined object identifier from the set to which it belongs, so as to update the set to which the currently determined object identifier belongs; Continue traversing the next set in the object matching pool, and trigger the execution of the step of determining the selected set corresponding to the current traversed set if the object identifier of any of the multiple objects exists in the currently traversed set.

12. An object matching device, characterized in that, include: The receiving unit is used to receive activity participation requests for the target activity initiated by the target object; The processing unit is configured to add the object identifier of the target object to the target set contained in the object matching pool corresponding to the target activity according to the evaluation information of the target object. The object matching pool includes at least one set, and any object identifier in any set contained in the object matching pool is used to indicate that the corresponding object requests to participate in the target activity. The evaluation value indicated by the evaluation information is located within the evaluation interval corresponding to the target set. The processing unit is further configured to calculate the target matching index of the target activity based on the preset matching quantity corresponding to the target activity and the expected matching duration of the target object; the target matching index is used to indicate the number of objects participating in matching per unit time required to start the target activity under the expected matching duration; The processing unit is further configured to select at least one set from the object matching pool based on the target matching index, wherein the sum of the matching indices of each set in the at least one set is greater than or equal to the target matching index, and the at least one set includes the target set. The processing unit is further configured to, when detecting that the total number of object identifiers in the at least one set is greater than or equal to the preset matching number, determine object identifiers from the at least one set that are equal to the preset matching number, wherein the determined object identifiers include the object identifiers of the target object; The processing unit is also configured to initiate the target activity and control the object indicated by the determined object identifier to participate in the target activity.

13. A computer device, characterized in that, It includes a processor and a memory, wherein the memory is used to store a computer program that, when executed by the processor, implements the method as described in any one of claims 1-11.

14. A computer storage medium, characterized in that, The computer storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1-11.

15. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-11.