CN109603160A - Method and device, the electronic equipment, storage medium of good friend are added in game - Google Patents
Method and device, the electronic equipment, storage medium of good friend are added in game Download PDFInfo
- Publication number
- CN109603160A CN109603160A CN201910082400.4A CN201910082400A CN109603160A CN 109603160 A CN109603160 A CN 109603160A CN 201910082400 A CN201910082400 A CN 201910082400A CN 109603160 A CN109603160 A CN 109603160A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal
- game client
- game
- motion information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/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
- A63F13/795—Game 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
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/50—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
- A63F2300/55—Details of game data or player data management
- A63F2300/5546—Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
- A63F2300/5566—Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history by matching opponents or finding partners to build a team, e.g. by skill level, geographical area, background, play style
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
This application provides method and device, electronic equipments, storage medium that good friend is added in game, which comprises in response to the first user's operation, corresponding first motion information of first terminal where determining the first game client;Corresponding second player information of the second game client is shown by the display interface of the first terminal, wherein, at a distance from the first terminal within the scope of pre-determined distance, corresponding second motion information of the second terminal matches second terminal where second game client with first motion information;Response confirmation instruction, it is good friend that corresponding second player of second player information is added in control, realizes and adds good friend in game face-to-face, improves the convenience of addition good friend, and increase the interaction between game player, improves the interest of game.
Description
Technical field
This application involves field of play, more particularly to method and device, the electronic equipment, storage for adding good friend in game
Medium.
Background technique
With the development of science and technology, mobile phone games are increasingly popularized, when need with reality or social software in friend into
When row game, it usually needs addition other side is game good friend, is formed a team in gaming.
In the prior art, game player can first know the game account or the pet name of other side, and in game client
The game account or the pet name are inputted, and then can add other side is good friend, but since mobile phone screen limits, this input game account
Number or the pet name mode it is too cumbersome, it is inconvenient.
Summary of the invention
In view of the above problems, the application is proposed in order to provide overcoming the above problem or at least being partially solved above-mentioned ask
Method and device, the electronic equipment, storage medium of good friend are added in the game of topic, comprising:
The method of good friend is added in a kind of game, which comprises
In response to the first user's operation, corresponding first motion information of first terminal where determining the first game client;
Corresponding second player information of the second game client is shown by the display interface of the first terminal, wherein
Second terminal where second game client is at a distance from the first terminal within the scope of pre-determined distance, and described second eventually
Corresponding second motion information is held to match with first motion information;
Response confirmation instruction, it is good friend that corresponding second player of second player information is added in control.
Optionally, the method also includes:
Receive that game services end sends at a distance from the first terminal within the scope of pre-determined distance and corresponding second
Motion information the second player information corresponding with the second game client that first motion information matches.
Optionally, described in response to the first user's operation, first terminal where determining the first game client is corresponding
First motion information, and before the step of first motion information is sent to game services end, further includes:
In response to third user's operation, the corresponding first direction information of the first terminal is determined, and show described first
Corresponding first prompt information of directional information;
It is operated in response to fourth user, determines the corresponding second direction information of the first terminal, and in the second party
When meeting preset condition to information, the second prompt information is shown.
Optionally, before the determination first terminal corresponding first direction information the step of, further includes:
Judge whether that corresponding first location information of the first terminal can be obtained, first location information is for true
It is fixed at a distance from the first terminal within the scope of pre-determined distance terminal;
If so, the first location information that will acquire is sent to the game services end;
If it is not, then showing third prompt information.
Optionally, first user's operation can drive the first terminal in the first preset coordinate axis it is adjacent as
It is moved between limit, the corresponding first coordinate axial vector of first motion information corresponding with second motion information second is sat
The angle of parameter vector is within the scope of predetermined angle.
Optionally, further includes:
It determines first time information, and the first time information is sent to the game services end;Wherein, described
One temporal information the second temporal information corresponding with second game client matches.
The method of good friend is added in a kind of game, which comprises
Receive the first motion information and the second motion information;Wherein, first motion information is the first game client
Transmitted information, second motion information are the information that the second game client is sent;
First terminal and second game client place second are whole where detecting first game client
The distance at end is within the scope of pre-determined distance, will be described and when first motion information and second motion information match
Corresponding first player information of first game client is back to second game client, and by second game client
Corresponding second player information is held to be back to first game client.
Optionally, first motion information includes first angle information, and second motion information includes second angle
Information, detects whether first motion information matches with second motion information in the following way:
Determine the corresponding first coordinate axial vector of the first angle information and the second angle information corresponding
Two coordinate axial vectors;
Calculate the first coordinate axial vector angle corresponding with the second coordinate axial vector;
When the angle is within the scope of predetermined angle, judgement detects first motion information and second movement
Information matches.
Optionally, first terminal where detecting first game client in the following way and second game visitor
Whether the distance of second terminal is within the scope of pre-determined distance where the end of family:
Receive the first location information and the second location information;Wherein, first location information is the first game client
Transmitted information, second location information are the information that the second game client is sent;
When first location information range difference corresponding with second location information is in pre-determined distance range, then sentence
First terminal where regular inspection measures first game client is at a distance from second terminal where second game client
Within the scope of pre-determined distance.
Optionally, further includes:
When receiving the corresponding first direction information of the first terminal, described in the first game client of Xiang Suoshu returns
Corresponding first prompt information of first direction information;
When receiving the corresponding second direction information of the first terminal, judge whether the second direction information meets
Preset condition, and when the second direction information meets preset condition, the first game client of Xiang Suoshu returns to described second
Corresponding second prompt information of directional information.
Optionally, the corresponding first time information of first game client is corresponding with second game client
Second temporal information matches, detect in the following way the corresponding first time information of first game client whether with
Corresponding second temporal information of second game client matches:
Receive first time information and the second temporal information;Wherein, the first time information is the first game client
Transmitted, second temporal information is what the second game client was sent;
When the first time information time difference corresponding with second temporal information is within the scope of preset time difference,
Determine that the first time information matches with second temporal information.
The device of good friend is added in a kind of game, described device includes:
First user's operation respond module, in response to the first user's operation, determining where the first game client the
Corresponding first motion information of one terminal;
Second player information display module, for showing the second game client by the display interface of the first terminal
Corresponding second player information, wherein second terminal is at a distance from first terminal in pre-determined distance where the second game client
In range, corresponding second motion information of second terminal matches with the first motion information;
Confirmation instruction respond module, instructs, second player information corresponding second is added in control for response confirmation
Player is good friend.
The device of good friend is added in a kind of game, described device includes:
Motion information receiving module, for receiving the first motion information and the second motion information;Wherein, first movement
Information is information transmitted by the first game client, and second motion information is the information that the second game client is sent;
Player information sending module, for the first terminal and described second where detecting first game client
The distance of second terminal where game client is within the scope of pre-determined distance, and first motion information and second movement
When information matches, corresponding first player information of first game client is back to second game client,
And corresponding second player information of second game client is back to first game client.
A kind of electronic equipment, including processor, memory and be stored on the memory and can be in the processor
The computer program of upper operation, the computer program is realized when being executed by the processor to be added in game as described above
The step of method of friend.
A kind of computer readable storage medium stores computer program, the meter on the computer readable storage medium
Calculation machine program realizes the step of method that good friend is added in game as described above when being executed by processor.
The application has the following advantages:
In the embodiment of the present application, by determining the first game client place first eventually in response to the first user's operation
Corresponding first motion information is held, and the first motion information is sent to game services end, is operated in response to second user, is used
The player information that game services end returns, the corresponding game player of the second game client of addition are game good friend, the second game
Second terminal where client at a distance from first terminal within the scope of pre-determined distance, corresponding second motion information of second terminal
Match with the first motion information, realize and add good friend in game face-to-face, improves the convenience of addition good friend, and increase
Interaction between game player, improves the interest of game.
Detailed description of the invention
It, below will be to attached needed in the description of the present application in order to illustrate more clearly of the technical solution of the application
Figure is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for this field
For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the step flow chart that the method for good friend is added in a kind of game of one embodiment of the application offer;
Fig. 2 a is a kind of schematic diagram for reference axis that one embodiment of the application provides;
Fig. 2 b is a kind of schematic diagram for actual scene that one embodiment of the application provides;
Fig. 3 is the method and step flow chart of addition good friend in a kind of game of another embodiment offer of the application;
Fig. 4 is the structural block diagram that the device of good friend is added in a kind of game of one embodiment of the application offer;
Fig. 5 is the structural block diagram that the device of good friend is added in a kind of game of one embodiment of the application offer.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.Obviously, described embodiment is some embodiments of the present application, without
It is whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall in the protection scope of this application.
Referring to Fig.1, the step process that the method for good friend is provided in a kind of game of one embodiment of the application offer is shown
Figure is applied to the first game client, can specifically include following steps:
Step 101, in response to the first user's operation, corresponding first fortune of first terminal where determining the first game client
Dynamic information;
As an example, the first user's operation can be to brandish the operation of first terminal.
Specifically, the first preset coordinate axis can be preset, such as Fig. 2 a, the first user's operation can drive first terminal
It is moved between adjacent quadrant in one preset coordinate axis, as being constituted the first quartile that+x-axis+y-axis is constituted and-x-axis and+y-axis
It is moved between second quadrant.
First motion information may include angle information, can be measured by angular-rate sensor (gyroscope), Ke Yiyong
In calculating angle at game services end, the first motion information can also include velocity information, can be surveyed by acceleration transducer
Amount, can be used for characterizing terminal and is kept in motion.
After starting the first game client, game player can carry out the first user's operation, then can determine the first use
Family operates corresponding first motion information, and the first motion information is sent to game services end.
Step 102, corresponding second player information of the second game client is shown by the display interface of first terminal,
In, for second terminal where the second game client at a distance from first terminal within the scope of pre-determined distance, second terminal is corresponding
Second motion information matches with the first motion information;
As an example, player information may include ID, the pet name, grade of player etc..
In the present embodiment, after the first motion information is sent to game services end, game services end can basis
First motion information determines matched second game client, such as Fig. 2 b, that is, determines terminal where being controlled respectively by game player
Then two game clients brandished face-to-face can send corresponding second player information of the second game client
To the first game client.
Specifically, the second game client can at least meet the following conditions:
1, second terminal where the second game client is at a distance from first terminal in pre-determined distance range, such as second terminal
With first terminal at a distance of 4-5m;
2, corresponding second motion information of second terminal matches with the first motion information, such as the second motion information and first
The corresponding angle of motion information is in 0 ° -15 °.
It should be noted that the second motion information and the treatment process of the first motion information are substantially similar, so description
Fairly simple, related place illustrates referring to the part of the first motion information.
After receiving the second player information, the second player information can be shown by the display interface of first terminal, such as
Display " whether confirming that addition * * * is good friend " prompting frame on the screen.
In other embodiments, first terminal by near field communication protocols search for first terminal at a distance from preset away from
From the second terminal in range, first terminal runs on second terminal by what near field communication protocols received that second terminal sends
Corresponding second player information of second game client.
Step 103, response confirmation instructs, and corresponding second player of control the second player information of addition is good friend.
When the second user for detecting game player operates, as clicked " confirmation " button in prompting frame, can be generated
Confirmation instruction, instructs in response to confirmation, then can be game good friend, Jin Ershi by corresponding second player of the second game client
Good friend is now added face-to-face.
In an embodiment of the present invention, can also include following sub-step:
Receive game services end send at a distance from first terminal within the scope of pre-determined distance and it is corresponding second movement
Information the second player information corresponding with the second game client that the first motion information matches.
In the concrete realization, game services end is determining at a distance from first terminal within the scope of pre-determined distance, and corresponding
The second motion information and the second game client for matching of the first motion information after, can be corresponding by the second game client
The second player information be sent to the first game client, the first game client can receive second player information.
In one embodiment of the application, before step 101, it can also include the following steps:
In response to third user's operation, the corresponding first direction information of first terminal is determined, and show first direction information
Corresponding first prompt information;It is operated in response to fourth user, determines the corresponding second direction information of first terminal, and second
When directional information meets preset condition, the second prompt information is shown.
As an example, first direction information may include the screen court of first terminal corresponding with third user's operation
To second direction information may include screen direction corresponding with fourth user operation.
In the concrete realization, game player can carry out third user's operation in the first game client, such as click specified
Button, to trigger the function of addition good friend face-to-face, in response to third user's operation, it can be determined that whether first direction information is full
Sufficient preset condition such as judges whether screen direction characterizes screen towards the one side back to game player in directional information.
If not satisfied, can then show the first prompt information, guidance information such as is shown in screen, can also be carried out vibration and be mentioned
Show, to be guided to game player, if satisfied, the second prompt information then can be directly shown, without carrying out the subsequent 4th
User's operation.
After showing the first prompt information, game player can carry out fourth user operation according to the first prompt information, such as
Mobile first terminal in response to fourth user towards being adjusted, then to operate, it can be determined that the second direction of acquisition screen
Whether information meets preset condition.
If not satisfied, aforesaid operations can be then repeated until the directional information that first terminal returns meets preset condition, if
Meet, then can show the second prompt information, if voice plays " ding-dong " prompting sound, to prompt game player that can carry out first
User's operation.
It should be noted that above-mentioned judge whether that the process for meeting preset condition can be handled by game client,
It can also be handled by game services end, the application is without limitation.
It, can be with before the step of determining first terminal corresponding first direction information in one embodiment of the application
Include the following steps:
Judge whether can to obtain corresponding first location information of first terminal, first location information for determine with
The distance of first terminal terminal within the scope of pre-determined distance;If so, the first location information that will acquire is sent to trip
Play server-side;If it is not, then showing third prompt information.
As an example, the first location information may include the latitude and longitude coordinates of first terminal.
In the concrete realization, the first game client can decide whether the first location information that can be obtained, i.e., first
Whether terminal is directed to the first game client and opens positioning permission.
If the first location information can not be obtained, shows third prompt information, such as shown in screen and open positioning permission
First location information is sent to guiding game player to open positioning permission if the first location information can be obtained by prompt
Game services end, by game services end according to the first location information, second terminal is at a distance from first terminal pre- where determining
If the second game client in distance range.
In one embodiment of the application, it can also include the following steps:
It determines first time information, and first time information is sent to game services end;Wherein, first time information with
Corresponding second temporal information of second game client matches.
As an example, first time information can be the first user's operation corresponding time, or third user
Operate the corresponding time.
In the concrete realization, then the available first time information of the first game client can be sent at the first time
Information to game services end, by game services end determine with the second temporal information of first time information matches, and then determine the
Two game clients.
In the embodiment of the present application, by determining the first game client place first eventually in response to the first user's operation
Corresponding first motion information is held, and the first motion information is sent to game services end, is operated in response to second user, is used
The player information that game services end returns, the corresponding game player of the second game client of addition are game good friend, the second game
Second terminal where client at a distance from first terminal within the scope of pre-determined distance, corresponding second motion information of second terminal
Match with the first motion information, realize and add good friend in game face-to-face, improves the convenience of addition good friend, and increase
Interaction between game player, improves the interest of game.
The step flow chart that the method for good friend is added in another game provided referring to Fig. 3, one embodiment of the application, is answered
For game services end, it can specifically include following steps:
Step 301, the first motion information and the second motion information are received;Wherein, the first motion information is the first game visitor
Information transmitted by the end of family, the second motion information are the information that the second game client is sent;
In the concrete realization, the first game client can send the first motion information, the second game to game services end
Client can send the second motion information to game services end, and game services end can receive the first game client and second
The motion information that game client is sent.
Step 302, first terminal and the second game client place second are whole where detecting the first game client
The distance at end is within the scope of pre-determined distance, and when the first motion information and the second motion information match, by the first game client
Corresponding first player information is held to be back to the second game client, and by corresponding second player information of the second game client
It is back to the first game client.
After receiving motion information, first terminal and the second game client where can first judging the first game client
Hold the distance of place second terminal whether within the scope of pre-determined distance, if not within the scope of pre-determined distance, without subsequent place
Reason, if can further judge whether the first motion information matches with the second motion information within the scope of pre-determined distance.
If not matching that, without subsequent processing, if matching, by corresponding first player of the first game client
Information is back to the second game client, and corresponding second player information of the second game client is back to the first game visitor
Family end, game player can use the player information of other side to add other side as game good friend.
In one embodiment of the application, the first motion information may include first angle information, and the second motion information can be with
Including second angle information, then it can detect whether the first motion information matches with the second motion information in the following way:
Determine the corresponding first coordinate axial vector of first angle information and corresponding second reference axis of second angle information
Vector;Calculate the first coordinate axial vector angle corresponding with the second coordinate axial vector;When angle is within the scope of predetermined angle, sentence
Regular inspection measures the first motion information and matches with the second motion information.
In the concrete realization, first angle information can be used, be calculated the first coordinate axial vector, and can be using the
Two angle informations, are calculated the second coordinate axial vector, then can calculate the first coordinate axial vector and the second coordinate axial vector
Corresponding angle then can be determined that when angle is within the scope of predetermined angle and detect that the first motion information is believed with the second movement
Manner of breathing matching.
In one embodiment of the application, first terminal where the first game client and the can be detected in the following way
Whether the distance of second terminal is within the scope of pre-determined distance where two game clients:
Receive the first location information and the second location information;When the first location information distance corresponding with the second location information
Difference then determines first terminal where detecting the first game client and the second game client place in pre-determined distance range
The distance of second terminal is within the scope of pre-determined distance.
Wherein, the first location information can be able to be for information transmitted by the first game client, the second location information
The information that second game client is sent.
After the location information for receiving game client transmission, it can will calculate the first location information and believe with the second positioning
Corresponding range difference is ceased, when range difference is in pre-determined distance range, then can be determined where detecting the first game client the
One terminal is at a distance from second terminal where the second game client within the scope of pre-determined distance.
In one embodiment of the application, it can also include the following steps:
When receiving the corresponding first direction information of first terminal, first direction information is returned to the first game client
Corresponding first prompt information;When receiving the corresponding second direction information of first terminal, whether second direction information is judged
Meet preset condition, and when second direction information meets preset condition, returns to second direction information to the first game client
Corresponding second prompt information.
After the first direction information for receiving the transmission of the first game client, the can be returned to the first game client
One prompt information, after the second direction information for receiving the transmission of the first game client, it can be determined that second direction information is
It is no to meet preset condition, when meeting preset condition, the second prompt information can be returned to the first game client.
In one embodiment of the application, the corresponding first time information of the first game client and the second game client pair
The second temporal information answered matches, detect in the following way the corresponding first time information of the first game client whether with
Corresponding second temporal information of second game client matches:
Receive first time information and the second temporal information;When the first time information time corresponding with the second temporal information
When difference is within the scope of preset time difference, determine that first time information matches with the second temporal information.
Wherein, first time information is transmitted by the first game client, and the second temporal information is the second game client
What end was sent.
After receiving first time information and the second temporal information, first time information can be calculated and the second time believed
The corresponding time difference is ceased, when the time difference is within the scope of preset time difference, it is possible to determine that first time information and the second time believe
Manner of breathing matching.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
Referring to Fig. 4, the structural block diagram that the device of good friend is provided in a kind of game of one embodiment of the application offer is shown,
It can specifically include following module:
First user's operation respond module 401, for determining the first game client place in response to the first user's operation
Corresponding first motion information of first terminal;
Second player information display module 402, for showing the second game client by the display interface of first terminal
Corresponding second player information, wherein second terminal is at a distance from first terminal in pre-determined distance where the second game client
In range, corresponding second motion information of second terminal matches with the first motion information;
Confirmation instruction respond module 403, instructs for response confirmation, and the second player information of control addition corresponding second is played
Family is good friend.
In one embodiment of the application, further includes:
Second player information receiving module, for receive the transmission of game services end at a distance from first terminal it is default away from
From in range and corresponding second motion information it is corresponding with the second game client that the first motion information matches second play
Family's information.
In one embodiment of the application, further includes:
Third user's operation respond module, for determining the corresponding first party of first terminal in response to third user's operation
To information, and show corresponding first prompt information of first direction information;
Fourth user operates respond module, for operating in response to fourth user, determines the corresponding second party of first terminal
To information, and when second direction information meets preset condition, the second prompt information is shown.
In one embodiment of the application, further includes:
First location information judgment module can obtain corresponding first location information of first terminal for judging whether,
First location information is used to determine at a distance from first terminal the terminal within the scope of pre-determined distance;If so, calling the first positioning
Information sending module, if it is not, then calling third prompt information display module;
First location information sending module, the first location information for will acquire are sent to game services end;
Third prompt information display module, for showing third prompt information.
In one embodiment of the application, the first user's operation can drive first terminal adjacent in the first preset coordinate axis
Quadrant between move, the corresponding first coordinate axial vector of the first motion information the second reference axis corresponding with the second motion information
The angle of vector is within the scope of predetermined angle.
In one embodiment of the application, further includes:
First time information sending module is sent to game for determining first time information, and by first time information
Server-side;Wherein, first time information the second temporal information corresponding with the second game client matches.
Referring to Fig. 5, the structural frames that the device of good friend is provided in another game of one embodiment of the application offer are shown
Figure, can specifically include following module:
Motion information receiving module 501, for receiving the first motion information and the second motion information;Wherein, the first movement
Information is information transmitted by the first game client, and the second motion information is the information that the second game client is sent;
Player information sending module 502, for first terminal and the second game where detecting the first game client
The distance of second terminal is within the scope of pre-determined distance where client, and the first motion information matches with the second motion information
When, corresponding first player information of the first game client is back to the second game client, and by the second game client
Corresponding second player information is back to the first game client.
In one embodiment of the application, the first motion information includes first angle information, and the second motion information includes second
Angle information, detects whether the first motion information matches with the second motion information in the following way:
Determine the corresponding first coordinate axial vector of first angle information and corresponding second reference axis of second angle information
Vector;
Calculate the first coordinate axial vector angle corresponding with the second coordinate axial vector;
When angle is within the scope of predetermined angle, judgement detects that the first motion information matches with the second motion information.
In one embodiment of the application, first terminal where detecting the first game client in the following way and the second trip
Whether the distance of second terminal is within the scope of pre-determined distance where client of playing:
Receive the first location information and the second location information;Wherein, the first location information is sent out by the first game client
It send, the second location information is what the second game client was sent;
When the first location information range difference corresponding with the second location information is in pre-determined distance range, then judgement detects
First terminal is at a distance from second terminal where the second game client within the scope of pre-determined distance where first game client.
In one embodiment of the application, further includes:
First prompt information return module, for when receiving the corresponding first direction information of first terminal, to first
Game client returns to corresponding first prompt information of first direction information;
Second prompt information return module, for judging when receiving the corresponding second direction information of first terminal
Whether two directional informations meet preset condition, and when second direction information meets preset condition, return to the first game client
Return corresponding second prompt information of second direction information.
In one embodiment of the application, the corresponding first time information of the first game client and the second game client pair
The second temporal information answered matches, detect in the following way the corresponding first time information of the first game client whether with
Corresponding second temporal information of second game client matches:
Receive first time information and the second temporal information;Wherein, first time information is sent out by the first game client
The information sent, the second temporal information are the information that the second game client is sent;
When the first time information time difference corresponding with the second temporal information is within the scope of preset time difference, first is determined
Temporal information matches with the second temporal information.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
One embodiment of the application additionally provides electronic equipment, may include processor, memory and storage on a memory
And the computer program that can be run on a processor, it realizes when computer program is executed by processor and is added in game as above
The step of method of friend.
One embodiment of the application additionally provides computer readable storage medium, stores and calculates on computer readable storage medium
Machine program, realized when computer program is executed by processor in game as above add good friend method the step of.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to method and device, the electronic equipment, storage medium for adding good friend in game provided herein, carry out
It is discussed in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, above embodiments
Explanation be merely used to help understand the present processes and its core concept;At the same time, for those skilled in the art,
According to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Hold the limitation that should not be construed as to the application.
Claims (15)
1. adding the method for good friend in a kind of game, which is characterized in that the described method includes:
In response to the first user's operation, corresponding first motion information of first terminal where determining the first game client;
Corresponding second player information of the second game client is shown by the display interface of the first terminal, wherein described
Second terminal where second game client at a distance from the first terminal within the scope of pre-determined distance, the second terminal pair
The second motion information answered matches with first motion information;
Response confirmation instruction, it is good friend that corresponding second player of second player information is added in control.
2. the method according to claim 1, wherein the method also includes:
Receive game services end send at a distance from the first terminal within the scope of pre-determined distance and it is corresponding second movement
Information the second player information corresponding with the second game client that first motion information matches.
3. according to the method described in claim 2, it is characterized in that, determining the first trip in response to the first user's operation described
Corresponding first motion information of first terminal where client of playing, and first motion information is sent to game services end
Before step, further includes:
In response to third user's operation, the corresponding first direction information of the first terminal is determined, and show the first direction
Corresponding first prompt information of information;
It is operated in response to fourth user, determines the corresponding second direction information of the first terminal, and believe in the second direction
When breath meets preset condition, the second prompt information is shown.
4. according to the method described in claim 3, it is characterized in that, in the corresponding first direction of the determination first terminal
Before the step of information, further includes:
Judge whether can to obtain corresponding first location information of the first terminal, first location information for determine with
The distance of first terminal terminal within the scope of pre-determined distance;
If so, the first location information that will acquire is sent to the game services end;
If it is not, then showing third prompt information.
5. method according to claim 1 or 2 or 3 or 4, which is characterized in that first user's operation can drive institute
It states first terminal to move between quadrant adjacent in the first preset coordinate axis, corresponding first coordinate of first motion information
The angle of axial vector the second coordinate axial vector corresponding with second motion information is within the scope of predetermined angle.
6. the method according to claim 1, wherein further include:
It determines first time information, and the first time information is sent to the game services end;Wherein, described first when
Between information the second temporal information corresponding with second game client match.
7. adding the method for good friend in a kind of game, which is characterized in that the described method includes:
Receive the first motion information and the second motion information;Wherein, first motion information is sent out by the first game client
The information sent, second motion information are the information that the second game client is sent;
First terminal and second terminal where second game client where detecting first game client
Distance is within the scope of pre-determined distance, and when first motion information and second motion information match, by described first
Corresponding first player information of game client is back to second game client, and by second game client pair
The second player information answered is back to first game client.
8. the method according to the description of claim 7 is characterized in that first motion information includes first angle information, institute
Stating the second motion information includes second angle information, detects first motion information and second movement in the following way
Whether information matches:
Determine that the corresponding first coordinate axial vector of the first angle information and the second angle information corresponding second are sat
Parameter vector;
Calculate the first coordinate axial vector angle corresponding with the second coordinate axial vector;
When the angle is within the scope of predetermined angle, judgement detects first motion information and second motion information
Match.
9. method according to claim 7 or 8, which is characterized in that detect first game client in the following way
Whether first terminal where end is at a distance from second terminal where second game client within the scope of pre-determined distance:
Receive the first location information and the second location information;Wherein, first location information is sent out by the first game client
The information sent, second location information are the information that the second game client is sent;
When first location information range difference corresponding with second location information is in pre-determined distance range, then determine to examine
First terminal where measuring first game client is at a distance from second terminal where second game client pre-
If in distance range.
10. the method according to the description of claim 7 is characterized in that further include:
When receiving the corresponding first direction information of the first terminal, the first game client of Xiang Suoshu returns to described first
Corresponding first prompt information of directional information;
When receiving the corresponding second direction information of the first terminal, it is default to judge whether the second direction information meets
Condition, and when the second direction information meets preset condition, the first game client of Xiang Suoshu returns to the second direction
Corresponding second prompt information of information.
11. the method according to the description of claim 7 is characterized in that the corresponding first time letter of first game client
It ceases the second temporal information corresponding with second game client to match, detects the first game visitor in the following way
The corresponding first time information in family end the second temporal information whether corresponding with second game client matches:
Receive first time information and the second temporal information;Wherein, the first time information is sent out by the first game client
It send, second temporal information is what the second game client was sent;
When the first time information time difference corresponding with second temporal information is within the scope of preset time difference, determine
The first time information matches with second temporal information.
12. adding the device of good friend in a kind of game, which is characterized in that described device includes:
First user's operation respond module, for determining the first game client place first eventually in response to the first user's operation
Hold corresponding first motion information;
Second player information display module shows that the second game client is corresponding for the display interface by the first terminal
The second player information, wherein second terminal where the second game client is at a distance from first terminal in pre-determined distance range
Interior, corresponding second motion information of second terminal matches with the first motion information;
Confirmation instruction respond module, instructs for response confirmation, and corresponding second player of second player information is added in control
For good friend.
13. adding the device of good friend in a kind of game, which is characterized in that described device includes:
Motion information receiving module, for receiving the first motion information and the second motion information;Wherein, first motion information
For information transmitted by the first game client, second motion information is the information that the second game client is sent;
Player information sending module, for first terminal and second game where detecting first game client
The distance of second terminal where client is within the scope of pre-determined distance, and first motion information and second motion information
When matching, corresponding first player information of first game client is back to second game client, and will
Corresponding second player information of second game client is back to first game client.
14. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can be
The computer program run on the processor realizes such as claim 1 when the computer program is executed by the processor
The step of method of good friend is added into game described in any one of 11.
15. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence is realized when the computer program is executed by processor and is added in the game as described in any one of claims 1 to 11
The step of method of friend.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910082400.4A CN109603160A (en) | 2019-01-28 | 2019-01-28 | Method and device, the electronic equipment, storage medium of good friend are added in game |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910082400.4A CN109603160A (en) | 2019-01-28 | 2019-01-28 | Method and device, the electronic equipment, storage medium of good friend are added in game |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109603160A true CN109603160A (en) | 2019-04-12 |
Family
ID=66018056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910082400.4A Pending CN109603160A (en) | 2019-01-28 | 2019-01-28 | Method and device, the electronic equipment, storage medium of good friend are added in game |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109603160A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111389019A (en) * | 2020-04-14 | 2020-07-10 | 网易(杭州)网络有限公司 | Interactive control method and device in game, electronic equipment and computer medium |
CN111389018A (en) * | 2020-04-14 | 2020-07-10 | 网易(杭州)网络有限公司 | Interactive control method and device in game, electronic equipment and computer medium |
CN111729318A (en) * | 2020-06-15 | 2020-10-02 | 北京智明星通科技股份有限公司 | Method, system and equipment for face-to-face game |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006334386A (en) * | 2005-05-06 | 2006-12-14 | Nintendo Co Ltd | Communication game system |
CN102882957A (en) * | 2012-09-19 | 2013-01-16 | 上海斐讯数据通信技术有限公司 | Mobile terminal friend-making system and method |
CN103678605A (en) * | 2013-12-16 | 2014-03-26 | 小米科技有限责任公司 | Information transmission method and device and terminal device |
CN103812995A (en) * | 2012-11-07 | 2014-05-21 | 上海心动企业发展有限公司 | Method of mutual user authentication between mobile terminals by collision way |
CN104618339A (en) * | 2014-12-31 | 2015-05-13 | 上海宵诺网络科技有限公司 | User offline pairing method, mobile terminal and server |
CN104836725A (en) * | 2015-03-31 | 2015-08-12 | 北京奇艺世纪科技有限公司 | Method and device used for adding friend users |
CN105282015A (en) * | 2015-11-19 | 2016-01-27 | 北京乐动卓越科技有限公司 | Network friend obtaining method and device |
CN105407041A (en) * | 2015-11-20 | 2016-03-16 | 珠海多玩信息技术有限公司 | Method for adding group or friend, server, client and system |
CN105681161A (en) * | 2015-08-20 | 2016-06-15 | 腾讯科技(深圳)有限公司 | Method, device and system for adding friend account |
CN105843908A (en) * | 2016-03-24 | 2016-08-10 | 李秋燕 | Information interaction method based on outdoor sports data |
CN105933863A (en) * | 2016-04-15 | 2016-09-07 | 北京搜狗科技发展有限公司 | Friend adding method and device and electronic equipment |
CN108768829A (en) * | 2018-05-23 | 2018-11-06 | 广东小天才科技有限公司 | A kind of good friend's adding method, device, equipment and the storage medium of social networking application |
-
2019
- 2019-01-28 CN CN201910082400.4A patent/CN109603160A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006334386A (en) * | 2005-05-06 | 2006-12-14 | Nintendo Co Ltd | Communication game system |
CN102882957A (en) * | 2012-09-19 | 2013-01-16 | 上海斐讯数据通信技术有限公司 | Mobile terminal friend-making system and method |
CN103812995A (en) * | 2012-11-07 | 2014-05-21 | 上海心动企业发展有限公司 | Method of mutual user authentication between mobile terminals by collision way |
CN103678605A (en) * | 2013-12-16 | 2014-03-26 | 小米科技有限责任公司 | Information transmission method and device and terminal device |
CN104618339A (en) * | 2014-12-31 | 2015-05-13 | 上海宵诺网络科技有限公司 | User offline pairing method, mobile terminal and server |
CN104836725A (en) * | 2015-03-31 | 2015-08-12 | 北京奇艺世纪科技有限公司 | Method and device used for adding friend users |
CN105681161A (en) * | 2015-08-20 | 2016-06-15 | 腾讯科技(深圳)有限公司 | Method, device and system for adding friend account |
CN105282015A (en) * | 2015-11-19 | 2016-01-27 | 北京乐动卓越科技有限公司 | Network friend obtaining method and device |
CN105407041A (en) * | 2015-11-20 | 2016-03-16 | 珠海多玩信息技术有限公司 | Method for adding group or friend, server, client and system |
CN105843908A (en) * | 2016-03-24 | 2016-08-10 | 李秋燕 | Information interaction method based on outdoor sports data |
CN105933863A (en) * | 2016-04-15 | 2016-09-07 | 北京搜狗科技发展有限公司 | Friend adding method and device and electronic equipment |
CN108768829A (en) * | 2018-05-23 | 2018-11-06 | 广东小天才科技有限公司 | A kind of good friend's adding method, device, equipment and the storage medium of social networking application |
Non-Patent Citations (2)
Title |
---|
亮亮大魔王: "球球大作战添加好友教程", 《HTTPS://M.KUKUPAO.COM/GAME/ITEM/548549》 * |
小仓鼠1973: "球球大作战刷粉丝网站 每天100粉丝怎么刷出来", 《HTTP://M.QIEYOU.COM/QQDZZ/201702/31778.HTML》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111389019A (en) * | 2020-04-14 | 2020-07-10 | 网易(杭州)网络有限公司 | Interactive control method and device in game, electronic equipment and computer medium |
CN111389018A (en) * | 2020-04-14 | 2020-07-10 | 网易(杭州)网络有限公司 | Interactive control method and device in game, electronic equipment and computer medium |
CN111389018B (en) * | 2020-04-14 | 2023-09-08 | 网易(杭州)网络有限公司 | Interaction control method and device in game, electronic equipment and computer medium |
CN111389019B (en) * | 2020-04-14 | 2024-02-23 | 网易(杭州)网络有限公司 | Interaction control method and device in game, electronic equipment and computer medium |
CN111729318A (en) * | 2020-06-15 | 2020-10-02 | 北京智明星通科技股份有限公司 | Method, system and equipment for face-to-face game |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10650598B2 (en) | Augmented reality-based information acquiring method and apparatus | |
CN109603160A (en) | Method and device, the electronic equipment, storage medium of good friend are added in game | |
CN102711035B (en) | improved device location detection | |
KR20210014214A (en) | Validating a player's real-world location using activity within a parallel reality game | |
KR102407169B1 (en) | How to validate the actual position of the player using image data of landmarks corresponding to the validation path | |
US20070265089A1 (en) | Simulated phenomena interaction game | |
US9215311B2 (en) | Mobile electronic device and method | |
US9592446B2 (en) | Electronic game providing device and non-transitory computer-readable storage medium storing electronic game program | |
CN105093178A (en) | Terminal positioning method, apparatus and system | |
JP7164987B2 (en) | Route guidance method and system using video call | |
CN111318026B (en) | Team forming method, device, equipment and storage medium for competitive game | |
CN107979628B (en) | Method, device and system for acquiring virtual article | |
KR101961241B1 (en) | Method and system for providing game based on video call and object recognition | |
EP3328100A1 (en) | Instruction transmission method and apparatus based on indication direction, smart device, and storage medium | |
JP2022545924A (en) | Noise cancellation using artificial intelligence (AI) | |
WO2012007764A1 (en) | Augmented reality system | |
CN106897003A (en) | For the methods, devices and systems of show map information | |
US8699947B2 (en) | Method for determining the relative position of devices | |
EP2513842B1 (en) | Locating camera relative to a display device | |
CN109745702B (en) | Information prompting method and device | |
KR20190120122A (en) | Method and system for navigation using video call | |
CN109587188B (en) | Method and device for determining relative position relationship between terminal devices and electronic device | |
KR20110001093A (en) | Method for displaying image for mobile terminal and apparatus thereof | |
KR20200108272A (en) | Method and system for providing chat rooms in three-dimensional form and non-transitory computer-readable recording media | |
CN104023130B (en) | Position reminding method and apparatus |
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: 20190412 |