Game data sharing method, device, electronic device and readable medium
By displaying sharing controls in the game data interface, players can easily share game data with other players, solving the problems of untimely update of information and cumbersome sharing process in the existing technology, and improving the gaming experience.
Patent Information
- Application Number
- CN202111321009.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-09
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2041-11-09
AI Technical Summary
The existing technology is difficult to easily realize the sharing of game data, especially when directly sharing equipment matching plans between players, there are problems such as untimely update of information and cumbersome sharing process.
When the same game data interface is displayed in the graphical user interface of the interconnected first terminal device and the second terminal device, the sharing control is displayed in the graphical user interface of the first terminal device, and the game data is shared to the second terminal device in response to the player's touch operation of the sharing control.
It realizes convenient game data sharing among players, especially the sharing of equipment matching solutions, and improves players' experience and efficiency in the game.
Smart Images

Figure CN114053695B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of data sharing, and in particular, to a game data sharing method, a game data sharing device, an electronic device, and a computer-readable medium. Background Art
[0002] With the continuous development of Internet technology, terminal devices such as smart phones, personal computers, and tablet computers have been widely used, and online games have gradually entered people's lives, making games one of people's increasingly important entertainment activities.
[0003] In order to increase the speed of passing the game and improve the winning rate of the game, players will share game data with each other. Specifically, for some competitive games, such as MOBA (Multiplayer Online Battle Arena), there are certain requirements for the equipment talents and other equipment matching schemes of heroes. In order to lower the threshold, the official will provide some recommended equipment matching schemes in the game. However, for some new heroes, the official recommended equipment matching schemes are not updated in a timely manner, resulting in a failure to meet the needs of players. Players will download the equipment matching schemes of highly skilled players (master players) or seek equipment matching schemes from their friends. Therefore, sharing equipment matching schemes has become a pain point demand for these players.
[0004] It can be seen that how to facilitate the sharing of game data in the game is an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present invention provide a method, device, electronic device and computer-readable storage medium for sharing game data to solve the problem that it is not possible to conveniently share game data in a game.
[0006] The embodiment of the present invention discloses a method for sharing game data, wherein a first graphical user interface is provided by a first terminal device, the first terminal device is interconnected with a second terminal device, and the second terminal device provides a second graphical user interface. The method includes:
[0007] When the same game data interface is displayed in the first graphical user interface and the second graphical user interface, a sharing control is displayed in the first graphical user interface; the same game data interface is an interface that displays the same type of game data;
[0008] In response to a touch operation on the sharing control, the game data displayed in the first graphical user interface is shared with the second terminal device.
[0009] Optionally, when the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface includes:
[0010] Displaying a game data interface on the first graphical user interface;
[0011] When the same game data interface is displayed in the second graphical user interface, a sharing control is displayed in the first graphical user interface.
[0012] Optionally, when the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface includes:
[0013] When the game data interface is displayed on the second graphical user interface, if the same game data interface is displayed in the first graphical user interface, a sharing control is displayed in the first graphical user interface.
[0014] Optionally, when the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface includes:
[0015] When the distance between the first terminal device and the second terminal device is within a specified range and the same game data interface is displayed in the second graphical user interface, a sharing control is displayed in the first graphical user interface.
[0016] Optionally, the method further includes: hiding the sharing control in response to a touch operation on an area other than the sharing control in the first graphical user interface.
[0017] Optionally, the method further includes: in response to a sliding operation on the sharing control in the first graphical user interface, hiding the sharing control.
[0018] Optionally, it further includes: receiving game data shared by the second terminal device;
[0019] Among them, the game data is shared in response to the touch operation of the sharing control in the second graphical user interface, and the sharing control is displayed in the second graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface.
[0020] Optionally, the method further includes: after successfully receiving the game data shared by the second terminal device, displaying a prompt message indicating that the game data is successfully shared in the first graphical user interface.
[0021] Optionally, the step of displaying a sharing control in the first graphical user interface includes:
[0022] Displaying a plurality of sharing controls corresponding to the game data in the first graphical user interface;
[0023] The step of responding to the touch operation on the sharing control and sharing the game data displayed in the first graphical user interface to the second terminal device includes:
[0024] In response to a touch operation on the sharing control, determining that the game data corresponding to the sharing control is target game data;
[0025] The target game data is shared with the second terminal device.
[0026] Optionally, the game data at least includes an equipment matching plan; the first terminal device and the second terminal device are interconnected via short-range communication technology, and the short-range communication technology at least includes WiFi, NFC and Bluetooth.
[0027] The embodiment of the present invention further discloses a game data sharing device, which provides a first graphical user interface through a first terminal device, the first terminal device is interconnected with a second terminal device, and the second terminal device provides a second graphical user interface. The device includes:
[0028] A sharing control display module, configured to display a sharing control in the first graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface; the same game data interface is an interface for displaying game data of the same type;
[0029] The game data sharing module is used to respond to the touch operation on the sharing control and share the game data displayed in the first graphical user interface to the second terminal device.
[0030] Optionally, the sharing control display module is used to display a game data interface on the first graphical user interface; when the same game data interface is displayed in the second graphical user interface, the sharing control is displayed in the first graphical user interface.
[0031] Optionally, the sharing control display module is used to display a sharing control in the first graphical user interface when displaying a game data interface on the second graphical user interface if the same game data interface is displayed in the first graphical user interface.
[0032] Optionally, the sharing control display module is used to display a sharing control in the first graphical user interface when the distance between the first terminal device and the second terminal device is within a specified range and the same game data interface is displayed in the second graphical user interface.
[0033] Optionally, the device further includes: a first hiding module, configured to hide the sharing control in response to a touch operation on an area other than the sharing control in the first graphical user interface.
[0034] Optionally, the device further includes: a second hiding module, configured to hide the sharing control in response to a sliding operation on the sharing control in the first graphical user interface.
[0035] Optionally, the device also includes: a game data receiving module, used to receive game data shared by the second terminal device; wherein the game data is shared in response to a touch operation of a sharing control in the second graphical user interface, and the sharing control is displayed in the second graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface.
[0036] Optionally, the apparatus further comprises: a prompt information display module, configured to display prompt information indicating successful sharing of the game data in the first graphical user interface after successfully receiving the game data shared by the second terminal device.
[0037] Optionally, the sharing control display module is used to display a number of sharing controls corresponding to the game data in the first graphical user interface; the game data sharing module is used to respond to touch operations on the sharing controls, determine that the game data corresponding to the sharing controls are target game data; and share the target game data to the second terminal device.
[0038] Optionally, the game data at least includes an equipment matching plan; the first terminal device and the second terminal device are interconnected via short-range communication technology, and the short-range communication technology at least includes WiFi, NFC and Bluetooth.
[0039] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0040] The memory is used to store computer programs;
[0041] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0042] The embodiment of the present invention further discloses one or more computer-readable media on which instructions are stored. When executed by one or more processors, the processors execute the method as described in the embodiment of the present invention.
[0043] The embodiments of the present invention include the following advantages:
[0044] In an embodiment of the present invention, for an interconnected first terminal device and a second terminal device, when a game data interface containing the same type of game data is displayed in a first graphical user interface of the first terminal device and a second graphical user interface of the second terminal device, a sharing control is displayed in the first graphical user interface, and in response to a touch operation on the sharing control, the game data displayed in the first graphical user interface can be shared with the second terminal device. In an embodiment of the present invention, when a game data interface containing the same type of game data is displayed in a graphical user interface between terminal devices, a sharing control is provided in the first terminal device, and the player can choose whether to share the game data with the second terminal device through the sharing control, so that the player can conveniently share the game data, thereby improving the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a flowchart of a method for sharing game data provided in an embodiment of the present invention;
[0046] Figure 2 is a schematic diagram of a sharing control provided in an embodiment of the present invention;
[0047] Figure 3 is a schematic diagram of multiple sharing controls provided in an embodiment of the present invention;
[0048] Figure 4 Schematic diagram of sharing a device matching solution in a mobile phone according to an embodiment of the present invention
[0049] Figure 5 is a structural block diagram of a game data sharing device provided in an embodiment of the present invention;
[0050] Figure 6 is a block diagram of an electronic device provided in an embodiment of the present invention;
[0051] Figure 7 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0053] Taking game data as an example, there are two common ways to share game data in games:
[0054] Method 1 (through master players): Officially recognized master players with superb skills upload their own equipment matching plans. When other players need them, they can enter the interface containing the equipment matching plans in the game and download them directly.
[0055] Method 2 (through friend players): View the interface of your friend’s personal profile, find the equipment combination you need and download it.
[0056] The above sharing methods have the following disadvantages:
[0057] 1. For some new content, such as new game versions, new game heroes, new equipment, etc., due to the short time of new content release, the official cannot timely and accurately update the equipment matching plan of the master players;
[0058] 2. The equipment matching scheme of friend players is hidden deep in the game, making it difficult for players to find it;
[0059] 3. When players form a team face to face, they still need to find the equipment matching plans of master players or friend players in the game, which seems a bit troublesome and inhumane.
[0060] In response to the above problems, an embodiment of the present invention provides a game data sharing method. When players form a team face to face, if the player's terminal device opens a game data interface of the same type of game data, a sharing control is provided in the graphical user interface. Players can use the sharing control to conveniently share game data with other players, thereby improving the player's gaming experience.
[0061] In one embodiment of the present invention, the game data sharing method can be run on a local terminal device or a server. When the game data sharing method is run on a server, the game data sharing method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0062] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game method based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game data sharing method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud performs the game data sharing method. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0063] In an optional embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0064] Reference Figure 1 , shows a flowchart of the steps of a game data sharing method provided in an embodiment of the present invention, wherein a first graphical user interface is provided through a first terminal device, the first terminal device is interconnected with a second terminal device, and the second terminal device provides a second graphical user interface, wherein the first terminal device and the second terminal device can be the local terminal devices mentioned above, or can be the client devices in the cloud interaction system mentioned above. Specifically, the following steps may be included:
[0065] Step 101: When the same game data interface is displayed in the first graphical user interface and the second graphical user interface, a sharing control is displayed in the first graphical user interface; the same game data interface is an interface that displays the same type of game data.
[0066] Among them, the game data may include equipment matching schemes in the game, but of course it is not limited to this. Any data that players want to share in the game can be included, such as descriptions of the use of equipment matching schemes, such as "explosive equipment matching schemes", "consumable equipment matching schemes", "offensive equipment matching schemes", etc. The embodiments of the present invention do not limit this.
[0067] In an embodiment of the present invention, the first terminal device and the second terminal device can be interconnected, so that game data can be transmitted to each other. Optionally, the first terminal device and the second terminal device are interconnected through a short-distance communication technology, wherein the short-distance communication technology can at least include Wi-Fi (Wireless-Fidelity), NFC (NearField Communication) and Bluetooth.
[0068] Among them, game data has corresponding types, for example, equipment matching schemes all belong to equipment types.
[0069] In an embodiment of the present invention, if the first graphical user interface and the second graphical user interface display game data interfaces of the same type of game data, for example, both are game data interfaces of equipment matching schemes belonging to the equipment type, a sharing control may be displayed in the first graphical user interface. Optionally, at this time, the sharing control may also be displayed or not displayed in the second graphical user interface.
[0070] Reference Figure 2 , is a schematic diagram of a sharing control according to an embodiment of the present invention. When two players open game data interfaces about equipment matching data on their terminal devices respectively, a sharing control 201 may be displayed in the game data interface.
[0071] Step 102: In response to a touch operation on the sharing control, the game data displayed in the first graphical user interface is shared to the second terminal device.
[0072] The touch operation may include but is not limited to a click operation, a press operation, etc.
[0073] In an embodiment of the present invention, when a touch operation on a sharing control is detected, in response to the touch operation, the game data in the first graphical user interface is shared with a second terminal device connected to the first terminal device. Figure 2 In response to a click operation on the sharing control 201, the equipment matching plan of the hero A in the first terminal device can be shared to the second terminal device.
[0074] In the above-mentioned game data sharing method, for the interconnected first terminal device and the second terminal device, when a game data interface containing the same type of game data is displayed in the first graphical user interface of the first terminal device and the second graphical user interface of the second terminal device, a sharing control is displayed in the first graphical user interface, and in response to a touch operation on the sharing control, the game data displayed in the first graphical user interface can be shared with the second terminal device. In the embodiment of the present invention, when a game data interface containing the same type of game data is displayed in the graphical user interface between the terminal devices, a sharing control is provided in the first terminal device, and the player can choose whether to share the game data with the second terminal device through the sharing control, so that the player can conveniently share the game data, thereby improving the player's gaming experience.
[0075] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0076] In an exemplary embodiment, when the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step 102 of displaying a sharing control in the first graphical user interface may include:
[0077] Displaying a game data interface on the first graphical user interface;
[0078] When the same game data interface is displayed in the second graphical user interface, a sharing control is displayed in the first graphical user interface.
[0079] In an embodiment of the present invention, if a player of a first terminal device first opens a game data interface, the game data interface will be displayed in a first graphical user interface of the first terminal device. Then, if a player of a second terminal device also opens the game data interface, and the first terminal device and the second terminal device open game data interfaces of the same type of game data, for example, both open game data interfaces of equipment matching plans of equipment types, a sharing control can be displayed in the first graphical user interface. The player of the first terminal device can share the equipment matching plan to the second terminal device by touching the sharing control, thereby realizing sharing of game data.
[0080] In the above optional embodiment, if the player of the first terminal device opens the game data interface, when forming a team face to face, the player of the second terminal device sees that the game data in the game data interface is beneficial to winning the game, and wants the player of the first terminal device to share the game data in the game data interface, then the same game data interface can be opened, and then a sharing control can be displayed in the first graphical user interface of the first terminal device. At this time, the player of the first terminal device can share the game data to the second terminal device by touching the sharing control, so as to realize the sharing of game data between players. It should be noted that at this time, the sharing control is only displayed in the first terminal device, and it may not be displayed in the second terminal device, so as to avoid unnecessary interference to the player of the second terminal device.
[0081] In an exemplary embodiment, when the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface may include:
[0082] When the game data interface is displayed on the second graphical user interface, if the same game data interface is displayed in the first graphical user interface, a sharing control is displayed in the first graphical user interface.
[0083] In an embodiment of the present invention, if the player of the second terminal device first opens the game data interface, the game data interface will be displayed in the second graphical user interface of the second terminal device. Then, if the player of the first terminal device also opens the game data interface, and the first terminal device and the second terminal device open the game data interface of the same type of game data, for example, both open the game data interface of the equipment matching plan of the equipment type, then the sharing control can be displayed in the first graphical user interface, so that the player of the first terminal device can share the equipment matching plan to the second terminal device by touching the sharing control.
[0084] In the above optional embodiment, if the player of the second terminal device opens the game data interface and finds that there is no game data that is beneficial to winning the game when forming a team face to face, the player of the second terminal device will want the player of the first terminal device to share the game data in the game data interface, then the player of the first terminal device can also open the same game data interface, and then a sharing control can be displayed in the first graphical user interface of the first terminal device. At this time, the player of the first terminal device can share the game data to the second terminal device by touching the sharing control, so as to realize the sharing of game data between players. It should be noted that at this time, the sharing control is only displayed on the first terminal device, and it may not be displayed on the second terminal device, so as to avoid unnecessary interference to the player of the second terminal device.
[0085] In an exemplary embodiment, when the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface may include:
[0086] When the distance between the first terminal device and the second terminal device is within a specified range and the same game data interface is displayed in the second graphical user interface, a sharing control is displayed in the first graphical user interface.
[0087] In the embodiment of the present invention, face-to-face game data sharing can be implemented. For example, when the second terminal device joins the game room created by the second terminal device, face-to-face game data sharing starts.
[0088] Among them, the designated range can be determined by the players of the terminal devices that share game data. For example, assuming that the first terminal device shares game data with the second terminal device, the player of the first terminal device can set the designated range to 3m (meters), and the second terminal device within 3m of the first terminal device will be allowed to join. In addition, it can also be determined according to the communication distance of the short-range communication technology used. For example, assuming that NFC technology is used, the designated range can be 10cm (centimeter); assuming that wifi technology is used, the designated range can be 50m; assuming that NFC technology is used, the designated range can be 20m.
[0089] For example, when sharing game data face to face, assuming that WiFi technology has been used between terminal devices, the specified range can be 50m. The first terminal device can share the game data to the second terminal device within 50m of the first terminal device through the sharing control.
[0090] Optionally, in an embodiment of the present invention, if the first terminal device and the second terminal device have formed a team, such as having joined the same game room, at this time, the player of the first terminal device or the second terminal device can share the game data with other players in the same team. In the above manner, the player who shares the game data does not need to select the object of sharing, but only needs to select which game data needs to be shared, thereby improving the efficiency of sharing the game data. For example, assuming that terminal device A, terminal device B, terminal device C, terminal device D and terminal device E are in the same team, when terminal device A determines to share equipment collocation plan a1, by touching the sharing control corresponding to equipment collocation plan a1, the equipment collocation plan a1 can be shared to terminal device B, terminal device C, terminal device D and terminal device E.
[0091] In the above optional embodiment, the first terminal device can share the game data with the second terminal device within a specified range, thereby realizing the game data sharing of face-to-face games.
[0092] In an exemplary embodiment, the method may further include the following steps:
[0093] In response to a touch operation on an area other than the sharing control in the first graphical user interface, hiding the sharing control; or,
[0094] In response to a sliding operation on the sharing control in the first graphical user interface, the sharing control is hidden.
[0095] Among them, the touch operation may include but is not limited to a click operation, a press operation, and a slide operation.
[0096] In an embodiment of the present invention, if the player does not want to share the game data, the player may perform a touch operation in the first graphical user interface, such as clicking on the sharing control. In response to the touch operation, the sharing control will be hidden in the first graphical user interface.
[0097] Alternatively, if the player does not want to share the game data, the player may perform a touch operation on the sharing control in the first graphical user interface, such as sliding the sharing control upward. In response to the touch operation, the sharing control will be hidden in the first graphical user interface.
[0098] In the above optional embodiment, the player can hide the sharing controls in the graphical user interface by performing touch operations on the graphical user interface to prevent the sharing controls from interfering with the player's normal game.
[0099] In an exemplary embodiment, the method may further include the following steps:
[0100] Receiving game data shared by the second terminal device;
[0101] Among them, the game data is shared in response to the touch operation of the sharing control in the second graphical user interface, and the sharing control is displayed in the second graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface.
[0102] In the embodiment of the present invention, the first terminal device and the second terminal device are interconnected, so the first terminal device can share game data with the second terminal device, and the second terminal device can also share game data with the first terminal device. If the same game data interface is displayed in the first graphical user interface of the first terminal device and the second graphical user interface of the second terminal device, a sharing control can be displayed on the second graphical user interface, and after detecting the player's touch operation on the second terminal device, the game data of the second terminal device can be shared with the first terminal device.
[0103] In the above optional embodiment, for the interconnected first terminal device and the second terminal device, the game data can be shared through the sharing control.
[0104] In an exemplary embodiment, the method may further include the following steps:
[0105] After successfully receiving the game data shared by the second terminal device, a prompt message indicating that the game data is shared successfully is displayed in the first graphical user interface.
[0106] In an embodiment of the present invention, if the first terminal device successfully receives the game data sent by the second terminal device, a prompt message indicating that the game data is shared successfully, such as "sharing successful", can be displayed in the first graphical user interface. At this time, a prompt message indicating that the game data is shared successfully can also be displayed on the second terminal device.
[0107] Of course, if the first terminal device fails to successfully receive the game data sent by the second terminal device, a prompt message indicating that the game data sharing has failed may be displayed in the first graphical user interface, such as "network failure, sharing failed".
[0108] In an exemplary embodiment, the step 101 of displaying a sharing control in the first graphical user interface may include:
[0109] A plurality of sharing controls corresponding to the game data are displayed in the first graphical user interface.
[0110] In a specific implementation, if the game data is an equipment matching plan, there may be a large number of equipment matching plans. Taking a MOBA game as an example, there may be dozens or even hundreds of heroes in a MOBA game. In addition, each hero may also have at least one set of equipment matching plans. In an embodiment of the present invention, the player can choose to share all the equipment matching plans of all heroes to the second terminal device at one time. However, if too many equipment matching plans are shared, it may easily cause confusion to the players of the second terminal device. In addition, it is usually unlikely for a player to be proficient in all heroes. Therefore, it is not realistic for the player to match all the heroes' equipment matching plans by himself.
[0111] In view of the above problems, in an embodiment of the present invention, for the game data displayed in the first graphical user interface, a corresponding sharing control can be set for each game data. Figure 3 , is a schematic diagram of a plurality of sharing controls according to an embodiment of the present invention. In the first graphical user interface, three equipment matching schemes are included. Then, a corresponding sharing control can be set for each of the three equipment matching schemes, which are respectively Figure 3 In the sharing control 301, sharing control 302, and sharing control 303.
[0112] The step 102, in response to a touch operation on the sharing control, of sharing the game data displayed in the first graphical user interface to the second terminal device, includes:
[0113] In response to a touch operation on the sharing control, determining that the game data corresponding to the sharing control is target game data;
[0114] The target game data is shared with the second terminal device.
[0115] The touch operation may include but is not limited to a click operation and a press operation.
[0116] Reference Figure 3 When a player on the first terminal device is sharing game data, if the player wants to share the equipment matching plan of hero B, the player can click on the sharing control 302, and the first terminal device will share the equipment matching plan of hero B as the target equipment matching plan to the second terminal device.
[0117] In order to enable those skilled in the art to better understand the embodiments of the present invention, a specific game data sharing process is used to illustrate the present invention. Figure 4 , is a schematic diagram of sharing a device collocation solution in a mobile phone according to an embodiment of the present invention. The specific sharing process includes:
[0118] On the premise that mobile phone A and mobile phone B are connected through near-field communication technology, when the players of the two mobile phones open the same game data interface face to face, for example, when the equipment interface showing the equipment matching plan is opened, if mobile phone A is brought close to mobile phone B, mobile phone A will display a prompt message (i.e., a sharing control) on the equipment interface asking "Do you want to share the plan with mobile phone B?" If mobile phone A clicks on the sharing control, the equipment matching plan in the equipment interface will be shared with mobile phone B, and when the sharing ends, the sharing success will be displayed on mobile phone B (or mobile phone A). In addition, if mobile phone A clicks on a blank area, or slides up on the sharing control, the sharing of the equipment matching plan can be canceled.
[0119] Compared with the existing game data sharing solutions, the application of the embodiments of the present invention can reduce the cumbersome multi-step operations required for face-to-face sharing, thereby improving the convenience of face-to-face game social interaction; in addition, face-to-face interactive sharing of game data meets the social attribute requirements in the game.
[0120] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0121] Reference Figure 5 , shows a structural block diagram of a game data sharing device provided in an embodiment of the present invention, wherein a first graphical user interface is provided through a first terminal device, the first terminal device is interconnected with a second terminal device, and the second terminal device provides a second graphical user interface, which may specifically include the following modules:
[0122] A sharing control display module 501, configured to display a sharing control in the first graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface; the same game data interface is an interface for displaying game data of the same type;
[0123] The game data sharing module 502 is used to respond to a touch operation on the sharing control and share the game data displayed in the first graphical user interface to the second terminal device.
[0124] In an exemplary embodiment, the sharing control display module 501 is used to display a game data interface on the first graphical user interface; when the same game data interface is displayed in the second graphical user interface, a sharing control is displayed in the first graphical user interface.
[0125] In an exemplary embodiment, the sharing control display module 501 is used to display a sharing control in the first graphical user interface when displaying a game data interface on the second graphical user interface if the same game data interface is displayed in the first graphical user interface.
[0126] In an exemplary embodiment, the sharing control display module 501 is used to display a sharing control in the first graphical user interface when the distance between the first terminal device and the second terminal device is within a specified range and the same game data interface is displayed in the second graphical user interface.
[0127] In an exemplary embodiment, the device further includes: a first hiding module, configured to hide the sharing control in response to a touch operation on an area other than the sharing control in the first graphical user interface.
[0128] In an exemplary embodiment, the apparatus further includes: a second hiding module, configured to hide the sharing control in response to a sliding operation on the sharing control in the first graphical user interface.
[0129] In an exemplary embodiment, the apparatus further includes: a game data receiving module for receiving game data shared by the second terminal device; wherein the game data is shared in response to a touch operation of a sharing control in the second graphical user interface, and the sharing control is displayed in the second graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface.
[0130] In an exemplary embodiment, the apparatus further includes: a prompt information display module, configured to display a prompt information indicating that the game data is successfully shared in the first graphical user interface after successfully receiving the game data shared by the second terminal device.
[0131] In an exemplary embodiment, the sharing control display module 501 is used to display a number of sharing controls corresponding to the game data in the first graphical user interface; the game data sharing module 502 is used to respond to a touch operation on the sharing control, determine that the game data corresponding to the sharing control is the target game data; and share the target game data to the second terminal device.
[0132] In an exemplary embodiment, the game data includes at least an equipment matching plan; the first terminal device and the second terminal device are interconnected via a short-range communication technology, and the short-range communication technology includes at least WiFi, NFC and Bluetooth.
[0133] In summary, in an embodiment of the present invention, for an interconnected first terminal device and a second terminal device, when a game data interface containing the same type of game data is displayed in the first graphical user interface of the first terminal device and in the second graphical user interface of the second terminal device, a sharing control is displayed in the first graphical user interface, and in response to a touch operation on the sharing control, the game data displayed in the first graphical user interface can be shared with the second terminal device. In an embodiment of the present invention, when a game data interface containing the same type of game data is displayed in the graphical user interface between terminal devices, a sharing control is provided in the first terminal device, and the player can choose whether to share the game data with the second terminal device through the sharing control, so that the player can conveniently share the game data, thereby improving the player's gaming experience.
[0134] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0135] In addition, an embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, it includes a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604.
[0136] Memory 603, used for storing computer programs;
[0137] The processor 601 is used to implement the game data sharing method described in the above embodiment when executing the program stored in the memory 603.
[0138] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0139] The communication interface is used for communication between the above terminal and other devices.
[0140] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0141] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0142] like Figure 7 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 701 is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the game data sharing method described in the above embodiment.
[0143] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the game data sharing method described in the above embodiment.
[0144] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0145] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0146] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0147] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A game data sharing method, characterized in that: A first graphical user interface is provided by a first terminal device, the first terminal device is interconnected with a second terminal device, and the second terminal device provides a second graphical user interface, the method comprising: When players form a team face to face, when the same game data interface is displayed in the first graphical user interface and the second graphical user interface, a sharing control is displayed in the first graphical user interface; the same game data interface is an interface that displays the same type of game data; In response to a touch operation on the sharing control, sharing the game data displayed in the first graphical user interface to the second terminal device; The step of sharing the game data displayed in the first graphical user interface to the second terminal device includes: If the first terminal device and the second terminal device have formed a team, the player of the first terminal device or the second terminal device shares the game data with other players in the same team.
2. The method according to claim 1, characterized in that When the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface comprises: Displaying a game data interface on the first graphical user interface; When the same game data interface is displayed in the second graphical user interface, a sharing control is displayed in the first graphical user interface.
3. The method according to claim 1, characterized in that: When the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface comprises: When the game data interface is displayed on the second graphical user interface, if the same game data interface is displayed in the first graphical user interface, a sharing control is displayed in the first graphical user interface.
4. The method according to claim 1, characterized in that: When the same game data interface is displayed in the first graphical user interface and the second graphical user interface, the step of displaying a sharing control in the first graphical user interface comprises: When the distance between the first terminal device and the second terminal device is within a specified range and the same game data interface is displayed in the second graphical user interface, a sharing control is displayed in the first graphical user interface.
5. The method according to claim 1, characterized in that Also includes: In response to a touch operation on an area other than the sharing control in the first graphical user interface, the sharing control is hidden.
6. The method according to claim 1, characterized in that Also includes: In response to a sliding operation on the sharing control in the first graphical user interface, the sharing control is hidden.
7. The method according to claim 1, characterized in that Also includes: Receiving game data shared by the second terminal device; The game data is shared in response to a touch operation of a sharing control in the second graphical user interface, and the sharing control is displayed in the second graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface.
8. The method according to claim 7, characterized in that Also includes: After successfully receiving the game data shared by the second terminal device, a prompt message indicating that the game data is shared successfully is displayed in the first graphical user interface.
9. The method according to claim 1, characterized in that: The step of displaying the sharing control in the first graphical user interface includes: Displaying a plurality of sharing controls corresponding to the game data in the first graphical user interface; The step of responding to the touch operation on the sharing control and sharing the game data displayed in the first graphical user interface to the second terminal device includes: In response to a touch operation on the sharing control, determining that the game data corresponding to the sharing control is target game data; The target game data is shared with the second terminal device.
10. The method according to claim 1, characterized in that The game data at least includes equipment matching scheme; The first terminal device and the second terminal device are interconnected via short-range communication technology, and the short-range communication technology includes at least WiFi, NFC and Bluetooth.
11. A game data sharing device, characterized in that: A first graphical user interface is provided by a first terminal device, the first terminal device is interconnected with a second terminal device, and the second terminal device provides a second graphical user interface, the apparatus comprising: A sharing control display module, used for displaying a sharing control in the first graphical user interface when the same game data interface is displayed in the first graphical user interface and the second graphical user interface when the players are in a face-to-face team; the same game data interface is an interface for displaying game data of the same type; A game data sharing module, used to respond to a touch operation on the sharing control to share the game data displayed in the first graphical user interface to the second terminal device; wherein, sharing the game data displayed in the first graphical user interface to the second terminal device includes: if the first terminal device and the second terminal device have formed a team, the player of the first terminal device or the second terminal device shares the game data with other players in the same team.
12. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 10 when executing the program stored in the memory.
13. One or more computer-readable media having instructions stored thereon, which when executed by one or more processors cause the processors to perform the method of any one of claims 1-10.
Citation Information
Patent Citations
Method and device for recommending equipment in game, equipment and storage medium
CN113535058A