Virtual room decoration method and device, equipment and medium
By displaying and placing target props in a virtual room, the problem of player selection is solved, more efficient human-computer interaction is achieved, and the physical preview effect of target props is provided.
Patent Information
- Application Number
- CN202510728860.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2025-07-22
AI Technical Summary
In the virtual world, players are inefficient when selecting target props, and the existing technology leads to low human-computer interaction efficiency.
By displaying the placed target props in the second virtual room and allowing players to select, purchase and place props, the display and placement of the target props in a three-dimensional virtual environment is achieved.
It improves the efficiency of players in selecting target props, provides the entity preview effect of target props, reduces selection time, and improves human-computer interaction efficiency.
Smart Images

Figure CN120346533A_ABST
Abstract
Description
[0001] This application is a divisional application of a Chinese invention application with an application date of January 28, 2022, an application number of 202210108624.X, and an invention title of "Decoration Method, Device, Equipment and Medium for Virtual Room". Technical Field
[0002] This application relates to the field of virtual worlds, and particularly to a decoration method, device, equipment and medium for a virtual room. Background Art
[0003] In the virtual world, in order to improve the player experience, usually the sale of target items is provided to players.
[0004] In the related art, after entering the virtual mall, players can select according to the item patterns displayed in the target item list; after determining the selected target item, players can perform a purchase operation to obtain the corresponding target item.
[0005] There are usually a large number of item patterns of target items listed in the target item list, which will result in a long time for players to determine the required target item, thus making the human-computer interaction efficiency low. Summary of the Invention
[0006] Embodiments of this application provide a decoration method, device, equipment and medium for a virtual room. By displaying at least one target item placed in a second virtual room, the first account can intuitively obtain the usage situation of the target item in the second virtual room and place it in the first virtual room belonging to the first account, improving the human-computer interaction efficiency. The technical solution is as follows:
[0007] According to one aspect of this application, a decoration method for a virtual room is provided. The method includes:
[0008] Display a first virtual room and a first virtual character located in the first virtual room. The first virtual room and the first virtual character belong to a first account;
[0009] In response to a first switching operation to enter a second virtual room, display the second virtual room, and control the first virtual character to enter the second virtual room. The second virtual room does not belong to the first account, and at least one virtual item is placed in the second virtual room;
[0010] In response to a selection operation on a target item among at least one virtual item, display a purchase interface for the target item;
[0011] In response to a purchase operation on the purchase interface, obtain the target item as a virtual item owned by the first account;
[0012] In response to a second switching operation to return to the first virtual room, control the first virtual character to return to the first virtual room;
[0013] In response to an operation of placing a target item, place the target item in the first virtual room.
[0014] According to one aspect of the present application, there is provided a method for decorating a virtual room, the method comprising:
[0015] Receive an identifier of a first virtual room sent by a client, where the client logs in with a first account;
[0016] Send first room data of the first virtual room to the client, where the first room data is used for the client to display the first virtual room and a first virtual character located in the first virtual room, and the first virtual room and the first virtual character belong to the first account;
[0017] Receive a first room switching request sent by the client, and send second room data of a second virtual room to the client, where the second room data is used for the client to display the second virtual room, the second virtual room does not belong to the first account, and at least one virtual item is placed in the first virtual room;
[0018] Receive a purchase request for a target item sent by the client;
[0019] In response to the purchase request meeting the purchase conditions, grant the first account the ownership permission of the target item;
[0020] Receive a second room switching request sent by the client, and resend the first room data to the client;
[0021] Receive a placement request sent by the client, and send a placement instruction, where the placement instruction is used for the client to place the target item in the first virtual room.
[0022] According to one aspect of the present application, there is provided a device for decorating a virtual room, the device comprising:
[0023] A display module for displaying the first virtual room and the first virtual character, where the first virtual room and the first virtual character belong to the first account;
[0024] A response module for, in response to a first switching operation to enter a second virtual room, displaying the second virtual room, controlling the first virtual character to enter the second virtual room, where the second virtual room does not belong to the first account, and at least one virtual item is placed in the second virtual room;
[0025] The response module is further configured to, in response to a selection operation of a target item among at least one virtual item, display a purchase interface of the target item;
[0026] The response module is further configured to, in response to a purchase operation on the purchase interface, obtain the target item as a virtual item owned by the first account;
[0027] The response module is further configured to, in response to a second switching operation to return to the first virtual room, control the first virtual character to return to the first virtual room;
[0028] The response module is further configured to, in response to a placement operation on the target item, place the target item in the first virtual room.
[0029] According to one aspect of the present application, there is provided a decoration device for a virtual room, the device comprising:
[0030] A receiving module, configured to receive an identifier of a first virtual room sent by a client, where the client logs in with a first account;
[0031] A sending module, configured to send first room data of the first virtual room to the client, where the first room data is used for the client to display the first virtual room and the first virtual character, and the first virtual room and the first virtual character belong to the first account;
[0032] The receiving module is further configured to receive a first room switching request sent by the client, and send second room data of a second virtual room to the client, where the second room data is used for the client to display the second virtual room, the second virtual room does not belong to the first account, and at least one virtual item is placed in the first virtual room;
[0033] The receiving module is further configured to receive a purchase request for a target item sent by the client;
[0034] A response module, configured to, in response to the purchase request meeting the purchase conditions, grant the first account the ownership permission of the target item;
[0035] The receiving module is further configured to receive a second room switching request sent by the client, and re-send the first room data to the client;
[0036] The receiving module is further configured to receive a placement request sent by the client, and send a placement instruction, where the placement instruction is used for the client to place the target item in the first virtual room.
[0037] According to one aspect of the present application, there is provided a computer device, the computer device comprising: a processor and a memory, where 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 implement the virtual room decoration method as described above.
[0038] According to one aspect of the present application, there is provided a computer-readable storage medium storing a computer program for being executed by a processor to implement the virtual room decoration method as described above.
[0039] According to one aspect of the present application, there is provided a chip including programmable logic circuits and / or program instructions, which are used to implement the virtual room decoration method as described above when the chip runs.
[0040] 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 includes computer instructions stored in a computer-readable storage medium. The processor reads and executes the computer instructions from the computer-readable storage medium to implement the virtual room decoration method as described above.
[0041] The beneficial effects brought by the technical solutions provided in the embodiments of the present application at least include:
[0042] By displaying at least one target prop placed in the first virtual room so that the target prop can be displayed in a three-dimensional virtual environment, the first account can intuitively obtain the usage situation of the target prop in the first virtual room and place it in the first virtual room belonging to the first account. The embodiments of the present application provide a display method of target props that is more in line with virtual reality, can provide an entity preview effect of the target prop for the first account, thereby reducing the time for the first account to select the target prop and improving the human-computer interaction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0044] Figure 1 is a schematic structural diagram of a terminal provided by an exemplary embodiment of the present application;
[0045] Figure 2 is a block diagram of the structure of a computer system provided by an exemplary embodiment of the present application;
[0046] Figure 3 is a schematic interface diagram of the virtual room decoration method provided by an exemplary embodiment of the present application;
[0047] Figure 4 is a flowchart of the virtual room decoration method provided by an exemplary embodiment of the present application;
[0048] Figure 5 It is a flowchart of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0049] Figure 6 It is a schematic diagram of an interface provided by an exemplary embodiment of the present application;
[0050] Figure 7 It is a schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0051] Figure 8 It is a schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0052] Figure 9 It is a schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0053] Figure 10 It is a flowchart of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0054] Figure 11 It is a schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0055] Figure 12 It is a schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0056] Figure 13 It is a schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0057] Figure 14 It is a flowchart of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0058] Figure 15 It is a flowchart of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0059] Figure 16 It is a flowchart of a method for decorating a virtual room provided by an exemplary embodiment of the present application;
[0060] Figure 17 It is a flowchart of dividing a candidate room pool provided by an exemplary embodiment of the present application;
[0061] Figure 18 It is a flowchart of entering a virtual room provided by an exemplary embodiment of the present application;
[0062] Figure 19It is a schematic diagram of a decoration device for a virtual room provided by an exemplary embodiment of the present application;
[0063] Figure 20 It is a schematic diagram of a decoration device for a virtual room provided by an exemplary embodiment of the present application;
[0064] Figure 21 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. Detailed implementation manners
[0065] To make the objectives, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0066] The method provided in the present application can be applied to an application program with a virtual room and virtual characters. Exemplarily, an application program that supports a virtual room is an application program in which a user can control a virtual character to move in the virtual room. Exemplarily, the method provided in the present application can be applied to any one of the following programs: 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.
[0067] In some embodiments, the above application program can be a dressing-up game, a clothing-changing game, a role-playing game, etc. The client can 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 the clients of different operating systems can communicate with each other. In some embodiments, the above client is a program suitable for a mobile terminal with a touch screen.
[0068] In some embodiments, the above client is an application program developed based on a three-dimensional engine. For example, the three-dimensional engine is the Unity engine.
[0069] The terminal in this application can be a desktop computer, a 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, and so on. A client that supports a virtual room is installed and runs on this terminal. The application can be one of a virtual reality application or an augmented reality program. Optionally, the application can be a stand-alone application, such as a stand-alone 3D game program, or a network online version of the application.
[0070] Figure 1 FIG. 4 is a schematic structural diagram of a terminal provided by an exemplary embodiment of this application. The terminal includes a processor 101, a touch screen 102, and a memory 103.
[0071] The processor 101 can be at least one of a single-core processor, a multi-core processor, an embedded chip, and a processor with instruction execution capabilities.
[0072] The touch screen 102 includes an ordinary touch screen or a pressure-sensing touch screen. The ordinary touch screen can measure a pressing operation or a sliding operation applied to the touch screen 102; the pressure-sensing touch screen can measure the pressing force applied to the touch screen 102.
[0073] The memory 103 stores an executable program of the processor 101. Schematically, the memory 103 stores a virtual environment program A, an application program B, an application program C, a touch pressure sensing module 18, and a kernel layer 19 of the operating system. Among them, the virtual environment program A is an application program developed based on a three-dimensional virtual environment module 17. Optionally, the virtual environment program A includes but is not limited to at least one of a game program, a virtual reality program, a three-dimensional map program, and a three-dimensional demonstration program developed by the three-dimensional virtual environment module (also called the virtual environment module) 17. For example, when the operating system of the terminal adopts the Android operating system, the virtual environment program A is developed using the Java programming language and the C# language; for another example, when the operating system of the terminal adopts the IOS operating system, the virtual environment program A is developed using the Object-C programming language and the C# language.
[0074] The three-dimensional virtual environment module 17 is a module that supports multiple operating system platforms. Schematically, the three-dimensional virtual environment module can be used for program development in multiple fields such as game development, Virtual Reality (VR) field, and three-dimensional map field, etc. The specific type of the three-dimensional virtual environment module 17 is not limited in the embodiments of this application. In the following embodiments, an example is given where the three-dimensional virtual environment module 17 is a module developed using the Unity engine.
[0075] The touch (and pressure) sensing module 18 is a module for receiving touch events (and pressure touch events) reported by the touch screen driver 191. Optionally, the touch sensing module may not have the pressure sensing function and does not receive pressure touch events. Touch events include: the type and coordinate values of the touch event. The types of touch events include, but are not limited to: touch start event, touch move event, and touch down event. The pressure touch event includes: the pressure value and coordinate value of the pressure touch event. The coordinate value is used to indicate the touch position of the pressure touch operation on the display screen. Optionally, a two-dimensional coordinate system is established with the horizontal direction of the display screen as the horizontal axis and the vertical direction of the display screen as the vertical axis.
[0076] Schematically, the kernel layer 19 includes the touch screen driver 191 and other drivers 192. The touch screen driver 191 is a module for detecting pressure touch events. When the touch screen driver 191 detects a pressure touch event, it transmits the pressure touch event to the pressure sensing module 18.
[0077] Other drivers 192 can be drivers related to the processor 101, drivers related to the memory 103, drivers related to network components, drivers related to sound components, etc.
[0078] Those skilled in the art can know that the above is only a schematic generalization of the structure of the terminal. In different embodiments, the terminal may have more or fewer components. For example, the terminal may further include a gravity acceleration sensor, a gyroscope sensor, a power supply, etc.
[0079] Figure 2 The block diagram of the structure of a computer system provided by an exemplary embodiment of this application is shown. The computer system 200 includes: a terminal 210, a server cluster 220.
[0080] The terminal 210 installs and runs a client 211 that supports a virtual room. The client 211 can be an application program that supports a virtual room. Among them, the client 211 can be an application program that supports social functions and virtual rooms. The social functions are functions in the forms of instant communication, Weibo, blog, official account, online meeting, live broadcast, etc. based on the network.
[0081] When the terminal runs the client 211, the user interface of the client 211 is displayed on the screen of the terminal 210. The terminal 210 is the terminal used by the first user 212. The first user 212 uses the terminal 210 to control the activities of the first virtual character located in the virtual room. The first virtual character can be referred to as the first virtual character of the first user 212. The activities of the first virtual character include, but are not limited to, at least one of adjusting body posture, crawling, walking, running, jumping, and picking up. Schematically, the first virtual character is a first virtual character, such as an emulated human character or an anime character.
[0082] The device type of the terminal 210 includes at least one of a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer.
[0083] Figure 2 Only one terminal is shown, but there are multiple other terminals 240 in different embodiments. In some embodiments, there is at least one other terminal 240 that is the terminal corresponding to the developer. A development and editing platform for the client of the virtual environment is installed on the other terminal 240. The developer can edit and update the client on the other terminal 240, and transmit the updated client installation package to the server cluster 220 through a wired or wireless network. The terminal 210 can download the client installation package from the server cluster 220 to update the client.
[0084] The terminal 210 and the other terminal 240 are connected to the server cluster 220 through a wireless network or a wired network.
[0085] The server cluster 220 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The server cluster 220 is used to provide background services for the client that supports the three-dimensional virtual environment. Optionally, the server cluster 220 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, the server cluster 220 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, a distributed computing architecture is adopted between the server cluster 220 and the terminal for collaborative computing.
[0086] Optionally, the above-mentioned terminal and server are both computer devices.
[0087] In a schematic example, 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 battle service module 224, and a user-oriented input / output interface (I / O interface) 225. Among them, the processor 222 is used to load the instructions stored in the server 221 and process the data in the user account database 223 and the battle service module 224; the user account database 223 is used to store the data of the user accounts used by the terminal 210 and other terminals 240, such as the avatars of the user accounts, the nicknames of the user accounts, the combat power indexes of the user accounts, and the service areas where the user accounts are located; the battle service module 224 is used to provide multiple battle rooms for users to conduct battles; the user-oriented I / O interface 225 is used to establish communication with the terminal 210 through a wireless network or a wired network to exchange data.
[0088] Combined with the above introduction to the virtual environment and the description of the implementation environment, the data synchronization method provided by the embodiments of the present application will be described below.
[0089] Figure 3 The interface schematic diagram of the decoration method of the virtual room provided by an exemplary embodiment of the present application is shown.
[0090] 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. The first virtual room and the first virtual character 311 belong to the first account.
[0091] Among them, the first account can control the first virtual character 311 to move in the second virtual room 310. For example, a player logged in with the first account can control the movement of the first virtual character 311 through a joystick.
[0092] In response to a first switching operation to enter the second virtual room, the second virtual room is displayed in the display interface 310. Optionally, a room switching control 312 is displayed in the display interface 310. The first account performs the first switching operation in the room switching control 312, and while displaying the second virtual room, controls the first virtual character 311 to enter the second virtual room.
[0093] Among them, 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 magic world, the imaginary world view world, and the metaverse world.
[0094] Optionally, the second virtual room can be a virtual room independently selected by the first account or a sample virtual room. For example, the second virtual room is a sample virtual room provided by the background system, and the sample virtual room is determined according to the preferences of the first account.
[0095] Schematically, a virtual item refers to a virtual object that exists in the second virtual room and can be commercialized. For example, virtual items include, but are not limited to, one or more of virtual props, virtual furniture, virtual pets, virtual appliances, virtual clothing, virtual plants, virtual food, virtual transportation tools, virtual house models, virtual raw materials, virtual semi-finished products, virtual equipment, and display areas of virtual services.
[0096] Taking the second virtual room as a virtual supermarket as an example, various styles of virtual daily necessities, virtual food, virtual appliances, virtual clothing and other virtual props are placed in the virtual supermarket; taking the second virtual room as a virtual sales office as an example, multiple virtual house models are placed in the virtual sales office; taking the second virtual room as a virtual car dealership as an example, various virtual cars, virtual electric vehicles, virtual skateboards and other virtual props are placed in the virtual car dealership; taking the second virtual room as a virtual bedroom as an example, virtual single beds, virtual wardrobes, virtual dressing tables, virtual mirrors, virtual sofas, virtual TVs, virtual table lamps and other virtual props are placed in the virtual bedroom.
[0097] Reference Figure 3 , the second virtual room includes multiple virtual items. Taking the target item as the virtual drum set 313 as an example:
[0098] 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, when the player clicks on the area where the virtual drum set 313 is located, the purchase interface 314 is displayed below the virtual drum set 313.
[0099] Optionally, at least one of the product name of the virtual drum set 313, the quantity of purchase resources, and the ownership status of the first account for the virtual drum set 313 is displayed on the purchase interface 314.
[0100] Optionally, the optional configuration of the virtual drum set 313 is also displayed in the display interface 310. When the player performs a selection operation on the optional configuration of the item, the item parameters of the virtual drum set 313 can be changed, and the item parameters include at least one of color, style, model, size, and material. For example, the player selects the color of the virtual drum set 313 as reddish-brown.
[0101] In response to a purchase operation on the purchase interface 314, the virtual drum set 313 is obtained as a virtual item owned by the first account. For example, taking the player logging in to the first account as an example, when the player clicks the obtain button on the purchase interface 314, the virtual drum set 313 is determined as a virtual item owned by the first account.
[0102] Optionally, a second virtual character 315 controlled by the host account is also displayed in the second virtual room. The host account is the owner account of the second virtual room, and the second virtual character 315 can be regarded as the virtual owner of the second virtual room 310. For the virtual drum set 313, the first account and the host account can interact. In response to a control operation on the first virtual character 313, chat information showing the first virtual character 313 and the second virtual character 315 communicating and interacting regarding the virtual drum set 313 in the second virtual room can be displayed on the display interface 310.
[0103] Similarly, optionally, a third virtual character (not shown in the figure) controlled by a fourth account is also displayed in the second virtual room. The fourth account is a visitor account that enters the second virtual room. For the virtual drum set 313, chat information showing the first virtual character 313 and the third virtual character communicating and interacting regarding the virtual drum set 313 in the second virtual room can also be displayed on the display interface 310.
[0104] 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; subsequently, in response to a placement operation of the target item, the target item is placed in the first virtual room.
[0105] Figure 4 The flowchart of the virtual room decoration method provided by an exemplary embodiment of the present application is shown. This method is applied to a terminal logged in with a first account, and the method includes the following steps:
[0106] Step 401: Display the first virtual room and the first virtual character located in the first virtual room.
[0107] Schematically, the first virtual room and the first virtual character belong to the first account.
[0108] Step 402: In response to a first switching operation to enter the second virtual room, display the second virtual room and control the first virtual character to enter the second virtual room.
[0109] Schematically, the second virtual room does not belong to the first account, and at least one virtual item is placed in the second virtual room.
[0110] Among them, the second virtual room can be a virtual room independently selected by the first account or a sample virtual room. For example, the second virtual room is a sample virtual room provided by the background system, and the sample virtual room is determined according to the historical data of the first account; or, the first account makes an independent selection among multiple candidate virtual rooms, and the virtual room selected by the first account is determined as the second virtual room.
[0111] Schematically, a virtual item refers to a virtual object that exists in the second virtual room and can be commercialized. For example, the virtual item is one or more of virtual props, virtual furniture, virtual pets, virtual appliances, virtual clothing, and virtual plants.
[0112] Among them, the virtual item can be custom-arranged by the house owner account that owns the second virtual room or can be default-arranged. For example, the second virtual room is a virtual room custom-defined by a second account that has a friendship relationship with the first account, and the virtual items placed in the second virtual room are custom-arranged by the second account; or, the second virtual room is a sample virtual room provided by the background system, and the placement positions of the virtual items in the second virtual room are default settings.
[0113] Schematically, the first switching operation is used to realize the display switching between the first virtual room and the second virtual room. Optionally, in response to the first switching operation on the room switching control, the display of the first virtual room is cancelled, and the second virtual room is displayed.
[0114] Step 403: In response to the selection operation on the target item among at least one virtual item, display the purchase interface of the target item.
[0115] Schematically, the selection operation on the target item includes but is not limited to at least one of the following operations: a single-click operation on the target item, a double-click operation on the target item, a touch operation on the target item, a swipe operation on the target item, and a movement operation close to the target item.
[0116] Reference Figure 3 , taking the virtual drum set 313 as an example of the target item, in response to the single-click operation on the virtual drum set 313, display the purchase interface 314 of the virtual drum set 313. Among them, the number of purchase interfaces 314 can be determined according to actual needs. Figure 3 Two purchase interfaces 314 are shown in , respectively indicating two different purchase methods of the virtual drum set 313.
[0117] Optionally, the purchase methods of the target item include but are not limited to at least one of the following: purchase using virtual resources, purchase using virtual vouchers, purchase by completing specified tasks, and purchase by accepting gifts from friend accounts.
[0118] Step 404: In response to a purchase operation on the purchase interface, obtain the target item as a virtual item owned by the first account.
[0119] Illustratively, the purchase operation on the purchase interface includes, but is not limited to, at least one of the following operations: a click operation on the purchase interface, a double-click operation on the purchase interface, a touch operation on the purchase interface, and a swipe operation on the purchase interface.
[0120] Reference Figure 3 , the first account performs a click operation on the purchase interface 314, obtains the virtual drum set 313 as the target item owned by the first account, and the corresponding virtual purchase currency or virtual purchase voucher of the first account is reduced accordingly, and the reduction amount is equivalent to the virtual value of the virtual drum set 313.
[0121] Step 405: In response to a second switching operation to return to the first virtual room, control the first virtual character to return to the first virtual room.
[0122] Illustratively, the second switching operation is used to implement the display switching between the first virtual room and the second virtual room. Optionally, in response to the second switching operation on the room switching control, cancel the display of the second virtual room and display the first virtual room.
[0123] Step 406: In response to a placement operation on the target item, place the target item in the first virtual room.
[0124] After controlling the first virtual character to return to the first virtual room, perform a placement operation on the target item so that the target item is placed in the first virtual room.
[0125] Among them, the placement position of the target item in the first virtual room can be one of a specified position or a default position. The specified position is a specified position within the first virtual room, and the default position is the placement position of the target item in the second virtual room.
[0126] In summary, the method for decorating a virtual room provided by the embodiments of the present application displays at least one target item placed in the second virtual room, so that the target item can be displayed in a three-dimensional virtual environment, so that the first account can intuitively obtain the usage situation of the target item in the second virtual room and place it in the first virtual room belonging to the first account. The embodiments of the present application provide a display method of a target item that is more in line with virtual reality, can provide a physical preview effect of the target item for the first account, thereby reducing the time for the first account to select the target item and improving the human-computer interaction efficiency.
[0127] Based on Figure 4 , Figure 5The figure shows a flowchart of a method for decorating a virtual room provided by an exemplary embodiment of the present application. This method is applied to a terminal logged in with a first account. Among them, step 402 can be implemented as step 4021 and step 4022, and step 403 can be implemented as one of step 4031 and step 4032, specifically as follows:
[0128] Step 4021: In response to a first switching operation to enter a second virtual room, display virtual room entrances of at least one recommended virtual room.
[0129] Optionally, at least one recommended virtual room includes at least one of the following three types of virtual rooms:
[0130] · Sample virtual rooms provided by a background system or a public account.
[0131] Illustratively, a public account is an account that provides information push services 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 preferences of the first account.
[0132] · Virtual rooms customized by a second account.
[0133] Illustratively, the second account has a friendship relationship with the first account 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. The first account and the second account are friends with each other in the instant messaging system. The second account arranges wall lights, a wooden bed, a ceiling crystal lamp, a carpet, etc. in the virtual room according to its own preferences. This virtual room can be used as one of the at least one recommended virtual rooms.
[0134] · Virtual rooms customized by a third account.
[0135] Illustratively, the third account does not have a friendship relationship with the first account in an instant messaging system or a virtual world. For example, at least one recommended virtual room is a virtual room customized by the third account. The first account and the third account do not have a friendship relationship in the virtual world. The third account arranges the virtual room according to its own preferences. This virtual room can be used as one of the at least one recommended virtual rooms.
[0136] Optionally, virtual rooms can also be divided from the following dimensions:
[0137] 1. According to the dimension of whether the homeowner account is online, virtual rooms can be divided into virtual rooms where the homeowner account is online and virtual rooms where the homeowner account is not online.
[0138] Among them, in the case where a homeowner account has multiple virtual rooms, for a room combination composed of at least two of the multiple virtual rooms, it can also be divided into the virtual room where the virtual character controlled by the homeowner account is located and the virtual room where the virtual character is not located.
[0139] For example, if the homeowner account has 5 bedrooms and 2 living rooms, and a room combination is composed of 2 bedrooms and 1 living room. Taking the case where the virtual character controlled by the homeowner account is located in the living room as an example, the 2 bedrooms can be classified as virtual rooms where the virtual character controlled by the homeowner account is not located, and the living room can be classified as the virtual room where the virtual character controlled by the homeowner account is located.
[0140] 2. From the dimension of whether there is a virtual character controlled by a friend account in the virtual room where it is located, the virtual room can be divided into a room with friends and a room without friends.
[0141] Among them, according to the number of virtual characters controlled by the friend account, the room with the most friends can also be determined from the rooms with friends.
[0142] For example, if virtual character 1, virtual character 2, and virtual character 3 are displayed in virtual room 1, and virtual character 1 and virtual character 2 have a friend relationship with the first account, then virtual room 1 can be classified as a room with friends. Another example is that virtual character 1, virtual character 2, and virtual character 3 are displayed in virtual room 1, virtual character 4 and virtual character 5 are displayed in virtual room 2, and virtual character 6 is displayed in virtual room 3. Virtual character 1, virtual character 2, and virtual character 5 have a friend relationship with the first account, and other virtual characters have no friend relationship with the first account. Then virtual room 1 and virtual room 2 can be classified as rooms with friends, virtual room 3 can be classified as a room without friends, and virtual room 1 is the room with the most friends.
[0143] 3. From the dimension of whether there is a virtual character controlled by a visitor account in the virtual room where it is located, the virtual room can be divided into a room with people and a room without people.
[0144] Among them, according to the number of virtual characters controlled by the visitor account, the room with the most people can also be determined from the rooms with people.
[0145] Optionally, the visitor account can be an account that has a friend relationship with the first account or a stranger account that has no friend relationship with the first account.
[0146] Among them, in the case where the visitor account is an account that has a friend relationship with the first account, the division of the virtual room can refer to the second account division dimension.
[0147] When the visitor account is a stranger account, the virtual room can be specifically divided into a room with strangers and a room without strangers. Suppose there are virtual character 1 and virtual character 2 displayed in virtual room 1, and virtual character 3 is displayed in virtual room 2. Virtual character 1, virtual character 2, and virtual character 3 are all virtual characters controlled by stranger accounts. Then, 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.
[0148] It should be understood that any division of the virtual room based on relevant dimensions of the account is within the protection scope of this application. The above content is only an exemplary example and does not specifically limit this application.
[0149] Step 4022: In response to the confirmation operation on the virtual room entrance of the second virtual room, display the second virtual room.
[0150] Schematically, the second virtual room is one of at least one recommended virtual room, and at least one virtual item is placed in the second virtual room.
[0151] Among them, the confirmation operation on the virtual room entrance includes but is not limited to at least one of the following operations: a single-click operation on the virtual room entrance, a double-click operation on the virtual room entrance, a touch operation on the virtual room entrance, and a sliding operation on the virtual room entrance.
[0152] Figure 6 The figure shows an interface schematic diagram provided by an exemplary embodiment of this application. A selection control 611 is displayed in the display interface 610 of the first account. In response to the trigger operation of the first account on the selection control 611, a first virtual room entrance 612, a second virtual room entrance 613, a third virtual room entrance 614, and other virtual room entrances 615 are displayed. The above four virtual room entrances respectively correspond to four different recommended virtual rooms.
[0153] Among them, the recommended virtual rooms corresponding to the first virtual room entrance 612, the second virtual room entrance 613, and the third virtual room entrance 614 are sample virtual rooms provided by the background system or public account; the recommended virtual rooms corresponding to other virtual room entrances 615 include virtual rooms customized by the second account and / or virtual rooms customized by the third account.
[0154] Optionally, in response to the confirmation operation on other virtual room entrances 615, a virtual room customized by the second account or a virtual room customized by the third account is randomly displayed.
[0155] Optionally, a nickname string "dreamer" of the first account is also displayed in the display interface 610, and the virtual rooms displayed in the display interface 610 are owned by the first account.
[0156] Optionally, a menu control 01 is also displayed in the display interface 610. In response to a triggering operation on the menu control 01, the display interface 610 is switched to the management interface of the first account.
[0157] Optionally, at least one of a first operation control 021, a second operation control 022, and a third operation control 023 is also displayed in the display interface 610.
[0158] In response to a control operation on the first operation control 021, control the first virtual character to move in the second virtual room; in response to a control operation on the second operation control 022, control the first virtual character to pick up a selected virtual item, which can be a target item that has been purchased, a randomly dropped virtual item, or a virtual item dropped by the first virtual character; in response to a control operation on the third operation control 023, control the first virtual character to take out the target item placed in the virtual backpack. For example, through a control operation on the third operation control 023, the first account places a virtual carpet purchased from other virtual rooms in its own virtual room.
[0159] Optionally, a public room switching control 03 is also displayed in the display interface 610. In response to a triggering operation on the public room switching control 03, a virtual public room is displayed. Among them, the layout of the virtual public room can be set according to actual needs. Multiple virtual characters controlled by multiple accounts can be displayed in the virtual public room, and multiple accounts can purchase virtual items in the virtual public room simultaneously.
[0160] For example, the virtual public room is decorated according to the Spring Festival theme. The first account clicks on the public room switching control 03, and a virtual public room is displayed in the display interface 610. The virtual public room is decorated with virtual Chinese knots, virtual lucky character posters, virtual Spring Festival couplets, virtual lanterns, virtual tiger head talismans, etc.
[0161] Optionally, a backpack control 04 is also displayed in the display interface 610. In response to a triggering operation on the backpack control 04, a virtual backpack is displayed, and at least one target item owned by the first account is displayed in the virtual backpack.
[0162] Among them, 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 can be hidden controls, which are displayed under conditions that meet the display requirements and the display of the above controls is cancelled under conditions that meet the hiding requirements.
[0163] For example, in response to a trigger operation on the display interface 610, at least one of a menu control 01, a first operation control 021, a second operation control 022, a third operation control 023, a public room switching control 03, and a backpack control 04 is displayed; when the display time of the menu control 01, the first operation control 021, the second operation control 022, the third operation control 023, the public room switching control 03, and the backpack control 04 exceeds a preset 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 cancelled.
[0164] Figure 7 The figure shows an interface schematic diagram of a method for decorating a virtual room provided by an exemplary embodiment of the present application. Among them, in response to a confirmation operation on another virtual room entrance 615, a virtual room customized by a second account is displayed. Subsequently, in response to a selection operation on a virtual chair 616, a purchase interface 617 of the virtual chair 616 is displayed; in response to a purchase operation on the purchase interface 617, the virtual chair 616 is obtained as a target item owned by the first account.
[0165] Among them, after the virtual chair 616 is obtained as a target item owned by the first account, an acquisition special effect can be displayed in the display interface 610. This special effect can be a packaging animation special effect, used to indicate that the first account owns the virtual chair 616. Optionally, after successfully obtaining the virtual chair 616 as a target item owned by the first account, a virtual item suitcase 618 can be displayed in the display interface. The virtual item suitcase 618 is used to indicate the packaging of the virtual chair 616.
[0166] Optionally, the second virtual room belongs to a target room combination, and the target room combination includes at least two virtual rooms; the second virtual room is the virtual room where the second virtual character controlled by the host account in the target room combination is located, or the second virtual room is the virtual room with the largest number of third virtual characters controlled by a visitor account in the target room combination.
[0167] For example, the target room combination is owned by a second account, and the target room combination includes 3 bedrooms and 1 living room. If the 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 combination.
[0168] Another example is that there is also a third virtual character controlled by a visitor account in the target room combination, 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 combination.
[0169] Step 4031: When the selected target item is one, display the product introduction information and the first purchase interface of the target item.
[0170] Schematically, the product introduction information includes at least one of the product name, the quantity of purchased resources, and the ownership status of the target item by the first account.
[0171] Among them, the purchased resources refer to the virtual resources and / or virtual purchase vouchers that the first account needs to pay to obtain the selected target item. For example, if the purchased resources are virtual resources, the quantity of virtual resources required to purchase the target item is displayed on the periphery of the selected target item.
[0172] Optionally, the product introduction information is displayed on the periphery of the first purchase interface.
[0173] Figure 8 It is a schematic diagram of the interface of the virtual room decoration method provided by an exemplary embodiment of the present application. In the display interface 810, a second virtual room is displayed, and a virtual carpet 811 is placed in the second virtual room. When the selected target item is the virtual carpet 811, the product introduction information of the virtual carpet 811 and two first purchase interfaces 812 are displayed in the display interface 810.
[0174] Among them, the product introduction information of the virtual carpet 811 is displayed above the first purchase interface 812, and the product introduction information includes the name of the virtual carpet 811 and the quantity of the virtual carpet 811 owned by the first account. In addition, the two first purchase interfaces 812 are used to indicate two different purchase methods, and the quantity of the purchase resources of the virtual carpet 811 is also displayed on the periphery of the two first purchase interfaces 812.
[0175] Optionally, to meet the different needs of the first account for the target item, the virtual room decoration method provided by the embodiment of the present application further includes:
[0176] Displaying the optional configurations of the target item;
[0177] In response to a selection operation on the optional configuration of the item, changing the item parameters of the target item, where the item parameters include at least one of color, style, model, size, and material.
[0178] Among them, the optional configuration of the item is used to indicate that the first account can independently select the item parameters that can be configured for the target item. Taking the target item as the virtual carpet 811 as an example, when the first account performs a selection operation on the virtual carpet 811, the optional configuration of the item can be displayed on the periphery of the virtual carpet 811, and the first account can perform a selection operation on the optional configuration of the item. For example, the first account changes the color of the virtual carpet 811 to beige.
[0179] Optionally, a name string of the second virtual room is also displayed in the display interface 810, and the name string can be the string "Coffee Style Restaurant".
[0180] Step 4032: When the selected target item is an item combination formed by at least two target items, display the product introduction information of the item combination and the second purchase interface.
[0181] Illustratively, the product introduction information includes at least one of the following: product name, quantity of purchase resources, and the possession status of the target item by the first account.
[0182] Among them, the product introduction information is displayed on the periphery of the second purchase interface.
[0183] Figure 9 FIG. is a schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application. In the display interface 910, a second virtual room is displayed. In the second virtual room, a virtual combined desk 911 is placed. The virtual combined desk 911 includes two target items: a virtual table and a virtual chair. When the selected target item is the virtual combined desk 911, the product introduction information of the virtual combined desk 911 and two second purchase interfaces 913 are displayed in the display interface 910.
[0184] Among them, the product introduction information of the virtual combined desk 911 is displayed above the second purchase interface 913. The product introduction information includes the name of the virtual combined desk 911 and the quantity of the virtual combined desk 911 possessed by the second account.
[0185] In addition, the two second purchase interfaces 913 are used to indicate two different purchase methods, and the quantity of purchase resources for the virtual combined desk 911 is also displayed on the periphery of the two second purchase interfaces 913. Assume that the purchase resources for the virtual table are 20 virtual resources, and the purchase resources for the virtual chair are 5 virtual resources. Then the quantity of purchase resources for the virtual combined desk 911 is 35 virtual resources.
[0186] Optionally, a name string of the second virtual room is also displayed in the display interface 910, and the name string can be the string "XX's Home".
[0187] Optionally, to meet different requirements of the first account for the target item, the method for decorating a virtual room provided by an embodiment of the present application further includes:
[0188] Display the optional configurations of the target item;
[0189] In response to a selection operation on the optional configuration of the item, change the item parameters of the target item. The item parameters include at least one of color, style, model, size, and material.
[0190] Among them, the relevant descriptions of the optional configuration of the item and the item parameters can refer to the foregoing content and will not be elaborated here.
[0191] Schematically, step 4031 and step 4032 are alternatively executed and cannot be executed simultaneously.
[0192] In summary, the virtual room decoration method provided by the embodiments of the present application provides at least one virtual room entrance for recommending virtual rooms for the first account to select a virtual room. The first account can quickly enter the required virtual room according to its own needs to obtain the target props placed in the virtual room.
[0193] Among them, the recommended virtual room can be a sample virtual room provided by the background system or a public account, or a virtual room customized by the second account or the third account. According to different recommended virtual rooms, the first account can obtain virtual rooms with different layout styles, thereby providing more choices of virtual rooms for the first account and improving the efficiency of human-computer interaction.
[0194] Optionally, according to the different number of selected target props, the display content in the display interface is different.
[0195] Among them, when the selected target prop is one piece, the product introduction information of the menu item target prop is displayed; when the selected target prop is multiple pieces, the product introduction information of the prop combination is displayed, so that the first account can intuitively obtain the relevant information of the combined product, which is closer to the shopping experience in virtual reality.
[0196] Based on Figure 4 , Figure 10 FIG. shows a flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application. The method is applied to a terminal logged in with a first account, and the method further includes step 407, which is specifically as follows:
[0197] Step 407: When the target prop is successfully obtained as the target prop owned by the first account, display that the first virtual character holds a virtual prop suitcase.
[0198] Schematically, the virtual prop suitcase is used to indicate packing the target prop.
[0199] Figure 11 FIG. shows a schematic diagram of the interface of the virtual room decoration method provided by an exemplary embodiment of the present application.
[0200] In the display interface 1110, a virtual single bed 1111 is displayed in the second virtual room. In response to the selection operation on the virtual single bed 1111, a purchase interface 1112 of the virtual single bed 1111 is displayed. Subsequently, in response to the purchase operation on the purchase interface 1112, the virtual single bed 1111 is obtained as the target prop owned by the first account.
[0201] Optionally, a first virtual character 1113 is also displayed in the second virtual room.
[0202] When the virtual single bed 1111 is successfully obtained as the target item owned by the first account, the first virtual character 1113 is shown holding the virtual item case 1114 in the display interface 1110. Among them, the virtual item case 1114 can be displayed in the form of a courier box, a packaging bag, a handbag, a packing box, etc.
[0203] Optionally, before displaying the virtual item case 1114, a packing animation effect can also be shown. For example, when the virtual single bed 1111 is successfully obtained as the target item owned by the first account, the first virtual character 1113 is changed from a back view display to a front view display, and at the same time, a packing animation effect is shown on the hand of the first virtual character 1113, and then the virtual item case 1114 is shown in the hand of the first virtual character 1113 to indicate that the virtual single bed 1111 has been packed up.
[0204] Optionally, referring to Figure 10 When the first virtual character is shown in the second virtual room, the virtual room decoration method provided by the embodiments of the present application further includes steps 408-412. Among them, after step 4031, step 4032, step 408, step 409, and step 411 can be executed alternatively, or sequentially, or disorderly. Steps 408-412 are specifically as follows:
[0205] Step 408: In response to a first movement control operation on the first virtual character, show the first virtual character moving in the first virtual room; and / or, in response to a second movement control operation on the first virtual character, show the first virtual character moving in the second virtual room.
[0206] Among them, the first control operation and the second control operation include but are not limited to at least one of the following operations: translation operation, turning operation, jumping operation, prone operation. Referring to Figure 9 In the display interface 910, the first virtual character 912 is shown in the second virtual room, and the first virtual character 912 is controlled by the first account.
[0207] Among them, the player logging in to the first account can control the first virtual character 912 to move in the second virtual room through a joystick; or, the player logging in to the first account can control the movement of the first virtual character 912 by moving the mouse.
[0208] When the first virtual character is shown in the second virtual room, step 403 can be implemented as follows:
[0209] In response to a click operation on the target item, show the purchase interface of the target item;
[0210] Or,
[0211] In response to the distance between the first virtual character and the target item being less than a threshold value, display the purchase interface of the target item.
[0212] Wherein, the threshold value can be customized according to actual needs, or the threshold value is a default fixed value.
[0213] For example, the first account controls the first virtual character to move towards the target item, and when the distance between the first virtual character and the target item is less than the default fixed value, display the purchase interface of the target item.
[0214] Still referring to Figure 9 , the target item is the virtual combined desk 911. The player clicks on the virtual combined desk 911, and in response to the click operation on the virtual combined desk 911, display the purchase interface 913 of the virtual combined desk 911; or, the player controls the first virtual character 912 to move in the second virtual room so that the first virtual character 912 gradually approaches the virtual combined desk 911. When the distance between the first virtual character 912 and the virtual combined desk 911 is less than the threshold value, display the purchase interface 913.
[0215] Optionally, the method for decorating the virtual room provided in the embodiments of the present application further includes: in response to a second control operation of the first virtual character, display the first virtual character using or experiencing the target item in the second virtual room.
[0216] Wherein, the second control operation refers to a control operation performed on the first virtual character regarding using or experiencing the target item.
[0217] For example, referring to Figure 11 , taking the target item being the virtual single bed 1111 as an example, the first account controls the first virtual character 1113 to move near the virtual single bed 1111; subsequently, the first account controls the first virtual character 1113 to lie on the virtual single bed 1111 for experience.
[0218] Step 409: Display the second virtual character controlled by the host account in the second virtual room.
[0219] Schematically, the host account is the owner account of the second virtual room.
[0220] Step 410: In response to a third control operation on the first virtual character, display the chat information of the first virtual character and the second virtual character interacting with each other regarding the target item in the second virtual room.
[0221] Wherein, the third control operation refers to a control operation for the first virtual character to interact with the host account, including but not limited to triggering the chat control.
[0222] Figure 12 The interface schematic diagram of the decoration method of the virtual room provided by an exemplary embodiment of the present application is shown. Figure 12 In (a) and (b) of, two different second virtual rooms are respectively displayed in the display interface 1210, and a first virtual character 1211 and a second virtual character 1212 are displayed in the second virtual room.
[0223] Schematically, a chat control 1213 is also displayed in the display interface 1210. The third control operation may be an operation to trigger the chat control 1213. In response to the trigger operation on the chat control 1213, an input control 1214 is displayed, and the first account can input chat information in the input control 1214, and the chat information is sent to the second virtual character.
[0224] Reference Figure 12 In (a) of, the second virtual room is the virtual room owned by the second virtual character 1212, and the chat information of the first virtual character 1211 and the second virtual character 1212 interacting with each other for the target prop is displayed in the display interface 1210. Optionally, the chat information can be displayed in the information display area 1215.
[0225] Among them, the chat information can be the comment string "The room looks very nice" of the first virtual character 1211 on the second virtual room, or the comment string "The sofa looks very comfortable" on the virtual sofa in the second virtual room, or the reply string "I got this sofa from Xiaoming's house" of the second virtual character 1212 to the first virtual character 1211, or the special effect reminder information "The eyes of the first virtual character are full of stars" for the interaction between the first virtual character 1211 and the second virtual character 1212, etc.
[0226] Optionally, the name string "XX's Home" of the second virtual room is displayed in the display interface 1210.
[0227] Step 411: Display a third virtual character controlled by a fourth account in the second virtual room.
[0228] Schematically, the fourth account is a visitor account entering the second virtual room.
[0229] Among them, the fourth account and the first account may or may not have a friendship relationship.
[0230] Step 412: In response to the fourth control operation on the first virtual character, display the chat information of the first virtual character and the third virtual character interacting with each other for the target prop in the second virtual room.
[0231] Similar to the third control operation, the fourth control operation refers to the control operation of the first virtual character for interacting with the fourth account, including but not limited to triggering the chat control.
[0232] Reference Figure 12 As shown in (b) of, the third virtual character 1216 controlled by the fourth account is also displayed in the display interface 1210, and the second virtual room is the virtual room owned by the third virtual character 1216 controlled by the fourth account. In response to the triggering operation on the chat control 1213, the input control 1214 is displayed, and the first account can enter chat information in the input control 1214, and the chat information is sent to the third virtual character.
[0233] Subsequently, the chat information of the interaction between the first virtual character 1211 and the third virtual character 1216 for the virtual blackboard 1217 is displayed in the display interface 1210. Optionally, the chat information can be displayed in the information display area 1215.
[0234] Among them, the display content of the chat information can refer to the foregoing content and will not be elaborated here.
[0235] Optionally, according to the foregoing content, the placement position of the target prop in the first virtual room can be a specified position or a default position. Optionally, step 406 can be implemented as:
[0236] In response to the placement operation of the target prop, control the first virtual character to place the target prop at the specified position or the default position in the first virtual room. The specified position is the position specified in the first virtual room, and the default position is the placement position of the target prop in the second virtual room.
[0237] Figure 13 Fig. shows the interface schematic diagram of the virtual room decoration method provided by an exemplary embodiment of the present application. Among them, the first virtual room is displayed in the display interface 1310, and the room switching control 1311 is displayed in the display interface 1310.
[0238] Subsequently, the first account triggers the backpack control 1312, and the backpack display bar 1313 is displayed in the display interface 1310. At least one virtual prop owned by the first account is displayed in the backpack display bar 1313. After determining the virtual prop to be arranged, the first account performs a placement operation on the placement control 1314 to place the virtual prop at the specified position or the default position.
[0239] Among them, the placement operation can be a confirmation operation on the placement control 1314 or a dragging operation on the virtual prop. For example, taking the target prop as the virtual single bed 1315, in response to a click operation on the placement control 1314, the virtual single bed 1315 is placed at the default position in the first virtual room; or, after the player selects the virtual single bed 1315, the virtual single bed 1315 is dragged to a specified position so that the virtual single bed 1315 is placed at the specified position.
[0240] Optionally, in response to a selection operation on the virtual single bed 1315, possession information 1316 corresponding to the virtual single bed 1315 is displayed, which is used to indicate the possession situation of the first account for the virtual single bed 1315. For example, a string "already owned 1" is displayed on the periphery of the virtual single bed 1315 to indicate that the number of virtual single beds 1315 owned by the first account is 1.
[0241] Figure 14 The flowchart of the virtual room decoration method provided by an exemplary embodiment of the present application is shown. This method is applied to a terminal logged in with a first account, and the method includes the following steps:
[0242] Step 501: Display virtual room entrances of at least one recommended virtual room.
[0243] Optionally, at least one recommended virtual room includes at least one of the following three types of virtual rooms: a sample virtual room provided by the background system or a public account, where the public account is an account that provides information push services to at least one account; a virtual room customized by a second account, where the second account has an instant messaging system or a friend relationship in the virtual world with the first account; a virtual room customized by a third account, where the third account does not have an instant messaging system or a friend relationship in the virtual world with the first account.
[0244] Step 502: In response to a confirmation operation on the virtual room entrance of the second virtual room, display the second virtual room.
[0245] Schematically, the second virtual room is one of at least one recommended virtual room.
[0246] Among them, the relevant description of the second virtual room can refer to the foregoing content and will not be elaborated here.
[0247] Step 503: Select a target prop.
[0248] The first account can select a target prop in the second virtual room according to its own needs. For example, if a player logged in with 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.
[0249] Schematically, in response to a selection operation on a target item, a purchase interface for the target item is displayed.
[0250] Optionally, when the second virtual room is displayed, other accounts can also enter the second virtual room and can also select the target item.
[0251] Step 504: In response to a purchase operation on the purchase interface, obtain the target item as the target item owned by the first account.
[0252] Among them, the relevant descriptions of the purchase interface and the purchase operation can be referred to the foregoing content and will not be elaborated here.
[0253] Step 505: In response to a switching operation, display the first virtual room owned by the first account.
[0254] Among them, the relevant description of the switching operation can be referred to the foregoing content and will not be elaborated here.
[0255] Step 506: In response to a placement operation on the target item, control the first virtual character to place the target item at a specified position or a default position in the first virtual room.
[0256] Schematically, the specified position is a specified position within the first virtual room, and the default position is the placement position of the target item in the second virtual room.
[0257] Among them, the relevant description of the placement operation can be referred to the foregoing content and will not be elaborated here.
[0258] Step 507: Adjust the placement positions of the virtual items in the first virtual room.
[0259] After the first account controls the first virtual character to place the target item purchased from the second virtual room into the first virtual room, the first account can control the first virtual character to adjust the placement positions of all the virtual objects in the first virtual room.
[0260] For example, after placing the virtual carpet at a specified position in the first virtual room, the first account can adjust the placement position of the virtual coffee table in the first virtual room so that the virtual coffee table is placed on the virtual carpet.
[0261] Step 508: Determine the first virtual room as a candidate recommended virtual room.
[0262] After the layout of the first virtual room is completed, the first virtual room can be used as a candidate recommended virtual room. Subsequently, when other accounts need to enter a virtual room, the first virtual room can be used as one of the recommended virtual rooms and the virtual room entrance of the first virtual room can be displayed in the display interfaces of other accounts under the condition of meeting the needs of other accounts.
[0263] In summary, in the virtual room decoration method provided by the present application, a first virtual character is also displayed in the second virtual room to improve the human-computer interaction efficiency.
[0264] Optionally, when the first virtual character is displayed in the second virtual room, the second control operation of the first virtual character can be used to display the first virtual character using or experiencing the target item in the second virtual room to simulate a real use or experience scenario; the chat information of the first virtual character interacting with the second virtual character or the third virtual character for the target item can be displayed, or a virtual item case can be displayed to simulate a real purchase scenario.
[0265] Optionally, the first account can also place the target item in the first virtual room it owns. The placement position can be a position independently selected by the first account or determined according to the position of the target item in the second virtual room.
[0266] Figure 15 The flowchart of the virtual room decoration method provided by an exemplary embodiment of the present application is shown. This method is applied to a server and includes the following steps:
[0267] Step 601: Receive the identifier of the second virtual room sent by the client.
[0268] Illustratively, the client logs in with a first account.
[0269] Among them, the relevant description of the second virtual room can refer to the foregoing content and will not be elaborated here.
[0270] Reference Figure 4 , in the interaction between the terminal and the server, step 602 is executed before step 402. Illustratively, the identifier of the second virtual room is sent by the client to the server after receiving the confirmation operation of the first account for the virtual room entrance of the second virtual room. The server can determine the virtual room selected by the client according to the identifier of the second virtual room.
[0271] Step 602: Send the first room data of the first virtual room to the client.
[0272] Illustratively, the first room data is used for the client to display the first virtual room and the first virtual character located in the first virtual room. The first virtual room and the first virtual character belong to the first account.
[0273] Optionally, the first room data includes at least one of the following data: the room area of the first virtual room, the room shape of the first virtual room, the orientation of the doors and windows in the first virtual room, the number of virtual props in the first virtual room, the type of virtual props in the first virtual room, and the placement position of the virtual props in the first virtual room.
[0274] Reference Figure 4 , in the interaction between the terminal and the server, step 602 is also executed before step 401. Schematically, after receiving the first room data sent by the server, the client can display the first virtual room and the first virtual object according to the room data.
[0275] For example, if the data included in the first room data is the following information: the room area is 45 square meters, there are 5 target props placed in the second virtual room, and the placement positions of the 5 target props in the first virtual room. After receiving the first room data, the terminal controls to display in the display interface the first virtual room with a room area of 45 square meters, and displays the 5 target props in the first virtual room according to their placement positions in the second virtual room.
[0276] Step 603: Receive the first room switching request sent by the client, and send the second room data of the second virtual room to the client.
[0277] Schematically, the second room data is used for the client to display the second virtual room. The second virtual room does not belong to the first account, and there is at least one virtual prop placed in the second virtual room.
[0278] Among them, the relevant description of the virtual prop can refer to the foregoing content and will not be elaborated here.
[0279] Optionally, the second room data includes at least one of the following data: the room area of the second virtual room, the room shape of the second virtual room, the orientation of the doors and windows in the second virtual room, the number of virtual props in the second virtual room, the type of virtual props in the second virtual room, and the placement position of the virtual props in the second virtual room.
[0280] Reference Figure 4 , in the interaction between the terminal and the server, step 603 is executed after step 402. Schematically, after receiving the second room data of the second virtual room sent by the server, the client can display the second virtual room according to the second room data.
[0281] For example, the data included in the second room data is as follows: the room area is 45 square meters, there are 5 target items placed in the second virtual room, and the placement positions of the 5 target items in the second virtual room. After receiving the above room data, the terminal controls to display in the display interface a second virtual room with a room area of 45 square meters, and displays the 5 target items in the second virtual room according to their placement positions in the second virtual room.
[0282] Step 604: Receive the purchase request for the target item sent by the client.
[0283] Among them, the purchase request is generated based on the purchase operation of the first account on the purchase interface. The relevant descriptions of the purchase interface and the purchase operation can be referred to the foregoing content and will not be elaborated here.
[0284] Optionally, the purchase request includes at least one of the following information: the name of the target item, the item parameters of the target item, and the quantity of the purchase resources for the target item.
[0285] Reference Figure 4 , in the interaction between the terminal and the server, the purchase request is generated by the terminal after obtaining the purchase operation of the first account on the purchase interface. After receiving the purchase request, the server can confirm the relevant information of the target item that the first account needs to purchase.
[0286] Step 605: In response to the purchase request meeting the purchase conditions, grant the first account the ownership permission for the target item.
[0287] Among them, the purchase conditions are determined according to the quantity of the purchase resources for the target item and the quantity of the purchase resources owned by the first account. Optionally, when the quantity of the purchase resources owned by the first account is not less than the quantity of the purchase resources for the target item, it is determined that the purchase request meets the purchase conditions.
[0288] When the purchase request meets the purchase conditions, the first account obtains the ownership permission for the target item and can determine the target item as the target item owned by the first account.
[0289] Reference Figure 4 , in the interaction between the terminal and the server, the execution order of Step 604, Step 605 and Step 404 is as follows:
[0290] The client obtains the purchase operation of the first account on the purchase interface and generates a purchase request for the target item;
[0291] The client sends the purchase request for the target item to the server;
[0292] The server, in response to the purchase request meeting the purchase conditions, grants the first account the ownership permission for the target item;
[0293] According to the ownership permission granted by the server, the client obtains the target item as the target item owned by the first account.
[0294] Step 606: Receive the second room switching request sent by the client, and resend the first room data of the first virtual room to the client.
[0295] Among them, the second room switching request is similar to the first room switching request, which can be used as a reference and will not be elaborated here.
[0296] After receiving the first room data resent by the server, the client can redisplay the first virtual room.
[0297] Step 607: Receive the placement request sent by the client, and send a placement instruction to the client.
[0298] Schematically, the placement instruction is used for the client to place the target item in the first virtual room
[0299] Reference Figure 4 , in the interaction between the terminal and the server, after the terminal obtains the placement operation of the first account for the target item, a corresponding placement request is generated; subsequently, after the client receives the placement request, a placement instruction is sent to the client; after the client receives the placement instruction, the target item is placed in the first virtual room according to the instruction content,
[0300] Among them, the placement position of the target item in the first virtual room is the specified position or the default position. For specific descriptions, reference can be made to the foregoing content and will not be elaborated here.
[0301] In summary, the virtual room decoration method provided by the embodiment of the present application can grant the ownership permission of the target item to the first account by responding to the purchase request of the target item sent by the client, so that the first account can quickly obtain the required target item and improve the human-computer interaction efficiency.
[0302] Based on Figure 15 , Figure 16 FIG. shows a flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application. The method is applied to a server, and the method further includes the following steps:
[0303] Step 6081: Screen at least one recommended virtual room that matches the room owned by the first account from the candidate room pool.
[0304] Optionally, the candidate room pool includes at least one of the following three types of room pools:
[0305] · Non-home room pool;
[0306] · Home room pool;
[0307] · Random room pool;
[0308] Among them, the off - home room pool includes candidate virtual rooms where the host account is offline, the at - home room pool includes candidate virtual rooms where the host account is online and not in the recommended cooling period, and the random room pool includes candidate virtual rooms where the host account is online and in the recommended cooling period.
[0309] Schematically, the recommended cooling period refers to the time period when the virtual room meets the recommended conditions. Among them, the recommended conditions can be set according to actual needs, such as determining the recommended conditions based on the historical data or preference information of the first account.
[0310] For example, at the first time point, if the host account is online in the first room and the first room is not in the recommended cooling period, then the first room belongs to the at - home room pool; if the first room is in the recommended cooling period, then the first room belongs to the random room pool. At the second time point, if the host account is not online in the second room, then the second room belongs to the off - home room pool.
[0311] Schematically, the candidate virtual rooms included in the room pool can be individual virtual rooms or room combinations composed of at least two virtual rooms. For example, the at - home room pool includes a virtual room where the second account is online and also includes a room combination where the third account is online.
[0312] Optionally, the random selection algorithms corresponding to the three types of room pools have different random selection probabilities.
[0313] Among them, the random selection probability can be determined according to actual needs. For example, the order of the random selection probabilities from small to large is: at - home room pool, random room pool, off - home room pool; or the order of the random selection probabilities from small to large is: random room pool, at - home room pool, off - home room pool.
[0314] Optionally, step 6018 can be implemented as follows:
[0315] Determine the room area owned by the first account;
[0316] Determine the reasonable number of items matching the room area;
[0317] Determine the candidate virtual rooms corresponding to the reasonable number of items in the candidate room pool;
[0318] Randomly select at least one recommended virtual room from the candidate virtual rooms.
[0319] Among them, the room area owned by the first account is used to indicate one of the following areas: the total area of all rooms owned by the first account, the individual area of the virtual room where the first account is online.
[0320] For example, the first account has a room combination that includes 3 bedrooms and 1 living room, and the first account is online in the living room. The area of the rooms owned by the first account can be the total area of the 3 bedrooms and 1 living room, or the separate area of the living room where the first account is currently located.
[0321] Step 6082: Send room entrance data of at least one recommended virtual room to the client.
[0322] Schematically, the room entrance data is used for the client to display virtual room entrances of at least one recommended virtual room, and the second virtual room is one of the at least one recommended virtual rooms.
[0323] 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, where the public account is an account that provides information push services to at least one account; virtual rooms customized by a second account, where the second account has a friend relationship with the first account in an instant messaging system or virtual world; virtual rooms 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 virtual world.
[0324] Among them, the relevant descriptions of the sample virtual rooms, virtual rooms customized by the second account, and virtual rooms customized by the third account can refer to the foregoing content and will not be elaborated here.
[0325] Figure 17 Shows a flowchart for dividing a candidate room pool provided by an exemplary embodiment of the present application. The division of the candidate room pool includes the following steps:
[0326] Step 701: User account login.
[0327] Among them, the user account refers to one or more of all accounts including the first account.
[0328] After at least one user account logs in, the candidate room pool type is divided for the virtual rooms or room combinations owned by the user account. According to the foregoing content, the candidate room pool includes three types: non-at-home room pool, at-home room pool, and random room pool. The specific division steps are as follows.
[0329] Step 702: Determine whether the number of virtual items in the current virtual room or room combination is greater than a preset value.
[0330] If the number of virtual items exceeds the preset value, execute Step 703.
[0331] Step 703: Determine whether the virtual character controlled by the house owner account is in the virtual room or room combination owned.
[0332] Among them, the virtual room or combination of rooms owned by the homeowner account is the virtual room or combination of rooms where the user account is currently located. For example, the user account is account 1, and account 1 is in virtual room 1, and the homeowner account of virtual room 1 is account 2. Then, it is determined whether the virtual character controlled by the homeowner account of virtual room 1 is in virtual room 1.
[0333] In the case where the virtual character controlled by the homeowner account is not in the virtual room or combination of rooms it owns, step 704 is executed; in the case where the virtual character controlled by the homeowner account is in the virtual room or combination of rooms it owns, step 705 is executed.
[0334] Step 704: The virtual room or combination of rooms enters the non-home room pool.
[0335] For example, in the case where the virtual character controlled by the homeowner account is not in the virtual room or combination of rooms it owns, and the user account enters this virtual room after logging in, then the virtual room or combination of rooms where the user account is currently located (i.e., the virtual room or combination of rooms owned by the homeowner account) is classified as one in the non-home room pool.
[0336] Step 705: Determine whether the currently located virtual room or combination of rooms enters the recommended cooling period.
[0337] In the case where the currently located virtual room or combination of rooms has not entered the recommended cooling period, step 706 is executed; in the case where the currently located virtual room or combination of rooms has entered the recommended cooling period, step 707 is executed.
[0338] Among them, the description of the recommended cooling period can refer to the foregoing content and will not be elaborated here.
[0339] For example, in the case where the virtual character controlled by the homeowner account is in the virtual room or combination of rooms it owns, and the user account enters this virtual room after logging in. If this virtual room has not entered the recommended cooling period, then the virtual room or combination of rooms owned by the homeowner account (that is, the virtual room or combination of rooms where the user account is currently located) is classified as one in the home room pool.
[0340] Step 706: The virtual room or combination of rooms owned by the user account enters the home room pool.
[0341] Optionally, in the case where the virtual character controlled by the homeowner account leaves the virtual room or combination of rooms it is in, or in the case where the homeowner account is not online, the virtual room or combination of rooms owned by the homeowner account (that is, the virtual room or combination of rooms where the user account is currently located) is removed from the home room pool and added to the non-home room pool.
[0342] Step 707: Determine whether the current virtual room or room combination has randomly become a recommended virtual room.
[0343] In the case where the current virtual room or room combination has randomly become a recommended virtual room, execute Step 708; in the case where the current virtual room or room combination has not randomly become a recommended virtual room, execute Step 706.
[0344] Step 708: The virtual room or room combination enters the random room pool.
[0345] Optionally, when the random room pool is full, if a new virtual room or room combination is randomly selected as a recommended virtual room, the user account is forced to exit the current virtual room or room combination, re-enter a new virtual room or room combination, and return to execute Step 703 to re-judge whether the virtual character controlled by the host account is in the owned virtual room or room combination.
[0346] Taking the candidate room pool being divided according to room combinations as an example, Figure 18 Fig. shows the flowchart of entering a virtual room provided by an exemplary embodiment of the present application.
[0347] Among them, when screening in three types of candidate room pools, the following steps are all included:
[0348] Step 801: Determine the reasonable number of items that match according to the room combinations owned by the first account;
[0349] Step 802: Determine the candidate room combinations corresponding to the reasonable number of items;
[0350] Step 803: Randomly enter a room combination.
[0351] Among them, according to the total area of all virtual rooms owned by the first account, the reasonable number of items that match can be determined, and this number is the sum of the individual reasonable numbers of items for all virtual rooms. Subsequently, determine the corresponding candidate room combinations according to the reasonable number of items and randomly enter a room combination.
[0352] For the room combinations in the non-home room pool and the home room pool, the following steps are also included:
[0353] Step 804: Determine the virtual rooms that meet the conditions according to the number of virtual items in the virtual room where the first account is located;
[0354] Step 805: Randomly enter a virtual room.
[0355] Among them, after obtaining the first quantity of virtual items in the virtual room where the first account is located, and the second quantity of virtual standard items in each virtual room in the room combination, the second quantity is judged to determine the virtual rooms that meet the conditions. For example, when the second quantity is not less than the first quantity, the virtual room corresponding to the second quantity is determined as the virtual room that meets the conditions. Subsequently, a virtual room is randomly entered.
[0356] For the room combination in the non-random room pool, the following steps are further included:
[0357] Step 806: Determine whether the account owning the room combination is online.
[0358] When the account owning the room combination is not online, step 807 is executed; when the account owning the room combination is online, step 808 is executed.
[0359] Step 807: Enter the virtual room with the largest number of people.
[0360] Among them, the virtual room with the largest number of people refers to one of the following virtual rooms: the room with the largest number of historical visitors; the room with the largest number of real-time visitors.
[0361] Step 808: Enter the virtual room where the account owning the room combination is located.
[0362] Among them, after randomly entering a room combination, the online status of the account owning the room combination is judged: when the account is online, the virtual room where the account is located is preferentially entered; when the account is not online, the virtual room with the largest number of people is selected to enter.
[0363] In summary, the virtual room decoration method provided by the embodiments of the present application screens at least one recommended virtual room that matches the room owned by the first account in the candidate room pool, so that the first account can quickly enter the corresponding virtual room.
[0364] The following is the device embodiment of the present application. For the details not described in detail in the device embodiment, reference can be made to the corresponding records in the above method embodiment, and details will not be repeated herein.
[0365] Figure 19 The schematic diagram of the virtual room decoration device provided by an exemplary embodiment of the present application is shown. The device includes:
[0366] A display module 1920, configured to display a first virtual room and a first virtual character, where the first virtual room and the first virtual character belong to the first account;
[0367] A response module 1940, configured to display a second virtual room in response to a first switching operation to enter the second virtual room, control a first virtual character to enter the second virtual room, where the second virtual room does not belong to the first account, and at least one virtual prop is placed in the second virtual room;
[0368] The response module 1940 is further configured to display a purchase interface for a target prop in response to a selection operation on the target prop among at least one virtual prop;
[0369] The response module 1940 is further configured to obtain the target prop as a virtual prop owned by the first account in response to a purchase operation on the purchase interface;
[0370] The response module is further configured 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;
[0371] The response module is further configured to place the target prop in the first virtual room in response to a placement operation on the target prop.
[0372] Optionally, a display module 1920 is configured to display virtual room entrances of at least one recommended virtual room; in response to a confirmation operation on the virtual room entrance of the first virtual room, display the second virtual room, where the second virtual room is one of the at least one recommended virtual rooms.
[0373] Optionally, at least one of the at least one recommended virtual rooms includes at least one of the following three types of virtual rooms: a sample virtual room provided by a background system or a public account, where the public account is an account that provides information push services to at least one account; a virtual room customized by a second account, where the second account has a friendship relationship with the first account in an instant messaging system or a virtual world; a virtual room customized by a third account, where the third account does not have a friendship relationship with the first account in an instant messaging system or a virtual world.
[0374] Optionally, the first virtual room belongs to a target room combination, where the target room combination includes at least two virtual rooms; the first virtual room is the virtual room where a second virtual character controlled by the homeowner account in the target room combination is located, or the first virtual room is the virtual room with the largest number of third virtual characters controlled by the visitor account in the target room combination.
[0375] Optionally, the display module 1920 is configured to display product introduction information and a first purchase interface when the selected target prop is one; and / or, display product introduction information and a second purchase interface when the selected target prop is a prop combination formed by at least two target props; where the product introduction information includes at least one of the following: product name, quantity of purchase resources, and the ownership status of the target prop by the first account.
[0376] Optionally, the display module 1920 is further configured to display the optional configurations of the target item; the response module 1940 is further configured to change the item parameters of the target item in response to a selection operation on the optional item configurations, where the item parameters include at least one of color, style, model, size, and material.
[0377] Optionally, the response module 1940 is further configured to display the first virtual character moving in the first virtual room in response to a first movement control operation on the first virtual character; and / or, display the first virtual character moving in the second virtual room in response to a second movement control operation on the first virtual character.
[0378] Optionally, the response module 1940 is configured to display the purchase interface of the target item in response to a click operation on the target item; or, display the purchase interface of the target item in response to the distance between the first virtual character and the target item being less than a threshold.
[0379] Optionally, the response module 1940 is further configured to display the first virtual character using or experiencing the target item in the second virtual room in response to a second control operation on the first virtual character.
[0380] Optionally, the display module 1920 is further configured to display a second virtual character controlled by the host account in the second virtual room, where the host account is the account of the owner of the second virtual room; the response module 1940 is further configured to display the chat information of the first virtual character and the second virtual character interacting with each other regarding the target item in the second virtual room in response to a third control operation on the first virtual character.
[0381] Optionally, the display module 1920 is further configured to display a third virtual character controlled by a fourth account in the second virtual room, where the fourth account is the account of a visitor who enters the second virtual room; the response module 1940 is further configured to display the chat information of the first virtual character and the third virtual character interacting with each other regarding the target item in the second virtual room in response to a fourth control operation on the first virtual character.
[0382] Optionally, the display module 1920 is further configured to display the first virtual character holding a virtual item case when the target item is successfully acquired as the target item owned by the first account, and the virtual item case is used to indicate packing the target item.
[0383] Optionally, the response module 1940 is further configured to control the first virtual character to place the target item at a specified position or a default position in the first virtual room in response to a placement operation on the target item, where the specified position is a specified position in the first virtual room, and the default position is the placement position of the target item in the second virtual room.
[0384] Figure 20 The figure shows a schematic diagram of a decoration device for a virtual room provided by an exemplary embodiment of the present application. The device includes:
[0385] A receiving module 2020, configured to receive an identifier of a first virtual room sent by a client, where the client logs in with a first account;
[0386] A sending module 2040, configured to send first room data of the first virtual room to the client, where the first room data is used for the client to display the first virtual room and a first virtual character located in the first virtual room, and the first virtual room and the first virtual character belong to the first account;
[0387] The receiving module 2020 is further configured to receive a first room switching request sent by the client, and send second room data of a second virtual room to the client, where the second room data is used for the client to display the second virtual room, the second virtual room does not belong to the first account, and at least one virtual prop is placed in the first virtual room;
[0388] The receiving module 2020 is further configured to receive a purchase request for a target prop sent by the client;
[0389] A response module 2060, configured to, in response to the purchase request meeting the purchase condition, grant the first account the ownership permission of the target prop.
[0390] The receiving module 2020 is further configured to receive a second room switching request sent by the client, and re-send the first room data to the client;
[0391] The receiving module 2020 is further configured to receive a placement request sent by the client, and send a placement instruction, where the placement instruction is used for the client to place the target prop in the first virtual room.
[0392] Optionally, the sending module 2040 is further configured to screen at least one recommended virtual room that matches the rooms owned by the first account from a candidate room pool; send room entrance data of the at least one recommended virtual room to the client, where the room entrance data is used for the client to display virtual room entrances of the at least one recommended virtual room, and the second virtual room is one of the at least one recommended virtual rooms.
[0393] Optionally, the at least one recommended virtual room includes at least one of the following three types of virtual rooms: a sample virtual room provided by a background system or a public account, where the public account is an account that provides information push services for at least one account; a virtual room customized by a second account, where the second account has a friendship relationship with the first account in an instant messaging system or a virtual world; a virtual room customized by a third account, where the third account does not have a friendship relationship with the first account in an instant messaging system or a virtual world.
[0394] Optionally, the sending module 2040 is configured to determine the room area owned by the first account; determine a reasonable quantity of goods that matches the room area; determine a candidate virtual room corresponding to the reasonable quantity of goods in a candidate room pool; and randomly select at least one recommended virtual room from the candidate virtual rooms.
[0395] Optionally, the candidate room pool includes at least one of the following three types of room pools: a non-at-home room pool; an at-home room pool; a random room pool; wherein, the non-at-home room pool includes candidate virtual rooms where the homeowner account is offline, the at-home room pool includes candidate virtual rooms where the homeowner account is online and not in a recommendation cooling period, and the random room pool includes candidate virtual rooms where the homeowner account is online and in a recommendation cooling period.
[0396] Figure 21 FIG. shows a structural block diagram of a terminal 2100 provided by an exemplary embodiment of the present application. The terminal 2100 may be: a smart phone, 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 computer, or a desktop computer. The terminal 2100 may also be referred to by other names such as a user equipment, a portable terminal, a laptop terminal, a desktop terminal, etc.
[0397] Generally, the terminal 2100 includes: a processor 2101 and a memory 2102.
[0398] The processor 2101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 2101 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 2101 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2101 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2101 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0399] The memory 2102 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 2102 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2102 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 2101 to implement the display method of the visual field screen provided in the method embodiments of the present application.
[0400] In some embodiments, the terminal 2100 may further optionally include: a peripheral device interface 2103 and at least one peripheral device. The processor 2101, the memory 2102, and the peripheral device interface 2103 may be connected by a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 2103 through a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of a radio frequency circuit 2104, a touch display screen 2105, a camera assembly 2106, an audio circuit 2107, and a power supply 2108.
[0401] The peripheral device interface 2103 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 2101 and the memory 2102. In some embodiments, the processor 2101, the memory 2102, and the peripheral device interface 2103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2101, the memory 2102, and the peripheral device interface 2103 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.
[0402] The radio frequency circuit 2104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2104 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2104 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 2104 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2104 can also include a circuit related to NFC (Near Field Communication), and this application does not limit this.
[0403] The touch display screen 2105 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 2105 also has the ability to collect touch signals on or above the surface of the touch display screen 2105. The touch signal can be input as a control signal to the processor 2101 for processing. At this time, the touch display screen 2105 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one touch display screen 2105, which is provided on the front panel of the terminal 2100; in other embodiments, there may be at least two touch display screens 2105, which are respectively provided on different surfaces of the terminal 2100 or are in a foldable design; in still other embodiments, the touch display screen 2105 may be a flexible display screen, which is provided on a curved surface or a folding surface of the terminal 2100. Even further, the touch display screen 2105 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The touch display screen 2105 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0404] The camera module 2106 is used to capture images or videos. Optionally, the camera module 2106 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth camera, a wide-angle camera, and a telephoto camera respectively, to achieve functions such as background blurring by fusing the main camera and the depth camera, panoramic shooting by fusing the main camera and the wide-angle camera, VR (Virtual Reality) shooting function, or other fusion shooting functions. In some embodiments, the camera module 2106 may further include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.
[0405] The audio circuit 2107 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, convert the sound waves into electrical signals and input the electrical signals to the processor 2101 for processing, or input them to the radio frequency circuit 2104 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 2100. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 2101 or the radio frequency circuit 2104 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for uses such as ranging. In some embodiments, the audio circuit 2107 may further include a headphone jack.
[0406] The power supply 2108 is used to supply power to each component in the terminal 2100. The power supply 2108 may be alternating current, direct current, a primary battery or a rechargeable battery. When the power supply 2108 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charging technology.
[0407] In some embodiments, the terminal 2100 further includes one or more sensors 2109. The one or more sensors 2109 include but are not limited to: an acceleration sensor 2110, a gyroscope sensor 2111, a pressure sensor 2112, an optical sensor 2113 and a proximity sensor 2114.
[0408] The acceleration sensor 2110 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established with the terminal 2100. For example, the acceleration sensor 2110 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 2101 can control the touch display screen 2105 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 2110. The acceleration sensor 2110 can also be used for collecting game or user's motion data.
[0409] The gyroscope sensor 2111 can detect the body direction and rotation angle of the terminal 2100. The gyroscope sensor 2111 can cooperate with the acceleration sensor 2110 to collect the 3D actions of the user on the terminal 2100. According to the data collected by the gyroscope sensor 2111, the processor 2101 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control and inertial navigation.
[0410] The pressure sensor 2112 can be disposed on the side frame of the terminal 2100 and / or the lower layer of the touch display screen 2105. When the pressure sensor 2112 is disposed on the side frame of the terminal 2100, it can detect the holding signal of the user on the terminal 2100, and the processor 2101 performs left / right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 2112. When the pressure sensor 2112 is disposed on the lower layer of the touch display screen 2105, the processor 2101 controls the operable controls on the UI interface according to the pressure operation of the user on the touch display screen 2105. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0411] The optical sensor 2113 is used to collect the ambient light intensity. In one embodiment, the processor 2101 can control the display brightness of the touch display screen 2105 according to the ambient light intensity collected by the optical sensor 2113. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 2105 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 2105 is decreased. In another embodiment, the processor 2101 can also dynamically adjust the shooting parameters of the camera module 2106 according to the ambient light intensity collected by the optical sensor 2113.
[0412] The proximity sensor 2114, also known as the distance sensor, is usually disposed on the front panel of the terminal 2100. The proximity sensor 2114 is used to collect the distance between the user and the front of the terminal 2100. In one embodiment, when the proximity sensor 2114 detects that the distance between the user and the front of the terminal 2100 is gradually decreasing, the processor 2101 controls the touch display screen 2105 to switch from the lit state to the screen-off state; when the proximity sensor 2114 detects that the distance between the user and the front of the terminal 2100 is gradually increasing, the processor 2101 controls the touch display screen 2105 to switch from the screen-off state to the lit state.
[0413] Those skilled in the art can understand that Figure 21 the structure shown in does not limit the terminal 2100, and it may include more or fewer components than shown in the figure, or combine some components, or adopt different component arrangements.
[0414] The embodiment of the present application also provides a computer device, which includes: a processor and a memory. 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 implement the virtual room decoration method provided in the foregoing embodiment.
[0415] The embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored and is used to be executed by a processor to implement the virtual room decoration method provided in the foregoing embodiments.
[0416] The embodiments of the present application also provide a chip, which includes a programmable logic circuit and / or program instructions, and is used to implement the virtual room decoration method provided in the foregoing embodiments when the chip runs.
[0417] The embodiments of the present application also provide 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 implement the virtual room decoration method provided in the foregoing embodiments.
[0418] It should be understood that "a plurality of" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0419] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disc, etc.
[0420] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for decorating a virtual room, characterized in that Applied to a terminal logged in with a first account, the method includes: Displaying a first virtual room and a first virtual character located in the first virtual room, where the first virtual room and the first virtual character belong to the first account; In response to a first switching operation to enter a second virtual room, displaying the second virtual room and controlling the first virtual character to enter the second virtual room, where the second virtual room does not belong to the first account and at least one of the virtual props is placed in the second virtual room; In response to a first control operation on the first virtual character, displaying the first virtual character using or experiencing a target prop in the second virtual room; In response to a selection operation on the target prop, displaying a purchase interface for the target prop; In response to a purchase operation on the purchase interface, obtaining the target prop as a virtual prop owned by the first account.
2. The method according to claim 1, wherein The displaying the second virtual room includes: Displaying virtual room entrances of at least one recommended virtual room; In response to a confirmation operation on the virtual room entrance of the second virtual room, displaying the second virtual room, where the second virtual room is one of the at least one recommended virtual rooms.
3. The method according to claim 2, characterized in that The at least one recommended virtual room includes at least one of the following three types of virtual rooms: A sample virtual room provided by a background system or a public account, where the public account is an account that provides information push services to at least one account; A virtual room customized by a second account, where the second account has a friendship relationship in an instant messaging system or a virtual world with the first account; A virtual room customized by a third account, where the third account does not have a friendship relationship in an instant messaging system or a virtual world with the first account.
4. The method according to any one of claims 1 to 3, characterized in that The first virtual room belongs to a target room combination, and the target room combination includes at least two virtual rooms; The first virtual room is the virtual room where a second virtual character controlled by the owner account in the target room combination is located, or the first virtual room is the virtual room with the most third virtual characters controlled by the visitor account in the target room combination.
5. The method according to any one of claims 1 to 3, characterized in that The displaying the purchase interface for the target prop includes: When the selected target prop is one piece, displaying product introduction information and a first purchase interface for the target prop; And / or When the selected target prop is a prop combination formed by at least two virtual props, displaying product introduction information and a second purchase interface for the prop combination; Wherein, the product introduction information includes at least one of: product name, quantity of purchase resources, and the ownership status of the target prop by the first account.
6. The method according to claim 5, characterized in that, The method further includes: Displaying optional configurations of the target prop; In response to a selection operation on the optional configurations of the prop, changing prop parameters of the target prop, where the prop parameters include at least one of color, style, model, size, and material.
7. The method according to any one of claims 1 to 3, characterized in that The method further includes: In response to a first movement control operation on the first virtual character, displaying the first virtual character moving in the first virtual room; And / 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.
8. The method according to any one of claims 1 to 3, characterized in that, In response to a selection operation on the virtual item, display a purchase interface for the target prop, including: In response to a click operation on the target prop, display a purchase interface for the target prop; Or, In response to the distance between the first virtual character and the target prop being less than a threshold, display a purchase interface for the target prop.
9. The method according to any one of claims 1 to 3, characterized in that The method further includes: Display a second virtual character controlled by the host account within the second virtual room, where the host account is the owner account of the second virtual room; In response to a second control operation on the first virtual character, display chat information of the first virtual character and the second virtual character interacting with each other regarding the virtual prop within the second virtual room.
10. The method according to any one of claims 1 to 3, characterized in that The method further includes: Display a third virtual character controlled by a fourth account within the second virtual room, where the fourth account is a visitor account that enters the second virtual room; In response to a third control operation on the first virtual character, display chat information of the first virtual character and the third virtual character interacting with each other regarding the virtual prop within the second virtual room.
11. According to the method described in any one of claims 1 to 3, characterized in that, The method further includes: In the case of successfully obtaining the target prop as a target prop owned by the first account, display the first virtual character holding a virtual prop suitcase, where the virtual prop suitcase is used to indicate packing the target prop.
12. The method according to any one of claims 1 to 3, characterized in that, The method further includes: In response to a second switching operation to return to the first virtual room, control the first virtual character to return to the first virtual room; In response to a placement operation on the target prop, place the target prop into the first virtual room.
13. The method according to claim 12, wherein In response to a placement operation on the target prop, place the target prop in the first virtual room, including: In response to a placement operation on the target prop, control the first virtual character to place the target prop at a designated position or a default position in the first virtual room, where the designated position is a position designated within the first virtual room, and the default position is the placement position of the target prop within the second virtual room.
14. A decorative device for a virtual room, characterized in that, The device includes: A display module, configured to display a first virtual room and a first virtual character, where the first virtual room and the first virtual character belong to the first account; A response module, configured to, in response to a first switching operation to enter a second virtual room, display the second virtual room and control the first virtual character to enter the second virtual room, where the second virtual room does not belong to the first account and at least one virtual prop is placed within the second virtual room; The response module is further configured to, in response to a first control operation on the first virtual character, display the first virtual character using or experiencing a target prop within the second virtual room; The response module is further configured to, in response to a selection operation on the target prop, display a purchase interface for the target prop; The response module is further configured to, in response to a purchase operation on the purchase interface, obtain the target item as a virtual item owned by the first account.
15. A computer device, characterized in that, The computer device includes: a processor and a memory, where at least one computer program is stored in the memory, and at least one of the computer programs is loaded and executed by the processor to implement the virtual room decoration method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that, A computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the virtual room decoration method according to any one of claims 1 to 13.
17. A chip, characterized in that, The chip includes programmable logic circuits and / or program instructions, and when the chip runs, it is used to implement the virtual room decoration method according to any one of claims 1 to 13.
18. A computer program product, characterized in that, The computer program product includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and the processor reads and executes the computer instructions from the computer-readable storage medium to implement the virtual room decoration method according to any one of claims 1 to 13.