Virtual room decoration method, device, equipment, and program
The method enhances virtual room decoration efficiency by allowing users to preview and purchase props through room switching and placement, addressing the inefficiencies of large prop lists in virtual worlds.
Patent Information
- Application Number
- JP2024523970
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-01-28
- Filing Date
- 2022-11-15
- Publication Date
- 2024-11-13
- Estimated Expiration
- 2042-11-15
AI Technical Summary
In virtual worlds, selecting a target prop from a large list of product designs in a virtual mall leads to low human-computer interaction efficiency due to the time-consuming decision-making process.
A method and device that allows a user to preview and purchase target props by switching between virtual rooms, controlling a virtual character to enter and exit rooms, and placing props in their own room, enhancing interaction efficiency.
This approach reduces selection time and improves interaction efficiency by providing a physical preview effect, guiding purchase strategies, and minimizing invalid interactions, thus optimizing system resource response.
Smart Images

Figure 2024541892000001_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of virtual worlds, and in particular to the decoration of virtual rooms.
[0002] This application claims priority to a Chinese patent application filed with the China Patent Office on January 28, 2022, bearing application number 202210108624.X and entitled "Virtual Room Decoration Method, Apparatus, Equipment, and Medium," the entire contents of which are incorporated herein by reference. [Background technology]
[0003] In virtual worlds, target props (wherein "props" may also be commonly referred to as "tools", "items", etc.) may typically be offered for sale for players to enhance their experience.
[0004] In the related technology, after entering the virtual mall, a player can select according to the product designs displayed in a target prop list, and after determining the selected target prop, the player can obtain the corresponding target prop by performing a purchase operation.
[0005] In the target prop list, a relatively large number of product designs of target props are usually listed, so that it takes a relatively long time for a player to determine a required target prop, which leads to a relatively low human-computer interaction efficiency. Summary of the Invention [Problem to be solved by the invention]
[0006] The embodiments of the present application provide a method, device, equipment, medium, and program product for decorating a virtual room, and through displaying at least one target prop arranged in a second virtual room, allow a first account to intuitively obtain the usage status of the target prop in the second virtual room, and arrange it in the first virtual room belonging to the first account, thereby improving human-computer interaction efficiency. The above technical solutions are as follows:
[0007] According to one aspect of the present application, there is provided a method for decorating a virtual room, the method comprising: displaying a first virtual room and a first virtual character located in the first virtual room, the first virtual room and the first virtual character belonging to a first account; In response to a first switching operation for entering a second virtual room, displaying a second virtual room and controlling the first virtual character to enter the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the second virtual room; displaying a purchase interface for the target prop in response to a selection operation for the target prop in the at least one virtual prop; In response to a purchase operation on the purchase interface, obtaining the target prop as a virtual prop owned by the first account; In response to a second switching operation for returning to the first virtual room, controlling the first virtual character to return to the first virtual room; and placing the target prop in the first virtual room in response to a placement operation on the target prop.
[0008] According to one aspect of the present application, there is provided a method for decorating a virtual room, the method comprising: receiving an identifier of a first virtual room sent from a client, the client being logged in with a first account; sending first room data of a first virtual room to the client, the first room data being used by the client to display the first virtual room and a first virtual character located in the first virtual room, the first virtual room and the first virtual character belonging to a first account; receiving a first room switching request sent from the client and sending second room data of a second virtual room to the client, the second room data being used by the client to display the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the first virtual room; receiving a purchase request for a target prop sent by a client; granting ownership of the target prop to the first account in response to the purchase request satisfying the purchase condition; receiving a second room switching request transmitted from the client, and transmitting the first room data again to the client; receiving a placement request sent from the client and sending a placement instruction to the client, the placement instruction being used by the client to place the target prop in the first virtual room.
[0009] According to one aspect of the present application, there is provided a virtual room decoration device, the device comprising: A display module for displaying a first virtual room and a first virtual character, the first virtual room and the first virtual character belonging to a first account; a response module for displaying a second virtual room and controlling a first virtual character to enter the second virtual room in response to a first switching operation for entering the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the second virtual room; The response module is further used for displaying a purchase interface for the target prop in response to a selection operation of the target prop in the at least one virtual prop; The response module is further used for obtaining the target prop as a virtual prop owned by the first account in response to a purchase operation on the purchase interface; The response module is further used for controlling the first virtual character to return to the first virtual room in response to a second switching operation for returning to the first virtual room; The response module is further used for placing the target prop in the first virtual room in response to a placement operation on the target prop.
[0010] According to an aspect of the present application, there is provided a decoration device for a virtual room, the decoration device including: a receiving module, a transmitting module, and a responding module; The receiving module is used for receiving an identifier of a first virtual room sent from a client, and the client logs in with a first account; The sending module is used for sending first room data of a first virtual room to the client, the first room data is used for the client to display the first virtual room and a first virtual character, the first virtual room and the first virtual character belong to a first account; The receiving module is further used for receiving a first room switching request sent from the client, and sending second room data of a second virtual room to the client, the second room data being used by the client to display the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the first virtual room; The receiving module is further used for receiving a purchase request for a target prop sent from a client; the response module is adapted to grant ownership of the target prop to the first account in response to the purchase request satisfying a purchase condition; The receiving module is further used for receiving a second room switching request sent from the client and sending the first room data to the client again; The receiving module is further used for receiving a placement request sent by a client, and sending a placement instruction to the client, where the placement instruction is used by the client to place the target prop in the first virtual room.
[0011] According to one aspect of the present application, a computer device is provided, the computer device including a processor and a memory, the memory having at least one computer program stored therein, the at least one computer program being loaded and executed by the processor to realize the method for decorating the virtual room.
[0012] According to one aspect of the present application, a computer-readable storage medium is provided, the storage medium having a computer program stored therein, the computer program being used to realize the method for decorating the virtual room when executed by a processor.
[0013] According to one aspect of the present application, a chip is provided, the chip including programmable logic circuits and / or program instructions, the chip being adapted, when in operation, to implement the method for decorating a virtual room.
[0014] According to one aspect of the present application, there is provided a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, and a processor reading and executing the computer instructions from the computer-readable storage medium to realize the method for decorating the virtual room.
[0015] The beneficial effects brought about by the technical solutions provided by the embodiments of the present application at least include:
[0016] For a first virtual character displayed in a first virtual room, the first virtual room and the first virtual character belong to a first account, and the first virtual character can be controlled to enter a second virtual room in response to a first switching operation. When a target prop arranged in a second virtual room is selected, a corresponding purchase interface is displayed, and after the first account acquires ownership of the target prop through a purchase operation, the first virtual character can be controlled to return to the first virtual room and place the target prop therein. Thus, by setting up different virtual rooms and placing virtual props in the virtual rooms, a real preview effect of the target prop can be provided for the first account, thereby reducing the time taken by the first account to select a target prop and improving the efficiency of human-computer interaction. Also, the placement effect can be easily determined based on the preview effect, which effectively guides the purchase strategy and reduces a large number of invalid interactions due to purchase selection in the related art, thereby improving the system resource response efficiency. [Brief description of the drawings]
[0017] [Figure 1] FIG. 2 is a structural schematic diagram of a terminal provided by an exemplary embodiment of the present application; [Diagram 2] FIG. 2 is a structural block diagram of a computer system provided by one exemplary embodiment of the present application. [Diagram 3] FIG. 2 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. [Figure 4] 1 is a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application. [Diagram 5] 1 is a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application. [Figure 6] FIG. 2 is a schematic diagram of an interface provided by one exemplary embodiment of the present application. [Figure 7] FIG. 2 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. [Figure 8] FIG. 2 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. [Figure 9] FIG. 2 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. [Figure 10] 1 is a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application. [Figure 11] FIG. 2 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. [Figure 12] FIG. 2 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. [Figure 13] FIG. 2 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. [Figure 14] 1 is a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application. [Figure 15] 1 is a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application. [Figure 16] 1 is a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application. [Figure 17] 4 is a flowchart for splitting a candidate room pool provided by one exemplary embodiment of the present application. [Figure 18] 1 is a flowchart of entering a virtual room provided by one exemplary embodiment of the present application; [Figure 19] FIG. 1 is a schematic diagram of a virtual room decoration device provided by one exemplary embodiment of the present application; [Figure 20] FIG. 1 is a schematic diagram of a virtual room decoration device provided by one exemplary embodiment of the present application; [Figure 21] FIG. 2 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] In order to make the objectives, technical solutions and advantages of the present application clearer, the following will describe the embodiments of the present application in more detail in conjunction with the drawings.
[0019] The method provided in the present application can be applied to an application program having a virtual room and a virtual character. Exemplarily, the application program supporting the virtual room is an application program in which a user can control a virtual character to move in the virtual room. Exemplarily, the method provided in the present application can be applied to any one of a Virtual Reality (VR) application program, an Augmented Reality (AR) program, a three-dimensional map program, a virtual reality game, and an augmented reality game.
[0020] In some embodiments, the application program may be a program for a disguise type game, a dress-up type game, a role-playing type game, etc. The client may support at least one of the following operating systems: a Windows operating system, an Apple operating system, an Android operating system, an IOS operating system, and a LINUX operating system, and clients of different operating systems may interconnect and communicate with each other. In some embodiments, the client is a program applicable to a mobile terminal having a touch screen.
[0021] In some embodiments, the client is an application program developed based on a 3D engine, for example the 3D engine is the Unity engine.
[0022] The terminal in this application may be a desktop computer, a portable laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, and an MP4 (Moving Picture Experts Group Audio Layer IV) player, etc. A client supporting a virtual room is installed and operated in the terminal. The application program may be one of a virtual reality application program and an augmented reality program. Alternatively, the application program may be a standalone version of the application program, such as a standalone version of a 3D game program, and a network online version of the application program.
[0023] 1 is a structural schematic diagram of a terminal provided by an exemplary embodiment of the present application. The terminal includes a processor 101, a touch screen 102, and a memory 103.
[0024] The processor 101 may be at least one of a single-core processor, a multi-core processor, an embedded chip, and a processor having instruction operation capabilities.
[0025] The touch screen 102 may include a conventional touch screen or a pressure-sensitive touch screen. A conventional touch screen may be capable of measuring pressure or swiping actions applied on the touch screen 102, and a pressure-sensitive touch screen may be capable of measuring pressure applied on the touch screen 102.
[0026] The memory 103 stores an executable program of the processor 101. Schematically, the memory 103 stores a virtual environment program A, an application program B, an application program C, a touch pressure sensing module 18, and a kernel layer 19 of an operating system. Here, the virtual environment program A is an application program developed based on the three-dimensional virtual environment module 17. Optionally, the virtual environment program A includes, but is not limited to, at least one of a game program, a virtual reality program, a three-dimensional map program, and a three-dimensional demonstration program developed by the three-dimensional virtual environment module (also called a virtual environment module) 17. For example, when the operating system of the terminal adopts the Android operating system, the virtual environment program A is developed by adopting the Java programming language and the C# language, and also, for example, when the operating system of the terminal adopts the IOS operating system, the virtual environment program A is developed by adopting the Object-C programming language and the C# language.
[0027] The three-dimensional virtual environment module 17 is one module that supports a plurality of types of operating system platforms, and typically the three-dimensional virtual environment module can be used in program development in various fields, such as game development, virtual reality (VR), and three-dimensional map fields. In the embodiments of the present application, the specific type of the three-dimensional virtual environment module 17 is not limited, and in the following embodiments, an example will be described in which the three-dimensional virtual environment module 17 is a module developed using the Unity engine.
[0028] The touch (and pressure) sensing module 18 is used to receive touch events (and pressure touch control events) reported by the touch screen driver program 191. Optionally, the touch sensing module may not have pressure sensing function and may not receive pressure touch control events. The touch event includes a type of touch event and a coordinate value, and the type of touch event includes but is not limited to a touch start event, a touch move event, and a touch down event. The pressure touch control event includes a pressure value of the pressure touch control event and a coordinate value. The coordinate value is used to indicate the touch control position on the display screen of the pressure touch control operation. Optionally, the horizontal direction of the display screen is established as the abscissa axis, and the vertical direction of the display screen is established as the ordinate axis to obtain a two-dimensional coordinate system.
[0029] Schematically, the kernel layer 19 includes a touchscreen driver program 191 and another driver program 192. The touchscreen driver program 191 is a module used for detecting a pressure touch control event, and after detecting the pressure touch control event, the touchscreen driver program 191 transmits the pressure touch control event to the pressure sensing module 18.
[0030] The other driver programs 192 may be a driver program associated with the processor 101, a driver program associated with the memory 103, a driver program associated with a network assembly, a driver program associated with a sound assembly, and so on.
[0031] Those skilled in the art can know that the above is only a general description of the structure of the terminal. In different embodiments, the terminal may have more or less assemblies. For example, the terminal may further include a gravity acceleration sensor, a gyroscope sensor, a power source, etc.
[0032] FIG. 2 shows a structural block diagram of a computer system provided by one exemplary embodiment of the present application, where the computer system 200 includes a terminal 210 and a server cluster 220 .
[0033] A client 211 supporting a virtual room is installed and operated on the terminal 210, and the client 211 may be an application program supporting a virtual room. Here, the client 211 may be an application program supporting a social function and a virtual room, and the social function is a function in the form of instant messaging, microblogging, blogging, public account, online meeting, live broadcasting, etc. based on a network.
[0034] When the terminal operates the client 211, the terminal 210 displays a user interface of the client 211 on the screen of the terminal 210. The terminal 210 is a terminal used by the first user 212, and the first user 212 uses the terminal 210 to control a first virtual character located in a virtual room to perform an action. The first virtual character may be referred to as the first virtual character of the first user 212. The action of the first virtual character includes, but is not limited to, at least one of adjusting a body posture, crawling, walking, running, jumping, and picking up. Schematically, the first virtual character is a first virtual character, for example, a simulation human character or an animation human character.
[0035] The device types of terminal 210 include at least one of a smart phone, a tablet computer, an electronic book reader, an MP3 player, an MP4 player, a portable laptop computer, and a desktop computer.
[0036] Although only one terminal is shown in FIG. 2, there are multiple other terminals 240 in different embodiments. In some embodiments, there is at least one other terminal 240 that is a terminal corresponding to a developer, and a virtual environment client development and editing platform is installed on the other terminal 240. The developer can edit and update the client on the other terminal 240, and the updated client installation package can be transmitted to the server cluster 220 via a wired or wireless network. The terminal 210 can download the client installation package from the server cluster 220 to realize the update to the client.
[0037] The terminal 210 and other terminals 240 are connected to the server cluster 220 through a wireless network or a wired network.
[0038] The server cluster 220 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The server cluster 220 is used to provide background services for clients supporting a three-dimensional virtual environment. Optionally, the server cluster 220 undertakes main computing tasks, and the terminal undertakes secondary computing tasks; or the server cluster 220 undertakes secondary computing tasks, and the terminal undertakes main computing tasks; or a distributed computing architecture is adopted between the server cluster 220 and the terminal to perform collaborative computing.
[0039] Optionally, the terminal and the server are both computer devices.
[0040] In one schematic example, the server cluster 220 includes a server 221 and a server 226, and the server 221 includes a processor 222, a user account database 223, a combat service module 224, and a user-oriented input / output interface (I / O interface) 225. Here, the processor 222 is used to load instructions stored in the server 221 and process data in the user account database 223 and the combat service module 224, and the user account database 223 is used to store data of user accounts used in the terminal 210 and other terminals 240, such as the avatar of the user account, the nickname of the user account, the combat effectiveness index of the user account, and the service area where the user account is located. The combat service module 224 is used to provide multiple battle rooms for users to battle, and the user-oriented I / O interface 225 is used to establish communication and exchange data with the terminal 210 through a wireless network or a wired network.
[0041] With the above introduction to the virtual environment and the description of the implementation environment, the method for decorating a virtual room provided by the embodiment of the present application will now be described.
[0042] FIG. 3 shows an interface schematic diagram of a virtual room decoration method provided by one exemplary embodiment of the present application.
[0043] In the display interface 310 of the first account, a first virtual room and a first virtual character 311 located in the first virtual room are displayed, and the first virtual room and the first virtual character 311 belong to the first account.
[0044] Here, the first account can control the movement of the first virtual character 311 in the second virtual room 310. For example, a player logged in to the first account can control the movement of the first virtual character 311 through a joystick.
[0045] In response to a first switching operation for entering the second virtual room, the second virtual room is displayed in the display interface 310. A room switching control 312 is selectably displayed in the display interface 310, and the first account performs a first switching operation in the room switching control 312 to display the second virtual room and simultaneously control the first virtual character 311 to enter the second virtual room.
[0046] Here, the second virtual room does not belong to the first account, and at least one virtual prop is placed in the second virtual room. The second virtual room is a three-dimensional virtual room constructed based on a three-dimensional virtual environment, and is used to simulate virtual rooms in the real world, the magical world, the fantasy world, the metaverse world, and other worlds.
[0047] Optionally, the second virtual room may be a virtual room freely selected by the first account, or may be a sample virtual room. For example, the second virtual room is a sample virtual room provided by the background system, and the sample virtual room is determined according to the preferences of the first account.
[0048] Schematically, the virtual prop refers to a virtual object that exists in the second virtual room and can be commercialized, for example, the virtual prop includes, but is not limited to, one or more of a display area of a virtual prop, a virtual furniture, a virtual pet, a virtual electric appliance, a virtual clothing, a virtual plant, a virtual food, a virtual transportation, a virtual house model, a virtual raw material, a virtual semi-finished product, a virtual device, and a virtual service.
[0049] For example, if the second virtual room is a virtual supermarket, various kinds of virtual daily necessities, virtual food, virtual electric appliances, virtual clothes, and other virtual props are arranged in the virtual supermarket; if the second virtual room is a virtual real estate sales center, a plurality of virtual house models are arranged in the virtual real estate sales center; if the second virtual room is a virtual car dealership, a plurality of virtual props such as virtual automobiles, virtual electric cars, and virtual skateboards are arranged in the virtual car dealership; if the second virtual room is a virtual bedroom, a virtual props such as a virtual single bed, a virtual wardrobe, a virtual dressing table, a virtual mirror, a virtual sofa, a virtual television, and a virtual desk lamp are arranged in the virtual bedroom.
[0050] 3, the second virtual room includes multiple virtual props. The following takes as an example that the target prop is a virtual drum set 313.
[0051] In response to a selection operation on the virtual drum set 313, a purchase interface 314 for the virtual drum set 313 is displayed. For example, the player single-clicks on the area where the virtual drum set 313 is located, and the purchase interface 314 is displayed below the virtual drum set 313.
[0052] At least one of the product name of the virtual drum set 313, the quantity of purchased resources, and the ownership status of the virtual drum set 313 of the first account is displayed on the purchase interface 314 in a selectable manner.
[0053] The display interface 310 further displays a prop option configuration of the virtual drum set 313 for selection. The player can perform a selection operation on the prop option configuration to change the prop parameters of the virtual drum set 313, the prop parameters including at least one of color, style, model number, size, and material. For example, the player selects the color of the virtual drum set 313 as reddish brown.
[0054] In response to a purchase operation on the purchase interface 314, the virtual drum set 313 is acquired as a virtual prop owned by the first account. For example, when the player logs into the first account, the player single-clicks an acquisition button on the purchase interface 314 to determine the virtual drum set 313 as a virtual prop owned by the first account.
[0055] Optionally, the second virtual room further displays a second virtual character 315 controlled by a room owner account, the room owner account being the owner account of the second virtual room, and the second virtual character 315 can be considered as a virtual owner of the second virtual room 310. The first account and the room owner account can interact and communicate with each other with respect to the virtual drum set 313, and in response to a control operation with respect to the first virtual character 313, chat information can be displayed on the display interface 310 in which the first virtual character 313 and the second virtual character 315 interact and communicate with each other with respect to the virtual drum set 313 in the second virtual room.
[0056] Similarly, the second virtual room further displays a third virtual character (not shown) selectably controlled by a fourth account, which is a guest account that enters the second virtual room. For the virtual drum set 313, the display interface 310 can further display chat information in which the first virtual character 313 and the third virtual character interact and interact with the virtual drum set 313 in the second virtual room.
[0057] Schematically, in response to a second switching operation to return to the first virtual room, the first virtual character 311 is controlled to return to the first virtual room, and then, in response to a target prop placement operation, the target prop is placed in the first virtual room.
[0058] FIG. 4 shows a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application, which is applied to a terminal logged in with a first account and includes the following steps:
[0059] Step 401: A first virtual room and a first virtual character located in the first virtual room are displayed.
[0060] Schematically, a first virtual room and a first virtual character belong to a first account.
[0061] Step 402: In response to a first switching operation for entering the second virtual room, the second virtual room is displayed, and the first virtual character is controlled to enter the second virtual room.
[0062] Schematically, the second virtual room does not belong to the first account, and at least one virtual prop is placed in the second virtual room.
[0063] Here, the second virtual room may be a virtual room freely selected by the first account, or may be a sample virtual room. For example, the second virtual room is a sample virtual room provided by the background system, and the sample virtual room is determined according to the history data of the first account. As another example, the first account freely selects from a plurality of candidate virtual rooms, and the virtual room selected by the first account is determined as the second virtual room.
[0064] Schematically, the virtual prop refers to a virtual object that exists in the second virtual room and can be commercialized, for example, the virtual prop is one or more of virtual furniture, virtual pets, virtual electrical appliances, virtual clothes, and virtual plants.
[0065] Here, the virtual props may be customized and laid out by a room owner account that owns the second virtual room, or may be laid out by default. For example, the second virtual room is a virtual room customized by a second account that has a friend relationship with the first account, and the virtual props arranged in the second virtual room are customized and laid out by the second account. As another example, the second virtual room is a sample virtual room provided by the background system, and the arrangement positions of the virtual props in the second virtual room are set by default.
[0066] Schematically, the first switching operation is used to realize display switching between the first virtual room and the second virtual room, and selectively, in response to the first switching operation on the room switching control, cancel the display of the first virtual room and display the second virtual room.
[0067] Step 403: In response to a selection operation on the target prop in the at least one virtual prop, a purchase interface for the target prop is displayed.
[0068] Schematically, the selection operation on the target prop includes, but is not limited to, at least one of a single click operation on the target prop, a double click operation on the target prop, a touch operation on the target prop, a swipe operation on the target prop, and a move operation toward the target prop.
[0069] As shown in Fig. 3, for example, the target prop is a virtual drum set 313, and in response to a single-click operation on the virtual drum set 313, a purchase interface 314 of the virtual drum set 313 is displayed. Here, the quantity of the purchase interface 314 can be determined according to actual needs. In Fig. 3, two purchase interfaces 314 are shown, which respectively indicate two different purchase methods of the virtual drum set 313.
[0070] Optionally, the target prop purchase method may include, but is not limited to, at least one of purchasing by using virtual resources, purchasing by using virtual coupons, purchasing through completing a specified task, and realizing the purchase through receiving a gift from a friend's account.
[0071] Step 404: In response to a purchase operation on the purchase interface, obtain the target prop as a virtual prop owned by the first account.
[0072] Illustratively, a purchasing operation on the purchasing interface includes, but is not limited to, at least one of a single click operation on the purchasing interface, a double click operation on the purchasing interface, a touch operation on the purchasing interface, and a swipe operation on the purchasing interface.
[0073] 3, the first account performs a single-click operation on the purchase interface 314 to obtain the virtual drum set 313 as a target prop owned by the first account. The virtual purchase coins or virtual purchase coupons corresponding to the first account are correspondingly reduced, and the reduced amount is equivalent to the virtual value of the virtual drum set 313.
[0074] Step 405: In response to a second switching operation for returning to the first virtual room, the first virtual character is controlled to return to the first virtual room.
[0075] Schematically, the second switching operation is used to realize display switching between the first virtual room and the second virtual room, and selectively, in response to the second switching operation on the room switching control, canceling the display of the second virtual room and displaying the first virtual room.
[0076] Step 406: In response to the placement operation on the target prop, place the target prop in the first virtual room.
[0077] After controlling the first virtual character to return to the first virtual room, a placement operation is performed on the target prop, thereby placing the target prop in the first virtual room.
[0078] Here, the placement position of the target prop in the first virtual room may be one of a specified position or a default position, where the specified position is the specified position of placement in the first virtual room and the default position is the placement position of the target prop in the second virtual room.
[0079] As described above, for the first virtual character displayed in the first virtual room, the first virtual room and the first virtual character belong to the first account, and the first virtual character can be controlled to enter the second virtual room in response to the first switching operation. When a target prop arranged in the second virtual room is selected, a corresponding purchase interface is displayed, and after the first account acquires ownership of the target prop through a purchase operation, the first virtual character can be controlled to return to the first virtual room and the target prop can be arranged therein. Thus, by setting up different virtual rooms and arranging virtual props in the virtual rooms, a real preview effect of the target prop can be provided for the first account, thereby reducing the time taken by the first account to select the target prop and improving the human-computer interaction efficiency. Also, the arrangement effect can be easily determined based on the preview effect, effectively guiding the purchase strategy and reducing the number of invalid interactions caused by purchase selection in the related art, thereby improving the system resource response efficiency.
[0080] Based on Fig. 4, Fig. 5 shows a flowchart of a method for decorating a virtual room provided by an exemplary embodiment of the present application, which is applied to a terminal logged in by a first account. Here, step 402 displays a second virtual room in response to a first switching operation for entering the second virtual room. In this embodiment, how to determine the first switching operation is described, and the determination of the first switching operation can be realized as step 4021 and step 4022, and step 403 can be realized as one of step 4031 and step 4032, which is specifically as follows:
[0081] Step 4021: Display virtual room entries of at least one recommended virtual room, where the second virtual room is one of the at least one recommended virtual rooms.
[0082] Optionally, the at least one recommended virtual room includes at least one of the following three types of virtual rooms: - Sample virtual rooms provided by the background system or public accounts Schematically, a public account is an account that provides an information push service for at least one account. For example, at least one recommended virtual room is a sample virtual room provided by a background system or a public account, and the background system or the public account determines the recommended virtual room according to the selection preference of the first account. -Second account customized virtual room Schematically, the second account and the first account have a friend relationship in an instant messaging system or a virtual world. For example, at least one recommended virtual room is a virtual room customized by the second account, and the first account and the second account are friends with each other in the instant messaging system, and the second account can lay out wall lamps, a wooden bed, a crystal lamp on the ceiling, a carpet, etc. in the virtual room according to its own preferences, and make the virtual room one of the at least one recommended virtual rooms. - 3rd account customized virtual room Schematically, the third account does not have a friend relationship with the first account in an instant messaging system or in a virtual world. For example, at least one recommended virtual room is a virtual room customized by the third account, and the first account and the third account do not have a friend relationship with each other in the virtual world, and the third account lays out the virtual room according to its own preferences. The virtual room can be one of the at least one recommended virtual rooms.
[0083] Optionally, the virtual room can be further divided in the following dimensions:
[0084] 1. According to the dimension of whether the room owner account is online or not, the virtual rooms can be divided into virtual rooms whose room owner account is online and virtual rooms whose room owner account is not online.
[0085] Here, when one room owner account owns multiple virtual rooms, a room group consisting of at least two of the multiple virtual rooms can be further divided into a virtual room in which a virtual character controlled by the room owner account is located, and a virtual room in which no virtual character is located.
[0086] For example, a room owner account has five bedrooms and two living rooms, and the two bedrooms and one living room constitute one room group. For example, if a virtual character controlled by the room owner account is located in the living room, the two bedrooms can be divided into virtual rooms where the virtual character controlled by the room owner account is not present, and the living room can be divided into a virtual room where the virtual character controlled by the room owner account is present.
[0087] 2. Depending on the dimension of whether or not a virtual character controlled by a friend account exists in the virtual room, the virtual room can be divided into rooms with friends and rooms without friends.
[0088] Here, according to the quantity of virtual characters controlled by the friend accounts, the room with the most friends can be determined from the rooms with friends.
[0089] For example, virtual character 1, virtual character 2, and virtual character 3 are displayed in virtual room 1, and if virtual character 1 and virtual character 2 have a friend relationship with the first account, virtual room 1 can be divided into rooms with friends. As another example, virtual character 1, virtual character 2, and virtual character 3 are displayed in virtual room 1, virtual character 4 and virtual character 5 are displayed in virtual room 2, and virtual character 6 is displayed in virtual room 3, and virtual character 1, virtual character 2, and virtual character 5 have a friend relationship with the first account, and if the other virtual characters do not have a friend relationship with the first account, virtual room 1 and virtual room 2 can be divided into rooms with friends and virtual room 3 can be divided into rooms without friends, and virtual room 1 is the room with the most friends.
[0090] 3. Virtual rooms can be divided into manned rooms and unmanned rooms according to the dimension of whether or not a virtual character controlled by a guest account exists in the virtual room.
[0091] Here, according to the quantity of virtual characters controlled by the guest account, the most populated room can be determined further from among the populated rooms.
[0092] Optionally, the guest account may be an account that has a friend relationship with the first account, or may be an account of a stranger that does not have a friend relationship with the first account.
[0093] Here, when the guest account is an account having a friendship relationship with the first account, the division of the virtual room can refer to the second account division dimension.
[0094] When the guest account is a stranger's account, the virtual rooms can be divided into rooms with strangers and rooms without strangers. In virtual room 1, virtual character 1 and virtual character 2 are displayed, and in virtual room 2, virtual character 3 is displayed. Assuming that virtual character 1, virtual character 2, and virtual character 3 are all virtual characters controlled by stranger's accounts, virtual room 1 and virtual room 2 can be divided into rooms with strangers, and virtual room 1 is the room with the most strangers.
[0095] It should be understood that any division of the virtual room according to the relevant dimension of the account should be within the scope of protection of the present application. The above content is merely an illustrative example, and does not bring any specific limitation to the present application.
[0096] Step 4022: In response to the virtual room entry for the second virtual room being selected, it is determined to obtain the first switching operation, at which time step 402 can be executed to display the second virtual room.
[0097] Schematically, the second virtual room is one of the at least one recommended virtual rooms, and at least one virtual prop is disposed in the second virtual room.
[0098] Here, the confirmation operation of the virtual room entry includes, but is not limited to, at least one of a single click operation on the virtual room entry, a double click operation on the virtual room entry, a touch operation on the virtual room entry, and a swipe operation on the virtual room entry.
[0099] 6 shows an interface schematic diagram provided by one exemplary embodiment of the present application. In a display interface 610 of a first account, a selection control 611 is displayed, and in response to a trigger operation on the selection control 611 of the first account, a first virtual room entry 612, a second virtual room entry 613, a third virtual room entry 614, and another virtual room entry 615 are displayed, and the four virtual room entries correspond to four different recommended virtual rooms, respectively.
[0100] Here, the recommended virtual rooms corresponding to the first virtual room entry 612, the second virtual room entry 613, and the third virtual room entry 614 are sample virtual rooms provided by the background system or a public account, and the recommended virtual rooms corresponding to the other virtual room entry 615 include virtual rooms customized by a second account and / or virtual rooms customized by a third account.
[0101] Selectably, in response to a confirm operation on another virtual room entry 615, a virtual room customized by a second account or a virtual room customized by a third account is randomly displayed.
[0102] Selectably, the display interface 610 further displays the nickname string "Dreamer" for the first account, and the virtual room displayed in the display interface 610 is owned by the first account.
[0103] A menu control 01 is further displayed in the display interface 610 so as to be selectable, and in response to a trigger operation on the menu control 01, the display interface 610 is switched to display the management interface of the first account.
[0104] Selectably, at least one of a first operation control 021, a second operation control 022, and a third operation control 023 is further displayed in the display interface 610.
[0105] In response to a control operation on the first operation control 021, the first virtual character is controlled to move in the second virtual room, and in response to a control operation on the second operation control 022, the first virtual character is controlled to pick up a selected virtual prop. The virtual prop may be a target prop already purchased, a virtual prop dropped randomly, or a virtual prop dropped from the first virtual character. In response to a control operation on the third operation control 023, the first virtual character is controlled to take out a target prop placed in the virtual backpack, for example, the first account places a virtual carpet purchased from another virtual room in the virtual room owned by the first account through a control operation on the third operation control 023.
[0106] A public room switching control 03 is further displayed in the display interface 610 to be selectable, and displays a virtual public room in response to a trigger operation on the public room switching space 03. Here, the layout of the virtual public room can be set according to actual needs. The virtual public room can display virtual characters controlled by multiple accounts, and the multiple accounts can purchase virtual props in the virtual public room at the same time.
[0107] For example, the virtual public room is laid out according to the Chinese New Year theme, and the first account single-clicks the public room switching control 03 to display the virtual public room in the display interface 610. The virtual public room is laid out with virtual Chinese knots, virtual lucky character posters, virtual Chinese New Year couplets, virtual lanterns, virtual tiger head charms, etc.
[0108] Selectably, the display interface 610 further displays a backpack control 04 for displaying a virtual backpack in response to a trigger operation obtained on the backpack control 04. At least one target prop owned by the first account is displayed in the virtual backpack.
[0109] Here, the menu control 01, the first operation control 021, the second operation control 022, the third operation control 023, the public room switching control 03, and the backpack control 04 may be non-display controls, and the above controls are displayed when a display condition is met, and the display of the above controls is canceled when a non-display condition is met.
[0110] For example, in response to a trigger operation on the display interface 610, at least one of the menu control 01, the first operation control 021, the second operation control 022, the third operation control 023, the public room switching control 03, and the backpack control 04 is displayed. When the display time of the menu control 01, the first operation control 021, the second operation control 022, the third operation control 023, the public room switching control 03, and the backpack control 04 exceeds a predetermined time, the display of the menu control 01, the first operation control 021, the second operation control 022, the third operation control 023, the public room switching control 03, and the backpack control 04 is canceled.
[0111] 7 shows an interface diagram of a virtual room decoration method provided by one exemplary embodiment of the present application, where a virtual room customized by a second account is displayed in response to a confirmation operation on another virtual room entry 615. Then, in response to a selection operation on a virtual chair 616, a purchase interface 617 of the virtual chair 616 is displayed, and in response to a purchase operation on the purchase interface 617, the virtual chair 616 is acquired as a target prop owned by the first account.
[0112] Here, after the virtual chair 616 is acquired as a target prop owned by the first account, an acquisition special effect can be displayed in the display interface 610, which may be a packing animation special effect, used to indicate that the first account owns the virtual chair 616. Optionally, after the virtual chair 616 is successfully acquired as a target prop owned by the first account, a virtual prop bag 618 can be displayed in the display interface, which is used to indicate that the virtual chair 616 is packed.
[0113] Optionally, the second virtual room belongs to a target room group, the target room group including at least two virtual rooms, and the second virtual room is a virtual room in which a second virtual character controlled by a room owner account in the target room group is located, or the second virtual room is a virtual room in which a third virtual character controlled by a guest account in the target room group is the most located.
[0114] For example, if a target room group is owned by a second account and the target room group includes three bedrooms and a living room, and a second virtual character controlled by the second account is located in the master bedroom, then the second virtual room is the master bedroom of the target room group.
[0115] As another example, if the target room group further has a third virtual character controlled by a guest account, and the quantity of the third virtual character in the living room is the largest, the second virtual room is the living room in the target room group.
[0116] Step 4031: When one target prop is selected, the product introduction information of the target prop and a first purchase interface are displayed.
[0117] Schematically, the product introduction information includes at least one of a product name, a quantity of a purchased resource, and an ownership status of the first account with respect to the target prop.
[0118] Here, the purchasing resource refers to a virtual resource and / or a virtual purchasing coupon that the first account needs to pay to obtain the selected target prop, for example, the purchasing resource is a virtual resource and indicates the quantity of the required virtual resource when the target prop needs to be purchased around the selected target prop.
[0119] Optionally, product introductory information is displayed around the first purchasing interface.
[0120] 8 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application, in which a second virtual room is displayed in a display interface 810, and a virtual carpet 811 is arranged in the second virtual room. When the selected target prop is the virtual carpet 811, the display interface 810 displays product introduction information of the virtual carpet 811 and two first purchase interfaces 812.
[0121] Here, the product introduction information of the virtual carpet 811 is displayed above the first purchase interface 812, and the product introduction information includes the name of the virtual carpet 811 and the owned quantity of the virtual carpet 811 of the first account. In addition, the two first purchase interfaces 812 are used to indicate two different purchase methods, and the quantity of purchased resources of the virtual carpet 811 is further displayed around the two first purchase interfaces 812.
[0122] Optionally, in order to meet the different needs of the first account's target props, the virtual room decoration method provided by the embodiment of the present application can: displaying a prop options configuration for the target prop; The method further includes modifying prop parameters of the target prop in response to a selection operation on the prop option configuration, the prop parameters including at least one of color, style, model number, size, and material.
[0123] Here, the prop option configuration is used to indicate that the first account can freely select the prop parameters of the target prop configuration. Take the target prop as an example, the virtual carpet 811, when the first account performs a selection operation on the virtual carpet 811, the prop option configuration can be displayed around the virtual carpet 811, and the first account can perform a selection operation on the prop option configuration. For example, the first account changes the color of the virtual carpet 811 to cream.
[0124] Selectably, the display interface 810 further displays a name string of the second virtual room, which may be the string "cafe-style restaurant."
[0125] Step 4032: When the selected target prop is a prop group formed by combining at least two target props, display product introduction information of the prop group and a second purchase interface.
[0126] Schematically, the product introduction information includes at least one of a product name, a quantity of a purchased resource, and an ownership status of the first account with respect to the target prop.
[0127] Here, product introduction information is displayed around the second purchasing interface.
[0128] 9 is an interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application, in which a second virtual room is displayed in a display interface 910, in which a virtual combination desk 911 is arranged, and the virtual combination desk 911 includes two target props, a virtual desk and a virtual chair. When the selected target prop is the virtual combination desk 911, the display interface 910 displays product introduction information of the virtual combination desk 911 and two second purchase interfaces 913.
[0129] Here, the product introduction information of the virtual combination desk 911 is displayed above the second purchase interface 913, and the product introduction information includes the name of the virtual combination desk 911 and the owned quantity of the virtual combination desk 911 of the second account.
[0130] In addition, the two second purchasing interfaces 913 are used to indicate two different purchasing methods, and the quantity of purchased resources of the virtual combination desk 911 is further displayed around the two second purchasing interfaces 913. Assuming that the purchased resources of the virtual desk are 20 virtual resources and the purchased resources of the virtual chair are 5 virtual resources, the quantity of purchased resources of the virtual combination desk 911 is 35 virtual resources.
[0131] Optionally, in the display interface 910, a name string of a second virtual room is also displayed, which may be the string "XX's House".
[0132] Optionally, in order to meet different needs of the first account for the target props, the virtual room decoration method provided by the embodiment of the present application further includes: displaying a prop options configuration for the target prop; and modifying prop parameters of the target prop in response to a selection operation on the prop option configuration, the prop parameters including at least one of color, style, model number, size, and material.
[0133] Here, the relevant explanation of the prop option configuration and the prop parameters can be referred to the above content, so a detailed explanation will not be given here.
[0134] Schematically, one of step 4031 and step 4032 is performed, but not simultaneously.
[0135] As described above, the virtual room decoration method provided by the embodiment of the present application allows a first account to select a virtual room by providing a virtual room entry of at least one recommended virtual room, so that the first account can quickly enter the required virtual room according to its own needs, and thereby obtain the target prop placed in the virtual room.
[0136] Here, the recommended virtual room may be a sample virtual room provided by a background system or a public account, or may be a virtual room customized by a second account or a third account. According to different recommended virtual rooms, the first account can obtain virtual rooms with different layout styles, thereby providing a selection of virtual rooms for the first account and improving human-computer interaction efficiency.
[0137] Optionally, different quantities of the selected target props will result in different display contents in the display interface.
[0138] Here, when one target prop is selected, product introduction information for the single target prop is displayed, and when multiple target props are selected, product introduction information for the prop group is displayed, so that the first account can intuitively obtain related information of the group of products, which is closer to a shopping experience in virtual reality.
[0139] Based on Fig. 4, Fig. 10 shows a flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application, which is applied to a terminal logged in by a first account, and further includes step 407. Specifically, the method is as follows:
[0140] Step 407: If the target prop is successfully acquired as a virtual prop owned by the first account, display that the first virtual character is holding a virtual prop bag.
[0141] Schematically, a virtual prop bag is used to indicate the packing of a target prop.
[0142] FIG. 11 shows an interface schematic diagram of a virtual room decoration method provided by one exemplary embodiment of the present application.
[0143] In the display interface 1110, a virtual single bed 1111 is displayed in the second virtual room, and in response to a selection operation on the virtual single bed 1111, a purchase interface 1112 for the virtual single bed 1111 is displayed. Then, in response to a purchase operation on the purchase interface 1112, the virtual single bed 1111 is acquired as a target prop owned by the first account.
[0144] A first virtual character 1113 is also displayed selectably in the second virtual room.
[0145] When the first account successfully acquires the virtual single bed 1111 as a virtual prop owned by the first account, the display interface 1110 displays that the first virtual character 1113 is holding a virtual prop bag 1114. Here, the virtual prop bag 1114 can be displayed in the form of a delivery box, a packaging bag, a handbag, a packaging box, or the like.
[0146] Optionally, a packing animation special effect may be further displayed before displaying the virtual prop bag 1114. For example, when the virtual single bed 1111 is successfully acquired as a virtual prop owned by the first account, the first virtual character 1113 is changed from a rear view to a front view, and at the same time, a packing animation special effect is displayed on the hand of the first virtual character 1113, and then a virtual prop bag 1114 is displayed on the hand of the first virtual character 1113, thereby indicating that packing of the virtual single bed 1111 is completed.
[0147] Optionally, when the first virtual character is displayed in the second virtual room as shown in FIG. 10, the method for decorating a virtual room provided by the embodiment of the present application further includes steps 408 to 412. Here, after step 4031, one of step 4032, step 408, step 409, and step 411 can be performed, or the steps can be performed in sequence or in random order. Steps 408 to 412 are specifically as follows.
[0148] Step 408: In response to a first movement control operation on the first virtual character, display the first virtual character moving within the first virtual room, or in response to a second movement control operation on the first virtual character, display the first virtual character moving within the second virtual room.
[0149] Here, the first movement control operation and the second movement control operation include, but are not limited to, at least one of a translation operation, a direction change operation, a jump operation, and a prone operation. 910, a first virtual character 912 is displayed in the second virtual room in the display interface 910, and the first virtual character 912 is controlled by a first account.
[0150] Here, a player logged in to the first account can control the movement of the first virtual character 912 within the second virtual room through a joystick, or a player logged in to the first account can control the movement of the first virtual character 912 through mouse movement.
[0151] When the first virtual character is displayed in the second virtual room, step 403 can be implemented as follows. Displaying a purchase interface for the target prop in response to a click operation on the target prop; Or, In response to the distance between the first virtual character and the target prop being less than a threshold, a purchasing interface for the target prop is displayed.
[0152] Here, the threshold value may be customized and set according to actual needs, or the threshold value may be a default fixed value.
[0153] For example, the first account controls the first virtual character to move toward the target prop, and displays a purchase interface for the target prop when the distance between the first virtual character and the target prop is smaller than a default fixed value.
[0154] 9, the target prop is the virtual combination desk 911. The player clicks on the virtual combination desk 911, and in response to the click operation on the virtual combination desk 911, a purchase interface 913 of the virtual combination desk 911 is displayed, or the player controls the first virtual character 912 to move in the second virtual room, thereby gradually bringing the first virtual character 912 closer to the virtual combination desk 911, and when the distance between the first virtual character 912 and the virtual combination desk 911 is smaller than a threshold, the purchase interface 913 is displayed.
[0155] Optionally, the method for decorating a virtual room provided by an embodiment of the present application further includes a step of displaying the first virtual character using or experiencing the target prop in the second virtual room in response to a second control operation of the first virtual character.
[0156] Here, the second control operation refers to a control operation performed on the first virtual character that is related to using or experiencing the target prop.
[0157] For example, as shown in FIG. 11 , if the target prop is a virtual single bed 1111, the first account controls the first virtual character 1113 to move near the virtual single bed 1111, and then the first account controls the first virtual character 1113 to experience lying down on the virtual single bed 1111.
[0158] Step 409: Display a second virtual character in the second virtual room, controlled by the room owner account.
[0159] Schematically, the room owner account is an owner account of the second virtual room.
[0160] Step 410: In response to a third control operation on the first virtual character, display chat information in which the first virtual character and the second virtual character interact and communicate with each other on the target prop in the second virtual room.
[0161] Here, the third control operation refers to a control operation in which the first virtual character interacts with the room owner account, including but not limited to triggering chat control.
[0162] FIG. 12 shows interface schematic diagrams of a virtual room decoration method provided by one exemplary embodiment of the present application, in which FIG. 12(a) and (b) each display two different second virtual rooms in a display interface 1210, in which a first virtual character 1211 and a second virtual character 1212 are displayed.
[0163] Schematically, a chat control 1213 is further displayed in the display interface 1210. The third control operation may be an operation of triggering the chat control 1213, and in response to the trigger operation on the chat control 1213, an input control 1214 is displayed. The first account can input chat information in the input control 1214, where the chat information is sent to the second virtual character.
[0164] 12(a), the second virtual room is a virtual room owned by a second virtual character 1212, and displays chat information in which the first virtual character 1211 and the second virtual character 1212 interact with each other on a target prop in a display interface 1210. Optionally, the chat information can be displayed in a message display area 1215.
[0165] Here, the chat information may be a comment string by the first virtual character 1211 to the second virtual room, such as "The room is very nice," or a comment string to the virtual sofa in the second virtual room, such as "The sofa looks very comfortable to sit on," or a reply string by the second virtual character 1212 to the first virtual character 1211, such as "I got this sofa from Mr. A's house," or special effect notification information in which the first virtual character 1211 and the second virtual character 1212 converse, such as "Stars are shining in the eyes of the first virtual character," etc.
[0166] In the display interface 1210, the name character string of the second virtual room, "XX's House", is displayed so as to be selectable.
[0167] Step 411: Display a third virtual character controlled by a fourth account in the second virtual room.
[0168] Schematically, the fourth account is a guest account that enters the second virtual room.
[0169] Here, the fourth account may or may not have a friend relationship with the first account.
[0170] Step 412: In response to a fourth control operation on the first virtual character, display chat information in which the first virtual character and the third virtual character interact and communicate with each other on the target prop in the second virtual room.
[0171] Similar to the third control operation, the fourth control operation refers to a control operation in which the first virtual character interacts with the fourth account, including but not limited to triggering chat controls.
[0172] 12(b), the display interface 1210 further displays a third virtual character 1216 controlled by a fourth account, and the second virtual room is a virtual room owned by the third virtual character 1216 controlled by the fourth account. In response to a trigger operation on the chat control 1213, an input control 1214 is displayed. The first account can input chat information in the input control 1214, and the chat information is sent to the third virtual character.
[0173] Then, the display interface 1210 displays chat information in which the first virtual character 1211 and the third virtual character 1216 communicate and interact with each other on the virtual blackboard 1217. Optionally, the chat information can be displayed in a message display area 1215.
[0174] Here, the display contents of the chat information can be seen from the above, so they will not be described in detail.
[0175] Optionally, according to the above, the placement position of the target prop in the first virtual room may be a specified position or a default position. Optionally, step 406 may be implemented as follows: In response to a placement operation on the target prop, the first virtual character controls to place the target prop at a specified position or a default position in the first virtual room, the specified position being a specified position of placement in the first virtual room, and the default position being a placement position of the target prop in the second virtual room.
[0176] 13 shows an interface diagram of a virtual room decoration method provided by an exemplary embodiment of the present application, in which a first virtual room is displayed in a display interface 1310, and a room switching control 1311 is displayed in the display interface 1310.
[0177] The first account then triggers a backpack control 1312 to display a backpack display bar 1313 in the display interface 1310, where at least one virtual prop owned by the first account is displayed in the backpack display bar 1313. After determining the virtual props that need to be laid out, the first account performs a placement operation on the placement control 1314 to place the virtual props in a specified or default position.
[0178] Here, the placement operation may be a confirmation operation on the placement control 1314, or a drag operation on the virtual prop. For example, if the target prop is a virtual single bed 1315, the virtual single bed 1315 is placed at a default position in the first virtual room in response to a single click operation on the placement control 1314, or the player selects the virtual single bed 1315 and then drags the virtual single bed 1315 to a specified position, thereby placing the virtual single bed 1315 at the specified position.
[0179] Selectably, in response to a selection operation on the virtual single bed 1315, ownership information 1316 corresponding to the virtual single bed 1315 is displayed, which is used to indicate the ownership status of the first account for the virtual single bed 1315. For example, a string "already owns 1" is displayed around the virtual single bed 1315, which is used to indicate that the quantity of virtual single beds 1315 owned by the first account is one.
[0180] FIG. 14 shows a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application, the method being applied to a terminal logged in with a first account, the method including the following steps:
[0181] Step 501: Display a virtual room entry for at least one recommended virtual room.
[0182] Selectably, the at least one recommended virtual room includes at least one of three virtual rooms: a sample virtual room provided by a background system or a public account, the public account being an account that provides an information push service toward at least one account; a virtual room customized by a second account, the second account having a friend relationship with the first account in an instant messaging system or in a virtual world; and a virtual room customized by a third account, the third account not having a friend relationship with the first account in an instant messaging system or in a virtual world.
[0183] Step 502: In response to a confirmation operation on the virtual room entry of the second virtual room, the second virtual room is displayed.
[0184] Schematically, the second virtual room is one of the at least one recommended virtual room.
[0185] Here, the second virtual room will not be described in detail since the above content can be referred to for the related description.
[0186] Step 503: Select a target prop.
[0187] The first account can select a target prop in the second virtual room according to its needs, for example, if a player who logs in to the first account wants to place a virtual carpet in his virtual room, the first account can select the virtual carpet in the second virtual room.
[0188] Schematically, in response to a selection operation on the target prop, a purchase interface for the target prop is displayed.
[0189] Optionally, when displaying the second virtual room, other accounts can also enter the second virtual room and select the target prop.
[0190] Step 504: In response to a purchase operation on the purchase interface, obtain a target prop as a target prop owned by the first account.
[0191] Here, the purchase interface and the purchase operation can be described in detail by referring to the above content.
[0192] Step 505: In response to the switching operation, display a first virtual room owned by the first account.
[0193] Here, the relevant explanation of the switching operation can be referred to the above content, so a detailed explanation will not be given here.
[0194] Step 506: In response to the placement operation on the target prop, control the first virtual character to place the target prop at a specified position or a default position in the first virtual room.
[0195] Schematically, the specified position is a specified position of the arrangement in the first virtual room, and the default position is a position of the arrangement of the target prop in the second virtual room.
[0196] Here, the relevant explanation of the arrangement operation can be referred to the above content, so a detailed explanation will not be given here.
[0197] Step 507: Adjust the placement position of the virtual prop in the first virtual room.
[0198] After the first account controls the first virtual character to place the target prop purchased from the second virtual room in the first virtual room, the first account can control the first virtual character to adjust the placement positions of all virtual objects in the first virtual room.
[0199] For example, after placing the virtual carpet at a specified position in the first virtual room, the first account can adjust the position of the virtual tea table in the first virtual room, thereby achieving the goal of placing the virtual tea table on the virtual carpet.
[0200] Step 508: Determine the first virtual room as a candidate recommended virtual room.
[0201] After completing the layout of the first virtual room, the first virtual room can be a candidate recommended virtual room, and then, when other accounts need to enter a virtual room, if the first virtual room meets the needs of the other accounts, the first virtual room can be displayed as one of the recommended virtual rooms in the display interface of the other accounts, and the virtual room entry of the first virtual room can be displayed in the display interface of the other accounts.
[0202] As described above, in the method for decorating a virtual room provided by the present application, the first virtual character is further displayed in the second virtual room, thereby improving the efficiency of human-computer interaction.
[0203] Selectably, when the first virtual character is displayed in the second virtual room, it is possible to display the first virtual character using or experiencing the target prop in the second virtual room through the second control operation of the first virtual character, thereby simulating a real use or experience scenario, and to simulate a real purchase scenario by displaying chat information in which the first virtual character and the second virtual character or the third virtual character interact and interact with the target prop, or by displaying a virtual prop bag.
[0204] Optionally, the first account can further place a target prop within a first virtual room that it owns, and the placement location may be a location freely selected by the first account or may be determined according to the location of the target prop in the second virtual room.
[0205] FIG. 15 shows a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application, which is applied in a server and includes the following steps:
[0206] Step 601: Receive an identifier of a second virtual room sent from a client.
[0207] Schematically, a client is logged in with a first account.
[0208] Here, the second virtual room will not be described in detail since the above content can be referred to for the related description.
[0209] 4, in the interaction between the terminal and the server, step 602 is performed before step 402. Schematically, the identifier of the second virtual room is sent to the server after the client receives a confirmation operation for the virtual room entry of the second virtual room of the first account, and the server can determine the virtual room selected by the client according to the identifier of the second virtual room.
[0210] Step 602: Send the first room data of the first virtual room to the client.
[0211] Schematically, the first room data is used by a client to display a first virtual room and a first virtual character located in the first virtual room, and the first virtual room and the first virtual character belong to a first account.
[0212] Optionally, the first room data includes, but is not limited to, at least one of: a room area of the first virtual room, a room shape of the first virtual room, an orientation of fixtures in the first virtual room, a quantity of virtual props in the first virtual room, a type of virtual prop in the first virtual room, and a placement position of the virtual prop in the first virtual room.
[0213] 4, in the interaction between the terminal and the server, step 602 is also performed before step 401. Schematically, after the client receives the first room data sent from the server, the client can display a first virtual room and a first virtual object according to the room data.
[0214] For example, the data included in the first room data is information that the room area is 45 square meters, five target props are arranged in the second virtual room, and the arrangement positions of the five target props in the first virtual room. After receiving the first room data, the terminal controls to display the first virtual room with a room area of 45 square meters on the display interface, and displays the five target props in the first virtual room according to the arrangement positions in the second virtual room.
[0215] Step 603: Receive a first room switching request sent from a client, and send second room data of a second virtual room to the client.
[0216] Schematically, the second room data is used by the client to display a second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop is placed in the second virtual room.
[0217] Here, the relevant description of the virtual prop can be referred to the above content, so a detailed description will not be given here.
[0218] Optionally, the second room data includes, but is not limited to, at least one of: a room area of the second virtual room, a room shape of the second virtual room, an orientation of fixtures in the second virtual room, a quantity of virtual props in the second virtual room, a type of virtual prop in the second virtual room, and a placement position of the virtual props in the second virtual room.
[0219] 4, in the interaction between the terminal and the server, step 603 is performed after step 402. Schematically, after the client receives the second room data of the second virtual room sent from the server, the client can display the second virtual room according to the second room data.
[0220] For example, the data included in the second room data is information that the room area is 45 square meters, five target props are arranged in the second virtual room, and the arrangement positions of the five target props in the second virtual room. After receiving the room data, the terminal controls to display the second virtual room with a room area of 45 square meters on the display interface, and displays the five target props in the second virtual room according to the arrangement positions of the five target props in the second virtual room.
[0221] Step 604: Receive a purchase request for the target prop sent from a client.
[0222] Here, the purchase request is generated according to a purchase operation on the purchase interface of the first account. Here, the relevant description of the purchase interface and the purchase operation can be referred to the above content, so a detailed description will not be given.
[0223] Optionally, the purchase request includes at least one of, but is not limited to, a name of the target prop, a prop parameter of the target prop, and a quantity of the purchased resource of the target prop.
[0224] As shown in FIG. 4, in the interaction between the terminal and the server, a purchase request is generated after the terminal obtains a purchase operation on the purchase interface of the first account, and after receiving the purchase request, the server can check the relevant information of the target prop that the first account needs to purchase.
[0225] Step 605: In response to the purchase request satisfying the purchase conditions, grant the first account ownership of the target prop.
[0226] Wherein, the purchase condition is determined according to the quantity of the purchased resource of the target prop and the quantity of the purchased resource owned by the first account. Optionally, it is determined that the purchase request satisfies the purchase condition when the quantity of the purchased resource owned by the first account is equal to or greater than the quantity of the purchased resource of the target prop.
[0227] If the purchase request meets the purchase condition, the first account can obtain ownership authority of the target prop and determine the target prop as a target prop owned by the first account.
[0228] Referring to FIG. 4, in the interaction between the terminal and the server, the execution order of step 604, step 605 and step 404 is as follows: The client obtains a purchase operation on the purchase interface of the first account and generates a purchase request for the target prop; The client sends a purchase request for the target prop to the server, The server, in response to the purchase request satisfying the purchase condition, grants ownership of the target prop to the first account; The client obtains the target prop as a target prop owned by the first account according to the ownership authority granted by the server.
[0229] Step 606: Receive the second room switching request sent from the client, and re-send the first room data of the first virtual room to the client.
[0230] Here, the second room switching request is similar to the first room switching request and can be referenced, so it will not be described in detail.
[0231] After receiving the first room data transmitted again from the server, the client can display the first virtual room again.
[0232] Step 607: Receive a deployment request sent from a client, and send a deployment instruction to the client.
[0233] Schematically, the placement instruction is used by a client to place a target prop in a first virtual room.
[0234] As shown in FIG. 4, in the interaction between the terminal and the server, after the terminal obtains the arrangement operation for the target prop of the first account, it generates a corresponding arrangement request; then, after receiving the arrangement request, the client sends an arrangement instruction to the client; after receiving the arrangement instruction, the client arranges the target prop in the first virtual room according to the instruction; Here, the placement position of the target prop in the first virtual room is a designated position or a default position. For a specific description, please refer to the above content, and therefore a detailed description will not be given.
[0235] As described above, the virtual room decoration method provided by the embodiments of the present application can grant the first account ownership rights for the target prop by responding to a purchase request for the target prop sent by a client, thereby allowing the first account to quickly obtain the required target prop and improving the efficiency of human-computer interaction.
[0236] Based on FIG. 15, FIG. 16 shows a flowchart of a virtual room decoration method provided by one exemplary embodiment of the present application, which is applied in a server and further includes the following steps:
[0237] Step 6081: Select at least one recommended virtual room in the candidate room pool that matches the room owned by the first account.
[0238] The candidate room pool can be selected as follows: Non-home room pool and -Home room pool and Random room pool; and at least one of three types of room pools: Here, the non-home room pool includes candidate virtual rooms whose room owner account is not online, the home room pool includes candidate virtual rooms whose room owner account is online and not in a recommended cool-down period, and the random room pool includes candidate virtual rooms whose room owner account is online and in a recommended cool-down period.
[0239] Schematically, the recommended cool-down period refers to a time period during which the virtual room meets the recommended conditions, where the recommended conditions can be set according to actual needs, for example, the recommended conditions are determined according to the history data or preference information of the first account.
[0240] For example, at a first time, if the room owner account is online in a first room, and the first room is not in a recommended cool-down period, the first room belongs to one of the home room pools. If the first room is in a recommended cool-down period, the first room belongs to one of the random room pools. At a second time, if the room owner account is not online in a second room, the second room belongs to one of the non-home room pools.
[0241] Schematically, the candidate virtual rooms included in the room pool may be a single virtual room or a room group consisting of at least two virtual rooms. For example, the home room pool includes a virtual room where the second account is online, and also includes a room group where the third account is online.
[0242] There are three types of room pools to choose from, and the random selection algorithms corresponding to them have different random selection probabilities.
[0243] Here, the random sampling probability can be determined according to actual needs, for example, the random sampling probability is in the order of home room pool, random room pool, non-home room pool, or the random sampling probability is in the order of home room pool, non-home room pool.
[0244] Optionally, step 6018 includes: determining a room area owned by the first account; determining a reasonable quantity of items to match the room area; determining a candidate virtual room corresponding to a reasonable quantity of goods in the candidate room pool; randomly selecting at least one recommended virtual room from the candidate virtual rooms.
[0245] Here, the room area owned by the first account is used to indicate one of the total area of all rooms owned by the first account and the individual area of the virtual rooms in which the first account is online.
[0246] For example, a first account owns one room group, the room group includes three bedrooms and one living room, and the first account is online in the living room, the room area owned by the first account may be the total area of the three bedrooms and the one living room, or it may be just the area of the living room where the first account is currently located.
[0247] Step 6082: Send room entry data of at least one recommended virtual room to the client.
[0248] Schematically, the room entry data is used for the client to display virtual room entries of at least one recommended virtual room, and the second virtual room is one of the at least one recommended virtual rooms.
[0249] Selectably, the at least one recommended virtual room includes at least one of three virtual rooms: a sample virtual room provided by a background system or a public account, the public account being an account that provides an information push service toward at least one account; a virtual room customized by a second account, the second account having a friend relationship with the first account in an instant messaging system or in a virtual world; and a virtual room customized by a third account, the third account not having a friend relationship with the first account in an instant messaging system or in a virtual world.
[0250] Here, the sample virtual room, the virtual room customized by the second account, and the virtual room customized by the third account may be described in detail above.
[0251] FIG. 17 shows a flowchart of dividing a candidate room pool provided by one exemplary embodiment of the present application, where dividing a candidate room pool includes the following steps:
[0252] Step 701: A user account logs in.
[0253] Here, the user account refers to one or more of all accounts including the first account.
[0254] After at least one user account logs in, the virtual rooms or room groups owned by the user account are divided into candidate room pool types. According to the above content, the candidate room pools include three types: non-home room pool, home room pool, and random room pool. The specific division steps are as follows:
[0255] Step 702: It is determined whether the number of virtual props in the current virtual room or room group exceeds a predetermined value.
[0256] If the quantity of virtual props exceeds the predetermined value, step 703 is performed.
[0257] Step 703: Determine whether the virtual character controlled by the room owner account is in a virtual room or room group that it owns.
[0258] Here, the virtual room or room group owned by the room owner account is the virtual room or room group in which the user account is currently located. For example, the user account is account 1, account 1 is in virtual room 1, and the room owner account of the virtual room is account 2. In this case, it is determined whether the virtual character controlled by the room owner account of virtual room 1 is in virtual room 1.
[0259] Step 704 is executed if the virtual character controlled by the room owner account is not in a virtual room or room group owned, and step 705 is executed if the virtual character controlled by the room owner account is in a virtual room or room group owned.
[0260] Step 704: The virtual room or room group enters a non-home room pool.
[0261] For example, if a virtual character controlled by a room owner account is not in a virtual room or room group that it owns, when a user account enters that virtual room after logging in, the virtual room or room group in which the user account is currently located (i.e., a virtual room or room group owned by the room owner account) will be partitioned as one in the non-home room pool.
[0262] Step 705: It is determined whether the currently located virtual room or room group is in a recommended cool-down period.
[0263] If the currently located virtual room or room group is not in the recommended cool-down period, step 706 is executed, and if the currently located virtual room or room group is in the recommended cool-down period, step 707 is executed.
[0264] Here, the recommended cool-down period is not explained in detail since the above content can be referred to.
[0265] For example, if a virtual character controlled by a room owner account is in a virtual room or room group that the user account owns, the user account enters the virtual room after logging in. If the virtual room is not in a recommended cool-down period, the virtual room or room group owned by the room owner account (i.e., the virtual room or room group in which the user account is currently located) is partitioned as one in the home room pool.
[0266] Step 706: Virtual rooms or room groups owned by the user account are entered into the home room pool.
[0267] Optionally, when a virtual character controlled by a room owner account leaves the virtual room or room group in which it is located or when the room owner account is not online, the virtual room or room group owned by the room owner account (i.e., the virtual room or room group in which the user account is currently located) is removed from the home room pool and added to the non-home room pool.
[0268] Step 707: It is determined whether the currently located virtual room or room group is to be randomly selected as the recommended virtual room.
[0269] If the currently located virtual room or room group will immediately become the recommended virtual room, step 708 is performed, and if the currently located virtual room or room group will not randomly become the recommended virtual room, step 706 is performed.
[0270] Step 708: The virtual room or room group is entered into a random room pool.
[0271] Optionally, if the random room pool is full, if a new virtual room or room group randomly becomes the recommended virtual room, the user account is forced to exit the current virtual room or room group, re-enter a new virtual room or room group, and return to step 703 to determine again whether the virtual character controlled by the room owner account is in a virtual room or room group that it owns.
[0272] Taking the candidate room pool as an example, divided according to room groups, FIG. 18 shows a flow chart of entering a virtual room provided by one exemplary embodiment of the present application.
[0273] Here, when selecting from the three types of candidate room pools, each method includes the following steps. Step 801: determining a reasonable product quantity to match according to the room group owned by the first account; determining 802 candidate room groups corresponding to reasonable product quantities; and a step 803 of randomly entering one room group.
[0274] Here, the first account can determine the matching reasonable product quantity according to the total area of all virtual rooms owned by the first account, which is the sum of the individual reasonable product quantities of all virtual rooms. Then, determine the corresponding candidate room group according to the reasonable product quantity, and randomly enter a room group.
[0275] For room groups in non-home room pools and home room pools, determining 804 a virtual room that satisfies the condition according to the quantity of virtual props in the virtual room where the first account is located; and a step 805 of randomly entering one virtual room.
[0276] Here, after acquiring the first quantity of virtual props in the virtual room where the first account is located and the second quantity of virtual props in each virtual room in the room group, the second quantity is judged and a virtual room that satisfies the condition is determined. For example, if the second quantity is equal to or greater than the first quantity, the virtual room corresponding to the second quantity is determined as the virtual room that satisfies the condition. Then, one virtual room is randomly entered.
[0277] For room groups in a non-random room pool, further comprising the steps of:
[0278] Step 806: Determine whether the account that owns the room group is online.
[0279] If the account that owns the room group is not online, then step 807 is performed; if the account that owns the room group is online, then step 808 is performed.
[0280] Step 807: Enter the virtual room with the most people.
[0281] Here, the virtual room with the most visitors refers to one of the room with the most historical visitors and the room with the most real-time visitors.
[0282] Step 808: Enter the virtual room in which the account that owns the room group resides.
[0283] Here, after randomly entering one room group, the online status of the account that owns the room group is determined, and if the account is online, the virtual room in which the account is located is preferentially entered, and if the account is not online, the virtual room with the largest number of people is selected and entered.
[0284] As described above, the virtual room decoration method provided by the embodiment of the present application can allow a first account to quickly enter a virtual room corresponding to the first account by selecting at least one recommended virtual room that matches a room owned by the first account in a candidate room pool.
[0285] The following are apparatus embodiments of the present application, and details not described in detail in the apparatus embodiments can be referred to in conjunction with the corresponding descriptions in the above method embodiments, so they will not be described in detail in this document.
[0286] FIG. 19 shows a schematic diagram of a virtual room decoration device provided by one exemplary embodiment of the present application, the device comprising: A display module 1920 for displaying a first virtual room and a first virtual character, where the first virtual room and the first virtual character belong to a first account; a response module 1940 used to display a second virtual room and control a first virtual character to enter the second virtual room in response to a first switching operation to enter the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the second virtual room; The response module 1940 is further used for displaying a purchase interface of the target prop in response to a selection operation of the target prop in the at least one virtual prop; The response module 1940 is further used for obtaining the target prop as a virtual prop owned by the first account in response to a purchase operation on the purchase interface; The response module is further used for controlling the first virtual character to return to the first virtual room in response to a second switching operation for returning to the first virtual room; The response module is further used for placing the target prop in the first virtual room in response to a placement operation on the target prop.
[0287] Optionally, the display module 1920 is used to display virtual room entries of at least one recommended virtual room, the second virtual room being one of the at least one recommended virtual rooms, and determining to acquire the first switching operation in response to a virtual room entry for the first virtual room being selected.
[0288] Selectably, the at least one recommended virtual room includes at least one of three virtual rooms: a sample virtual room provided by a background system or a public account, the public account being an account that provides an information push service toward at least one account; a virtual room customized by a second account, the second account having a friend relationship with the first account in an instant messaging system or in a virtual world; and a virtual room customized by a third account, the third account not having a friend relationship with the first account in an instant messaging system or in a virtual world.
[0289] Selectably, the first virtual room belongs to a target room group, the target room group including at least two virtual rooms, and the first virtual room is a virtual room in the target room group in which a second virtual character controlled by a room owner account is located, or the first virtual room is a virtual room in the target room group in which a largest number of third virtual characters controlled by guest accounts are located.
[0290] Optionally, the display module 1920 is used to display product introduction information of the target prop and a first purchasing interface when the selected target prop is one, or to display product introduction information of a prop group and a second purchasing interface when the selected target prop is a prop group formed by combining at least two target props, where the product introduction information includes at least one of the product name, the quantity of purchased resources, and the ownership status of the first account for the target prop.
[0291] Selectably, the display module 1920 is further adapted to display a prop option configuration of the target prop, and the response module 1940 is further adapted to modify prop parameters of the target prop in response to a selection operation on the prop option configuration, the prop parameters including at least one of color, style, model number, size, and material.
[0292] Optionally, the response module 1940 may be further adapted to display the first virtual character moving within the first virtual room in response to a first movement control operation on the first virtual character, or to display the first virtual character moving within a second virtual room in response to a second movement control operation on the first virtual character.
[0293] Optionally, the response module 1940 is used to display a purchase interface for the target prop in response to a click operation on the target prop, or to display a purchase interface for the target prop in response to the distance between the first virtual character and the target prop being less than a threshold value.
[0294] Optionally, the response module 1940 is further adapted to display the first virtual character using or interacting with the target prop in the second virtual room in response to a second control operation of the first virtual character.
[0295] Optionally, the display module 1920 is further adapted to display a second virtual character controlled by the room owner account in a second virtual room, the room owner account being an owner account of the second virtual room, and the response module 1940 is further adapted to display chat information in which the first virtual character and the second virtual character interact and interact with the target prop in the second virtual room in response to a third control operation on the first virtual character.
[0296] Optionally, the display module 1920 is further used to display a third virtual character controlled by a fourth account in the second virtual room, where the fourth account is a guest account entering the second virtual room, and the response module 1940 is further used to display chat information in which the first virtual character and the third virtual character interact and interact with the target prop in the second virtual room in response to a fourth control operation on the first virtual character.
[0297] Optionally, the display module 1920 may further be used to display that the first virtual character is holding a virtual prop bag if the target prop is successfully acquired as a target prop owned by the first account, and the virtual prop bag may be used to instruct the first virtual character to pack the target prop.
[0298] Optionally, the response module 1940 is further used to control the first virtual character to place the target prop at a specified position or a default position in the first virtual room in response to a placement operation on the target prop, the specified position being the specified position of placement in the first virtual room and the default position being the placement position of the target prop in the second virtual room.
[0299] FIG. 20 shows a schematic diagram of a virtual room decoration device provided by one exemplary embodiment of the present application, the device includes: a receiving module 2020, a transmitting module 2040, and a responding module 2060; The receiving module 2020 is used for receiving an identifier of a first virtual room sent from a client, and the client logs in with a first account; The sending module 2040 is used for sending first room data of a first virtual room to the client, the first room data is used for the client to display the first virtual room and a first virtual character located in the first virtual room, the first virtual room and the first virtual character belong to a first account; The receiving module 2020 is further used for receiving a first room switching request sent from the client, and sending second room data of a second virtual room to the client, the second room data being used by the client to display the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the first virtual room; The receiving module 2020 is further used for receiving a purchase request for the target prop sent by the client; The response module 2060 is used to grant the first account ownership of the target prop in response to the purchase request satisfying the purchase conditions.
[0300] The receiving module 2020 is further used for receiving a second room switching request sent by the client, and sending the first room data to the client again; The receiving module 2020 is further used for receiving a placement request sent by a client, and sending a placement instruction to the client, where the placement instruction is used by the client to place the target prop in the first virtual room.
[0301] Optionally, the sending module 2040 is further used to select at least one recommended virtual room in the candidate room pool that matches a room owned by the first account, and send room entry data of the at least one recommended virtual room to the client, which is used by the client to display a virtual room entry of the at least one recommended virtual room, and the second virtual room is one of the at least one recommended virtual rooms.
[0302] Selectably, the at least one recommended virtual room includes at least one of three virtual rooms: a sample virtual room provided by a background system or a public account, the public account being an account that provides an information push service toward at least one account; a virtual room customized by a second account, the second account having a friend relationship with the first account in an instant messaging system or in a virtual world; and a virtual room customized by a third account, the third account not having a friend relationship with the first account in an instant messaging system or in a virtual world.
[0303] Optionally, the sending module 2040 is used to determine a room area owned by the first account, determine a reasonable quantity of goods to match the room area, determine candidate virtual rooms corresponding to the reasonable quantity of goods in a candidate room pool, and randomly select at least one recommended virtual room from the candidate virtual rooms.
[0304] Optionally, the candidate room pool includes at least one of three types of room pools: a non-home room pool, a home room pool, and a random room pool, where the non-home room pool includes candidate virtual rooms whose room owner account is not online, the home room pool includes candidate virtual rooms whose room owner account is online and not in a recommended cool-down period, and the random room pool includes candidate virtual rooms whose room owner account is online and in a recommended cool-down period.
[0305] 21 shows a structural block diagram of a terminal 2100 provided by one exemplary embodiment of the present application. The terminal 2100 may be a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a notebook computer, or a desktop computer. The terminal 2100 may also be referred to by other names such as user equipment, a mobile terminal, a laptop terminal, and a desktop terminal.
[0306] Generally, the terminal 2100 includes a processor 2101 and a memory 2102 .
[0307] The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. In some embodiments, the processor 2101 may further include an AI (Artificial Intelligence) processor, which is used to process computational operations related to machine learning.
[0308] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 may be used to store at least one instruction that is executed by the processor 2101 to implement the method of displaying a viewing screen provided by the method embodiments herein.
[0309] In some embodiments, terminal 2100 further optionally includes a peripherals interface 2103 and at least one peripheral.
[0310] The peripheral interface 2103 can be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2101 and the memory 2102 .
[0311] The radio frequency circuitry 2104 is used to receive and transmit radio frequency (RF) signals, also called electromagnetic signals, and communicates with communication networks and other communication devices through the electromagnetic signals.
[0312] The touch display screen 2105 is used to display a UI (User Interface).
[0313] The camera assembly 2106 is used to collect images or video.
[0314] The audio circuitry 2107 may include a microphone and a speaker.
[0315] A power supply 2108 is used to provide power for each assembly in terminal 2100 .
[0316] In some embodiments, the terminal 2100 further includes one or more sensors 2109, including, but not limited to, an acceleration sensor 2110, a gyroscope sensor 2111, a pressure sensor 2112, an optical sensor 2113, and a proximity sensor 2114.
[0317] As one skilled in the art can appreciate, the structure shown in FIG. 21 does not constitute a limitation on terminal 2100, which may include more or fewer assemblies than shown, or certain assemblies may be grouped together, or different assemblies may be employed in the layout.
[0318] An embodiment of the present application further provides a computer device, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to realize the virtual room decoration method provided by the above embodiment.
[0319] An embodiment of the present application further provides a computer-readable storage medium, the storage medium storing a computer program, the computer program being executed by a processor to realize the virtual room decoration method provided by the above embodiment.
[0320] An embodiment of the present application further provides a chip, the chip including a programmable logic circuit and / or program instructions, which, when operating, is used to realize the virtual room decoration method provided by the above embodiment.
[0321] An embodiment of the present application further provides a computer program product, in which computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to realize the virtual room decoration method provided by the above embodiment.
[0322] It should be understood that "plurality" as referred to in the present text refers to two or more than two. "And / or" describes the relationship of related objects and indicates that three types of relationships can exist. For example, A and / or B can indicate three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.
[0323] As can be understood by those skilled in the art, the realization of all or part of the steps of the above embodiments may be completed through hardware, or may be completed through a program instructing related hardware to complete. The above program may be stored in a computer-readable storage medium, and the above storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.
[0324] The above are merely selectable examples of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are all within the scope of protection of the present application.
Claims
1. A method for decorating a virtual room, executed by a terminal logged in with a first account, the method comprising: displaying a first virtual room and a first virtual character located in the first virtual room, the first virtual room and the first virtual character belonging to the first account; In response to a first switching operation for entering a second virtual room, displaying the second virtual room and controlling the first virtual character to enter the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the second virtual room; displaying a purchase interface for a target prop in response to a selection operation for the target prop in the at least one virtual prop; In response to a purchase operation on the purchase interface, acquiring the target prop as a virtual prop owned by the first account; In response to a second switching operation for returning to the first virtual room, controlling the first virtual character to return to the first virtual room; placing the target prop in the first virtual room in response to a placement operation on the target prop.
2. The first switching operation is a manner of displaying a virtual room entry of at least one recommended virtual room, the second virtual room being one of the at least one recommended virtual room; 2. The method of claim 1, wherein the first switching operation is acquired through a manner of determining to acquire the first switching operation in response to a virtual room entry for the second virtual room being selected.
3. The at least one recommended virtual room is A sample virtual room provided by a background system or a public account, the public account being an account that provides an information push service to at least one account; and a virtual room customized by a second account, the second account having a friend relationship with the first account in an instant messaging system or a virtual world; 3. The method of claim 2, further comprising at least one of three virtual rooms: a third account is a customized virtual room, the third account having no instant messaging system or virtual world friend relationship with the first account; and a virtual room.
4. The first virtual room belongs to a target room group, the target room group including at least two virtual rooms; The method according to any one of claims 1 to 3, wherein the first virtual room is a virtual room in which a second virtual character controlled by a room owner account in the target room group is located, or the first virtual room is a virtual room in which a third virtual character controlled by a guest account in the target room group is the most numerous.
5. The step of displaying a purchase interface for the target prop includes: When the selected target prop is one, displaying product introduction information of the target prop and a first purchase interface; Or, When the selected target prop is a prop group formed by combining at least two virtual props, displaying product introduction information of the prop group and a second purchase interface; The method according to any one of claims 1 to 3, wherein the product introduction information includes at least one of a product name, a quantity of a purchased resource, and an ownership status of the first account with respect to the target prop.
6. The method further comprises: displaying a prop options configuration for the target prop; and modifying prop parameters of the target prop in response to a selection operation on the prop option configuration, the prop parameters including at least one of color, style, model number, size, and material.
7. The method further comprises: displaying, in response to a first movement control operation on the first virtual character, the first virtual character moving within the first virtual room; Or, 4. The method of claim 1, further comprising: displaying the first virtual character moving within the second virtual room in response to a second movement control operation on the first virtual character.
8. The step of displaying a purchase interface for the target prop in response to a selection operation for the target prop in the at least one virtual prop includes: displaying a purchase interface for the target prop in response to a click operation on the target prop; Or, The method of claim 7 , comprising the step of: displaying a purchasing interface for the target prop in response to a distance between the first virtual character and the target prop being less than a threshold value.
9. The method further comprises:
8. The method of claim 7, further comprising displaying, in response to a second control operation of the first virtual character, the first virtual character using or experiencing the target prop in the second virtual room.
10. The method further comprises: displaying a second virtual character controlled by a room owner account in the second virtual room, the room owner account being an owner account of the second virtual room; and displaying chat information in response to a third control operation on the first virtual character, in which the first virtual character and the second virtual character interact and communicate with each other on the virtual prop in the second virtual room.
11. The method further comprises: displaying a third virtual character controlled by a fourth account in the second virtual room, the fourth account being a guest account that enters the second virtual room; and displaying chat information in response to a fourth control operation on the first virtual character, the chat information indicating that the first virtual character and the third virtual character interact and communicate with the virtual prop in the second virtual room.
12. The method further comprises:
8. The method of claim 7, further comprising the step of: if the target prop is successfully acquired as a virtual prop owned by the first account, displaying that the first virtual character is holding a virtual prop bag, the virtual prop bag being used to instruct the target prop to be packed.
13. The step of placing the target prop in the first virtual room in response to the placement operation on the target prop includes: The method according to any one of claims 1 to 3, comprising a step of controlling the first virtual character to place the target prop at a specified position or a default position in the first virtual room in response to a placement operation on the target prop, the specified position being a specified position of the placement in the first virtual room, and the default position being a placement position of the target prop in the second virtual room.
14. A method for decorating a virtual room, executed by a server, said method comprising: receiving an identifier of a first virtual room sent from a client, the client being logged in with a first account; transmitting first room data of the first virtual room to the client, the first room data being used by the client to display the first virtual room and a first virtual character located in the first virtual room, the first virtual room and the first virtual character belonging to the first account; receiving a first room switching request transmitted from the client and transmitting second room data of a second virtual room to the client, the second room data being used by the client to display the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the first virtual room; receiving a purchase request for the target prop sent by the client; granting ownership of the target prop to the first account in response to the purchase request satisfying a purchase condition; receiving a second room switching request transmitted from the client, and transmitting the first room data again to the client; receiving a placement request sent from the client and sending a placement instruction to the client, the placement instruction being used by the client to place the target prop in the first virtual room.
15. The method further comprises: selecting at least one recommended virtual room in a candidate room pool that matches a room owned by the first account; 15. The method of claim 14, further comprising: transmitting room entry data of the at least one recommended virtual room to the client, the room entry data being used by the client to display a virtual room entry of the at least one recommended virtual room, the second virtual room being one of the at least one recommended virtual rooms.
16. The at least one recommended virtual room is A sample virtual room provided by a background system or a public account, the public account being an account that provides an information push service to at least one account; and a virtual room customized by a second account, the second account having a friend relationship with the first account in an instant messaging system or a virtual world; 16. The method of claim 15, comprising at least one of three virtual rooms: a third account is a customized virtual room, the third account does not have an instant messaging system or virtual world friend relationship with the first account, and a virtual room.
17. The step of selecting at least one recommended virtual room in a candidate room pool that matches a room owned by the first account includes: determining a room area owned by the first account; determining a reasonable quantity of items to match the room area; determining a candidate virtual room in the candidate room pool that corresponds to the reasonable quantity of goods; and randomly selecting the at least one recommended virtual room from the candidate virtual rooms.
18. The candidate room pool includes: Non-home room pool and At-home room pool and A random room pool; and at least one of three types of room pools:
18. The method of claim 17, wherein the non-home room pool includes candidate virtual rooms where the room owner account is not online, the home room pool includes candidate virtual rooms where the room owner account is online and not in a recommended cool-down period, and the random room pool includes candidate virtual rooms where the room owner account is online and in the recommended cool-down period.
19. The method of claim 17, wherein the random selection probabilities of the three types of room pools and corresponding random selection algorithms are different.
20. A decoration device for a virtual room, comprising: A display module for displaying a first virtual room and a first virtual character, the first virtual room and the first virtual character belonging to the first account; a response module for displaying a second virtual room and controlling the first virtual character to enter the second virtual room in response to a first switching operation for entering the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the second virtual room; The response module is further used for displaying a purchase interface for the target prop in response to a selection operation of the target prop in the at least one virtual prop; The response module is further used for obtaining the target prop as a virtual prop owned by the first account in response to a purchase operation on the purchase interface; the response module is further used for controlling the first virtual character to return to the first virtual room in response to a second switching operation to return to the first virtual room; The response module is further used for placing the target prop in the first virtual room in response to a placement operation on the target prop.
21. A decoration device for a virtual room, the device including: a receiving module, a transmitting module, and a responding module; The receiving module is used for receiving an identifier of a first virtual room sent from a client, and the client logs in with a first account; The transmitting module is used for transmitting first room data of the first virtual room to the client, the first room data being used for the client to display the first virtual room and a first virtual character, the first virtual room and the first virtual character belonging to the first account; The receiving module is further used for receiving a first room switching request sent from the client, and sending second room data of a second virtual room to the client, the second room data being used by the client to display the second virtual room, the second virtual room not belonging to the first account, and at least one virtual prop being placed in the first virtual room; the receiving module is further used for receiving a purchase request for the target prop sent from the client; the response module is adapted to grant ownership of the target prop to the first account in response to the purchase request satisfying a purchase condition; the receiving module is further used for receiving a second room switching request sent from the client, and sending the first room data to the client again; The receiving module is further used for receiving a placement request sent from the client and sending a placement instruction to the client, the placement instruction being used by the client to place the target prop in the first virtual room.
22. A computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to realize the method for decorating a virtual room according to any one of claims 1 to 19.
23. A computer-readable storage medium having a computer program stored therein, the computer program being executed by a processor to realize the method for decorating a virtual room according to any one of claims 1 to 19.
24. A chip, the chip comprising a programmable logic circuit and / or program instructions, the chip being used to implement, when in operation, the method for decorating a virtual room according to any one of claims 1 to 19.
25. A computer program product comprising computer instructions stored in a computer-readable storage medium, the computer program product realizing the method for decorating a virtual room according to any one of claims 1 to 19 by a processor reading and executing the computer instructions from the computer-readable storage medium.
Citation Information
Patent Citations
Item transfer method, system, server and recording medium
JP2008253521A
Computer, and control method and control program for the same
JP2021137647A
Virtual room service method through wireless data communication network
KR1020100042683A
