Decoration method, device, apparatus, medium, and program product for virtual room
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2025-09-11
- Publication Date
- 2026-06-03
AI Technical Summary
In virtual worlds, selecting a desired target prop from a large list of product designs in a virtual mall is time-consuming, leading to low human-computer interaction efficiency.
A method and device for decorating a virtual room that allows a first account to intuitively preview and place target props in a second virtual room, enabling efficient acquisition and placement of these props in their own first virtual room by controlling a virtual character to enter, select, purchase, and return with the prop.
This approach reduces the time required to select a target prop and improves human-computer interaction efficiency by providing a realistic preview effect, guiding purchasing strategies and minimizing invalid interactions.
Smart Images

Figure 00000000_0000_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, Device, and Medium," the entire contents of which are incorporated herein by reference. [Background technology]
[0003] In virtual worlds, target props (where "props" may also be commonly referred to as "tools" or "items") may typically be offered for sale to 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 the target prop list, and after determining the selected target prop, the player can obtain the corresponding target prop by performing a purchase operation.
[0005] The target prop list usually lists a relatively large number of product designs of target props, which makes it take a relatively long time for a player to determine a desired target prop, resulting in 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, which displays at least one target prop arranged in a second virtual room, allowing 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; a step of 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; 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, 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; and placing the target prop in the first virtual room in response to the 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; transmitting 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 conditions; 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 used to display 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 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 is further used to display 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 to acquire 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 to control 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 to place the target prop in the first virtual room in response to a placement operation on the target prop.
[0010] According to one aspect of the present application, there is provided a virtual room decoration device, the device including: a receiving module, a transmitting module, and a responding module; The receiving module is used to receive 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 to send first room data of a first virtual room to the client, and the first room data is used by the client to display the first virtual room and a first virtual character, and the first virtual room and the first virtual character belong to a first account; The receiving module is further used to receive a first room switching request sent from the client and send 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 to receive a purchase request for the target prop sent from the client; the response module is used 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 resending the first room data to the client; The receiving module is further used for receiving a placement request sent by a client and sending a placement instruction to the client, which 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 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.
[0012] According to one aspect of the present application, a computer-readable storage medium is provided, the storage medium storing a computer program, the computer program being used to realize the virtual room decoration method when executed by a processor.
[0013] According to one aspect of the present application, a chip is provided, the chip including a programmable logic circuit and / or program instructions, the chip being used to implement the virtual room decoration method when operating.
[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 stored in a computer-readable storage medium, the computer instructions being read by a processor from the computer-readable storage medium and executed to realize the virtual room decoration method.
[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, both 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. Furthermore, when a target prop placed in the second virtual room is selected, a corresponding purchase interface is displayed. 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. By creating different virtual rooms and placing virtual props in the virtual rooms, a real-life preview effect of the target prop can be provided for the first account, thereby reducing the time it takes for the first account to select a target prop and improving human-computer interaction efficiency. Furthermore, the placement effect can be easily determined based on the preview effect, effectively guiding purchasing strategies and reducing the number of invalid interactions due to purchase selections in related technologies, thereby improving system resource response efficiency. [Brief explanation of the drawings]
[0017] [Figure 1] FIG. 1 is a structural schematic diagram of a terminal provided by one exemplary embodiment of the present application; [Figure 2] 1 is a structural block diagram of a computer system provided by one exemplary embodiment of the present application; [Figure 3] FIG. 1 is an interface schematic diagram of a virtual room decoration method provided by one 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; [Figure 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. 1 is an interface schematic diagram of a virtual room decoration method provided by one exemplary embodiment of the present application; [Figure 8] FIG. 1 is an interface schematic diagram of a virtual room decoration method provided by one exemplary embodiment of the present application; [Figure 9] FIG. 1 is an interface schematic diagram of a virtual room decoration method provided by one 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. 1 is an interface schematic diagram of a virtual room decoration method provided by one exemplary embodiment of the present application; [Figure 12] FIG. 1 is an interface schematic diagram of a virtual room decoration method provided by one exemplary embodiment of the present application; [Figure 13] FIG. 1 is an interface schematic diagram of a virtual room decoration method provided by one 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] 1 is a flowchart for dividing 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] 1 is a schematic diagram of a virtual room decoration device provided by one exemplary embodiment of the present application; [Figure 20] 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 one exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION
[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 herein may be applied to an application program having a virtual room and a virtual character. Exemplarily, an application program supporting a virtual room is an application program that allows a user to control a virtual character and move within the virtual room. Exemplarily, the method provided herein may 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 game, a dress-up game, a role-playing game, etc. The client may support at least one of the Windows operating system, the Apple operating system, the Android operating system, the IOS operating system, and the 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 three-dimensional engine, for example, the three-dimensional 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, an MP4 (Moving Picture Experts Group Audio Layer IV) player, etc. A client supporting a virtual room is installed and runs on 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, or a network online version of the application program.
[0023] 1 is a structural schematic diagram of a terminal provided by one 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 with instruction operation capabilities.
[0025] The touchscreen 102 may be a conventional touchscreen or a pressure-sensitive touchscreen. A conventional touchscreen may measure pressure or swiping actions applied to the touchscreen 102, while a pressure-sensitive touchscreen may measure pressure applied to the touchscreen 102.
[0026] The memory 103 stores executable programs for 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 an operating system kernel layer 19. 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 referred to as a virtual environment module) 17. For example, when the terminal's operating system is the Android operating system, the virtual environment program A is developed using the Java programming language and the C# language. Also, when the terminal's operating system is the IOS operating system, the virtual environment program A is developed using the Object-C programming language and the C# language.
[0027] The 3D virtual environment module 17 is a module that supports multiple operating system platforms, and can be used for program development in various fields, such as game development, virtual reality (VR), and 3D maps. The embodiments of the present application are not limited to a specific type of the 3D virtual environment module 17, and the following embodiments will be described using an example in which the 3D virtual environment module 17 is 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 a pressure sensing function and may not receive pressure touch control events. A touch event includes a touch event type and a coordinate value, and the touch event type includes, but is not limited to, a touch start event, a touch movement event, and a touch down event. A pressure touch control event includes a pressure value and a coordinate value of the pressure touch control event. The coordinate value is used to indicate the touch control position on the display screen for 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 to detect 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 will appreciate that the above is merely a general description of the structure of the terminal. In different embodiments, the terminal may have more or fewer assemblies. For example, the terminal may further include a gravity acceleration sensor, a gyroscope sensor, a power supply, 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 social functions and a virtual room, and the social functions include network-based functions such as instant messaging, microblogging, blogging, public accounts, online meetings, and live streaming.
[0034] When the terminal 210 operates the client 211, the terminal 210 displays the user interface of the client 211 on the screen of the terminal 210. The terminal 210 is used by the first user 212, who uses the terminal 210 to control the actions of a first virtual character located in a virtual room. The first virtual character may be referred to as the first virtual character of the first user 212. The actions of the first virtual character include, but are not limited to, at least one of adjusting a body posture, crawling, walking, running, jumping, and picking up. Schematically, the first virtual character is, for example, a simulated human character or an animated human character.
[0035] The device types of the terminal 210 include at least one of a smartphone, a tablet computer, an e-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 , in different embodiments, multiple other terminals 240 are present. In some embodiments, at least one other terminal 240 is also present, 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 update the client.
[0037] The terminal 210 and other terminals 240 are connected to the server cluster 220 via a wireless network or a wired network.
[0038] The server cluster 220 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server cluster 220 is used to provide background services for clients supporting the 3D virtual environment. Optionally, the server cluster 220 undertakes the main computing tasks, and the terminal undertakes the secondary computing tasks. Alternatively, the server cluster 220 undertakes the secondary computing tasks, and the terminal undertakes the main computing tasks. Alternatively, 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 exemplary embodiment, the server cluster 220 includes a server 221 and a server 226. 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. 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. The user account database 223 is used to store data on user accounts used by the terminal 210 and other terminals 240, such as the user account avatar, the user account nickname, the user account combat effectiveness index, 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 via a wireless network or a wired network.
[0041] Following the 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 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 to enter the second virtual room, the second virtual room is displayed on the display interface 310. A room switching control 312 is selectably displayed on the display interface 310, and the first account performs a first switching operation on 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 worlds such as the real world, the magical world, the fantasy world, and the Metaverse world.
[0047] Optionally, the second virtual room may be a virtual room freely selected by the first account or a sample virtual room, for example, the second virtual room may be a sample virtual room provided by the background system, and the sample virtual room may be determined according to the preferences of the first account.
[0048] Schematically, a virtual prop refers to a virtual object that exists in the second virtual room and can be merchandised, for example, the virtual prop includes, but is not limited to, one or more of a virtual prop, virtual furniture, virtual pet, virtual electrical appliance, virtual clothing, virtual plants, virtual food, virtual transportation, virtual house model, virtual raw materials, virtual semi-finished products, virtual equipment, and a display area of a virtual service.
[0049] For example, if the second virtual room is a virtual supermarket, the virtual supermarket will be equipped with various virtual props such as virtual daily necessities, virtual food, virtual electrical appliances, and virtual clothing. If the second virtual room is a virtual real estate sales center, the virtual real estate sales center will be equipped with various virtual house models. If the second virtual room is a virtual car dealership, the virtual car dealership will be equipped with various virtual props such as virtual automobiles, virtual electric cars, and virtual skateboards. If the second virtual room is a virtual bedroom, the virtual bedroom will be equipped with 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.
[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 so that the user can select the desired item.
[0053] The display interface 310 further displays selectable prop option configurations for the virtual drum set 313. The player can select the prop option configurations to change prop parameters for the virtual drum set 313, where the prop parameters include 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 in to the first account, the player single-clicks the Acquire 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, where the room owner account is the owner account of the second virtual room, and the second virtual character 315 can be considered as the virtual owner of the second virtual room 310. The first account and the room owner account can interact and communicate with each other regarding the virtual drum set 313, and in response to a control operation on the first virtual character 313, chat information can be displayed on the display interface 310, where the first virtual character 313 and the second virtual character 315 interact and communicate with each other regarding the virtual drum set 313 in the second virtual room.
[0056] Similarly, the second virtual room further displays a selectable third virtual character (not shown) 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 converse 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 the first switching operation to enter 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 may be a sample virtual room provided by the background system, and the sample virtual room may be determined according to the history data of the first account. As another example, the first account may freely select from a plurality of candidate virtual rooms, and the virtual room selected by the first account may be determined as the second virtual room.
[0064] Schematically, a virtual prop refers to a virtual object that exists in the second virtual room and can be merchandised, for example, the virtual prop can be 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 placed 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 a background system, and the placement 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 cancels the display of the first virtual room and displays the second virtual room in response to the first switching operation on the room switching control.
[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] 3, for example, if the target prop is a virtual drum set 313, a purchase interface 314 for the virtual drum set 313 is displayed in response to a single click on the virtual drum set 313. Here, the quantity of the purchase interface 314 can be determined according to actual needs. In FIG. 3, two purchase interfaces 314 are shown, each indicating two different ways of purchasing the virtual drum set 313.
[0070] Optionally, the target prop purchase method includes, but is not limited to, at least one of purchasing using virtual resources, purchasing 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 acquire 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 the second switching operation to return 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, the display of the second virtual room is canceled and the first virtual room is displayed.
[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 a first virtual character displayed in a first virtual room, both 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. Furthermore, when a target prop placed in the second virtual room is selected, a corresponding purchase interface is displayed. 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. By creating different virtual rooms and placing virtual props in the virtual rooms, the first account can be provided with a realistic preview of the target prop, thereby reducing the time it takes for the first account to select a target prop and improving human-computer interaction efficiency. Furthermore, the placement effect can be easily determined based on the preview effect, effectively guiding purchase strategies and reducing the number of invalid interactions due to purchase selections in related technologies, thereby improving system resource response efficiency.
[0080] Based on Fig. 4, Fig. 5 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 with a first account. Here, step 402 displays a second virtual room in response to a first switching operation to enter the second virtual room. This embodiment describes how to determine the first switching operation. 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 a virtual room entry of at least one recommended virtual room, where the second virtual room is one of the at least one recommended virtual room.
[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 to 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. · A virtual room customized by a second account 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. The second account can arrange wall lamps, a wooden bed, a crystal ceiling lamp, 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 room. - Virtual rooms customized by third-party accounts Schematically, the third account does not have a friend relationship with the first account in the instant messaging system or the virtual world. For example, at least one recommended virtual room is a virtual room customized by the third account, where the first account and the third account do not have a friend relationship 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 room.
[0083] Optionally, the virtual room can be further divided into 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 where the room owner account is online and virtual rooms where the 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 where a virtual character controlled by the room owner account is located, and a virtual room where no virtual character is located.
[0086] For example, a room owner account owns 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 no virtual character controlled by the room owner account is located, and the living room can be divided into virtual rooms where the virtual character controlled by the room owner account is located.
[0087] 2. Depending on 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 room 1 displays virtual character 1, virtual character 2, and virtual character 3, 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 room 1 displays virtual character 1, virtual character 2, and virtual character 3, virtual room 2 displays virtual character 4 and virtual character 5, and virtual room 3 displays virtual character 6, and if virtual character 1, virtual character 2, and virtual character 5 have a friend relationship with the first account and 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 depending on whether a virtual character controlled by a guest account exists in the virtual room.
[0091] Here, the most populated room can be determined from the manned rooms according to the quantity of virtual characters controlled by the guest account.
[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, if the guest account is an account that has 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. Virtual room 1 displays virtual character 1 and virtual character 2, and virtual room 2 displays virtual character 3. Assuming that virtual character 1, virtual character 2, and virtual character 3 are all virtual characters controlled by stranger 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 related 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 limitations 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 placed 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 a schematic diagram of an interface 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 above four virtual room entries respectively correspond to four different recommended virtual rooms.
[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 the second account and / or virtual rooms customized by the third account.
[0101] Optionally, 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 also displays the nickname string "Dreamer" of 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 within 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 that has already been purchased, a virtual prop that is randomly dropped, or a virtual prop dropped by the first virtual character. In response to a control operation on the third operation control 023, the first virtual character is controlled to retrieve a target prop placed in the virtual backpack. For example, the first account places a virtual carpet purchased from another virtual room in its own virtual room 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, and a virtual public room is displayed in response to a trigger operation on the public room switching space 03. The layout of the virtual public room can be configured according to actual needs. Virtual characters controlled by multiple accounts can be displayed in the virtual public room, and multiple accounts can simultaneously purchase virtual props in the virtual public room.
[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, which displays 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. If 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 an exemplary embodiment of the present application, in which 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 for 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 on 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 on the display interface, which is used to indicate that the virtual chair 616 should be 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 the most third virtual characters controlled by guest accounts in the target room group are located.
[0114] For example, if a target room group is owned by a second account and the target room group includes three bedrooms and one 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 number of third virtual characters in the living room is the largest, then 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 the first purchase interface are displayed.
[0117] Schematically, the product introduction information includes at least one of the product name, the quantity of the purchased resource, and the ownership status of the first account for 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 acquire 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 is needed to be purchased around the selected target prop.
[0119] Optionally, product introduction information is displayed around the first purchasing interface.
[0120] 8 is an interface diagram of a virtual room decoration method provided by one 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 placed in the second virtual room. When the selected target prop is the virtual carpet 811, the display interface 810 displays product introduction information for the virtual carpet 811 and two first purchase interfaces 812.
[0121] Here, product introduction information for 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 number of virtual carpets 811 owned by the first account. In addition, the two first purchase interfaces 812 are used to indicate two different purchase methods, and the number of resources purchased for the virtual carpet 811 is also 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 the step of 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 prop parameters of the target prop configuration. For example, if the target prop is a 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, product introduction information of the prop group and a second purchase interface are displayed.
[0126] Schematically, the product introduction information includes at least one of the product name, the quantity of the purchased resource, and the ownership status of the first account for 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 one exemplary embodiment of the present application, in which a second virtual room is displayed in a display interface 910, and a virtual combination desk 911 is placed in the second virtual room, 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 for 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 for the virtual combination desk 911 is also displayed around the two second purchasing interfaces 913. Assuming that the purchased resources for the virtual desk are 20 virtual resources and the purchased resources for the virtual chair are 5 virtual resources, the quantity of purchased resources for the virtual combination desk 911 is 35 virtual resources.
[0131] Optionally, the display interface 910 also displays a name string of the second virtual room, which may be the string "XX's House."
[0132] In order to selectively meet the different needs of the first account's 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 prop parameters can be referred to above, 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 the first account to select a virtual room by providing a virtual room entry of at least one recommended virtual room, and the first account can quickly enter the required virtual room according to its own needs, thereby obtaining the target props 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, a first account can obtain virtual rooms with different layout styles, thereby providing a virtual room selection for the first account and improving human-computer interaction efficiency.
[0137] Optionally, different quantities of selected target props will result in different display content 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 for the group products, and get 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 with 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 direct the packing of the target prop.
[0142] FIG. 11 shows an interface 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, etc.
[0146] Optionally, a packing animation special effect may be displayed before displaying the virtual prop bag 1114. For example, if the first account successfully acquires the virtual single bed 1111 as a virtual prop owned by the first account, the first virtual character 1113 may be changed from a rear view to a front view, and at the same time, a packing animation special effect may be displayed on the hand of the first virtual character 1113, and then the virtual prop bag 1114 may be displayed above the hand of the first virtual character 1113, indicating that the packing of the virtual single bed 1111 has been completed.
[0147] Optionally, when the first virtual character is displayed in the second virtual room as shown in Fig. 10, the virtual room decoration method 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 they can be performed in any 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. As shown in Fig. 9, in a display interface 910, a first virtual character 912 is displayed in a second virtual room, and the first virtual character 912 is controlled by a first account.
[0150] Here, the 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 the 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 a virtual combination desk 911. The player clicks on the virtual combination desk 911, and a purchase interface 913 for the virtual combination desk 911 is displayed in response to the click operation on the virtual combination desk 911, or the player controls the first virtual character 912 to move within 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 virtual room decoration method provided by the 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 lie down on the virtual single bed 1111 and experience it.
[0158] Step 409: Display a second virtual character controlled by the room owner account in the second virtual room.
[0159] Schematically, the room owner account is the 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 an interface diagram of a virtual room decoration method provided by one exemplary embodiment of the present application, and FIGS. 12(a) and 12(b) each show 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 also displayed in the display interface 1210. The third control operation may be an operation that triggers 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, and 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 and communicate 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 from the first virtual character 1211 to the second virtual room, such as "The room is very beautiful," or a comment string from the second virtual room to the virtual sofa, such as "The sofa looks very comfortable to sit on," or a reply string from 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 such as "Stars are shining in the eyes of the first virtual character" when the first virtual character 1211 and the second virtual character 1212 converse with each other.
[0166] The display interface 1210 displays the name character string of the second virtual room, "XX's House," so that the room can be selected.
[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 control.
[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 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 interact and communicate 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 content of the chat information can be referred to in the above content, so a detailed description will not be given here.
[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 the target prop to be placed at a specified position or a default position in the first virtual room, 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.
[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 the backpack control 1312 to display a backpack display bar 1313 in the display interface 1310, and 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 may select the virtual single bed 1315 and then drag the virtual single bed 1315 to a specified position, thereby placing the virtual single bed 1315 at the specified position.
[0179] In response to a selection operation on the virtual single bed 1315, ownership information 1316 corresponding to the virtual single bed 1315 is selectively displayed, which is used to indicate the ownership status of the first account for the virtual single bed 1315. For example, the string "already owns 1" is displayed around the virtual single bed 1315, which is used to indicate that the first account owns one virtual single bed 1315.
[0180] FIG. 14 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:
[0181] Step 501: Display the virtual room entry of at least one recommended virtual room.
[0182] Optionally, 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, where the public account is an account that provides an information push service for at least one account; a virtual room customized by a second account, where the second account has a friend relationship with the first account in an instant messaging system or a virtual world; and a virtual room customized by a third account, where the third account does not have a friend relationship with the first account in an instant messaging system or 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 related description of the second virtual room can be referred to above, so a detailed description will not be given here.
[0186] Step 503: Select a target prop.
[0187] The first account can select a target prop in the second virtual room according to their needs. For example, if a player logging in to the first account wants to place a virtual carpet in their 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 the target prop as a target prop owned by the first account.
[0191] Here, the purchase interface and the purchase operation can be explained 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 switching operation will not be described in detail since the above content can be referred to for related explanation.
[0194] Step 506: In response to the placement operation on the target prop, the first virtual character controls the target prop to be placed at a specified position or a default position in the first virtual room.
[0195] Schematically, the designated position is the designated position of the arrangement in the first virtual room, and the default position is the arrangement position 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 one of the recommended virtual rooms, and a 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 virtual room decoration method 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] When the first virtual character is displayed in the second virtual room, the first virtual character can be selectively displayed 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 displaying chat information in which the first virtual character and the second virtual character or the third virtual character interact with and interact with the target prop, or displaying a virtual prop bag, can simulate a real purchase scenario.
[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 within 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 the identifier of the second virtual room sent from the client.
[0207] Schematically, a client is logged in with a first account.
[0208] Here, the related description of the second virtual room can be referred to above, so a detailed description will not be given here.
[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 the 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 and fittings 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 receiving the first room data sent from the server, the client can display the first virtual room and the first virtual object according to the room data.
[0214] For example, the first room data includes information that the room area is 45 square meters, that five target props are placed in the second virtual room, and the positions of the five target props in the first virtual room. After receiving the first room data, the terminal controls the display interface to display the first virtual room with an area of 45 square meters, and displays the five target props in the first virtual room according to their positions in the second virtual room.
[0215] Step 603: Receive a first room switching request sent from the client, and send second room data of the 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 being placed within the second virtual room.
[0217] Here, the relevant description of the virtual prop can be referred to above, 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: the room area of the second virtual room, the room shape of the second virtual room, the orientation of fixtures and fittings in the second virtual room, the quantity of virtual props in the second virtual room, the type of virtual props in the second virtual room, and the placement positions 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 second room data includes information that the room area is 45 square meters, that five target props are placed in the second virtual room, and the positions of the five target props in the second virtual room. After receiving the room data, the terminal controls the display interface to display the second virtual room with an area of 45 square meters, and displays the five target props in the second virtual room according to their positions 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 above, and therefore will not be described in detail.
[0223] Optionally, the purchase request includes, but is not limited to, at least one of the name of the target prop, the prop parameters of the target prop, and the 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 acquires 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 ownership of the target prop to the first account.
[0226] Here, 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, if 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, it is determined that the purchase request satisfies the purchase condition.
[0227] If the purchase request satisfies the purchase conditions, the first account can obtain ownership 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 conditions, 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: The second room switching request sent from the client is received, and the first room data of the first virtual room is sent again 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 the 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 placement operation for the target prop of the first account, it generates a corresponding placement request; then, after receiving the placement request, the client sends a placement instruction to the client; after receiving the placement instruction, the client places 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 here.
[0235] As described above, the virtual room decoration method provided by the embodiments of the present application can grant ownership rights to a first account for a target prop by responding to a target prop purchase request sent from 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 is selectable. Non-home room pool and ·Home room pool and Random room pools and at least one of the 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 when the virtual room meets the recommended conditions, where the recommended conditions can be set according to actual needs, for example, the recommended conditions can be determined according to the history data or preference information of the first account.
[0240] For example, at a first time point, if the room owner account is online in a first room and the first room is not in a recommended cooldown period, the first room belongs to one of the home room pools. If the first room is in a recommended cooldown period, the first room belongs to one of the random room pools. At a second time point, 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 may include a virtual room where a second account is online and a room group where a third account is online.
[0242] There are three types of room pools to choose from, and the random selection algorithms for each have different random selection probabilities.
[0243] Here, the random sampling probability can be determined according to actual needs, for example, the order of random sampling probability from smallest to largest is home room pool, random room pool, non-home room pool, or the order of random sampling probability from smallest to largest is random room pool, home room pool, non-home room pool.
[0244] Optionally, step 6018 determining a room area owned by the first account; determining a reasonable quantity of products that matches 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 area of a single virtual room in which the first account is online.
[0246] For example, if 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 may be the area of the living room alone 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 by 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 room.
[0249] Optionally, 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, where the public account is an account that provides an information push service for at least one account; a virtual room customized by a second account, where the second account has a friend relationship with the first account in an instant messaging system or a virtual world; and a virtual room customized by a third account, where the third account does not have a friend relationship with the first account in an instant messaging system or 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 as described 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 is logged 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 has logged 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 pools, home room pools, and random room pools. The specific division steps are as follows:
[0255] Step 702: Determine 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 executed.
[0257] Step 703: Determine whether the virtual character controlled by the room owner account is in an owned virtual room or room group.
[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 the owned virtual room or room group, and step 705 is executed if the virtual character controlled by the room owner account is in the owned virtual room or room group.
[0260] Step 704: The virtual room or room group enters the 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 the user account owns, when the user account logs in and enters the virtual room, the virtual room or room group in which the user account is currently located (i.e., the virtual room or room group owned by the room owner account) is divided into one of the non-home room pools.
[0262] Step 705: Determine whether the current 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 will not be described 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 of the home room pools.
[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: Determine whether the currently located virtual room or room group is 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 executed, and if the currently located virtual room or room group will not randomly become the recommended virtual room, step 706 is executed.
[0270] Step 708: The virtual room or room group is placed 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 leave the virtual room or room group in which it is currently located, 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 the owned virtual room or room group.
[0272] Taking the candidate room pool as an example, divided according to room groups, FIG. 18 shows a flowchart 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 step 803 of randomly entering one room group.
[0274] Here, the first account can determine a reasonable quantity of matching items according to the total area of all virtual rooms owned by the first account, which is the sum of the reasonable quantities of items in each virtual room, and then determine corresponding candidate room groups according to the reasonable quantities of items, and randomly enter one room group.
[0275] For room groups in non-home room pools and home room pools, Step 804: determining 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 obtaining 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 determined 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, the method further includes the following steps:
[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 where 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 user preferentially enters the virtual room where the account is located, and if the account is not online, the user selects and enters the virtual room with the largest number of people.
[0284] As described above, the virtual room decoration method provided by the embodiment of the present application can quickly allow a first account to enter a virtual room corresponding to the first account by selecting at least one recommended virtual room that matches the room owned by the first account from the 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 method embodiments above, and therefore 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, which includes: a display module 1920 used to display 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 to display 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 1940 is further used to acquire 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 to control 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 to place 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 room, and determining to acquire the first switching operation in response to a virtual room entry for the first virtual room being selected.
[0288] Optionally, 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, where the public account is an account that provides an information push service for at least one account; a virtual room customized by a second account, where the second account has a friend relationship with the first account in an instant messaging system or a virtual world; and a virtual room customized by a third account, where the third account does not have a friend relationship with the first account in an instant messaging system or a virtual world.
[0289] Optionally, 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 where 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 where the most 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 purchase interface when one target prop is selected, or to display product introduction information of the prop group and a second purchase 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] Optionally, 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 is 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 the 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.
[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 used to display a second virtual character controlled by the room owner account in a second virtual room, where the room owner account is an owner account of the second virtual room, and the response module 1940 is further used 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 is further used to display that the first virtual character is holding a virtual prop bag when the target prop is successfully acquired as a target prop owned by the first account, and the virtual prop bag is 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 including: a receiving module 2020, a sending module 2040, and a responding module 2060; The receiving module 2020 is used to receive 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 to send first room data of a first virtual room to the client, and the first room data is used by the client to display the 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; The receiving module 2020 is further used to receive a first room switching request sent from the client and send 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 ownership rights of the target prop to the first account in response to the purchase request satisfying the purchase conditions.
[0300] The receiving module 2020 is further used to receive a second room switching request sent from a client and resend the first room data to the client; The receiving module 2020 is further used to receive a placement request sent by a client and send a placement instruction to the client, which 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 room entry data 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] Optionally, 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, where the public account is an account that provides an information push service for at least one account; a virtual room customized by a second account, where the second account has a friend relationship with the first account in an instant messaging system or a virtual world; and a virtual room customized by a third account, where the third account does not have a friend relationship with the first account in an instant messaging system or 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 products to match the room area, determine candidate virtual rooms corresponding to the reasonable quantity of products 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) player, a laptop, 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] Typically, the terminal 2100 includes a processor 2101 and a memory 2102 .
[0307] Processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. In some embodiments, processor 2101 may further include an AI (Artificial Intelligence) processor, which is used to handle 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, when executed by the processor 2101, may implement a method for displaying a viewing screen provided by a method embodiment herein.
[0309] In some embodiments, terminal 2100 further optionally includes a peripheral 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 RF (Radio Frequency) signals, also called electromagnetic signals, through which the radio frequency circuitry 2104 communicates with communication networks and other communication devices.
[0312] The touch display screen 2105 is used to display the 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, 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 can be appreciated by those skilled in the art, the structure shown in FIG. 21 does not constitute a limitation on terminal 2100, which may include more or fewer assemblies than shown, or may group certain assemblies together, or may employ different assembly layouts.
[0318] An embodiment of the present application further provides a computer device, the computer device including a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is 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 having a computer program stored therein, 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, which includes a programmable logic circuit and / or program instructions, and 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 herein means two or more than two. "And / or" describes a relationship between 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 together, and B exists alone. The character " / " generally indicates that the related objects before and after it are in an "or" relationship.
[0323] As can be understood by those skilled in the art, all or part of the steps in the above embodiments may be realized through hardware, or may be realized through a program instructing related hardware to complete the steps. The program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.
[0324] The above are merely optional examples of the present application and do not limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are all included in the scope of protection of the present application.
Claims
1. A method for decorating a virtual room, which is performed by a terminal logged in with the first account, wherein the method is: A step of displaying a first virtual room and a first virtual character located in the first virtual room, wherein the first virtual room and the first virtual character belong to the first account, Steps include: displaying the second virtual room in response to a first switching operation to enter the second virtual room, and controlling the first virtual character to enter the second virtual room, wherein the second virtual room does not belong to the first account, and at least one virtual prop is located within the second virtual room; The steps include displaying a second virtual character controlled by the room owner account in the second virtual room, The steps include: displaying the purchase interface for the target prop in response to a selection operation for the target prop in the at least one virtual prop; The steps include: acquiring the target prop as a virtual prop owned by the first account in response to a purchase operation on the purchase interface; The steps include 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 steps include: placing the target prop in the first virtual room in response to a placement operation on the target prop; How to decorate a virtual room.
2. The first switching operation is: A method for displaying a virtual room entry for at least one recommended virtual room, wherein the second virtual room is one of the at least one recommended virtual rooms; The method according to claim 1, obtained through a manner in which a decision is made to obtain the first switching operation in response to a selection of a virtual room entry for the second virtual room.
3. The at least one recommended virtual room is A background system, or a sample virtual room provided by a public account, wherein the public account is an account that provides information push services to at least one account, and A second account has customized a virtual room, and the second account has a friendship relationship with the first account in an instant messaging system or in a virtual world. The method according to claim 2, wherein the third account is a customized virtual room, and the third account includes at least one of three virtual rooms, including a virtual room that does not have an instant messaging system or a friendship relationship in the virtual world with the first account.
4. The step of displaying a purchase interface for a target prop in response to a selection operation for a target prop in at least one virtual prop is: When one target prop is selected, the steps include displaying product information for the target prop and the first purchase interface. Or, The process includes the step of displaying product information for the prop group and a second purchase interface when the selected target prop is a prop group formed by combining at least two virtual props, The method according to claim 1, wherein the product information includes at least one of the product name, the quantity of purchased resources, and the ownership status of the first account with respect to the target prop.
5. The method further includes: The steps include displaying the prop option configuration of the target prop, The method according to claim 4, comprising the step of changing the prop parameters of the target prop in response to a selection operation on the prop option configuration, wherein the prop parameters include at least one of color, style, model number, size, and material.
6. The method further includes: A step of indicating that the first virtual character moves within the first virtual room in response to a first movement control operation on the first virtual character, Or, The method according to claim 1, comprising the step of indicating that the first virtual character moves within the second virtual room in response to a second movement control operation on the first virtual character.
7. The step of displaying a purchase interface for a target prop in response to a selection operation for a target prop in at least one virtual prop is: A step of displaying the purchase interface for the target prop in response to a click operation on the target prop. Or, The method according to claim 6, comprising the step of displaying 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.
8. The method further includes: The method according to claim 6, further comprising the step of indicating that the first virtual character is using or experiencing the target prop in the second virtual room in response to a second control operation of the first virtual character.
9. The method further includes: A step of displaying a second virtual character controlled by a room owner account within the second virtual room, wherein the room owner account is the owner account of the second virtual room; The method according to claim 6, further comprising the step of displaying chat information in which the first virtual character and the second virtual character interact with the virtual prop in the second virtual room in response to a third control operation on the first virtual character.
10. The method further includes: The steps include: displaying a third virtual character controlled by a fourth account within the second virtual room, wherein the fourth account is a guest account entering the second virtual room; The method according to claim 6, comprising the step of displaying chat information in which the first virtual character and the third virtual character interact with the virtual prop in the second virtual room in response to a fourth control operation on the first virtual character.
11. The method further includes: The method according to claim 6, comprising the step of indicating that the first virtual character possesses a virtual prop bag when the first account successfully acquires the target prop as a virtual prop owned by the first account, wherein the virtual prop bag is used to instruct the target prop to be packed.
12. The step of placing the target prop in the first virtual room in response to a placement operation on the target prop is: The method according to claim 1, comprising the step of controlling the first virtual character to place the target prop at a designated location in the first virtual room or at a default location in response to a placement operation on the target prop, wherein the designated location is a designated location for the placement within the first virtual room, and the default location is the placement location of the target prop within the second virtual room.
13. A method for decorating a virtual room, which is performed by a server, wherein the method is: A step of receiving an identifier for a first virtual room sent from a client, wherein the client is logged in with a first account. A step of transmitting first room data of the first virtual room to the client, wherein the first room data is used by the client to display the 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 the first account, The steps include receiving a first room switching request sent from the client and sending second room data for a second virtual room to the client, wherein the second room data is used by the client to display the second virtual room, the second virtual room does not belong to the first account, at least one virtual prop is placed in the second virtual room, and a second virtual character controlled by the room owner account is displayed in the second virtual room; The steps include receiving a purchase request for the target prop sent from the aforementioned client, In response to the purchase request meeting the purchase conditions, the first account is granted ownership of the target prop; The steps include receiving a second room switching request sent from the client and resending the first room data to the client, A method for decorating a virtual room, comprising the steps of receiving a placement request sent from the client and sending a placement instruction to the client, wherein the placement instruction is used by the client to place the target prop in a first virtual room.
14. The method further includes: A step of selecting at least one recommended virtual room in the candidate room pool that matches the room owned by the first account, The method according to claim 13, comprising the step of transmitting room entry data for the at least one recommended virtual room to the client, wherein the room entry data is used by the client to display a virtual room entry for the at least one recommended virtual room, and the second virtual room is one of the at least one recommended virtual rooms.
15. The at least one recommended virtual room is A background system, or a sample virtual room provided by a public account, wherein the public account is an account that provides information push services to at least one account, and A second account has customized a virtual room, and the second account has a friendship relationship with the first account in an instant messaging system or in a virtual world. The method according to claim 14, wherein the third account is a customized virtual room, and the third account includes at least one of three virtual rooms, the first account and the virtual room which does not have an instant messaging system or a friendship relationship in the virtual world.
16. The step of selecting at least one recommended virtual room in the candidate room pool that matches a room owned by the first account is: The steps include determining the room area owned by the first account, The steps include determining a reasonable quantity of goods that matches the aforementioned room area, The steps include determining a candidate virtual room in the candidate room pool that corresponds to the reasonable quantity of goods, The method according to claim 14, comprising the step of randomly selecting at least one recommended virtual room from the candidate virtual rooms.
17. The candidate room pool is Non-resident room pool and At-home room pool and It includes a random room pool and at least one of the three types of room pools. The method according to claim 16, wherein the non-resident room pool includes candidate virtual rooms whose room owner account is not online, the resident room pool includes candidate virtual rooms whose room owner account is online and is not in the recommended cooldown period, and the random room pool includes candidate virtual rooms whose room owner account is online and is in the recommended cooldown period.
18. The method according to claim 16, wherein the random sampling probabilities of the three types of room pools and the corresponding random selection algorithms are different.
19. A decoration device for a virtual room, wherein the device is A display module used to display a first virtual room and a first virtual character, wherein the first virtual room and the first virtual character belong to a first account, and the display module A response module used to display the second virtual room and control the first virtual character to enter the second virtual room in response to a first switching operation to enter the second virtual room, wherein the second virtual room does not belong to the first account, contains at least one virtual prop, and displays the second virtual character controlled by the room owner account, the response module includes: The response module is further used to display a purchase interface for the target prop in response to a selection operation for the target prop in the at least one virtual prop. The response module is further used to acquire 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 to control the first virtual character to return to the first virtual room in response to a second switching operation that returns to the first virtual room. The response module is further used to position the target prop in the first virtual room in response to a positioning operation on the target prop, and is a virtual room decorating device.
20. A virtual room decoration device, the device comprising a receiving module, a transmitting module, and a response module, The receiving module is used to receive the identifier of the first virtual room sent from the client, and the client logs in with the first account. The transmission module is used to transmit the first room data of the first virtual room to the client, the first room data displays the first virtual room and the first virtual character to the client, and the first virtual room and the first virtual character belong to the first account. The receiving module is further used to receive a first room switching request sent from the client and to send second room data of a second virtual room to the client, the second room data is used by the client to display the second virtual room, the second virtual room does not belong to the first account, at least one virtual prop is placed in the second virtual room, and a second virtual character controlled by the room owner account is displayed in the second virtual room. The receiving module is further used to receive purchase requests for target props transmitted from the client. The response module is used to grant ownership rights of the target prop to the first account in response to the purchase request meeting the purchase conditions. The receiving module is further used to receive a second room switching request sent from the client and to resend the first room data to the client. The receiving module is further used to receive a placement request sent from the client and to send a placement instruction to the client, the placement instruction being used by the client to place the target prop in the first virtual room decoration device.
21. A computer device comprising a processor and a memory, wherein at least one computer program is stored in the memory, and at least one computer program is loaded and executed by the processor to realize the method for decorating a virtual room according to any one of claims 1 to 18.
22. A chip comprising a programmable logic circuit and / or a program instruction, wherein the chip is used, when in operation, to implement the method for decorating a virtual room according to any one of claims 1 to 18.
23. A computer program configured to implement the method for decorating a virtual room described in any one of claims 1 to 18.