CN111589161B - Athletic task matching method, device, equipment and computer storage medium - Google Patents

Athletic task matching method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN111589161B
CN111589161B CN202010399441.9A CN202010399441A CN111589161B CN 111589161 B CN111589161 B CN 111589161B CN 202010399441 A CN202010399441 A CN 202010399441A CN 111589161 B CN111589161 B CN 111589161B
Authority
CN
China
Prior art keywords
task
matching
athletic
matched
pool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010399441.9A
Other languages
Chinese (zh)
Other versions
CN111589161A (en
Inventor
郑猛猛
王之龙
邹雨竹
杨子骁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sensetime Lingang Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Lingang Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sensetime Lingang Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Lingang Intelligent Technology Co Ltd
Priority to CN202010399441.9A priority Critical patent/CN111589161B/en
Publication of CN111589161A publication Critical patent/CN111589161A/en
Application granted granted Critical
Publication of CN111589161B publication Critical patent/CN111589161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/798Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for assessing skills or for ranking players, e.g. for generating a hall of fame
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a matching method, a device, equipment and a computer storage medium for athletic tasks, wherein the method comprises the following steps: acquiring a task to be matched from the competitive tasks in a first matching pool according to preset matching conditions, wherein the type of the competitive tasks in the first matching pool is a manual matching type and/or a system timing matching type; matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type; under the condition that a target task successfully matched with the task to be matched exists in the second matching pool, determining the task to be matched and the target task as pairing athletic tasks; and sending the pairing competition task to a competition engine for online competition.

Description

Athletic task matching method, device, equipment and computer storage medium
Technical Field
The present application relates to the field of information processing, and relates to, but is not limited to, a method, an apparatus, a device, and a computer storage medium for matching athletic tasks.
Background
With the rapid development of science and technology, online competition based on the internet is increasing. Due to the influence of customer factors such as the competition scale, the traditional off-line matching scheme is too complicated and cannot support users to conduct real-time competition, and the on-line matching scheme is proposed based on the traditional off-line matching scheme.
In the related art, the online matching scheme depends on the number of online people, and when the number of online people is small, the phenomena of overlong matching time and high matching failure rate may occur. As can be seen, for online athletic systems, there is a need for a matching strategy that satisfies both real-time matching and reduces the length of the matching.
Disclosure of Invention
The embodiment of the application provides a matching method, device and equipment for athletic tasks and a computer storage medium.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a matching method for athletic tasks, which comprises the following steps: acquiring a task to be matched from the competitive tasks in a first matching pool according to preset matching conditions, wherein the type of the competitive tasks in the first matching pool is a manual matching type and/or a system timing matching type; matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type; under the condition that a target task successfully matched with the task to be matched exists in the second matching pool, determining the task to be matched and the target task as pairing athletic tasks; and sending the pairing competition task to a competition engine for online competition.
In some embodiments, before acquiring the task to be matched from the athletic tasks in the first matching pool according to the preset matching condition, the method further includes: acquiring an athletic request, wherein the athletic request carries an athletic task and the type of the athletic task; analyzing the athletic request to obtain an athletic task and the type of the athletic task; and storing the athletic task into a matching pool corresponding to the type of the athletic task, wherein the matching pool comprises a first matching pool and a second matching pool.
In some embodiments, the types of athletic tasks include: a manual matching type, a system timing matching type and an automatic matching type; correspondingly, the storing the athletic task in the matching pool corresponding to the type of the athletic task includes: storing the athletic task to the first matching pool and the second matching pool respectively under the condition that the type of the athletic task is the manual matching type or the system timing matching type; and storing the athletic task to the second matching pool under the condition that the type of the athletic task is the automatic matching type.
In some embodiments, the method further comprises: acquiring attribute information of a first task in the first matching pool, wherein the attribute information at least comprises identifiers for marking different athletic tasks; respectively acquiring attribute information of a second task with the same identifier as the first task from the second matching pool; and synchronizing the attribute information of the first task with the attribute information of the second task under the condition that the attribute information of the first task is inconsistent with the attribute information of the second task.
In some embodiments, the synchronizing the attribute information of the first task with the attribute information of the second task includes: updating the attribute information of the second task into the attribute information of the first task; or, updating the attribute information of the first task into the attribute information of the second task.
In some embodiments, the method further comprises: counting the matching times of the tasks to be matched and/or timing the matching duration of the tasks to be matched under the condition that the competitive task successfully matched with the tasks to be matched does not exist in the second matching pool; and under the condition that the matching times of the tasks to be matched are smaller than a times threshold value and/or the matching time length is smaller than a time length threshold value, re-matching the tasks to be matched with the athletic tasks in the second matching pool.
In some embodiments, the method further comprises: and determining that the matching of the tasks to be matched fails under the condition that the matching times of the tasks to be matched are equal to a time threshold and/or the matching time length is greater than or equal to a time length threshold.
In some embodiments, the method further comprises: under the condition that online competition is monitored to be completed, respectively acquiring the types of the task to be matched and the target task; storing the task to be matched into the second matching pool under the condition that the type of the task to be matched is an automatic matching type; and storing the target task into the second matching pool under the condition that the type of the target task is an automatic matching type.
In some embodiments, the matching the task to be matched with the athletic task in the second matching pool includes: determining a matching rule according to the attribute information of the task to be matched;
screening the competitive tasks conforming to the matching rule from the competitive tasks in the second matching pool as candidate competitive tasks, and adding the candidate competitive tasks to a competitive task set; acquiring the weight of the attribute in the attribute information under the condition that the athletic task set is not empty; determining the matching degree between the task to be matched and the candidate athletic task based on the weight of the attribute, the attribute value corresponding to the attribute of the task to be matched and the attribute value corresponding to the attribute of the candidate athletic task; and determining a target task successfully matched with the task to be matched from the candidate athletic tasks based on the matching degree.
In some embodiments, the method further comprises: and under the condition that the athletic task set is empty or the matching degree is smaller than a matching threshold value, determining that no athletic task successfully matched with the task to be matched exists in the second matching pool.
The embodiment of the application provides an athletic task matching device, which comprises: the first acquisition module is used for acquiring a task to be matched from the competitive tasks in the first matching pool according to preset matching conditions, wherein the type of the competitive tasks in the first matching pool is a manual matching type and/or a system timing matching type; the first matching module is used for matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type; the first determining module is used for determining the task to be matched and the target task as pairing athletic tasks under the condition that the target task successfully matched with the task to be matched exists in the second matching pool; and the sending module is used for sending the pairing competition task to a competition engine so as to conduct online competition.
In some embodiments, the apparatus further comprises: the second acquisition module is used for acquiring an athletic request, wherein the athletic request carries an athletic task and the type of the athletic task; the analysis module is used for analyzing the competition request and obtaining competition tasks and types of the competition tasks; the first storage module is used for storing the athletic task to a matching pool corresponding to the type of the athletic task, and the matching pool comprises a first matching pool and a second matching pool.
In some embodiments, the types of athletic tasks include: a manual matching type, a system timing matching type and an automatic matching type; the first storage module includes: the first storage unit is used for storing the athletic task to the first matching pool and the second matching pool respectively under the condition that the type of the athletic task is the manual matching type or the system timing matching type; and the second storage unit is used for storing the athletic task into the second matching pool under the condition that the type of the athletic task is the automatic matching type.
In some embodiments, the apparatus further comprises: the third acquisition module is used for acquiring attribute information of the first task in the first matching pool, wherein the attribute information at least comprises identifiers for marking different athletic tasks; a fourth obtaining module, configured to obtain attribute information of a second task that is the same as the identifier of the first task from the second matching pool; and the synchronization module is used for synchronizing the attribute information of the first task with the attribute information of the second task under the condition that the attribute information of the first task is inconsistent with the attribute information of the second task.
In some embodiments, the synchronization module comprises: an updating unit, configured to update attribute information of the second task to attribute information of the first task; or, the attribute information of the first task is updated to the attribute information of the second task.
In some embodiments, the apparatus further comprises: the statistics module is used for counting the matching times of the tasks to be matched and/or timing the matching duration of the tasks to be matched under the condition that the competitive tasks successfully matched with the tasks to be matched do not exist in the second matching pool; and the second matching module is used for re-matching the task to be matched with the athletic task in the second matching pool under the condition that the matching times of the task to be matched are smaller than a times threshold value and/or the matching time length is smaller than a time length threshold value.
In some embodiments, the apparatus further comprises: and the second determining module is used for determining that the matching of the tasks to be matched fails when the matching times of the tasks to be matched are equal to a time threshold and/or the matching time length is greater than or equal to a time length threshold.
In some embodiments, the apparatus further comprises: a fifth obtaining module, configured to obtain types of the task to be matched and the target task, respectively, when it is monitored that online competition is completed; the second storage module is used for storing the task to be matched to the second matching pool under the condition that the type of the task to be matched is an automatic matching type; and the third storage module is used for storing the target task into the second matching pool under the condition that the type of the target task is an automatic matching type.
In some embodiments, the first matching module comprises: the first determining unit is used for determining a matching rule according to the attribute information of the task to be matched; the screening unit is used for screening the competitive tasks conforming to the matching rule from the competitive tasks in the second matching pool as candidate competitive tasks, and adding the candidate competitive tasks to a competitive task set; the acquisition unit is used for acquiring the weight of the attribute in the attribute information under the condition that the athletic task set is not empty; the second determining unit is used for determining the matching degree between the task to be matched and the candidate athletic task based on the weight of the attribute, the attribute value corresponding to the attribute of the task to be matched and the attribute value corresponding to the attribute of the candidate athletic task; and the third determining unit is used for determining a target task successfully matched with the task to be matched from the candidate athletic tasks based on the matching degree.
In some embodiments, the apparatus further comprises: and the third determining module is used for determining that the athletic task successfully matched with the task to be matched does not exist in the second matching pool under the condition that the athletic task set is empty or the matching degree is smaller than a matching threshold value.
The embodiment of the application provides athletic task matching equipment, which comprises: a memory for storing executable instructions; and the processor is used for realizing the matching method of the athletic task provided by the embodiment of the application when executing the executable instructions stored in the memory.
The embodiment of the application provides a computer storage medium which stores executable instructions for realizing the matching method of the athletic task provided by the embodiment of the application when being executed by a processor.
The embodiment of the application provides a matching method, a device, equipment and a computer storage medium for athletic tasks, wherein the method comprises the steps of acquiring tasks to be matched from athletic tasks in a first matching pool according to preset matching conditions, wherein the types of the athletic tasks in the first matching pool are manual matching types and/or system timing matching types; matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type; under the condition that a target task successfully matched with the task to be matched exists in the second matching pool, determining the task to be matched and the target task as pairing athletic tasks; and sending the pairing competition task to a competition engine for online competition. According to the athletic task matching method provided by the embodiment of the application, on the premise that real-time matching is met to perform online athletic in real time, when the number of users in online athletic is small, the athletic task submitted by the user can be matched with the athletic task of the manual matching type in the second matching pool, and can also be matched with the athletic task of the system timing matching type and the automatic matching type in the second matching pool, compared with the matching method only matched with the athletic task of the manual matching type, the matching time of the user can be shortened, and the matching success rate can be improved.
Drawings
Fig. 1 is a network architecture schematic diagram of an online competition method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of an implementation of the athletic task matching method provided in the embodiment of the present application;
fig. 3 is a schematic flow chart of another implementation of the athletic task matching method provided in the embodiment of the present application;
fig. 4 is a schematic flow chart of still another implementation of the athletic task matching method provided in the embodiment of the present application;
fig. 5 is a schematic flow chart of another implementation of the athletic task matching method provided in the embodiment of the present application;
fig. 6 is a schematic diagram of a composition structure of an athletic task matching device provided in an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the terms "first", "second", "third" and the like are merely used to distinguish similar objects and do not represent a particular ordering of the objects, it being understood that the "first", "second", "third" may be interchanged with a particular order or sequence, as permitted, to enable embodiments of the application described herein to be practiced otherwise than as illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
For a better understanding of the embodiments of the present application, first, the competition matching method and the existing drawbacks in the related art will be described.
In the current era of high internet proliferation, there is an increasing number of online competitive activities over the internet in a wide variety of forms. In the related art, an athletic task matching method adopts an offline matching scheme to match users participating in online athletic, and then performs athletic on line. The online competition and offline matching method has the defects of time consumption, labor consumption and inconvenient operation, and can not support users to play real-time competition.
In the related art, another competitive task matching method is that an online matching scheme is adopted, users participating in online competition submit competitive tasks to a matching pool, an online matching platform matches another competitive task meeting matching conditions in the competitive tasks currently existing in the matching pool, the competitive task matching method can achieve faster successful matching when the number of users participating in online competition is large, but when the number of users participating in online competition is small, the matching time is overlong, even the matching fails, so that the user matching time is long, and the user competition experience is affected.
Based on the above problems, in an embodiment of the present application, a matching method for athletic tasks is provided, where the method includes obtaining a task to be matched from athletic tasks in a first matching pool according to a preset matching condition, where types of athletic tasks in the first matching pool are a manual matching type and/or a system timing matching type; matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type; under the condition that a target task successfully matched with the task to be matched exists in the second matching pool, determining the task to be matched and the target task as pairing athletic tasks; and sending the pairing competition task to a competition engine for online competition. According to the athletic task matching method provided by the embodiment of the application, on the premise that real-time matching is met to perform online athletic in real time, when the number of users in online athletic is small, the athletic task submitted by the user can be matched with the athletic task of the manual matching type in the second matching pool, and can also be matched with the athletic task of the system timing matching type and the automatic matching type in the second matching pool, compared with the matching method only matched with the athletic task of the manual matching type, the matching time of the user can be shortened, and the matching success rate can be improved.
The athletic task matching method provided by the embodiment of the application will be described below with reference to exemplary applications and implementations of the athletic task matching device provided by the embodiment of the application.
Referring to fig. 1, fig. 1 is a schematic diagram of a network architecture of an online competition method according to an embodiment of the present application, as shown in fig. 1, in the network architecture, at least a competition task matching device 100, at least two terminals 200 (different terminals are distinguished by a terminal 200-1 and a terminal 200-2 in fig. 1), a network 300, and a competition engine 400 are included. To support an exemplary application, the athletic mission matching device 100 is connected to the terminal 200-1 and the terminal 200-2 through the network 300, respectively, and the athletic mission matching device 100 is connected to the athletic engine 400 through the network 300, where the network 300 may be a wide area network or a local area network, or a combination of both, and uses a wireless link to implement data transmission. The athletic task matching device 100 may refer to one server, or may be a server cluster formed by a plurality of servers, a cloud computing center, or the like. The terminals 200-1 and 200-2 may be mobile terminals with wireless communication capability such as smart phones, tablet computers, notebook computers, etc., or desktop computers, etc. with computing functions, which are inconvenient to move.
In some embodiments, the athletic task matching device 100 and the athletic engine 400 may be the same device, at which point the athletic task matching device 100 may communicate data with the athletic engine 400 via an internal communication bus.
When users participate in online competition, competition requests are sent to competition task matching equipment 100 through respective terminals 200, after the competition task matching equipment 100 receives at least two competition requests, competition tasks carried in each competition request are obtained, at least two competition tasks are stored in matching pools of the competition task matching equipment 100, wherein the number of the matching pools is at least 2, the matching pools are marked as a first matching pool and a second matching pool, and competition tasks of a manual matching type and/or a system timing matching type are stored in the first matching pool; the second matching pool stores the same competitive tasks and automatic matching type competitive tasks as the first matching pool. The athletic task matching device 100 obtains a task to be matched, such as an athletic task of the terminal 200-1, from the first matching pool, obtains a target task matched with the task to be matched, such as an athletic task of the terminal 200-2, from the second matching pool, and determines the task to be matched and the target task as paired athletic tasks. After receiving the pairing competition task sent by the competition task matching device 100, the competition engine 400 performs online competition on the pairing competition task to obtain a competition result, and returns the competition result to at least two terminals 200 through the competition task matching device 100. In the embodiment of the present application, by setting the first matching pool and the second matching pool, since the automatic matching type of the athletic task is stored in the second matching pool, on the premise of meeting real-time matching to perform online athletic in real time, when the number of users in online athletic is small, the task to be matched submitted by the terminal 200-1 can be matched with the manual matching type of the athletic task submitted by the terminal 200-2 in the second matching pool, and can also be matched with the system timing matching type and the automatic matching type of the athletic task in the second matching pool, compared with the matching method for matching with the manual matching type of the athletic task only, the duration of user matching can be shortened, and the matching success rate can be improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of an implementation of the matching method of the athletic task provided in the embodiment of the present application, which may be applied to the matching device of the athletic task shown in fig. 1, where the matching device of the athletic task may be a server or other device, and the matching method of the athletic task may also be implemented by executing a computer program by a processor. The following will take a server type athletic task matching device as an example, and describe the athletic task matching method provided in the embodiment of the present application with reference to the steps shown in fig. 2.
Step S201, acquiring a task to be matched from the athletic tasks in the first matching pool according to a preset matching condition.
The types of the athletic tasks in the first matching pool are manual matching types and/or system timing matching types, namely, the athletic tasks in the first matching pool can be both manual matching types, both system timing matching types, part of the athletic tasks can be the manual matching types, and the rest of the athletic tasks are the system timing matching types.
Here, the competitive task may be a competitive code determined according to a competitive parameter input by a user, or may be a competitive code determined by a server according to a historical competitive result obtained after the user logs in a client application program of a competitive game.
In order to improve the matching efficiency of online competition and shorten the waiting time of users participating in online competition, in the embodiment of the application, competition tasks are respectively stored into two matching pools according to task types: a first matching pool and a second matching pool. In the embodiment of the present application, the types of the athletic tasks stored in the first matching pool are a manual matching type and/or a system timing matching type.
The manual matching type athletic task is a task that the server starts a matching operation based on a trigger instruction received by the terminal, where the trigger instruction is an instruction triggered by the user based on the manual operation of the user. For example, the user triggers the athletic task based on manual operation, such as clicking/touching a control for starting the online athletic on an application or a webpage of the online athletic of the user's terminal, and submitting the athletic task to the server; alternatively, the user triggers the athletic mission based on voice action, such as the user submitting the athletic mission to a server via voice control, such as "start online athletic". The server stores the athletic tasks of the manual matching type in a first matching pool.
The system timing matching type athletic task can be a task that the server starts matching at fixed time according to preset time. For example, a user participating in an online competition sets a time point of participating in the online competition, and after the setting is completed, the user submits the time point to a server, and the server hosts the time point, namely reserves the online competition. When the user-set point in time is reached, the server stores the hosted athletic mission into a first matching pool.
When matching is needed, the server acquires an athletic task from the first matching pool as a task to be matched according to a preset matching condition. Here, the matching condition may be defined by a user or may be determined by the server according to attribute information of a task to be matched. For example, the matching condition is that according to the request time of the athletic task in the first matching pool, determining the athletic task with the earliest request time as the task to be matched; for another example, the matching condition is that the weight value of each competitive task in the first matching pool is calculated according to the request time of the competitive task in the first matching pool, the weight of the set time factor, the residual competitive frequency of the competitive task and the weight of the set residual frequency factor, and the competitive task with the largest weight value is determined as the task to be matched.
Step S202, matching the task to be matched with the competitive task in the second matching pool.
Here, the second matching pool includes the athletic tasks in the first matching pool and the athletic tasks of the automatic matching type, that is, the types of the athletic tasks stored in the second matching pool are of the manual matching type, the system timing matching type, or the automatic matching type. When implemented, the athletic tasks may be stored to the first matching pool at the same time as they are stored to the second matching pool, such that all of the athletic tasks included in the first matching pool are stored in the second matching pool at the same time. And the second matching pool also stores the automatic matching type athletic task. The automatic matching type of the competitive task is the competitive task determined according to the automatic matching request submitted by the user, and the server hosts to realize the automatic matching of the competitive task after the user submits the request.
In actual implementation, the server may search for an athletic task matched with the task to be matched from the athletic tasks in the second matching pool according to the task to be matched, if the task to be matched is successfully searched for, determine that a target task successfully matched with the task to be matched exists in the second matching pool, and determine the searched athletic task as the target task.
Step S203, determining the task to be matched and the target task as a pairing competition task when there is a target task successfully matched with the task to be matched in the second matching pool.
And when the target task successfully matched with the task to be matched exists in the second matching pool, determining that the task to be matched and the target task are successfully matched, namely determining that the task to be matched and the target task are matched athletic tasks.
In the embodiment of the application, the matched target task is a task for performing competition with the task to be matched, so that in order to ensure the fair and fair principle of competition, the competitive strength of the matched target task is equal to that of the task to be matched, and the success probability of two parties of competition is equal before competition, so that fair competition is ensured. Here, the athletic activity is determined by the server according to attribute information of the athletic task, and the attribute information includes historical athletic information of the user triggering the athletic task, such as information of a grade, equipment, athletic score, and the like.
Step S204, the pairing competition task is sent to a competition engine to conduct online competition.
After the server determines the pairing competition task, monitoring the current state of the competition engine, if the competition engine is monitored to be in an idle state, performing online competition, and sending the pairing competition task, namely the task to be matched and the target task, to the competition engine so that the competition engine realizes the online competition of the task to be matched and the target task. If the competition engine is monitored to be in a busy state currently and on-line competition cannot be immediately carried out, the pairing competition task can be sent to the competition engine for queuing at the moment, and on-line competition is carried out when waiting for the competition engine to be in an idle state. Or when the competition engine is monitored to be in a busy state currently and on-line competition cannot be immediately carried out, queuing the pairing competition tasks on the server side, and sending the queued pairing competition tasks to the competition engine for competition according to the queuing sequence when the competition engine is in an idle state.
The embodiment of the application provides a matching method of athletic tasks, which comprises the steps of obtaining tasks to be matched from athletic tasks in a first matching pool according to preset matching conditions, wherein the types of the athletic tasks in the first matching pool are manual matching types and/or system timing matching types; matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type; under the condition that a target task successfully matched with the task to be matched exists in the second matching pool, determining the task to be matched and the target task as pairing athletic tasks; and sending the pairing competition task to a competition engine for online competition. According to the athletic task matching method provided by the embodiment of the application, on the premise that real-time matching is met to perform online athletic in real time, when the number of users in online athletic is small, the athletic task submitted by the user can be matched with the athletic task of the manual matching type in the second matching pool, and can also be matched with the athletic task of the system timing matching type and the automatic matching type in the second matching pool, compared with the matching method only matched with the athletic task of the manual matching type, the matching time of the user can be shortened, and the matching success rate can be improved.
On the basis of the embodiment shown in fig. 2, the present application further provides a competitive task matching method, fig. 3 is a schematic flow chart of another implementation of the competitive task matching method provided in the embodiment of the present application, which can be applied to the competitive task matching device shown in fig. 1, and as shown in fig. 3, the online competitive method provided in the embodiment of the present application includes the following steps:
step S301, an athletic request is acquired.
Here, the athletic request carries an athletic task and a type of the athletic task.
In the embodiment of the application, the server can receive the competition request from at least two terminals in real time; the server can also obtain at least two competition requests from the server storage area, and at this time, the competition requests are received from at least two terminals in advance and stored in the server; the server may also receive the athletic request from the at least one terminal in real time while retrieving the at least one athletic request from the server storage area.
When a user needs to conduct online competition, submitting a competition request carrying competition tasks and types of competition tasks on the terminal. Here, the athletic task is a task selected by the user on the online athletic platform according to his own needs, such as a team task, a ranking task, an upgrade task, etc.
In this embodiment, the types of the athletic task may include: manual match type, system timing match type, and automatic match type. The manual matching type athletic task is a task triggered by a user participating in online athletic based on own operation, and the manual operation of the user is required to switch the athletic task to a "match preparation" state when the athletic task is matched. The system timing matching type athletic task is a task that the server starts matching at fixed time according to the set time, after the athletic task of the type reaches the preset matching time, the server triggers the starting of matching, and the athletic task is switched to a state of 'ready matching'. The automatic matching type athletic mission is that the server can automatically switch the athletic mission into a state of 'ready for matching' at any time.
Step S302, analyzing the competition request to obtain competition tasks and types of the competition tasks.
After receiving the competition request, the server analyzes the competition task carried by the competition request and the type corresponding to the competition task to obtain the competition task and the type thereof.
For example, after receiving the competition request, the server analyzes the competition request to obtain a competition task for online competition and the type of the competition task, and analyzes the type of the competition task to obtain a manual matching type, so that the competition task is manually triggered by a user to start matching with competition opponents.
Step S303, storing the athletic task into a matching pool corresponding to the type of the athletic task.
Here, the matching pool includes a first matching pool and a second matching pool.
In the embodiment of the application, different types of athletic tasks are stored differently according to different types of athletic tasks.
In one implementation, in case the type of the athletic task is the manual matching type or the system timing matching type, the athletic task is stored to the first matching pool and the second matching pool, respectively. Under the condition that the type of the competitive task is the automatic matching type, the competitive task is stored in the second matching pool, so that the competitive task in the second matching pool is larger than the competitive task in the first matching pool, and therefore, even if the number of users playing online at the current moment is small, the competitive task submitted by the user can be matched with the competitive task of the automatic matching type in the second matching pool, the matching success rate can be improved, and the matching duration of the user can be shortened.
In the embodiment of the present application, the following steps S304 to S307 may refer to the description of the corresponding parts in steps S201 to S204 in the embodiment shown in fig. 2 for specific implementation and process.
Step S304, acquiring a task to be matched from the athletic tasks in the first matching pool according to a preset matching condition.
Here, the types of the athletic tasks in the first matching pool are manual matching types and/or system timing matching types.
Step S305, matching the task to be matched with the competitive task in the second matching pool.
Here, the second matching pool includes the athletic task in the first matching pool and the athletic task of the automatic matching type.
And step S306, determining the task to be matched and the target task as pairing competition tasks under the condition that the target task successfully matched with the task to be matched exists in the second matching pool.
Step S307, the pairing competition task is sent to a competition engine to conduct online competition.
According to the online competition method provided by the embodiment of the application, the server acquires the competition request, analyzes the competition request to obtain the competition task carried by the competition request and the type of the competition task, and then stores the competition task into the matching pool corresponding to the type of the competition task, so that the type of the competition task in the first matching pool is a manual matching type or a system timing matching type, the competition task in the second matching pool comprises the competition task in the first matching pool and the competition task of an automatic matching type, and the competition task in the second matching pool is enabled to be more than the competition task in the first matching pool, therefore, even if the number of users in online competition at the current time is small, the competition task submitted by the user can be matched with the manual matching type competition task in the second matching pool, and can also be matched with the system timing matching type and the automatic matching type competition task in the second matching pool, so that the matching success rate can be improved, and the matching time of the user can be shortened.
In some embodiments, when the athletic mission is of a manual matching type or a system timing matching type for the user, the server needs to store the athletic mission in the first matching pool and the second matching pool at the same time, and because the server stores the same athletic mission in the first matching pool and the second matching pool respectively, the data sources are the same although the storage areas are different, so that the data stored in the first matching pool by the same athletic mission is identical to the data stored in the second matching pool by the athletic mission in the absence of other influencing factors. However, when the attribute information of the athletic task is changed by various factors (e.g., manually modifying, after performing an athletic activity, etc.) during or after the storing process is completed, the data stored in the first matching pool is different from the data stored in the second matching pool for the same athletic activity, and at this time, the data of the athletic activity in different storage areas needs to be synchronized.
In the actual implementation process, the data synchronization may be performed after each step of storing the athletic task in the first matching pool and/or the second matching pool, or may be performed before the step of performing athletic task matching, or in some embodiments, may be performed when a preset synchronization triggering condition is met, where the synchronization triggering condition may be set according to an actual requirement of a user.
Based on this, in the embodiment of the present application, the data synchronization of the athletic task in the first matching pool and the second matching pool may be achieved by:
step S030, obtaining attribute information of the first task in the first matching pool.
Here, the attribute information includes at least an identification for marking different athletic tasks. The identity of the athletic task may not be modified by the user. In some embodiments, the attribute information may also include information of total number of athletic performances, number of remaining athletic performances, athletic request time, athletic ranking, etc.
Step S031, respectively obtaining attribute information of a second task, which is identical to the identifier of the first task, from the second matching pool.
The first task has a unique non-modifiable identification, based on which it can be determined whether the first task in the first matching pool and the second task in the second matching pool are the same athletic task by the identification, and when the identification of the first task is the same as the identification of the second task, it is indicated that the first task and the second task are the same athletic task, and then it is further determined whether the attribute information of the athletic task stored in the first matching pool is consistent with the attribute information stored in the second matching pool.
Because the athletic tasks in the first matching pool are also stored in the second matching pool at the same time, each athletic task in the first matching pool can find one second task of the same identity in the second matching pool. And after the second tasks with the same identification are respectively searched from the second matching pool according to the first tasks in the first matching pool, further acquiring attribute information of the second tasks.
Step S032, when the attribute information of the first task is inconsistent with the attribute information of the second task, synchronizing the attribute information of the first task with the attribute information of the second task.
After obtaining the attribute information of the second task identical to the identifier of the first task in step S031, determining whether the attribute information of the first task is identical to the attribute information of the corresponding second task, and when the attribute information of the first task is identical to the attribute information of the second task, indicating that the data of the same athletic task in the first matching pool and the second matching pool are kept identical, wherein synchronization of the attribute information is not required; when the attribute information of the first task is inconsistent with the attribute information of the second task, the data of the same competitive task in the first matching pool and the second matching pool are inconsistent, and the attribute information needs to be modified at the moment so as to ensure that the first task in the first matching pool and the second task in the second matching pool keep data synchronization.
In some embodiments, when the attribute information of the first task is synchronized with the attribute information of the second task, there may be a plurality of implementation manners:
in one possible implementation manner, before the athletic matching, the server determines whether the attribute value corresponding to the attribute of the first task stored in the first matching pool or the attribute value corresponding to the attribute of the second task stored in the second matching pool is changed according to the athletic task carried in the athletic request, and if the attribute value corresponding to the attribute of the second task is changed, updates the attribute information of the second task into the attribute information of the first task; if the attribute value corresponding to the attribute of the first task is judged to be changed, the attribute information of the first task is updated to the attribute information of the second task, so that the attribute information of the first task and the attribute information of the second task are kept synchronous.
In another possible implementation manner, before performing next competition matching after each competition is completed, because attribute information of a corresponding competition task is to be updated after each competition is completed, at this time, the server determines attribute information and updating time of a first task stored in a first matching pool according to the acquired competition task and the completed condition of the competition task, determines attribute information and updating time of a second task in a second matching pool, and updates attribute information of a task with a previous updating time into attribute information of a task with a subsequent updating time according to the updating time of the first task and the updating time of the second task, so as to ensure that attribute values corresponding to attributes of the first task and the second task in the first matching pool are updated after each competition is completed, and keep the attribute information of the first task and the attribute information of the second task in the first matching pool synchronous.
In yet another possible implementation manner, whether the attribute value corresponding to the attribute of the first task stored in the first matching pool is changed or the attribute value corresponding to the attribute of the second task stored in the second matching pool is changed, the attribute information of the second task is updated to the attribute information of the first task, or the attribute information of the first task is updated to the attribute information of the second task, so that the attribute information of the first task and the attribute information of the second task remain synchronous.
According to the online competition method provided by the embodiment of the application, before competition task matching is carried out, the attribute information of the first task in the first matching pool and the attribute information of the second task with the same identification as the first task in the second matching pool are synchronized, so that the condition that the attribute information of the competition task is inconsistent due to other reasons before matching can be reduced, and the matching accuracy is improved.
In some embodiments, before step S204 or step S307 "send the paired athletic mission to the athletic engine", the online athletic method may further include the steps of:
step S071, counting the matching times of the task to be matched and/or timing the matching duration of the task to be matched when there is no competition task successfully matched with the task to be matched in the second matching pool.
Step 072, when the matching times of the tasks to be matched are smaller than the times threshold and/or the matching time length is smaller than the time length threshold, the tasks to be matched are re-matched with the competitive tasks in the second matching pool.
When matching is performed for the current time, when no competitive task successfully matched with the task to be matched exists in the second matching pool, the fact that no target task matched with the task to be matched exists in the second matching pool at the current time is indicated, and the matching is failed for the current time. However, since the athletic tasks in the first matching pool and the second matching pool are changed at any time, there may be a target task matching the task to be matched in the newly added athletic task in the second matching pool at the next time. Based on this, in the embodiment of the present application, when the matching number of times of the task to be matched is smaller than the number threshold and/or the matching duration is smaller than the duration threshold, the task to be matched is re-matched with the athletic task in the second matching pool.
Step S073, determining that the matching of the task to be matched fails when the matching times of the task to be matched is equal to a time threshold and/or the matching duration is greater than or equal to a duration threshold.
In order to improve the matching success rate, the embodiment of the application presets a matching frequency threshold, and when the matching frequency of the task to be matched is smaller than the frequency threshold, the matching is continuously repeated in the second matching pool, and the matching frequency is increased by 1 once every time. When the matching times do not reach the times threshold, determining that the matching of the tasks to be matched is successful when the target tasks matched with the tasks to be matched are matched in the second matching pool; and when the matching times are equal to the times threshold, determining that the matching of the task to be matched fails when the target task matched with the task to be matched is not matched in the second matching pool.
Or in order to improve the matching success rate, the embodiment of the application presets a matching duration threshold, and when the matching duration of the task to be matched does not reach the duration threshold, the matching is continuously repeated in the second matching pool, and timing is performed in the matching process. When the matching time length does not reach the time length threshold value, determining that the task to be matched is successfully matched when the target task matched with the task to be matched is matched in the second matching pool; and when the matching time is greater than or equal to the time threshold, determining that the matching of the task to be matched fails when the target task matched with the task to be matched is not matched in the second matching pool.
Or, in order to improve the matching success rate, the embodiment of the application presets a matching frequency threshold and a matching time length, and when the matching frequency of the task to be matched is smaller than the frequency threshold or the matching time length does not reach the time length threshold, the matching is continuously repeated in the second matching pool, and each time of matching, the matching frequency is increased by 1, and timing is performed in the matching process. When the matching times do not reach the times threshold or the matching time length does not reach the time length threshold, if the target task matched with the task to be matched is matched in the second matching pool, determining that the task to be matched is successfully matched; and when the matching times are equal to the times threshold and/or the matching time length is greater than or equal to the time length threshold, if the target task matched with the task to be matched is not matched in the second matching pool, determining that the task to be matched fails to match.
Step S074, responding to the competition request and outputting information of matching failure.
When determining that the matching of the task to be matched fails, responding to the acquired competition request, outputting matching failure information, for example, sending the matching failure information to two terminals respectively corresponding to the task to be matched and the target task by a server, and displaying a prompt box of the matching failure of the task to be matched on a display interface of the terminal by the terminal; of course, the information of the matching failure may also be output in other possible manners, so as to inform the user corresponding to the task to be matched and the target task that the matching of the athletic task carried in the athletic request submitted by the user fails, so that the user submits the athletic request again in time after the matching fails.
According to the athletic task matching method provided by the embodiment of the application, when the athletic task successfully matched with the task to be matched does not exist in the second matching pool, the matching times and/or the matching time length are set, and the matching is repeated when the matching times and/or the matching time length are not reached, so that the repeated matching can be performed under a certain condition, and the matching efficiency and the success rate are improved.
In some embodiments, after step S204 or step S307 "send the paired athletic mission to the athletic engine", the online athletic method may further include the steps of:
step S081, under the condition that the online competition is monitored to be completed, the task to be matched and the type of the target task are respectively obtained.
After the server sends the pairing competition task to the competition engine, monitoring whether the pairing competition task has completed competition, and after monitoring that online competition is completed, the task to be matched and the target task may be automatic matching type competition tasks, so that the automatic matching type competition tasks can continue to be automatically matched.
In some embodiments, after the online competition is monitored, competition results are obtained, and the competition results are output in response to the competition request so that users of the online competition can acquire the competition results. Here, the athletic result may include information such as athletic success or athletic failure, athletic score, athletic duration, etc.
Step 082, storing the task to be matched into the second matching pool when the type of the task to be matched is an automatic matching type.
When the type of the task to be matched is obtained to be the automatic matching type, the task to be matched is determined to automatically start next competitive task matching, and at the moment, the task to be matched is stored in a second matching pool. When the type of the task to be matched is not the automatic matching type, namely the type of the task to be matched is the manual matching type or the system timing matching type, if the type of the task to be matched is the manual matching type, the on-line competition of the task to be matched is ended; if the type of the task to be matched is the system timing matching type, the task to be matched is controlled by the server, and the matching of the athletic task is started again when the next set time comes.
Step S083, storing the target task in the second matching pool if the type of the target task is an automatic matching type.
When the acquired type of the target task is the automatic matching type, determining that the target task can automatically start next competitive task matching, and storing the target task into a second matching pool. When the acquired type of the target task is not the automatic matching type, namely the acquired type of the target task is the manual matching type or the system timing matching type, if the acquired type of the target task is the manual matching type, ending the online competition of the target task; if the type of the obtained target task is the system timing matching type, the target task is controlled by a server, and the matching of the athletic task is restarted when the next set time comes.
According to the athletic task matching method provided by the embodiment of the application, after the server monitors that the athletic engine completes the current online athletic, the types of the task to be matched and the target task participating in the current online athletic are acquired, and when the type of the task to be matched or the type of the target task is the automatic matching type, the task to be matched or the type of the target task is stored in the second matching pool, so that the state that the athletic task of the automatic matching type can be matched is kept at all times.
In some embodiments, step S305 "match the task to be matched with the athletic task in the second matching pool" may be implemented by the following steps S3051 to S3055, which are described below in connection with the respective steps.
Step S3051, determining a matching rule according to the attribute information of the task to be matched.
And the server selects the athletic task matched with the task to be matched from the athletic tasks in the second matching pool according to a predefined matching rule.
In the embodiment of the application, the matching rule may be determined according to attribute information of the task to be matched. For example, the level of the user participating in the online competition is 5, and the server matches the competition task of the competition partner close to the level according to the level, for example, the level of the matching competition partner is 4 to 6. According to the matching rule determined by the server, the competitive tasks of competitive opponents smaller than 4 levels and larger than 6 levels are filtered.
In some embodiments, the matching rule may also be set by the user according to his own needs, for example, if the user wants to perform online competition with a level 10 competition partner, the matching rule is set on his own terminal: the level of the matched target task is 10, and according to the matching rule, the competitive tasks of the competitive opponents of non-10 levels are filtered.
And step S3052, screening the competitive tasks conforming to the matching rule from the competitive tasks in the second matching pool as candidate competitive tasks, and adding the candidate competitive tasks to a competitive task set.
And the server screens the competitive tasks conforming to the matching rule in the second matching pool according to the determined matching rule, and adds the screened competitive tasks as candidate competitive tasks to the competitive task set.
In step S3053, when the athletic task set is not empty, the weight of the attribute in the attribute information is obtained.
When the matching rule determines that the competitive task set is not empty, at least one competitive task in the competitive task set accords with the matching rule determined according to the task to be matched. The server acquires attribute information of the athletic tasks in the athletic task set, and sets weight for the attribute of the attribute information. For example, one attribute information is a user class corresponding to the athletic task, one attribute information is a user region corresponding to the athletic task, and weights are set for the class and the region respectively.
Here, the weight of the attribute information may be determined by user customization. For example, when the user wants to perform online competition with the competitor who sets the region, the weight of the attribute information of the region is set to a larger value, and correspondingly, the weight of the attribute information of the level is set to a smaller value; when the user wants to perform online competition with the competition opponent with the set grade, the weight of the attribute information of the grade is set to be a larger value, and correspondingly, the weight of the attribute information of the region is set to be a smaller value.
Or the server can also determine the weight of the attribute information according to the attribute information of the task to be matched, for example, the weight of the grade and the region is set in a default or random mode according to the grade and the region of the user of the task to be matched.
Step S3054, determining a matching degree between the task to be matched and the candidate athletic task based on the weight of the attribute, the attribute value corresponding to the attribute of the task to be matched, and the attribute value corresponding to the attribute of the candidate athletic task.
The server respectively determines the matching degree between the task to be matched and the candidate athletic task in the athletic task set based on the weight of the attribute, the attribute value corresponding to the attribute of the task to be matched and the attribute value corresponding to the attribute of the candidate athletic task in the athletic task set. For example, 3 candidate athletic tasks exist in the athletic task set, and the server calculates the matching degree of the task to be matched and the 3 candidate athletic tasks as {2,3.1,0.8} according to the weight of the two attribute information of the grade and the region, the attribute value corresponding to the attribute of the task to be matched, and the attribute value corresponding to the attribute of the 3 candidate athletic tasks.
And step S3055, based on the matching degree, determining a target task successfully matched with the task to be matched from the candidate athletic tasks.
And determining a target task according to the matching degree between the task to be matched and the candidate athletic task determined in the step S3054. In the embodiment of the application, the candidate athletic task with the largest matching degree can be determined as the target task, namely, the candidate athletic task with the matching degree of 3.1 is determined as the target task for performing athletic with the task to be matched. In other embodiments, the candidate athletic task with the minimum matching degree may be determined as the target task, the candidate athletic task with the matching degree meeting the preset condition may be determined as the target task, and the specific determination rule may be determined according to the actual requirement or user setting.
In some embodiments, after step S3055, step S305 may further include:
step S3056, determining that there is no matching task successfully matched with the task to be matched in the second matching pool when the athletic task set is empty or the matching degree is smaller than a matching threshold.
In the embodiment of the present application, when the matching degrees between the task to be matched and the candidate athletic task in the athletic task set determined according to step S3054 are both smaller than the matching threshold, it is indicated that the matching degrees between the candidate athletic task in the athletic task set and the task to be matched do not meet the set matching threshold, and at this time, it is determined that there is no athletic task successfully matched with the task to be matched in the second matching pool.
Or when the athletic task set meeting the matching rule is screened from the athletic tasks in the second matching pool according to the step S3052, when the screened athletic task set is empty, the fact that each athletic task in the second matching pool does not meet the matching rule is indicated, and at the moment, it is determined that no athletic task successfully matched with the task to be matched exists in the second matching pool.
The embodiment of the application provides a realization process for matching a task to be matched with a competitive task in a second matching pool, wherein the success of matching is determined when the matching rule and the screening condition are met according to the set matching rule and the screening condition, the target task matched with the task to be matched is determined to exist in the second matching pool, the failure of matching is determined when the matching rule or the screening condition is not met, and the target task matched with the task to be matched is determined to not exist in the second matching pool. By setting different matching rules and screening conditions, a flexible competitive task matching mode is provided for users so as to meet different competitive matching requirements of different users.
Based on the foregoing embodiments, the embodiment of the present application further provides an athletic task matching method, which may be applied to the network architecture shown in fig. 1, and fig. 4 is a schematic flow chart of another implementation of the athletic task matching method provided by the embodiment of the present application, as shown in fig. 4, where the athletic task matching method provided by the embodiment of the present application includes:
In step S401, the terminal sends an athletic request to the athletic task matching device.
Here, at least two terminals are provided, and in order to distinguish different terminals, the first terminal and the second terminal are represented as different terminals in fig. 4. The athletic request carries an athletic task and a type of the athletic task.
Step S402, the competitive task matching device receives and analyzes the competitive request to acquire the competitive task and the type of the competitive task.
Here, the types of the athletic tasks include: manual match type, system timing match type, and automatic match type.
In step S403, the competitive task matching device stores the competitive task of the manual matching type or the system timing matching type in the first matching pool and the second matching pool, respectively.
When the athletic task matching device stores the athletic task into a matching pool corresponding to the type of the athletic task, the athletic task matching device firstly judges whether the type of the athletic task is an automatic matching type. Here, the matching pool includes a first matching pool and a second matching pool. When the type of the competitive task is not the automatic matching type, namely the type of the competitive task is a manual matching type or a system timing matching type, simultaneously storing the competitive task into a first matching pool and a second matching pool.
In step S404, the athletic task matching device stores the athletic task of the automatic matching type in the second matching pool.
When the type of the competitive task is the automatic matching type, the competitive task is stored in the second matching pool, so that the competitive task in the second matching pool is larger than the competitive task in the first matching pool, and even if the number of users playing online at the current moment is small, the competitive task submitted by the user can be matched with the competitive task of the automatic matching type in the second matching pool, the matching success rate can be improved, and the matching duration of the user can be shortened.
Step S405, the competitive task matching device obtains attribute information of the first task in the first matching pool.
Here, the attribute information includes at least an identification for marking different athletic tasks.
In step S406, the competitive task matching device obtains attribute information of a second task, which is identical to the identifier of the first task, from the second matching pool.
Because the athletic tasks in the first matching pool are also stored in the second matching pool at the same time, each athletic task in the first matching pool can find one second task of the same identity in the second matching pool. And after the second tasks with the same identification are respectively searched from the second matching pool according to the first tasks in the first matching pool, further acquiring attribute information of the second tasks.
Step S407, the competitive task matching device determines whether the attribute information of the first task is consistent with the attribute information of the second task.
When the attribute information of the first task is consistent with the attribute information of the second task, it indicates that the athletic task is not changed after being stored in the first matching pool and the second matching pool before matching the athletic task, and at this time, step S409 is performed. When the attribute information of the first task is inconsistent with the attribute information of the second task, it indicates that before matching of the athletic task is performed, the attribute value corresponding to the attribute of the first task in the first matching pool or the attribute value corresponding to the attribute of the second task in the second matching pool is changed, at this time, step S408 is performed to synchronize the attribute information of the first task and the attribute information of the second task, so as to ensure that the attribute values corresponding to the attributes remain consistent, and reduce the situation that the attribute information of the athletic task is changed due to other reasons before matching, thereby improving the matching accuracy.
In step S408, the competitive task matching device updates the attribute information of the second task to the attribute information of the first task.
In some embodiments, step S408 may be replaced by the step "athletic task matching device updates the attribute information of the first task to the attribute information of the second task".
Step S409, the competitive task matching device acquires the task to be matched from the competitive tasks in the first matching pool according to the preset matching condition.
Here, the types of the athletic tasks in the first matching pool are manual matching types and/or system timing matching types.
When matching is needed, the competitive task matching device acquires a competitive task from the first matching pool as a task to be matched according to a preset matching condition. Here, the matching condition may be defined by a user, or may be determined by the athletic task matching device according to attribute information of the task to be matched.
Step S410, the competitive task matching device determines a matching rule according to the attribute information of the task to be matched.
In step S411, the athletic task matching device screens the athletic task conforming to the matching rule from the athletic tasks in the second matching pool as a candidate athletic task, and adds the candidate athletic task to the athletic task set.
Here, the second matching pool includes the athletic task in the first matching pool and the athletic task of the automatic matching type.
Step S412, the competitive task matching device determines whether the competitive task set is empty.
When the athletic task set is not empty, it indicates that candidate athletic tasks meeting the matching rule are screened in the second matching pool, and further determines whether the athletic tasks in the screened athletic task set are matched with the task to be matched, and then step S413 is performed. When the athletic task set is empty, it indicates that no candidate athletic task meeting the matching rule is screened in the second matching pool, that is, all the athletic tasks in the second matching pool do not meet the matching rule, and no athletic task matching the task to be matched exists in the second matching pool, and step S417 is performed.
In step S413, the competitive task matching device acquires the weight of the attribute in the attribute information.
When the matching rule determines that the competitive task set is not empty, at least one competitive task in the competitive task set accords with the matching rule determined according to the task to be matched. The athletic task matching device obtains attribute information of athletic tasks in the athletic task set and sets weight for attributes of the attribute information.
Step S414, the athletic task matching device determines the matching degree between the task to be matched and the candidate athletic task based on the weight of the attribute, the attribute value corresponding to the attribute of the task to be matched, and the attribute value corresponding to the attribute of the candidate athletic task.
In step S415, the athletic task matching device determines, based on the matching degree, a target task that is successfully matched with the task to be matched from the candidate athletic tasks.
According to the matching degree between the task to be matched and the candidate athletic task determined in step S414, the athletic task matching device determines a target task. In the embodiment of the application, the competitive task matching device can determine the competitive task with the largest matching degree as the target task.
Step S416, the athletic task matching device determines the task to be matched and the target task as a pairing athletic task.
After the athletic task matching device determines the pairing athletic task, it may send it to the athletic engine for online athletic, and step S422 is entered.
In step S417, if the athletic task set is empty or the matching degrees are both smaller than the matching threshold, the athletic task matching device determines that there is no athletic task successfully matched with the task to be matched in the second matching pool.
When the determined matching degree between the task to be matched and the candidate athletic task is smaller than the matching threshold, the matching degree of the candidate athletic task in the athletic task set and the task to be matched does not meet the set matching threshold, and at the moment, it is determined that the athletic task successfully matched with the task to be matched does not exist in the second matching pool.
Or when the competition task set conforming to the matching rule is screened from the competition tasks in the second matching pool, when the screened competition task set is empty, the fact that each competition task in the second matching pool does not meet the matching rule is indicated, and at the moment, the fact that the competition task successfully matched with the task to be matched does not exist in the second matching pool is determined.
In step S418, the competitive task matching device counts the matching times of the tasks to be matched and/or counts the matching duration of the tasks to be matched.
In step S419, the competitive task matching device re-matches the to-be-matched task with the competitive task in the second matching pool when the matching number of times of the to-be-matched task is less than the number threshold and/or the matching duration is less than the duration threshold.
When matching is performed for the current time, when no competitive task successfully matched with the task to be matched exists in the second matching pool, the fact that no target task matched with the task to be matched exists in the second matching pool at the current time is indicated, and the matching is failed for the current time. However, since the athletic tasks in the first matching pool and the second matching pool are changed at any time, there may be a target task matching the task to be matched in the newly added athletic task in the second matching pool at the next time. Based on this, in the embodiment of the present application, when the matching number of times of the task to be matched is smaller than the number threshold and/or the matching duration is smaller than the duration threshold, the task to be matched is re-matched with the athletic task in the second matching pool.
Step S420, the competitive task matching device determines that the matching of the task to be matched fails when the matching times of the task to be matched is equal to a time threshold and/or the matching duration is greater than or equal to a duration threshold.
In step S421, the competitive task matching device responds to the competitive request and outputs information of failed matching.
And the athletic task matching equipment sends the matching failure information to two terminals corresponding to the task to be matched and the target task, so that a user submits an athletic request again in time after the matching failure.
Step S422, the competitive task matching device sends the paired competitive task to the competitive engine.
Step S423, the competition engine receives the pairing competition task and performs online competition to obtain competition results.
In step S424, the competition engine sends the competition result to the competition task matching device, so that the competition task matching device sends the competition result to two terminals corresponding to the task to be matched and the target task.
After the online competition is monitored, a competition result is obtained, and the competition result is output in response to the competition request, so that a user of the online competition can acquire the competition result. Here, the athletic result may include information such as athletic success or athletic failure, athletic score, athletic duration, etc.
Step S425, when the athletic task matching device monitors that online athletic is completed, the types of the task to be matched and the target task are respectively obtained.
Because the task to be matched and the target task may be automatic matching type competitive tasks, in order to enable the automatic matching type competitive tasks to continue to be automatically matched, the embodiment of the application respectively acquires the types of the task to be matched and the target task in the pairing competitive tasks after monitoring that the pairing competitive tasks complete online competition.
Step S426, when the type of the task to be matched is an automatic matching type, the athletic task matching device stores the task to be matched into the second matching pool.
When the type of the task to be matched is obtained to be the automatic matching type, the task to be matched is determined to automatically start next competitive task matching, and at the moment, the task to be matched is stored in a second matching pool.
When the type of the task to be matched is not the automatic matching type, namely the type of the task to be matched is the manual matching type or the system timing matching type, if the type of the task to be matched is the manual matching type, the on-line competition of the task to be matched is ended; if the type of the task to be matched is the system timing matching type, the task to be matched is controlled by the server, and the matching of the athletic task is started again when the next set time comes.
In step S427, if the type of the target task is an automatic matching type, the competitive task matching device stores the target task in the second matching pool.
The embodiment of the application provides a matching method of athletic tasks, which comprises the steps of obtaining tasks to be matched from athletic tasks in a first matching pool according to preset matching conditions, wherein the types of the athletic tasks in the first matching pool are manual matching types and/or system timing matching types; matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type; under the condition that a target task successfully matched with the task to be matched exists in the second matching pool, determining the task to be matched and the target task as pairing athletic tasks; and sending the pairing competition task to a competition engine for online competition. According to the athletic task matching method provided by the embodiment of the application, on the premise that real-time matching is met to perform online athletic in real time, when the number of users in online athletic is small, the athletic task submitted by the user can be matched with the athletic task of the manual matching type in the second matching pool, and can also be matched with the athletic task of the system timing matching type and the automatic matching type in the second matching pool, and compared with the matching method only matched with the athletic task of the manual matching type, the matching time of the user can be shortened, and the matching success rate can be improved.
In the following, an exemplary application of the embodiments of the present application in a practical application scenario will be described.
An exemplary illustration of an online game of virtual football game (Coding Soccer) is provided in the examples of the present application. In order to enable a user playing in a game to quickly play in the game in a virtual football game, the embodiment of the application provides an online competition matching method for the virtual football game, when the user plays in the virtual football game, the game tasks of the user can be routed to a corresponding matching pool (comprising a main matching pool and a waiting matching pool) in different modes (such as a manual matching mode, a system timing matching mode or an automatic matching mode), the tasks are firstly acquired as primary matching conditions according to the number of the residual times in a background, and then the tasks in the waiting matching pool are matched as secondary matching conditions through a ranking range, so that the user can be matched with the most suitable opponents to play the game. In this embodiment of the present application, the manual matching manner corresponds to the manual matching type in the foregoing embodiment, the system timing matching manner corresponds to the system timing matching type in the foregoing embodiment, the automatic matching manner corresponds to the automatic matching type in the foregoing embodiment, the main matching pool corresponds to the first matching pool in the foregoing embodiment, and the waiting matching pool corresponds to the second matching pool in the foregoing embodiment.
In the online competition matching method provided by the embodiment of the application, when the main matching pool and the waiting matching pool trigger tasks manually/automatically, the data of the same competition task in the two matching pools are synchronized, so that the same task is ensured to be kept consistent in different matching pools, and the matching success rate is improved.
In the online competition matching method provided by the embodiment of the application, the competition engine of the virtual football competition is monitored in real time by the waiting matching pool, so that the matching can be performed according to a user-defined matching mode. Meanwhile, the user can also use the strategy to host the competition tasks, so that the aim of automatically initiating matching for competition without manual matching of the user is fulfilled.
Fig. 5 is a schematic flow chart of another implementation of the matching method for athletic tasks provided in the embodiment of the present application, and as shown in fig. 5, the matching method for athletic tasks provided in the embodiment of the present application includes the following steps:
in step S501, the user/system custom matches the type, and submits the task to the main matching pool/wait matching pool according to different matching types.
In the embodiment of the application, the matching types include a manual matching type, a system timing matching type and an automatic matching type.
Step S502, the main matching pool/waiting matching pool receives the task, and performs data synchronization according to the self-defined conditions and the conditions.
Since each task is different, with a unique non-modifiable identification. Based on this, it can be determined by the identification whether the task in the main matching pool and the task in the waiting matching pool are the same task, and when the identification of the task in the main matching pool is the same as the identification of the task in the waiting matching pool, it is indicated that the two tasks are the same task, and then it is further determined whether the data of the task stored in the main matching pool or the data stored in the waiting matching pool is altered. When changed, the data synchronization is performed according to the set conditions.
Here, the condition may be set in advance by the user according to the own demand, or may be set by the server.
In step S503, the matching process monitors the main matching pool, obtains a task of the main matching pool according to the custom matching condition, and performs hierarchical matching with the task in the waiting matching pool according to the custom weight.
Here, the matching process can determine the task to be matched according to the time sequence of the task in the main matching pool entering the main matching pool, and the task with early time entering the main matching pool is matched first, so that the user is ensured not to be in the matching process for a long time, and the user matching time is shortened.
And step S504, returning to the main matching pool after the matching process fails to match, and repeating the matching according to a repeated matching strategy until the repeated matching condition is jumped out, and stopping the matching.
In the embodiment of the application, when no task successfully matched with the task to be matched exists in the waiting matching pool, the matching times and/or the matching time length are set, and the matching is repeated when the matching times and/or the matching time length are not reached, so that the matching efficiency and the success rate are improved.
Step S505, after the matching is successful, queuing to enter a competition engine for competition.
Step S506, judging whether rerouting to the waiting matching pool according to the state of the task after the competition is completed, and ensuring that the matching state is kept at the moment.
When the match is completed, the task in the match is determined to be in an automatic match state, and the task can be automatically matched with the next online match, and the task is stored in the waiting match pool again.
According to the athletic task matching method, interaction between the main matching pool and the waiting matching pool is increased, so that the limit of the number of users participating in online athletic is ensured, and the matching success rate is improved. In the embodiment of the application, the main matching pool and the waiting matching pool can be self-defined in weight, multi-level matching is supported, the waiting matching pool is added to monitor the competition engine, so that the automatic matching type task can be ensured to automatically enter the matching of the next online competition, the automatic matching can be realized without repeated manual operation of a user, the manual operation steps of the user can be reduced, and the convenience is improved.
The apparatus provided in the embodiments of the present application may be implemented in hardware or a combination of hardware and software, and various exemplary implementations of the apparatus provided in the embodiments of the present application are described below.
Other exemplary configurations of the athletic task matching device 100 are contemplated in accordance with the exemplary configuration of the athletic task matching device 100 illustrated in fig. 6, and thus the configurations described herein should not be considered limiting, e.g., some of the components described below may be omitted, or components not described below may be added to accommodate the specific needs of certain applications.
The athletic task matching device 100 illustrated in fig. 6 includes: at least one processor 110, a memory 140, at least one network interface 120, and a user interface 130. Each of the components in athletic mission matching device 100 are coupled together through bus system 150. It is understood that bus system 150 is used to enable connected communications between these components. The bus system 150 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled in fig. 2 as bus system 150.
The user interface 130 may include a display, keyboard, mouse, touch pad, touch screen, and the like.
Memory 140 may be volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM). The volatile memory may be random access memory (RAM, random Access Memory). The memory 140 described in embodiments of the present application is intended to comprise any suitable type of memory.
The memory 140 in the embodiments of the present application is capable of storing data to support the operation of the athletic mission matching device 100. Examples of such data include: any computer programs, such as an operating system and application programs, for operation on the athletic mission matching device 100. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application may comprise various applications.
As an example of a software implementation of the method provided by the embodiment of the present application, the athletic task matching method provided by the embodiment of the present application may be directly embodied as a combination of software modules executed by the processor 110, where the software modules may be located in a computer storage medium, where the memory 140 is located, and where the processor 110 reads executable instructions included in the software modules in the memory 140, and where the method provided by the embodiment of the present application is completed in combination with necessary hardware (including, for example, the processor 110 and other components connected to the bus 150).
By way of example, the processor 110 may be an integrated circuit chip having signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
Continuing with the description below of an exemplary architecture implemented as software modules of the athletic task matching device provided by embodiments of the present application, in some embodiments, as shown in fig. 6, the software modules stored in the athletic task matching device 60 of the memory 140 may include:
the first obtaining module 61 is configured to obtain a task to be matched from the athletic tasks in the first matching pool according to a preset matching condition, where the types of the athletic tasks in the first matching pool are a manual matching type and/or a system timing matching type;
a first matching module 62, configured to match the task to be matched with an athletic task in a second matching pool, where the second matching pool includes the athletic task in the first matching pool and an athletic task of an automatic matching type;
a first determining module 63, configured to determine, when there is a target task in the second matching pool that is successfully matched with the task to be matched, the task to be matched and the target task as paired athletic tasks;
The sending module 64 is configured to send the paired athletic task to an athletic engine for online athletic.
In some embodiments, the athletic mission matching device 60 may further include:
the second acquisition module is used for acquiring an athletic request, wherein the athletic request carries an athletic task and the type of the athletic task;
the analysis module is used for analyzing the competition request and obtaining competition tasks and types of the competition tasks;
the first storage module is used for storing the athletic task to a matching pool corresponding to the type of the athletic task, and the matching pool comprises a first matching pool and a second matching pool.
In some embodiments, the types of athletic tasks include: a manual matching type, a system timing matching type and an automatic matching type;
the first storage module includes:
the first storage unit is used for storing the athletic task to the first matching pool and the second matching pool respectively under the condition that the type of the athletic task is the manual matching type or the system timing matching type;
and the second storage unit is used for storing the athletic task into the second matching pool under the condition that the type of the athletic task is the automatic matching type.
In some embodiments, the athletic mission matching device 60 may further include:
the third acquisition module is used for acquiring attribute information of the first task in the first matching pool, wherein the attribute information at least comprises identifiers for marking different athletic tasks;
a fourth obtaining module, configured to obtain attribute information of a second task that is the same as the identifier of the first task from the second matching pool;
and the synchronization module is used for synchronizing the attribute information of the first task with the attribute information of the second task under the condition that the attribute information of the first task is inconsistent with the attribute information of the second task.
In some embodiments, the synchronization module comprises:
an updating unit, configured to update attribute information of the second task to attribute information of the first task; or updating the attribute information of the first task to the attribute information of the second task.
In some embodiments, the athletic mission matching device 60 may further include:
the statistics module is used for counting the matching times of the tasks to be matched and/or timing the matching duration of the tasks to be matched under the condition that the competitive tasks successfully matched with the tasks to be matched do not exist in the second matching pool;
And the second matching module is used for re-matching the task to be matched with the athletic task in the second matching pool under the condition that the matching times of the task to be matched are smaller than a times threshold value and/or the matching time length is smaller than a time length threshold value.
In some embodiments, the athletic mission matching device 60 may further include:
the second determining module is used for determining that the matching of the task to be matched fails when the matching times of the task to be matched is equal to a time threshold and/or the matching time length is greater than or equal to a time length threshold;
and the output module is used for responding to the competition request and outputting information of matching failure.
In some embodiments, the athletic mission matching device 60 may further include:
a fifth obtaining module, configured to obtain types of the task to be matched and the target task, respectively, when it is monitored that online competition is completed;
the second storage module is used for storing the task to be matched to the second matching pool under the condition that the type of the task to be matched is an automatic matching type;
and the third storage module is used for storing the target task into the second matching pool under the condition that the type of the target task is an automatic matching type.
In some embodiments, the first matching module 62 further comprises:
the first determining unit is used for determining a matching rule according to the attribute information of the task to be matched;
the screening unit is used for screening the competitive tasks conforming to the matching rule from the competitive tasks in the second matching pool as candidate competitive tasks, and adding the candidate competitive tasks to a competitive task set;
the acquisition unit is used for acquiring the weight of the attribute in the attribute information under the condition that the athletic task set is not empty;
the second determining unit is used for determining the matching degree between the task to be matched and the candidate athletic task based on the weight of the attribute, the attribute value corresponding to the attribute of the task to be matched and the attribute value corresponding to the attribute of the candidate athletic task;
and the third determining unit is used for determining a target task successfully matched with the task to be matched from the candidate athletic tasks based on the matching degree.
In some embodiments, the athletic mission matching device 60 may further include:
and the third determining module is used for determining that the athletic task successfully matched with the task to be matched does not exist in the second matching pool under the condition that the athletic task set is empty or the matching degree is smaller than a matching threshold value.
The athletic task matching device provided by the embodiment of the application has functions or included modules that can be used to execute the methods described in the above embodiments of the athletic task matching method, and the specific implementation of the method is described with reference to the above embodiments of the method.
The present embodiments provide a computer storage medium having stored therein executable instructions that, when executed by a processor, cause the processor to perform the methods provided by the embodiments of the present application, for example, the methods shown in fig. 1-3 and 5.
In some embodiments, the computer storage medium may be ferroelectric random access Memory (FRAM, ferroelectric Random Access Memory), ROM, programmable read-Only Memory (PROM, programmable Read-Only Memory), erasable programmable read-Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable read-Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), flash Memory, magnetic surface Memory, optical disk, or compact disc read-Only Memory (CD-ROM, compact Disc Read-Only Memory), among others; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and scope of the present application are intended to be included within the scope of the present application.

Claims (12)

1. An athletic task matching method, characterized in that the method comprises:
acquiring a task to be matched from the competitive tasks in a first matching pool according to preset matching conditions, wherein the type of the competitive tasks in the first matching pool is a manual matching type and/or a system timing matching type;
matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type;
under the condition that a target task successfully matched with the task to be matched exists in the second matching pool, determining the task to be matched and the target task as pairing athletic tasks;
and sending the pairing competition task to a competition engine for online competition.
2. The method of claim 1, wherein prior to obtaining the task to be matched from the athletic tasks in the first matching pool according to the preset matching condition, the method further comprises:
Acquiring an athletic request, wherein the athletic request carries an athletic task and the type of the athletic task;
analyzing the athletic request to obtain an athletic task and the type of the athletic task;
and storing the athletic task into a matching pool corresponding to the type of the athletic task, wherein the matching pool comprises a first matching pool and a second matching pool.
3. The method of claim 2, wherein the type of athletic task includes: a manual matching type, a system timing matching type and an automatic matching type;
correspondingly, the storing the athletic task in the matching pool corresponding to the type of the athletic task includes:
storing the athletic task to the first matching pool and the second matching pool respectively under the condition that the type of the athletic task is the manual matching type or the system timing matching type;
and storing the athletic task to the second matching pool under the condition that the type of the athletic task is the automatic matching type.
4. A method according to any one of claims 1 to 3, further comprising:
acquiring attribute information of a first task in the first matching pool, wherein the attribute information at least comprises identifiers for marking different athletic tasks;
Respectively acquiring attribute information of a second task with the same identifier as the first task from the second matching pool;
and synchronizing the attribute information of the first task with the attribute information of the second task under the condition that the attribute information of the first task is inconsistent with the attribute information of the second task.
5. The method of claim 4, wherein synchronizing the attribute information of the first task with the attribute information of the second task comprises:
updating the attribute information of the second task into the attribute information of the first task;
or, updating the attribute information of the first task into the attribute information of the second task.
6. A method according to any one of claims 1 to 3, 5, further comprising:
counting the matching times of the tasks to be matched and/or timing the matching duration of the tasks to be matched under the condition that the competitive task successfully matched with the tasks to be matched does not exist in the second matching pool;
and under the condition that the matching times of the tasks to be matched are smaller than a times threshold value and/or the matching time length is smaller than a time length threshold value, re-matching the tasks to be matched with the athletic tasks in the second matching pool.
7. The method of claim 6, wherein the method further comprises:
and determining that the matching of the tasks to be matched fails under the condition that the matching times of the tasks to be matched are equal to a time threshold and/or the matching time length is greater than or equal to a time length threshold.
8. The method according to any one of claims 1 to 3, 5, 7, further comprising:
under the condition that online competition is monitored to be completed, respectively acquiring the types of the task to be matched and the target task;
storing the task to be matched into the second matching pool under the condition that the type of the task to be matched is an automatic matching type;
and storing the target task into the second matching pool under the condition that the type of the target task is an automatic matching type.
9. The method according to any one of claims 1 to 3, 5, 7, wherein said matching the task to be matched with the athletic task in the second matching pool comprises:
determining a matching rule according to the attribute information of the task to be matched;
screening the competitive tasks conforming to the matching rule from the competitive tasks in the second matching pool as candidate competitive tasks, and adding the candidate competitive tasks to a competitive task set;
Acquiring the weight of the attribute in the attribute information under the condition that the athletic task set is not empty;
determining the matching degree between the task to be matched and the candidate athletic task based on the weight of the attribute, the attribute value corresponding to the attribute of the task to be matched and the attribute value corresponding to the attribute of the candidate athletic task;
and determining a target task successfully matched with the task to be matched from the candidate athletic tasks based on the matching degree.
10. An athletic mission matching device, the device comprising:
the first acquisition module is used for acquiring a task to be matched from the competitive tasks in the first matching pool according to preset matching conditions, wherein the type of the competitive tasks in the first matching pool is a manual matching type and/or a system timing matching type;
the first matching module is used for matching the task to be matched with the competitive task in a second matching pool, wherein the second matching pool comprises the competitive task in the first matching pool and the competitive task of an automatic matching type;
the first determining module is used for determining the task to be matched and the target task as pairing athletic tasks under the condition that the target task successfully matched with the task to be matched exists in the second matching pool;
And the sending module is used for sending the pairing competition task to a competition engine so as to conduct online competition.
11. An athletic task matching device, the device comprising:
a memory for storing executable instructions;
a processor for implementing the method of any one of claims 1 to 9 when executing executable instructions stored in said memory.
12. A computer storage medium storing executable instructions for causing a processor to perform the method of any one of claims 1 to 9.
CN202010399441.9A 2020-05-12 2020-05-12 Athletic task matching method, device, equipment and computer storage medium Active CN111589161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010399441.9A CN111589161B (en) 2020-05-12 2020-05-12 Athletic task matching method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010399441.9A CN111589161B (en) 2020-05-12 2020-05-12 Athletic task matching method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN111589161A CN111589161A (en) 2020-08-28
CN111589161B true CN111589161B (en) 2023-07-25

Family

ID=72185357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010399441.9A Active CN111589161B (en) 2020-05-12 2020-05-12 Athletic task matching method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN111589161B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107281754A (en) * 2017-05-25 2017-10-24 腾讯科技(深圳)有限公司 A kind of application identities matching process and its equipment, storage medium, server
CN107837532A (en) * 2017-11-16 2018-03-27 腾讯科技(上海)有限公司 User matching method, device, server and storage medium
US10398986B1 (en) * 2015-12-22 2019-09-03 Colton Henroid System for multiplayer game searching and matching and methods therefor
JP2019150397A (en) * 2018-03-05 2019-09-12 株式会社カプコン Game program and game device
CN110559661A (en) * 2019-09-11 2019-12-13 腾讯科技(深圳)有限公司 Pairing method and device
CN110569470A (en) * 2019-09-09 2019-12-13 北京字节跳动网络技术有限公司 User matching method and device, readable medium and electronic equipment
CN111111216A (en) * 2019-12-24 2020-05-08 北京奇艺世纪科技有限公司 Matching method, device, server and storage medium
CN111111215A (en) * 2019-12-24 2020-05-08 北京像素软件科技股份有限公司 Game matching method, device, server and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10398986B1 (en) * 2015-12-22 2019-09-03 Colton Henroid System for multiplayer game searching and matching and methods therefor
CN107281754A (en) * 2017-05-25 2017-10-24 腾讯科技(深圳)有限公司 A kind of application identities matching process and its equipment, storage medium, server
CN107837532A (en) * 2017-11-16 2018-03-27 腾讯科技(上海)有限公司 User matching method, device, server and storage medium
JP2019150397A (en) * 2018-03-05 2019-09-12 株式会社カプコン Game program and game device
CN110569470A (en) * 2019-09-09 2019-12-13 北京字节跳动网络技术有限公司 User matching method and device, readable medium and electronic equipment
CN110559661A (en) * 2019-09-11 2019-12-13 腾讯科技(深圳)有限公司 Pairing method and device
CN111111216A (en) * 2019-12-24 2020-05-08 北京奇艺世纪科技有限公司 Matching method, device, server and storage medium
CN111111215A (en) * 2019-12-24 2020-05-08 北京像素软件科技股份有限公司 Game matching method, device, server and readable storage medium

Also Published As

Publication number Publication date
CN111589161A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
US8608572B1 (en) Game processing server apparatus and game processing server system
US20230211235A1 (en) Device control method and apparatus, computer device, and storage medium
CN101604358B (en) Method, device and system for updating resources
US9722869B2 (en) Sharing an application configuration among social networks
CN111744177B (en) Game data processing method and device, storage medium and electronic equipment
US9498723B2 (en) Server device, user device, method for controlling server device, recording medium, and system
CN111314714B (en) Game live broadcast method and device
US20160206958A1 (en) Information processing device and game program
CN112328492A (en) Interaction control method and device between anchor and electronic equipment
US11720409B2 (en) Resource processing method and apparatus, and storage medium
CN111589161B (en) Athletic task matching method, device, equipment and computer storage medium
CN111359213B (en) Method and apparatus for controlling virtual players in game play
CN111957052A (en) Task team forming method and device, electronic equipment and storage medium
JP5974198B1 (en) Information processing apparatus, game program, and information processing method
CN116570928A (en) Information processing method, device and server based on NFT
CN111372089A (en) Method, device and storage medium for updating activity list
KR101789510B1 (en) System and method for providing chatting service in on-line game client
CN112138372B (en) Data synchronization method in distributed system and related equipment
KR101827324B1 (en) Method for using a plurality of device to provide online game
CN116850586A (en) Method, device, storage medium and computer equipment for game skill play prediction
CN114047918A (en) Task processing method, device, equipment, storage medium and product
CN113694524A (en) Information prompting method, device, equipment and medium
US20240024778A1 (en) Updating gameplay parameters based on parameters shown in gameplay video
CN115086405B (en) Data processing method, system, device, medium and program product for server
KR102551096B1 (en) Device and method for providing cloud game service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant