CN109646942A - Match method and device for battle game members and electronic equipment - Google Patents
Match method and device for battle game members and electronic equipment Download PDFInfo
- Publication number
- CN109646942A CN109646942A CN201811578966.8A CN201811578966A CN109646942A CN 109646942 A CN109646942 A CN 109646942A CN 201811578966 A CN201811578966 A CN 201811578966A CN 109646942 A CN109646942 A CN 109646942A
- Authority
- CN
- China
- Prior art keywords
- game
- terminal equipment
- user
- game group
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 230000002452 interceptive effect Effects 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 12
- 230000003993 interaction Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 244000118350 Andrographis paniculata Species 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/31—Communication aspects specific to video games, e.g. between several handheld game devices at close range
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/35—Details of game servers
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/79—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a match method and a match device for battle game members and electronic equipment, relates to the field of computer software development, and can match game members more flexibly. The match method of the battle game members comprises the following steps: receiving a game group creation request sent by first terminal equipment; creating a game group according to the game group creation request, and adding a user of the first terminal device as a first game member to the game group; transmitting game group identification information of the created game group to the first terminal device; receiving a game group search request sent by a second terminal device, wherein the game group search request carries game group identification information; according to the game group identification information, finding a game group corresponding to the game group identification information; and adding the user of the second terminal device as a second game member to the game group. The apparatus and electronic device include modules for performing the methods. The invention is suitable for matching players with non-game platform relationship.
Description
Technical Field
The invention relates to the field of computer software development, in particular to a match method and device for war game members, electronic equipment and a readable storage medium.
Background
With the development of internet technology, the popularity of the internet is increasing continuously, and a foundation is provided for the stable development of the game industry and the starting of games by game players. Along with the increase of the internet popularity rate, the online game industry in China presents a good development situation of rapidness and stability, and realizes continuous and rapid growth in aspects of game varieties, quantity, subject types and the like.
The existing network games mostly use multiplayer battles as a mode, and the matching mode is usually based on the game platform relationship, for example, the matching is performed through the friend relationship of the game platform. Because the matching mode is based on the game platform relationship, for the players with non-game platform relationship, the matching can not be realized, and the matching mode is not flexible.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for matching members of a battle game, an electronic device, and a readable storage medium, which can more flexibly match the members of the battle game.
In a first aspect, an embodiment of the present invention provides a method for matching members of a battle game, including: receiving a game group creation request sent by first terminal equipment; creating a game group according to the game group creation request, and adding a user of the first terminal device as a first game member to the game group; transmitting game group identification information of the created game group to the first terminal device; receiving a game group search request sent by a second terminal device, wherein the game group search request carries game group identification information; according to the game group identification information, finding a game group corresponding to the game group identification information; and adding the user of the second terminal device as a second game member to the game group.
According to a specific implementation manner of the embodiment of the invention, the game group search request carries identification information of a user of the second terminal device;
after adding the user of the second terminal device as a second game member to the game group, the method further comprises: inquiring attribute information of a user of the second terminal equipment from a pre-stored game member attribute library according to the identification information of the user of the second terminal equipment; and sending the attribute information of the user of the second terminal equipment to the first terminal equipment.
According to a specific implementation manner of the embodiment of the invention, the game group creation request carries identification information of a user of the first terminal device;
after adding the user of the second terminal device as a second game member to the game group, the method further comprises: inquiring attribute information of a user of the first terminal equipment from a pre-stored game member attribute library according to the identification information of the user of the first terminal equipment; and sending the attribute information of the user of the first terminal equipment to the second terminal equipment.
According to a specific implementation manner of the embodiment of the invention, before adding the user of the second terminal device as the second game member to the game group, the method further comprises: judging whether the number of members in the game group reaches a preset threshold value; and if the number of the members in the game group does not reach the preset threshold value, adding the user of the second terminal equipment into the game group as a second game member.
According to a specific implementation manner of the embodiment of the invention, after the user of the second terminal device is added to the game group as the second game member, the method further comprises: receiving an interactive message initiated by first terminal equipment, and sending the interactive message to second terminal equipment; or receiving an interactive message initiated by the second terminal device, and sending the interactive message to the first terminal device.
According to a specific implementation manner of the embodiment of the invention, after the user of the second terminal device is added to the game group as the second game member, the method further comprises: receiving a specified game starting request initiated by a first terminal device; sending the starting interface of the appointed game to second terminal equipment; receiving a specified game acceptance request sent by second terminal equipment; pushing a game starting interface to the first terminal equipment and the second terminal equipment; or receiving a specified game starting request initiated by the second terminal equipment; sending the starting interface of the specified game to first terminal equipment; receiving a specified game acceptance request sent by first terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
In a second aspect, an embodiment of the present invention provides a matching device for match-up game members, including: the system comprises a first receiving module, a game group creating module, a first sending module, a second receiving module, a game group searching module and a member adding module, wherein the first receiving module is used for receiving a game group creating request sent by first terminal equipment; a game group creation module, configured to create a game group according to the game group creation request, and add a user of a first terminal device to the game group as a first game member; the first sending module is used for sending the game group identification information of the created game group to the first terminal equipment; the second receiving module is used for receiving a game group searching request sent by a second terminal device, wherein the game group searching request carries game group identification information; the game group searching module is used for searching the game group corresponding to the game group identification information according to the game group identification information; and the member adding module is used for adding the user of the second terminal equipment as a second game member to the game group.
According to a specific implementation manner of the embodiment of the invention, the game group search request carries identification information of a user of the second terminal device; the device further comprises: the first attribute information query module is used for querying the attribute information of the user of the second terminal equipment from a pre-stored game member attribute library according to the identification information of the user of the second terminal equipment; and the second sending module is used for sending the attribute information of the user of the second terminal equipment to the first terminal equipment.
According to a specific implementation manner of the embodiment of the invention, the game group creation request carries identification information of a user of the first terminal device; the device further comprises: the second attribute information query module is used for querying the attribute information of the user of the first terminal device from a pre-stored game member attribute library according to the identification information of the user of the first terminal device; and the third sending module is used for sending the attribute information of the user of the first terminal equipment to the second terminal equipment.
According to a specific implementation manner of the embodiment of the present invention, the apparatus further includes: the judging module is used for judging whether the number of members in the game group reaches a preset threshold value before adding a user of a second terminal device as a second game member into the game group;
the member adding module is specifically configured to add a user of a second terminal device to the game group as a second game member if the number of members in the game group does not reach a predetermined threshold value.
According to a specific implementation manner of the embodiment of the present invention, the apparatus further includes: the interactive module is used for receiving an interactive message initiated by first terminal equipment and sending the interactive message to second terminal equipment; or receiving an interactive message initiated by the second terminal device, and sending the interactive message to the first terminal device.
According to a specific implementation manner of the embodiment of the present invention, the apparatus further includes: the game starting module is used for receiving a specified game starting request initiated by the first terminal equipment; sending the starting interface of the appointed game to second terminal equipment; receiving a specified game acceptance request sent by second terminal equipment; pushing a game starting interface to the first terminal equipment and the second terminal equipment; or, the game starting device is used for receiving a specified game starting request initiated by the second terminal device; sending the starting interface of the specified game to first terminal equipment; receiving a specified game acceptance request sent by first terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing a computer program; the processor is used for executing the method of any one of the foregoing implementation modes by reading the computer program stored in the memory.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the method according to any one of the foregoing implementation manners.
The matching method, the device, the electronic equipment and the readable storage medium for the battle game members provided by the embodiment of the invention receive the game group creation request sent by the first terminal equipment; creating a game group according to the game group creation request, and adding a user of the first terminal device as a first game member to the game group; transmitting game group identification information of the created game group to the first terminal device; the user of the first terminal equipment can send the game group identification information to the second terminal equipment, and the user of the second terminal equipment sends a game group search request to the game platform server or the game server according to the received game group identification information; the game server or the game platform server finds the game group corresponding to the game group identification information according to the game group identification information; and the user of the second terminal device is used as a second game member and added into the game group, so that the matching of the non-game platform players is realized, the game members can be matched more flexibly, and the matching modes of the game members are enriched.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a first embodiment of a method for matching members of a battle game according to the present invention;
FIG. 2 is a flowchart of a second embodiment of the method for matching members of a battle game according to the present invention;
FIG. 3 is a flowchart of a third embodiment of the method for matching members of a battle game according to the present invention;
FIG. 4 is a flowchart illustrating a fourth exemplary method for matching members of a battle game according to the present invention;
FIG. 5 is a flow chart of a fifth embodiment of the method for matching members of a battle game according to the present invention;
FIG. 6 is a schematic structural diagram of a first embodiment of a match device for match members of a battle game according to the present invention;
FIG. 7 is a schematic structural diagram of a second embodiment of a match device for match members of a match game according to the present invention;
FIG. 8 is a schematic structural diagram of a third embodiment of a match device for match-up members of the battle game according to the present invention;
FIG. 9 is a schematic structural diagram of a fourth embodiment of a match device for match members of the battle game according to the present invention;
FIG. 10 is a schematic structural diagram of a fifth embodiment of a match device for match members of the battle game according to the present invention;
fig. 11 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a first aspect, embodiments of the present invention provide a method for matching battle game members, which can more flexibly match game members.
Fig. 1 is a flowchart of a first embodiment of a method for matching battle game members according to the present invention, and as shown in fig. 1, the method of the present embodiment may include:
step 101, receiving a game group creation request sent by a first terminal device.
In this embodiment, the first terminal device may be a desktop computer, a mobile terminal device such as a smart phone, a tablet computer, and a notebook computer, and the device that receives the game group creation request may be a game platform server or a game server. In this embodiment, a game platform server is taken as an example to describe a matching method for members of a battle game. The first terminal device may establish a long connection with the game platform server before sending the game group creation request.
And 102, creating a game group according to the game group creation request, and adding a user of the first terminal device into the game group as a first game member.
In particular applications, the game groups may be data structures such as lists, arrays, or queues. The game platform server creates a game group according to the game group creation request and adds game members to the game group.
When the game item relates to an indoor scene, the game group creation request may specifically be a battle room creation request, and the game platform server may create a battle room and a battle room representing a game group according to the request, that is, a game group is formed by players playing a game together in the battle room.
Step 103, sending the game group identification information of the created game group to the first terminal device.
In this embodiment, the game group identification information may be a game group number (i.e., a number). When a battle room is created, the game group identification information may be a room number of the created battle room. The numbers are not limited to the combination of numbers and letters, and can be pure numbers or pure letters, and the number of digits is not limited, such as 12a34, 1234, abcd. The first game member acquires the game group number through the first terminal device.
And step 104, receiving a game group search request sent by the second terminal device, wherein the game group search request carries game group identification information.
In this embodiment, the first game member obtains the game group number, and can send the game group number to other people through the communication tool, specifically, the game group number can be sent to other people through a short message of a mobile phone, a direct call, a WeChat video, a WeChat friend circle, an email, and the like. And other personnel establish long connection with the game platform server through the second terminal equipment and send a search request to the game platform server, wherein the search request contains the information of the game group number.
And 105, finding the game group corresponding to the game group identification information according to the game group identification information.
In this embodiment, according to the received game group identification information, the game platform server finds the game group corresponding to the identification information.
And step 106, adding the user of the second terminal device as a second game member to the game group.
In this embodiment, the user of the second terminal device is added to the game group as the second game member, and a new game member is added to the game group.
The matching method, the device, the electronic equipment and the readable storage medium for the battle game members provided by the embodiment of the invention receive the game group creation request sent by the first terminal equipment; creating a game group according to the game group creation request, and adding a user of the first terminal device as a first game member to the game group; transmitting game group identification information of the created game group to the first terminal device; the user of the first terminal equipment sends the game group identification information to the second terminal equipment, and the user of the second terminal equipment sends a game group search request to the game platform server or the game server according to the received game group identification information; the game server or the game platform server finds the game group corresponding to the game group identification information according to the game group identification information; and the user of the second terminal device is used as a second game member and added into the game group, so that the matching of the non-platform player is realized, the game members can be matched more flexibly, and the matching modes of the game members are enriched.
Fig. 2 is a flowchart of a second method for matching members of a battle game according to an embodiment of the present invention, as shown in fig. 2, which is different from the method of fig. 1 in that, in this embodiment, after a user of a second terminal device is added to the game group as a second game member (step 106), the method may further include:
step 107, the game group search request carries identification information of the user of the second terminal device, and according to the identification information of the user of the second terminal device, the attribute information of the user of the second terminal device is inquired from a pre-stored game member attribute library.
In this embodiment, the attribute information of the game player may include information such as the gender, age, city, game level, game avatar, Mobile Country Code (MCC), and the like of the game player. The attribute information may be stored in the gaming platform server in a distributed manner depending on the MCC and the city (i.e., geographic location) in which the game player is located.
The identification information of the user of the second terminal device may be a game account of the user of the second terminal device, or may be a hardware identification of the second terminal device, such as an IMEI number and/or a MAC address. The identification information of each game player corresponds to the attribute information of the game player. In this way, information such as the sex, age, city, game level, and game avatar of the user of the second terminal device can be searched from the attribute library of the attribute information of the game player stored in advance based on the identification information of the user of the second terminal device.
And step 108, sending the attribute information of the user of the second terminal equipment to the first terminal equipment.
In this embodiment, the attribute information of the user of the second terminal device is obtained by querying, and the attribute information may be sent to the first terminal device in JSON format, so that the user of the first terminal device can obtain the information of the user of the second terminal device. Among other things, the JSON format is a lightweight data exchange format that stores and represents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (the js specification set by the european computer association). The compact and clear hierarchy makes JSON an ideal data exchange language. The network transmission method is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency.
In this embodiment, after matching players with a non-game platform relationship, the game platform server queries the attribute information corresponding to the identification information of the user of the second terminal device, and sends the attribute information to the first terminal device, so that the user of the first terminal device can know the attribute information of game members in the same game group.
Fig. 3 is a flowchart of a third embodiment of a method for matching members of a battle game according to the present invention, as shown in fig. 3, which is different from the method embodiment shown in fig. 2 in that in this embodiment, after the attribute information of the user of the second terminal device is sent to the first terminal device (step 108), the method may further include:
step 109, the game group creation request carries the identification information of the user of the first terminal device, and according to the identification information of the user of the first terminal device, the attribute information of the user of the first terminal device is inquired from a pre-stored game member attribute library.
In this embodiment, the information included in the attribute information of the user of the first terminal device is the same as that in step 107, and is not described herein again.
Step 110, sending the attribute information of the user of the first terminal device to the second terminal device.
In this embodiment, the attribute information may be sent to the second terminal device in JSON format, so that a user of the second terminal device can obtain information of the user of the second terminal device.
In this embodiment, after matching players with a non-game platform relationship, the game platform server queries the attribute information corresponding to the identification information of the user of the first terminal device, and sends the attribute information to the second terminal device, so that the user of the second terminal device can know the attribute information of game members in the same game group.
Fig. 4 is a flowchart of a fourth method for matching members of a battle game according to an embodiment of the present invention, as shown in fig. 4, which is different from the method of fig. 1 in that, in this embodiment, before adding a user of a second terminal device as a second game member to the game group (step 106), the method may further include:
step 111, judging whether the number of members in the game group reaches a preset threshold value; and if the number of the members in the game group does not reach the preset threshold value, adding the user of the second terminal equipment into the game group as a second game member.
In this embodiment, when creating a game group, a threshold is set to limit that several game members can be added to the game group, and the threshold can be set to 2, 3, 4, and so on. The addition of members may be continued when the number of members in the game group is less than a predetermined threshold, and may not be continued if the number of members in the game group is equal to the predetermined threshold. The number of members in the game group being less than the predetermined threshold, a user of the second terminal device may be added to the game group as a second game member.
In this embodiment, before the user of the second terminal device is added to the game group as the second game member, the number of members in the game group is determined, and whether to add a new member is determined. The method and the device can limit the number of game members in the game group and avoid the problem that the game members in the game group can not play games when exceeding a threshold value.
Fig. 5 is a flowchart of a fifth embodiment of a method for matching members of a battle game provided by the present invention, as shown in fig. 5, which is different from the method embodiment shown in fig. 1 in that, in this embodiment, after a user of a second terminal device is added to the game group as a second game member (step 106), the method may further include:
and step 112, receiving an interactive message initiated by the first terminal device, and sending the interactive message to the second terminal device.
In this embodiment, the interactive message may be an agreement on the game item to be started, a time to start the game, or any other information that needs to be communicated. Before playing the game, users of the first terminal device and the second terminal device can send messages to determine a certain matter, such as needing to agree on game items to be played, whether to play chess or gobang, and the like, and determine the duration of game playing and the like.
The first terminal equipment can initiate an interactive message to the game platform server, and the game platform server receives the interactive message and sends the interactive message to the second terminal equipment.
Optionally, in this embodiment, the second terminal device may also initiate the interactive message, in which case, the game platform server may receive the interactive message initiated by the second terminal device, and send the interactive message to the first terminal device.
After the users of the first terminal device and the second terminal device agree on the game to be played, a game start request may be initiated to the game server by one of the parties.
Step 113, receiving a specified game starting request initiated by a first terminal device; sending the starting interface of the appointed game to second terminal equipment; receiving a specified game acceptance request sent by second terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
In this embodiment, after receiving a specified game start request initiated by a first terminal device, a game server sends a start interface of the specified game to a second terminal device; receiving a specified game receiving request sent by the second terminal equipment, pushing a game starting interface to the first terminal equipment and the second terminal equipment, and enabling users of the first terminal equipment and the second terminal equipment to start the battle game.
In this embodiment, optionally, the second terminal device may initiate a game start request, in which case, the game server receives a specified game start request initiated by the second terminal device, sends a start interface of the specified game to the first terminal device, receives a specified game acceptance request sent by the first terminal device, and pushes the game start interface to the first terminal device and the second terminal device.
In this embodiment, the first terminal device and the second terminal device respectively establish communication connection with the game platform server, the game platform server performs matching of game members, and then the game platform server can communicate with the game server and send information of the game group to the game server. Any member in the game group can initiate a game starting request to the game server, the game server pushes the relevant game starting interface to other game members after receiving the game starting request, and the other game members can play a battle game among the members in the game group after receiving the game starting operation.
As an optional implementation manner, in the embodiment of the present invention, the first terminal device and the second terminal device respectively establish communication connection with the game platform server, the game platform server performs matching of game members, then, the first terminal device and the second terminal device can respectively directly communicate with the game server, the first terminal device or the second terminal device initiates a game start request to the game server, the game server pushes a related game start interface to other game members after receiving the game start request, and the other game members can perform a match game between members in the game group after receiving a game start operation.
As an optional implementation manner, the embodiment of the present invention may also be that the first terminal device and the second terminal device respectively establish communication connection with a game server, the game server performs matching of game members, then any member in the game group may initiate a game start request to the game server, the game server receives the game start request, then pushes a related game start interface to other game members, and after the other game members receive a game start operation, the members in the game group may perform a battle game.
The following describes in detail the match method of the match game members of the battle type shown in fig. 1 to 5, using a specific example.
Firstly, a mobile phone user A opens a game application program on a mobile phone and logs in, and at the moment, the application establishes long connection with a game platform server; a selects to enter a Battle room (Battle Rooms) page and clicks on the Create Battle room (creat Battle room), and the game platform server receives a request for creating the Battle room.
And secondly, the game platform server creates a battle room according to the request for creating the battle room, wherein the threshold value of the battle room is 2. Meanwhile, A is taken as a first game member and added to the game group. And simultaneously sending the number of the created battle room to the mobile phone used by A in a JSON format.
And step three, receiving the number of the battle room by the game platform server, sending the number of the battle room to the game platform server by the game platform server through WeChat, wherein B, C can see the number of the battle room, B, C establishes long connection with the game platform server through a game application program on the mobile phone of the game platform server, searches the number of the battle room, and the game platform server firstly receives a search request of the number of the battle room sent by the mobile phone used by the game platform server and searches the corresponding battle room.
And fourthly, the game platform server finds a corresponding battle room, judges whether the number of the members in the game group reaches 2, and only A is one game member at the moment, so that B is added into the battle room. When the room number is searched again, the game platform server judges that 2 game members exist in the battle room, and the game platform server cannot join the game in the battle room.
Fifthly, the game platform server searches the attribute information of the B according to the game account number of the B, wherein the attribute information of the B is as follows: the city is Beijing, the gender is male, and the game grade is grade 5. And sending the information to the mobile phone used by A in a JSON format. In the same way, the attribute information of A is sent to the mobile phone used by B.
And step six, the game platform server receives the negotiation request and sends the negotiation request to the mobile phone used by the game platform server B.
And step seven, clicking a negotiation request for agreeing to the game of the military chess.
And step eight, A initiates a request for starting the military chess game, the game server sends a military chess game starting interface to the mobile phone used by B, and B clicks a button for receiving the start of the military chess game.
At this point, a and B match successfully and the game begins.
In a second aspect, embodiments of the present invention provide a matching device for match-up game members, which can more flexibly match up game members.
Fig. 6 is a schematic structural diagram of a first embodiment of a matching device for match-up game members according to the present invention, and as shown in fig. 6, the device of the present embodiment may include: the system comprises a first receiving module 11, a game group creating module 12, a first sending module 13, a second receiving module 14, a game group searching module 15 and a member adding module 16, wherein the first receiving module 11 is used for receiving a game group creating request sent by a first terminal device; a game group creation module 12, configured to create a game group according to the game group creation request, and add a user of a first terminal device to the game group as a first game member; a first sending module 13, configured to send the game group identification information of the created game group to the first terminal device; a second receiving module 14, configured to receive a game group search request sent by a second terminal device, where the game group search request carries game group identification information; a game group searching module 15, configured to search, according to the game group identification information, a game group corresponding to the game group identification information; and a member adding module 16, configured to add the user of the second terminal device as a second game member to the game group.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a second embodiment of a match device for match-up members of a battle game according to the present invention, as shown in fig. 7, the difference between the second embodiment and the embodiment of the device shown in fig. 6 is that in this embodiment, the device may further include: the first attribute information query module 17 and the second attribute information query module 18 are provided, wherein the first attribute information query module 17 is used for querying the attribute information of the user of the second terminal device from a pre-stored game member attribute library according to the identification information of the user of the second terminal device; and a second sending module 18, configured to send attribute information of a user of the second terminal device to the first terminal device.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a third embodiment of a device for matching members of a battle game according to the present invention, as shown in fig. 8, which is different from the embodiment of the device shown in fig. 7 in that in this embodiment, the device may further include: the second attribute information query module 19 is used for querying the attribute information of the user of the second terminal device from a pre-stored game member attribute library according to the identification information of the user of the second terminal device; a third sending module 20, configured to send attribute information of a user of the second terminal device to the first terminal device.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 3, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a fourth embodiment of the device for matching members of a battle game according to the present invention, as shown in fig. 9, which is different from the embodiment of the device shown in fig. 6 in that in this embodiment, the device may further include: a judging module 21, wherein the judging module 21 is configured to judge whether the number of members in the game group reaches a predetermined threshold value before adding a user of a second terminal device as a second game member to the game group; the member adding module is specifically configured to add a user of a second terminal device to the game group as a second game member if the number of members in the game group does not reach a predetermined threshold value.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 4, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a fifth embodiment of the device for matching competitor game members according to the present invention, and as shown in fig. 10, the difference from the embodiment of the device shown in fig. 6 is that in this embodiment, the device may further include: the interactive module 22, wherein the interactive module 22 is configured to receive an interactive message initiated by a first terminal device, and send the interactive message to a second terminal device; a game starting module 23, configured to receive a specified game starting request initiated by a first terminal device; sending the starting interface of the appointed game to second terminal equipment; receiving a specified game acceptance request sent by second terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 5, and the implementation principle and the technical effect are similar, which are not described herein again.
In this embodiment of the present invention, as an optional implementation manner, on the basis of the embodiment of the apparatus shown in fig. 10, the interaction module 22 is further configured to receive an interaction message initiated by a second terminal device, and send the interaction message to the first terminal device. The game starting module 23 is further configured to receive a specified game starting request initiated by a second terminal device; sending the starting interface of the specified game to first terminal equipment; receiving a specified game acceptance request sent by first terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
In this embodiment of the present invention, as an optional implementation manner, on the basis of the embodiment of the apparatus shown in fig. 10, the interaction module 22 is further configured to receive an interaction message initiated by a second terminal device, and send the interaction message to the first terminal device. The game starting module 23 is configured to receive a specified game starting request initiated by a first terminal device; sending the starting interface of the appointed game to second terminal equipment; receiving a specified game acceptance request sent by second terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
In this embodiment of the present invention, as an optional implementation manner, on the basis of the embodiment of the apparatus shown in fig. 10, the interaction module 22 is further configured to receive an interaction message initiated by a first terminal device, and send the interaction message to a second terminal device. The game starting module 23 is further configured to receive a specified game starting request initiated by a second terminal device; sending the starting interface of the specified game to first terminal equipment; receiving a specified game acceptance request sent by first terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes the apparatus in any of the foregoing embodiments.
Fig. 11 is a schematic structural diagram of an embodiment of an electronic device of the present invention, which can implement the processes of the embodiments shown in fig. 1 to 5 of the present invention, and as shown in fig. 11, the electronic device may include: the device comprises a shell 41, a processor 42, a memory 43, a circuit board 44 and a power circuit 45, wherein the circuit board 44 is arranged inside a space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; a power supply circuit 45 for supplying power to each circuit or device of the electronic apparatus; the memory 43 is used to store a computer program; the processor 42 is adapted to perform the method according to any of the preceding embodiments by reading a computer program stored in the memory 43.
The specific execution process of the above steps by the processor 42 and the steps further executed by the processor 42 by running the computer program may refer to the description of the embodiment shown in fig. 1 of the present invention, and are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(4) And other electronic equipment with data interaction function.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement a method as described in any of the preceding implementations.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A match method for members of a battle game, comprising:
receiving a game group creation request sent by first terminal equipment;
creating a game group according to the game group creation request, and adding a user of the first terminal device as a first game member to the game group;
transmitting game group identification information of the created game group to the first terminal device;
receiving a game group search request sent by a second terminal device, wherein the game group search request carries game group identification information;
according to the game group identification information, finding a game group corresponding to the game group identification information;
and adding the user of the second terminal device as a second game member to the game group.
2. The method for matching competing game members according to claim 1, wherein the game group search request carries identification information of the user of the second terminal device;
after adding the user of the second terminal device as a second game member to the game group, the method further comprises:
inquiring attribute information of a user of the second terminal equipment from a pre-stored game member attribute library according to the identification information of the user of the second terminal equipment;
and sending the attribute information of the user of the second terminal equipment to the first terminal equipment.
3. The matching method for match-type game members according to claim 1 or 2, wherein the game group creation request carries identification information of the user of the first terminal device;
after adding the user of the second terminal device as a second game member to the game group, the method further comprises:
inquiring attribute information of a user of the first terminal equipment from a pre-stored game member attribute library according to the identification information of the user of the first terminal equipment;
and sending the attribute information of the user of the first terminal equipment to the second terminal equipment.
4. The method of matching competing game members of claim 1, wherein prior to adding a user of a second terminal device as a second game member to said game group, said method further comprises:
judging whether the number of members in the game group reaches a preset threshold value;
and if the number of the members in the game group does not reach the preset threshold value, adding the user of the second terminal equipment into the game group as a second game member.
5. The method of matching competing game members of claim 1, wherein after adding a user of a second terminal device as a second game member to said game group, said method further comprises:
receiving an interactive message initiated by first terminal equipment, and sending the interactive message to second terminal equipment; or,
and receiving an interactive message initiated by the second terminal equipment, and sending the interactive message to the first terminal equipment.
6. The match method for match against game members according to claim 1 or 5, wherein after adding a user of a second terminal device as a second game member to the game group, the method further comprises:
receiving a specified game starting request initiated by a first terminal device; sending the starting interface of the appointed game to second terminal equipment; receiving a specified game acceptance request sent by second terminal equipment; pushing a game starting interface to the first terminal equipment and the second terminal equipment; or,
receiving a specified game starting request initiated by a second terminal device; sending the starting interface of the specified game to first terminal equipment; receiving a specified game acceptance request sent by first terminal equipment; and pushing a game starting interface to the first terminal equipment and the second terminal equipment.
7. A match device for a member of a battle game, comprising:
the first receiving module is used for receiving a game group creation request sent by first terminal equipment;
a game group creation module, configured to create a game group according to the game group creation request, and add a user of a first terminal device to the game group as a first game member;
the first sending module is used for sending the game group identification information of the created game group to the first terminal equipment;
the second receiving module is used for receiving a game group searching request sent by a second terminal device, wherein the game group searching request carries game group identification information;
the game group searching module is used for searching the game group corresponding to the game group identification information according to the game group identification information;
and the member adding module is used for adding the user of the second terminal equipment as a second game member to the game group.
8. The match device for match-type game members as claimed in claim 7, wherein the game group search request carries identification information of the user of the second terminal device; the device further comprises:
the first attribute information query module is used for querying the attribute information of the user of the second terminal equipment from a pre-stored game member attribute library according to the identification information of the user of the second terminal equipment;
and the second sending module is used for sending the attribute information of the user of the second terminal equipment to the first terminal equipment.
9. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing a computer program; the processor is adapted to perform the method of any of the preceding claims 1-6 by reading a computer program stored in a memory.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the method of any of the preceding claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811578966.8A CN109646942A (en) | 2018-12-21 | 2018-12-21 | Match method and device for battle game members and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811578966.8A CN109646942A (en) | 2018-12-21 | 2018-12-21 | Match method and device for battle game members and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109646942A true CN109646942A (en) | 2019-04-19 |
Family
ID=66115503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811578966.8A Pending CN109646942A (en) | 2018-12-21 | 2018-12-21 | Match method and device for battle game members and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109646942A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110613936A (en) * | 2019-09-08 | 2019-12-27 | 北京智明星通科技股份有限公司 | Method, device and server for identifying on-hook in multiplayer battle game |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206689A (en) * | 2006-12-20 | 2008-06-25 | 盛趣信息技术(上海)有限公司 | Method for implementing hall type team in MMORPG |
CN102497330A (en) * | 2011-12-12 | 2012-06-13 | 北京像素软件科技股份有限公司 | Cross-server grouping method in massively multiplayer online role-playing game (MMORPG) |
US20120322560A1 (en) * | 2011-06-16 | 2012-12-20 | Nhn Corporation | System, method, and computer readable recording medium of registering friend in game |
CN104606889A (en) * | 2014-12-23 | 2015-05-13 | 北京像素软件科技股份有限公司 | Instance launching method and system |
CN108196885A (en) * | 2017-11-27 | 2018-06-22 | 腾讯科技(上海)有限公司 | The determining method and apparatus of object group, storage medium, electronic device |
CN108786117A (en) * | 2018-06-12 | 2018-11-13 | 北京智明星通科技股份有限公司 | A kind of mobile phone games player group technology, device and server |
-
2018
- 2018-12-21 CN CN201811578966.8A patent/CN109646942A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206689A (en) * | 2006-12-20 | 2008-06-25 | 盛趣信息技术(上海)有限公司 | Method for implementing hall type team in MMORPG |
US20120322560A1 (en) * | 2011-06-16 | 2012-12-20 | Nhn Corporation | System, method, and computer readable recording medium of registering friend in game |
CN102497330A (en) * | 2011-12-12 | 2012-06-13 | 北京像素软件科技股份有限公司 | Cross-server grouping method in massively multiplayer online role-playing game (MMORPG) |
CN104606889A (en) * | 2014-12-23 | 2015-05-13 | 北京像素软件科技股份有限公司 | Instance launching method and system |
CN108196885A (en) * | 2017-11-27 | 2018-06-22 | 腾讯科技(上海)有限公司 | The determining method and apparatus of object group, storage medium, electronic device |
CN108786117A (en) * | 2018-06-12 | 2018-11-13 | 北京智明星通科技股份有限公司 | A kind of mobile phone games player group technology, device and server |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110613936A (en) * | 2019-09-08 | 2019-12-27 | 北京智明星通科技股份有限公司 | Method, device and server for identifying on-hook in multiplayer battle game |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12036478B2 (en) | Method and system for managing multiplayer game sessions | |
US11759714B2 (en) | Method for implementing user matching and related device | |
CN108970116B (en) | Virtual role control method and device | |
CN109684497B (en) | Image-text matching information sending method and device and electronic equipment | |
CN104765793A (en) | Software recommending method and server | |
CN110138856B (en) | Local area network game implementation method and related device | |
CN105187469A (en) | Method for processing user request, mobile terminal and server | |
WO2014146441A1 (en) | Method, server and system for processing task data | |
CN113613031A (en) | Live broadcast method and device, electronic equipment and computer storage medium | |
CN105099727B (en) | Add the method and device of group member | |
CN108553904B (en) | Game matching method and device, electronic equipment and medium | |
CN109646942A (en) | Match method and device for battle game members and electronic equipment | |
CN108786117A (en) | A kind of mobile phone games player group technology, device and server | |
CN111782829A (en) | Instant messaging session message processing method and device and electronic equipment | |
US9280384B2 (en) | Method, server and system for processing task data | |
CN105915503A (en) | Synchronous song demanding singing method and apparatus | |
CN113730921B (en) | Recommendation method and device for virtual organization, storage medium and electronic equipment | |
CN106383898B (en) | Chat content recommendation method and device and electronic equipment | |
KR101565473B1 (en) | Method and system for providing game | |
CN112733892B (en) | Data interaction method and device for model training | |
CN111726281A (en) | Instant message transmission method and device, electronic equipment and storage medium | |
KR101362484B1 (en) | Method and system for determining user name | |
CN114329019A (en) | Recommendation method and device for recommending wallpaper to desktop of user electronic equipment | |
CN117298602A (en) | Platform information pushing method and device, electronic equipment and storage medium | |
CN115840838A (en) | Cross-ecological user identification method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190419 |