Movatterモバイル変換


[0]ホーム

URL:


CN114130028A - Virtual article sharing method and device - Google Patents

Virtual article sharing method and device
Download PDF

Info

Publication number
CN114130028A
CN114130028ACN202111455815.5ACN202111455815ACN114130028ACN 114130028 ACN114130028 ACN 114130028ACN 202111455815 ACN202111455815 ACN 202111455815ACN 114130028 ACN114130028 ACN 114130028A
Authority
CN
China
Prior art keywords
virtual item
backpack
response
virtual
shared
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
Application number
CN202111455815.5A
Other languages
Chinese (zh)
Inventor
何娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN202111455815.5ApriorityCriticalpatent/CN114130028A/en
Publication of CN114130028ApublicationCriticalpatent/CN114130028A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种虚拟物品分享方法和装置,应用于鸿蒙操作系统中,所述鸿蒙操作系统部署于第一设备和第二设备中,所述方法包括:通过所述第一设备运行游戏,并基于所述鸿蒙操作系统在所述第二设备上显示所述游戏的背包界面;其中,所述背包界面中包含至少一个虚拟物品;响应作用于所述第二设备的背包界面上的第一操作,从所述至少一个虚拟物品中确定第一虚拟物品;响应作用于所述第二设备与第三设备的第一触碰操作,将所述第一虚拟物品分享至所述第三设备;其中,所述第三设备是第二用户操控的副设备。使得当玩家在一起玩游戏时,可以通过将基于鸿蒙系统的设备进行触碰的方式,完成虚拟物品的分享,操作简单便捷,拉近玩家之间的距离感。

Figure 202111455815

Embodiments of the present invention provide a method and device for sharing virtual items, which are applied in a Hongmeng operating system, where the Hongmeng operating system is deployed in a first device and a second device, and the method includes: running through the first device game, and display the backpack interface of the game on the second device based on the Hongmeng operating system; wherein, the backpack interface contains at least one virtual item; a first operation, determining a first virtual item from the at least one virtual item; in response to a first touch operation acting on the second device and the third device, sharing the first virtual item with the third device equipment; wherein, the third equipment is a secondary equipment operated by the second user. So that when players play games together, they can complete the sharing of virtual items by touching devices based on the Hongmeng system. The operation is simple and convenient, and the sense of distance between players is shortened.

Figure 202111455815

Description

Virtual article sharing method and device
Technical Field
The invention relates to the technical field of games, in particular to a virtual article sharing method and a virtual article sharing device.
Background
In some network games, such as a First-person shooter Game (FPS) with multi-player collaboration, or a MMORPG Game (Multiplayer Online Role-Playing Game), there is often a need to share Game items among teammates. In the prior art, the way of sharing game items among teammates is usually troublesome, for example, a player A loses a game item on the ground, and a player B picks up the game item; alternatively, a transaction is initiated by player A and player B to exchange the play items selected by both. In the mode of sharing game props in the prior art, if two players play games together, the props can be shared only by performing the complicated operations, so that the distance between the players is easy to be sensed, and the game experience is influenced.
Disclosure of Invention
In view of the above problems that when players play a game together, the operation method for sharing game items is cumbersome, and a distance feeling is easily generated between players, which affects game experience, embodiments of the present invention are provided to provide a virtual item sharing method and a corresponding virtual item sharing device that overcome or at least partially solve the above problems.
The embodiment of the invention discloses a virtual article sharing method, which is applied to a Hongmon operating system, wherein the Hongmon operating system is deployed in a first device and a second device, and the method comprises the following steps:
running a game through the first device and displaying a backpack interface of the game on the second device based on the Hongmon operating system; wherein the backpack interface includes at least one virtual item therein;
determining a first virtual item from the at least one virtual item in response to a first operation acting on a backpack interface of the second device;
responding to a first touch operation acting on the second equipment and third equipment, and sharing the first virtual article to the third equipment; wherein the third device is a secondary device manipulated by a second user.
Optionally, after the step of determining a first virtual item from the at least one virtual item in response to the first operation acting on the backpack interface of the second device, the method further comprises:
using the first virtual item in response to the use instruction for the first virtual item.
Optionally, the sharing the first virtual item to the third device in response to the first touch operation performed on the second device and the third device includes:
responding to a first touch operation acting on the second device and a third device, and sharing the first virtual item to the third device and sharing the second virtual item to the second device when a selected second virtual item exists in a backpack interface of the third device.
Optionally, the sharing the first virtual item to the third device in response to the first touch operation performed on the second device and the third device includes:
responding to a first touch operation acted on the second equipment and third equipment, and displaying a receiving control in the third equipment when a selected second virtual item does not exist in a backpack interface of the third equipment;
and responding to a trigger operation acted on the receiving control, and sharing the first virtual article to the third equipment.
Optionally, the sharing the first virtual item to a third device in response to a first touch operation performed on the second device and the third device further includes:
displaying a rejection control in the third device;
and responding to the trigger operation acted on the rejection control, and canceling the sharing of the first virtual article to the third equipment.
Optionally, before the step of determining a first virtual item from the at least one virtual item in response to the first operation acting on the backpack interface in the second device, the method further comprises:
responding to a second touch operation acting on the second equipment and third equipment, generating a shared backpack according to all virtual articles in a backpack interface of the second equipment and a backpack interface of the third equipment, and displaying backpack interfaces corresponding to the shared backpack on the second equipment and the third equipment;
responding to a second operation acted on a knapsack interface corresponding to the shared knapsack, and determining a third virtual item from all virtual items;
using the third virtual item in response to the use instruction for the third virtual item.
Optionally, the method further comprises:
and responding to the operation of separating touch of the second equipment and the third equipment, and canceling to display the backpack interface corresponding to the shared backpack on the second equipment and the third equipment.
Optionally, the method further comprises:
determining a fourth virtual item in response to a third operation acting on the backpack interface of the second device and/or the backpack interface of the third device;
setting the fourth virtual item to a locked state in response to a lock instruction for the fourth virtual item.
Optionally, the method further comprises:
when the backpack interfaces corresponding to the shared backpack are displayed on the second device and the third device, a preset identifier is displayed at the position where the fourth virtual article is located, and the preset identifier is used for indicating that the virtual article is locked.
Optionally, the responding to the instruction for using the third virtual article uses the third virtual article, including:
using the third virtual article when the third virtual article is in an unlocked state in response to a use instruction for the third virtual article; or, when the third virtual article is in a locked state, the third virtual article is not used.
The embodiment of the invention also discloses a virtual article sharing device, which is applied to the Hongmon operating system, wherein the Hongmon operating system is arranged in the first equipment and the second equipment, and the device comprises:
the backpack interface display module is used for running a game through the first equipment and displaying a backpack interface of the game on the second equipment based on the Hongmon operating system; wherein the backpack interface includes at least one virtual item therein;
a first virtual item determination module for determining a first virtual item from the at least one virtual item in response to a first operation acting on a backpack interface of the second device;
the first virtual article sharing module is used for responding to a first touch operation acting on the second equipment and third equipment and sharing the first virtual article to the third equipment; wherein the third device is a secondary device manipulated by a second user.
The embodiment of the invention also discloses an electronic device, which comprises:
a processor and a storage medium storing machine-readable instructions executable by the processor, the processor executing the machine-readable instructions to perform a method according to any one of the embodiments of the invention when the electronic device is operated.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method of any one of the embodiments of the invention is executed.
The embodiment of the invention has the following advantages:
the embodiment of the invention provides a virtual article sharing method, which comprises the steps of running a game through a first device and displaying a backpack interface of the game on a second device based on a Hongmon operating system; wherein the backpack interface includes at least one virtual item therein; determining a first virtual item from the at least one virtual item in response to a first operation acting on a backpack interface in the second device; responding to a first touch operation acting on the second equipment and third equipment, and sharing the first virtual article to the third equipment; wherein the third device is a secondary device manipulated by a second user. When the players play games together, the virtual objects can be shared in a touch mode through the equipment based on the Hongmon system, the operation is simple and convenient, the distance between the players can be reduced, and the interestingness of the games can be increased.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a virtual article sharing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an architecture of a virtual goods sharing system according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a virtual article sharing apparatus according to an embodiment of the present invention;
FIG. 4 is a block diagram of an electronic device of the present invention;
fig. 5 is a block diagram of a computer-readable storage medium of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems that when players play games together, the operation mode of sharing game props is complicated, distance feeling is easily generated among the players, and game experience is affected, in order to solve the problems, the embodiment of the invention provides a virtual article sharing method, the method runs the games through first equipment, and displays a backpack interface of the games on second equipment based on a Hongmon operating system; wherein the backpack interface includes at least one virtual item therein; determining a first virtual item from the at least one virtual item in response to a first operation acting on a backpack interface in the second device; responding to a first touch operation acting on the second equipment and third equipment, and sharing the first virtual article to the third equipment; wherein the third device is a secondary device manipulated by a second user. When the players play games together, the virtual objects can be shared in a touch mode through the equipment based on the Hongmon system, the operation is simple and convenient, the distance between the players can be reduced, and the interestingness of the games can be increased.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a virtual article sharing method according to an embodiment of the present invention is shown, and is applied to a hong meng operating system, where the hong meng operating system is deployed in a first device and a second device, and the method may specifically include the following steps:
step 101, running a game through the first device, and displaying a backpack interface of the game on the second device based on the Hongmon operating system; wherein the backpack interface includes at least one virtual item therein;
the hongmeng operating system may include multiple subsystems, each of which may be deployed in different devices and communicatively coupled between the devices of the respective subsystems. In the embodiment of the present invention, the hongmeng operating system may be deployed in a first device and a second device, where the first device may be a master device, a player mainly operates a game through the first device, the second device may be a slave device, and some game operations with low operation intensity requirements may be performed through the second device.
As an example, the first device may be a portable mobile terminal, such as a smart phone, a car computer, or the like, or an electronic device, such as a notebook computer, a tablet computer, an IPAD, or the like, and the first device may have a touch screen. For convenience in operation, a touch screen is used instead of a mouse or a keyboard. The touch screen is composed of a touch detection part and a touch screen controller, wherein the touch detection part is arranged in front of the display screen and used for detecting the touch position of a user and then transmitting related information to the touch screen controller. The touch screen controller is mainly used for receiving touch information from the touch point detection device, converting the touch information into touch point coordinates and transmitting the touch point coordinates to a Central Processing Unit (CPU); it can receive and execute the command from CPU. When a finger, stylus or other operating medium applies pressure (or force) to a touch screen mounted on the front end of the display, the touched position is detected by the touch screen controller and sent to the CPU through an interface (e.g., RS-232 serial port, USB, etc.). By running the game application on the first device and rendering the game application on the touch screen of the first device, the content displayed by the graphical user interface may include a part or all of a game scene, and the specific form of the game scene may be a square, or may be another shape (e.g., a circle, etc.). Specifically, the game scene on the graphical user interface may include a virtual character, the virtual character may be a game virtual unit that is manipulated by the player through the first device, and the content presented by the graphical user interface may include all of the virtual character or a part of the virtual character. In addition, the game scene may further include one or more virtual objects, where the virtual object may be a Non-player Character (NPC) preset by a game developer in a specific game scene, and a player may interact with the virtual object.
As an example, the second device may be a wearable device, for example, a device such as a smart bracelet or a smart watch, or an electronic device such as a mobile terminal, and a hongmeng operating system is deployed on the second device, so that some function modules in a game can be set to be synchronously displayed in the second device for operation by setting on the first device. In specific implementation, a backpack module of a game can be synchronized in the second device by setting the backpack module in the first device, so that a backpack interface of the game can be displayed on the second device based on a Hongmon operating system, and an operation of sharing a virtual item is performed through the backpack interface of the second device.
Step 102, responding to a first operation acted on a knapsack interface of the second device, and determining a first virtual item from the at least one virtual item;
specifically, when the player wants to share the virtual item, a first operation may be performed in a backpack interface of the second device to select the virtual item to be shared, where the first operation may include a click operation, a double click operation, a long press operation, or the like, which is not limited in this embodiment of the present invention.
In a specific implementation, the touch position may be carried in the first operation, and after the first operation acting on the backpack interface of the second device is received, the touch position in the first operation is extracted, and the first virtual item is determined from the at least one virtual item on the backpack interface of the second device according to the touch position.
103, responding to a first touch operation acting on the second device and a third device, and sharing the first virtual article to the third device; wherein the third device is a secondary device manipulated by a second user.
Specifically, after the player selects the virtual item to be shared, the second device and the third device may be touched to share the first virtual item to the third device, and the first virtual item is displayed on a backpack interface of the third device. The third device is a slave device operated by a second user, i.e. a different player than the player operating the first device and the second device, which can also operate a master device and a slave device.
In a specific implementation, the second device and the third device may include sensor modules, the sensor modules detect a distance between the two devices, and when the distance is smaller than a set distance threshold, it is determined that the second device and the third device are touched, that is, a first touch operation acting on the second device and the third device is received.
It should be noted that, in order to prevent the misoperation, a preset duration may be further set, and when the time for the second device to touch the third device is longer than the first preset duration, the first virtual item is shared to the third device in response to the first touch operation applied to the second device and the third device.
In a preferred embodiment of the present invention, after thestep 102, the method may further include the steps of:
using the first virtual item in response to the use instruction for the first virtual item.
Specifically, after the player selects the first virtual item, the player may further initiate a use instruction for the first virtual item through a user operation such as a click operation, a double click operation, or a long press operation that is performed on the first virtual item, so that the first virtual item may be used to adjust the attribute value of the virtual character manipulated by the player according to the attribute value of the first virtual item, where, if the first virtual item is a medicine that increases a life value, the life value of the virtual character is increased, and if the first virtual item is a pair of shoes that move at a high speed, the moving speed of the virtual character is increased, and so on. Further, after using the first virtual item, the first virtual item on the backpack interface of the second device may be removed.
In a preferred embodiment of the present invention, the step 103 may comprise the following sub-steps:
responding to a first touch operation acting on the second device and a third device, and sharing the first virtual item to the third device and sharing the second virtual item to the second device when a selected second virtual item exists in a backpack interface of the third device.
Specifically, when a first touch operation acting on the second device and the third device is responded, whether a selected second virtual item exists in a backpack interface of the third device or not can be judged, and when the selected second virtual item exists in the backpack interface of the third device, it is considered that two players need to directly exchange items.
In a preferred embodiment of the present invention, the step 103 may further include the following sub-steps:
responding to a first touch operation acted on the second equipment and third equipment, and displaying a receiving control in the third equipment when a selected second virtual item does not exist in a backpack interface of the third equipment; and responding to a trigger operation acted on the receiving control, and sharing the first virtual article to the third equipment.
Specifically, when a first touch operation acting on the second device and the third device is responded, and the selected second virtual item does not exist in the backpack interface of the third device, the sharing operation is considered to be unilateral virtual item sharing, and the sharing operation can be completed only by the agreement of the other party.
When the selected second virtual item does not exist in the backpack interface of the third device, a receiving control is displayed in the third device, the receiving control is used for receiving the virtual item shared by other players, and the player can perform a triggering operation on the receiving control, where the triggering operation may include a click operation, a double click operation, a long press operation, or the like. After receiving a trigger operation acting on a receiving control of the third device, the first virtual item may be shared to the third device to display the first virtual item on a backpack interface of the third device.
In a preferred embodiment of the present invention, the step 103 may further include the following sub-steps:
displaying a rejection control in the third device; and responding to the trigger operation acted on the rejection control, and canceling the sharing of the first virtual article to the third equipment.
Specifically, a rejection control may be further displayed in the third device, where the rejection control is used to reject virtual items shared by other players, and the player may perform a trigger operation on the rejection control, where the trigger operation may include a click operation, a double-click operation, a long-press operation, and the like, and the embodiment of the present invention is not limited thereto. The sharing of the first virtual item to the third device may be cancelled after receiving the trigger action on the reject control of the third device.
In a preferred embodiment of the present invention, before thestep 102, the method further comprises:
responding to a second touch operation acting on the second equipment and third equipment, generating a shared backpack according to all virtual articles in a backpack interface of the second equipment and a backpack interface of the third equipment, and displaying backpack interfaces corresponding to the shared backpack on the second equipment and the third equipment; responding to a second operation acted on a knapsack interface corresponding to the shared knapsack, and determining a third virtual item from all virtual items; using the third virtual item in response to the use instruction for the third virtual item.
In the embodiment of the present invention, two players may also directly generate a sharing backpack through the second touch operation of the second device and the third device without selecting a virtual item specifically desired to be shared, so that two players may directly use the virtual item in the sharing backpack.
Specifically, when the backpack interface is displayed in the second device and the third device, the player may directly touch the second device with the third device, and when it is detected that the time for which the second device and the third device are touched is longer than a second preset time, it is determined that a second touch operation applied to the second device and the third device is received, so as to generate the shared backpack in response to the second touch operation. The second preset duration can be longer than the first preset duration, namely, the player can trigger the generation of the sharing backpack through the second touch operation for a long time, and the virtual prop sharing is directly carried out through the first touch operation for a short time.
In a specific implementation, after receiving a second touch operation acting on the second device and the third device, in response to the second touch operation, a shared backpack may be generated according to all virtual items in a backpack interface of the second device and a backpack interface of the third device, and a backpack interface corresponding to the shared backpack may be displayed on the second device and the third device. Further, the two players can directly select the virtual goods to be used from the shared knapsack through a second operation of acting on the knapsack interface corresponding to the shared knapsack. The second operation may include a click operation, a double click operation, a long press operation, or the like, which is not limited in this embodiment of the present invention. And determining a third virtual item from all the virtual items by responding to a second operation acting on the backpack interface corresponding to the shared backpack, and further using the third virtual item by responding to a use instruction for the third virtual item.
In a preferred embodiment of the present invention, the method further comprises:
and responding to the operation of separating touch of the second equipment and the third equipment, and canceling to display the backpack interface corresponding to the shared backpack on the second equipment and the third equipment.
In the embodiment of the invention, after the backpack sharing is completed, the player can cancel the backpack sharing by performing the operation of separating and touching the second device and the third device. Specifically, after it is detected that the distance between the second device and the third device is greater than the preset distance threshold, it is equivalent to receiving a detachment touch operation acting on the second device and the third device, and by responding to the detachment touch operation, the backpack interfaces corresponding to the shared backpack are cancelled and displayed on the second device and the third device, and the respective backpack interfaces of the two players are respectively displayed.
In a preferred embodiment of the present invention, the method further comprises:
determining a fourth virtual item in response to a third operation acting on the backpack interface of the second device and/or the backpack interface of the third device; setting the fourth virtual item to a locked state in response to a lock instruction for the fourth virtual item.
In embodiments of the invention, there may be some virtual items that the player does not want to share, in which case the player may lock the virtual item to avoid being used by other players while sharing the backpack.
Specifically, the player selects a virtual item to be locked from the backpack interface of the second device by performing a third operation on the backpack interface of the second device, and/or selects a virtual item to be locked from the backpack interface of the third device by performing a third operation on the backpack interface of the third device, where the third operation may include a click operation, a double click operation, a long press operation, or the like, and this is not limited in the embodiments of the present invention.
After receiving a third operation acting on the backpack interface of the second device and/or the backpack interface of the third device, determining a fourth virtual item by responding to the third operation, and further, setting the fourth virtual item to a locked state by responding to a locking instruction for the fourth virtual item. In a specific implementation, after the fourth virtual article is selected, a locking control corresponding to the fourth virtual article may be displayed, and the player may initiate a locking instruction for the fourth virtual article by clicking the locking control, or, after the fourth virtual article is selected, may initiate a locking instruction for the fourth virtual article by a specified operation (e.g., a long-press operation, a re-press operation, a double-click operation, or the like) acting on the fourth virtual article.
It should be noted that the locking operation of the virtual item by the player may be performed at any time, that is, before or after sharing the backpack, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, the player can unlock the virtual article in the locked state so as to release the locked state of the virtual article. Specifically, the player may initiate an unlocking instruction for the virtual item in the locked state for a specified operation (e.g., a long-press operation or a heavy-press operation or a double-click operation) acting on the virtual item in the locked state, so as to release the locked state of the virtual item; or triggering and displaying an unlocking control corresponding to the virtual article in the locked state, and further clicking the unlocking control to initiate an unlocking instruction for the virtual article in the locked state, so as to release the locked state of the virtual article.
In a preferred embodiment of the present invention, the method further comprises:
when the backpack interfaces corresponding to the shared backpack are displayed on the second device and the third device, a preset identifier is displayed at the position where the fourth virtual article is located, and the preset identifier is used for indicating that the virtual article is locked.
In the embodiment of the present invention, when the backpack interfaces corresponding to the shared backpack are displayed on the second device and the third device, a preset identifier may be further displayed at a position where the fourth virtual item is located, where the preset identifier is used to indicate that the virtual item is locked, so that the player may recognize the virtual item in the locked state through the preset identifier.
In a preferred embodiment of the present invention, the step 103 may comprise the following sub-steps:
using the third virtual article when the third virtual article is in an unlocked state in response to a use instruction for the third virtual article; or, when the third virtual article is in a locked state, the third virtual article is not used.
In the embodiment of the present invention, when a response is made to a use instruction of a third virtual article, it may be determined whether the third virtual article is in a locked state, and when the third virtual article is in an unlocked state, the third virtual article may be used; or, when the third virtual article is in a locked state, the third virtual article may be cancelled.
To explain the embodiment of the present invention more clearly, as shown in fig. 2, it is a schematic diagram of an architecture of a virtual item sharing system, which includes a player a and a player B, wherein the player a operates a master device and a slave device, and the player B also operates a master device and a slave device. On the auxiliary equipment, the prop module is displayed based on the distributed display technology of the Hongmon operating system, namely, a backpack interface is displayed, the player A and the player B can select virtual articles to be shared on the auxiliary equipment, and the virtual articles are shared by touching the two auxiliary equipment, so that the operation is simple and convenient.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a virtual article sharing apparatus according to an embodiment of the present invention is shown, and is applied to a hong meng operating system, where the hong meng operating system is deployed in a first device and a second device, and the apparatus may specifically include the following modules:
a backpackinterface display module 301, configured to run a game through the first device, and display a backpack interface of the game on the second device based on the hong meng operating system; wherein the backpack interface includes at least one virtual item therein;
a first virtualitem determination module 302, configured to determine a first virtual item from the at least one virtual item in response to a first operation acting on a backpack interface of the second device;
a first virtualarticle sharing module 303, configured to share the first virtual article with a third device in response to a first touch operation that acts on the second device and the third device; wherein the third device is a secondary device manipulated by a second user.
In a preferred embodiment of the present invention, the apparatus further comprises:
a first virtual item usage module to use the first virtual item in response to a usage instruction for the first virtual item.
In a preferred embodiment of the present invention, the first virtualarticle sharing module 303 includes:
the first sharing sub-module is configured to share the first virtual item to the third device and share the second virtual item to the second device when a selected second virtual item exists in a backpack interface of the third device in response to a first touch operation that acts on the second device and the third device.
In a preferred embodiment of the present invention, the first virtualarticle sharing module 303 includes:
the receiving control display sub-module is used for responding to a first touch operation acting on the second equipment and third equipment, and displaying a receiving control in the third equipment when a selected second virtual article does not exist in a backpack interface of the third equipment;
and the second sharing submodule is used for responding to the triggering operation acted on the receiving control and sharing the first virtual article to the third equipment.
In a preferred embodiment of the present invention, the first virtualarticle sharing module 303 further includes:
a reject control display sub-module configured to display a reject control in the third device;
and the sharing cancellation submodule is used for responding to the triggering operation acted on the rejection control and canceling the sharing of the first virtual article to the third equipment.
In a preferred embodiment of the present invention, the apparatus further comprises:
a shared backpack generating module, configured to generate a shared backpack according to all virtual items in a backpack interface of the second device and a backpack interface of a third device in response to a second touch operation acting on the second device and the third device, and display backpack interfaces corresponding to the shared backpack on the second device and the third device;
a third virtual item determination module, configured to determine a third virtual item from all virtual items in response to a second operation acting on a backpack interface corresponding to the shared backpack;
a third virtual item usage module to use the third virtual item in response to a usage instruction for the third virtual item.
In a preferred embodiment of the present invention, the apparatus further comprises:
and the shared backpack cancelling module is used for responding to the operation of separating the second equipment from the third equipment and cancelling display of a backpack interface corresponding to the shared backpack on the second equipment and the third equipment.
In a preferred embodiment of the present invention, the apparatus further comprises:
a fourth virtual item determination module for determining a fourth virtual item in response to a third operation acting on the backpack interface of the second device and/or the backpack interface of the third device;
a fourth virtual item locking module, configured to set the fourth virtual item to a locked state in response to a lock instruction for the fourth virtual item.
In a preferred embodiment of the present invention, the apparatus further comprises:
and the locking identifier display module is used for displaying a preset identifier at the position of the fourth virtual article when the backpack interfaces corresponding to the shared backpack are displayed on the second device and the third device, wherein the preset identifier is used for indicating that the virtual article is locked.
In a preferred embodiment of the present invention, the first virtualarticle sharing module 303 includes:
a third sharing sub-module, configured to respond to a use instruction for the third virtual item, and use the third virtual item when the third virtual item is in a non-locked state; or, when the third virtual article is in a locked state, the third virtual article is not used.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including:
aprocessor 401 and astorage medium 402, wherein thestorage medium 402 stores machine-readable instructions executable by theprocessor 401, and when the electronic device is operated, theprocessor 401 executes the machine-readable instructions to perform the method according to any one of the embodiments of the present invention. The specific implementation and technical effects are similar, and are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, as shown in fig. 5, where acomputer program 501 is stored on the storage medium, and when executed by a processor, thecomputer program 501 performs the method according to any one of the embodiments of the present invention. The specific implementation and technical effects are similar, and are not described herein again.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The virtual article sharing method and the virtual article sharing device provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (13)

Translated fromChinese
1.一种虚拟物品分享方法,其特征在于,应用于鸿蒙操作系统中,所述鸿蒙操作系统部署于第一设备和第二设备中,所述方法包括:1. A method for sharing virtual items, characterized in that it is applied in a HarmonyOS operating system, and the HarmonyOS operating system is deployed in a first device and a second device, and the method comprises:通过所述第一设备运行游戏,并基于所述鸿蒙操作系统在所述第二设备上显示所述游戏的背包界面;其中,所述背包界面中包含至少一个虚拟物品;Run the game through the first device, and display the backpack interface of the game on the second device based on the Hongmeng operating system; wherein, the backpack interface includes at least one virtual item;响应作用于所述第二设备的背包界面上的第一操作,从所述至少一个虚拟物品中确定第一虚拟物品;determining a first virtual item from the at least one virtual item in response to a first operation acting on the backpack interface of the second device;响应作用于所述第二设备与第三设备的第一触碰操作,将所述第一虚拟物品分享至所述第三设备;其中,所述第三设备是第二用户操控的副设备。In response to a first touch operation acting on the second device and the third device, the first virtual item is shared with the third device; wherein the third device is a secondary device operated by a second user.2.根据权利要求1所述的方法,其特征在于,在所述响应作用于所述第二设备的背包界面上的第一操作,从所述至少一个虚拟物品中确定第一虚拟物品的步骤之后,所述方法还包括:2. The method of claim 1, wherein in the step of determining a first virtual item from the at least one virtual item in response to a first operation on a backpack interface acting on the second device Afterwards, the method further includes:响应针对所述第一虚拟物品的使用指令,使用所述第一虚拟物品。The first virtual item is used in response to a use instruction for the first virtual item.3.根据权利要求1所述的方法,其特征在于,所述响应作用于所述第二设备与第三设备的第一触碰操作,将所述第一虚拟物品分享至所述第三设备,包括:3 . The method of claim 1 , wherein the first virtual item is shared to the third device in response to a first touch operation on the second device and the third device. 4 . ,include:响应作用于所述第二设备与第三设备的第一触碰操作,当所述第三设备的背包界面中存在被选中第二虚拟物品时,将所述第一虚拟物品分享至所述第三设备,并将所述第二虚拟物品分享至所述第二设备。In response to the first touch operation acting on the second device and the third device, when the selected second virtual item exists in the backpack interface of the third device, the first virtual item is shared with the third device. three devices, and share the second virtual item to the second device.4.根据权利要求1所述的方法,其特征在于,所述响应作用于所述第二设备与第三设备的第一触碰操作,将所述第一虚拟物品分享至所述第三设备,包括:4 . The method of claim 1 , wherein the first virtual item is shared to the third device in response to a first touch operation acting on the second device and the third device. 5 . ,include:响应作用于所述第二设备与第三设备的第一触碰操作,当所述第三设备的背包界面中不存在被选中第二虚拟物品时,在所述第三设备中显示接收控件;In response to the first touch operation acting on the second device and the third device, when the selected second virtual item does not exist in the backpack interface of the third device, displaying a receiving control in the third device;响应作用于所述接收控件的触发操作,将所述第一虚拟物品分享至所述第三设备。The first virtual item is shared with the third device in response to a triggering operation acting on the receiving control.5.根据权利要求4所述的方法,其特征在于,所述响应作用于所述第二设备与第三设备的第一触碰操作,将所述第一虚拟物品分享至所述第三设备,还包括:5 . The method of claim 4 , wherein the first virtual item is shared to the third device in response to a first touch operation acting on the second device and the third device. 6 . ,Also includes:在所述第三设备中显示拒绝控件;displaying a rejection control in the third device;响应作用于所述拒绝控件的触发操作,取消将所述第一虚拟物品分享至所述第三设备。In response to a triggering operation acting on the reject control, canceling the sharing of the first virtual item to the third device.6.根据权利要求1所述的方法,其特征在于,在所述响应作用于所述第二设备中背包界面的第一操作,从所述至少一个虚拟物品中确定第一虚拟物品的步骤之前,所述方法还包括:6. The method of claim 1, wherein prior to the step of determining a first virtual item from the at least one virtual item in response to a first operation acting on a backpack interface in the second device , the method also includes:响应作用于所述第二设备与第三设备的第二触碰操作,根据所述第二设备的背包界面和所述第三设备的背包界面中所有的虚拟物品,生成共享背包,在所述第二设备和第三设备上显示所述共享背包对应的背包界面;In response to the second touch operation acting on the second device and the third device, generate a shared backpack according to all the virtual items in the backpack interface of the second device and the backpack interface of the third device, and in the The backpack interface corresponding to the shared backpack is displayed on the second device and the third device;响应作用于所述共享背包对应的背包界面的第二操作,从所有的虚拟物品中确定第三虚拟物品;determining a third virtual item from all virtual items in response to the second operation acting on the backpack interface corresponding to the shared backpack;响应针对所述第三虚拟物品的使用指令,使用所述第三虚拟物品。The third virtual item is used in response to a use instruction for the third virtual item.7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, wherein the method further comprises:响应作用于所述第二设备与第三设备的脱离触碰操作,在所述第二设备和第三设备上取消显示所述共享背包对应的背包界面。In response to the out-of-touch operation acting on the second device and the third device, the backpack interface corresponding to the shared backpack is canceled on the second device and the third device.8.根据权利要求6所述的方法,其特征在于,所述方法还包括:8. The method according to claim 6, wherein the method further comprises:响应作用于所述第二设备的背包界面和/或所述第三设备的背包界面的第三操作,确定第四虚拟物品;determining a fourth virtual item in response to a third operation acting on the backpack interface of the second device and/or the backpack interface of the third device;响应针对所述第四虚拟物品的锁定指令,将所述第四虚拟物品设置为锁定状态。In response to the locking instruction for the fourth virtual item, the fourth virtual item is set to a locked state.9.根据权利要求8所述的方法,其特征在于,所述方法还包括:9. The method according to claim 8, wherein the method further comprises:在所述第二设备和第三设备上显示所述共享背包对应的背包界面时,在所述第四虚拟物品所在的位置显示预设标识,所述预设标识用于指示虚拟物品被锁定。When the backpack interface corresponding to the shared backpack is displayed on the second device and the third device, a preset identifier is displayed at the position where the fourth virtual item is located, and the preset identifier is used to indicate that the virtual item is locked.10.根据权利要求6所述的方法,其特征在于,所述响应针对所述第三虚拟物品的使用指令,使用所述第三虚拟物品,包括:10 . The method according to claim 6 , wherein, using the third virtual item in response to a use instruction for the third virtual item comprises: 10 .响应针对所述第三虚拟物品的使用指令,当所述第三虚拟物品为非锁定状态时,使用所述第三虚拟物品;或,当所述第三虚拟物品为锁定状态时,取消使用所述第三虚拟物品。In response to the use instruction for the third virtual item, when the third virtual item is in an unlocked state, use the third virtual item; or, when the third virtual item is in a locked state, cancel the use of all the third virtual item.11.一种虚拟物品分享装置,其特征在于,应用于鸿蒙操作系统中,所述鸿蒙操作系统部署于第一设备和第二设备中,所述装置包括:11. A virtual item sharing device, characterized in that it is applied in a Hongmeng operating system, and the Hongmeng operating system is deployed in a first device and a second device, and the device comprises:背包界面显示模块,用于通过所述第一设备运行游戏,并基于所述鸿蒙操作系统在所述第二设备上显示所述游戏的背包界面;其中,所述背包界面中包含至少一个虚拟物品;A backpack interface display module, configured to run the game through the first device, and display the backpack interface of the game on the second device based on the Hongmeng operating system; wherein the backpack interface includes at least one virtual item ;第一虚拟物品确定模块,用于响应作用于所述第二设备的背包界面上的第一操作,从所述至少一个虚拟物品中确定第一虚拟物品;a first virtual item determination module, configured to determine a first virtual item from the at least one virtual item in response to a first operation acting on the backpack interface of the second device;第一虚拟物品分享模块,用于响应作用于所述第二设备与第三设备的第一触碰操作,将所述第一虚拟物品分享至所述第三设备;其中,所述第三设备是第二用户操控的副设备。a first virtual item sharing module, configured to share the first virtual item to the third device in response to a first touch operation acting on the second device and the third device; wherein the third device It is a secondary device operated by the second user.12.一种电子设备,其特征在于,包括:12. An electronic device, characterized in that, comprising:处理器和存储介质,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器执行所述机器可读指令,以执行如权利要求1-10任一项所述的方法。A processor and a storage medium, where the storage medium stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor executes the machine-readable instructions, so as to execute the instructions of claims 1-10 The method of any one.13.一种计算机可读存储介质,其特征在于,所述存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1-10任一项所述的方法。13. A computer-readable storage medium, wherein a computer program is stored on the storage medium, and the computer program is executed by a processor to execute the method according to any one of claims 1-10.
CN202111455815.5A2021-12-012021-12-01Virtual article sharing method and devicePendingCN114130028A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111455815.5ACN114130028A (en)2021-12-012021-12-01Virtual article sharing method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111455815.5ACN114130028A (en)2021-12-012021-12-01Virtual article sharing method and device

Publications (1)

Publication NumberPublication Date
CN114130028Atrue CN114130028A (en)2022-03-04

Family

ID=80386860

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111455815.5APendingCN114130028A (en)2021-12-012021-12-01Virtual article sharing method and device

Country Status (1)

CountryLink
CN (1)CN114130028A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2023221730A1 (en)*2022-05-202023-11-23腾讯科技(深圳)有限公司Virtual prop sharing method and apparatus, device, and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060223635A1 (en)*2005-04-042006-10-05Outland Research method and apparatus for an on-screen/off-screen first person gaming experience
CN1933883A (en)*2004-03-222007-03-21任天堂株式会社Game apparatus, game program, memory medium where game program is stored, and game control method
CN103357177A (en)*2010-10-122013-10-23索尼计算机娱乐公司Using a portable gaming device to record or modify a game or application in real-time running on a home gaming system
CN108159688A (en)*2017-12-282018-06-15努比亚技术有限公司Interface sharing method, mobile terminal and computer readable storage medium
CN108744499A (en)*2018-02-112018-11-06腾讯科技(深圳)有限公司Processing method, device, storage medium and the electronic device of object
CN109432771A (en)*2018-09-302019-03-08网易(杭州)网络有限公司The transfer approach and device of game item
CN111195432A (en)*2018-11-202020-05-26腾讯科技(深圳)有限公司Object display method and device, storage medium and electronic device
US20210178278A1 (en)*2018-12-072021-06-17Tencent Technology (Shenzhen) Company LimitedMethod, apparatus, and storage medium for transferring virtual items

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1933883A (en)*2004-03-222007-03-21任天堂株式会社Game apparatus, game program, memory medium where game program is stored, and game control method
US20060223635A1 (en)*2005-04-042006-10-05Outland Research method and apparatus for an on-screen/off-screen first person gaming experience
CN103357177A (en)*2010-10-122013-10-23索尼计算机娱乐公司Using a portable gaming device to record or modify a game or application in real-time running on a home gaming system
CN108159688A (en)*2017-12-282018-06-15努比亚技术有限公司Interface sharing method, mobile terminal and computer readable storage medium
CN108744499A (en)*2018-02-112018-11-06腾讯科技(深圳)有限公司Processing method, device, storage medium and the electronic device of object
CN109432771A (en)*2018-09-302019-03-08网易(杭州)网络有限公司The transfer approach and device of game item
CN111195432A (en)*2018-11-202020-05-26腾讯科技(深圳)有限公司Object display method and device, storage medium and electronic device
US20210178278A1 (en)*2018-12-072021-06-17Tencent Technology (Shenzhen) Company LimitedMethod, apparatus, and storage medium for transferring virtual items

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
孟昊雨: "《网络新媒体营销与技术》", 31 August 2021, 中国商务出版社, pages: 361*
小甜甜: "《"电玩游戏"与"智能手表":可穿戴技术对改变游戏面貌意味着什么》", pages 4, Retrieved from the Internet <URL:https://www.leiphone.com/category/zhuanlan/myZnDBpu6vdTwJK3.html>*
激战猫与激战喵: "《胡言乱语说激战2(吐槽之花钱篇)》", pages 3, Retrieved from the Internet <URL:https://www.bilibili.com/read/cv5607976/>*
马莉婷: "《电子商务概论》", 30 April 2019, 北京理工大学出版社, pages: 244*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2023221730A1 (en)*2022-05-202023-11-23腾讯科技(深圳)有限公司Virtual prop sharing method and apparatus, device, and computer readable storage medium

Similar Documents

PublicationPublication DateTitle
US11776352B2 (en)Graphical user interface for a gaming system
US10661171B2 (en)Information processing method, terminal, and computer storage medium
WO2016023971A1 (en)Selecting objects on a user interface
CN114130028A (en)Virtual article sharing method and device
CN114159773B (en)Information processing method and device in game
JP6815359B2 (en) Game programs, methods, and information processing equipment
KR102369256B1 (en)Method for providing user interface and terminal for executing the same
CN116474366A (en)Display control method, display control device, electronic apparatus, storage medium, and program product
CN113926186A (en) Method, device and touch terminal for selecting virtual object in game
JP6761834B2 (en) Programs, methods, and information processing equipment
KR102369251B1 (en)Method for providing user interface and terminal for executing the same
JP6761835B2 (en) Programs, methods, and information processing equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20220304


[8]ページ先頭

©2009-2025 Movatter.jp