Virtual room decoration method, device, equipment and medium
By displaying target props in the second virtual room of the virtual mall and allowing players to purchase and place them directly in the virtual mall, the problem of long-term selection of target props in the virtual mall is solved, and the efficiency of human-computer interaction is improved.
Patent Information
- Application Number
- CN202210108624.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2042-01-28
AI Technical Summary
In the virtual mall, players need to select the required props from a large number of target props lists, resulting in a longer selection time and reducing the efficiency of human-computer interaction.
The display and selection efficiency of target props is improved by displaying at least one target prop in the second virtual room and allowing the first account to purchase and place it in the first virtual room.
It realizes the intuitive display of target props in a three-dimensional virtual environment, reducing the time for players to select target props and improving human-computer interaction efficiency.
Smart Images

Figure CN114432699B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of virtual worlds, and in particular to a method, device, equipment and medium for decorating a virtual room. Background Art
[0002] In the virtual world, in order to enhance the player's experience, target props are usually provided for sale to players.
[0003] In the related art, after entering the virtual mall, the player can make a selection based on the product images displayed in the target item list; after determining the selected target item, the player can perform a purchase operation to obtain the corresponding target item.
[0004] The target item list usually lists a large number of product images of target items, which will cause the player to take a long time to determine the required target items, thereby reducing the efficiency of human-computer interaction. Summary of the invention
[0005] The embodiment of the present application provides a virtual room decoration method, device, equipment and medium, which displays at least one target prop placed in a second virtual room, so that a first account can intuitively obtain the usage of the target prop in the second virtual room, and place it in the first virtual room belonging to the first account, thereby improving the efficiency of human-computer interaction. The technical solution is as follows:
[0006] According to one aspect of the present application, a method for decorating a virtual room is provided, the method comprising:
[0007] Displaying a first virtual room and a first virtual character in the first virtual room, wherein the first virtual room and the first virtual character belong to a first account;
[0008] In response to a first switching operation to enter a second virtual room, the second virtual room is displayed, and the first virtual character is controlled to enter 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 second virtual room;
[0009] In response to a selection operation of a target item among the at least one virtual item, displaying a purchase interface of the target item;
[0010] In response to a purchase operation on the purchase interface, acquiring the target item as a virtual item owned by the first account;
[0011] In response to a second switching operation of returning to the first virtual room, controlling the first virtual character to return to the first virtual room;
[0012] In response to the placement operation on the target prop, the target prop is placed in the first virtual room.
[0013] According to one aspect of the present application, a method for decorating a virtual room is provided, the method comprising:
[0014] Receiving an identifier of a first virtual room sent by a client, where the client has logged in with a first account;
[0015] Sending 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 in the first virtual room, where the first virtual room and the first virtual character belong to the first account;
[0016] receiving a first room switching request sent by a client, and sending second room data of a second virtual room to the client, wherein 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;
[0017] Receive a purchase request for a target item sent by a client;
[0018] In response to the purchase request satisfying the purchase condition, granting the first account ownership authority of the target item;
[0019] receiving a second room switching request sent by the client, and resending the first room data to the client;
[0020] A placement request sent by the client is received, and a placement instruction is sent to the client, where the placement instruction is used for the client to place the target prop in the first virtual room.
[0021] According to one aspect of the present application, a virtual room decoration device is provided, the device comprising:
[0022] A display module, used for displaying a first virtual room and a first virtual character, the first virtual room and the first virtual character belong to a first account;
[0023] a response module, configured to respond to a first switching operation of entering a second virtual room, display the second virtual room, 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 prop is placed in the second virtual room;
[0024] The response module is further used to display a purchase interface of the target item in response to a selection operation of the target item in the at least one virtual item;
[0025] The response module is further used to respond to the purchase operation on the purchase interface and obtain the target item as a virtual item owned by the first account;
[0026] The response module is further used to control the first virtual character to return to the first virtual room in response to the second switching operation of returning to the first virtual room;
[0027] The response module is further used to place the target prop in the first virtual room in response to the placement operation of the target prop.
[0028] According to one aspect of the present application, a virtual room decoration device is provided, the device comprising:
[0029] A receiving module, used for receiving an identifier of a first virtual room sent by a client, where the client has logged in with a first account;
[0030] A sending module, used for sending first room data of a first virtual room to a client, the first room data is used for the client to display the first virtual room and the first virtual character, the first virtual room and the first virtual character belong to a first account;
[0031] The receiving module is further used to receive a first room switching request sent by the client, and send second room data of the 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;
[0032] The receiving module is also used to receive a purchase request for a target item sent by a client;
[0033] A response module, configured to grant ownership rights of the target item to the first account in response to the purchase request satisfying the purchase condition;
[0034] The receiving module is further used to receive a second room switching request sent by the client and resend the first room data to the client;
[0035] The receiving module is also used to receive a placement request sent by the client and send a placement instruction to the client, where the placement instruction is used for the client to place the target prop in the first virtual room.
[0036] According to one aspect of the present application, a computer device is provided, comprising: a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the virtual room decoration method as described above.
[0037] According to one aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is used to be executed by a processor to implement the virtual room decoration method as described above.
[0038] According to one aspect of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to implement the virtual room decoration method as described above.
[0039] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, and the processor reading and executing the computer instructions from the computer-readable storage medium to implement the virtual room decoration method as described above.
[0040] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0041] By displaying at least one target prop placed in the first virtual room, the target prop can be displayed in a three-dimensional virtual environment, so that the first account can intuitively obtain the usage of the target prop in the first virtual room and place it in the first virtual room belonging to the first account. The embodiment of the present application provides a display method of the target prop that is more in line with virtual reality, and can provide the first account with a physical preview effect of the target prop, thereby reducing the time for the first account to select the target prop and improving the efficiency of human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0043] Figure 1 is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application;
[0044] Figure 2 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application;
[0045] Figure 3 It is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0046] Figure 4 is a flow chart of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0047] Figure 5 is a flow chart of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0048] Figure 6is a schematic diagram of an interface provided by an exemplary embodiment of the present application;
[0049] Figure 7 It is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0050] Figure 8 It is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0051] Fig. 9 It is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0052] Fig.10 is a flow chart of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0053] Fig.11 It is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0054] Fig.12 It is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0055] Fig.13 It is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0056] Fig.14 is a flow chart of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0057] Fig.15 is a flow chart of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0058] Fig.16 is a flow chart of a virtual room decoration method provided by an exemplary embodiment of the present application;
[0059] Fig.17 is a flowchart of dividing a candidate room pool provided by an exemplary embodiment of the present application;
[0060] Fig.18 is a flowchart of entering a virtual room provided by an exemplary embodiment of the present application;
[0061] Fig.19 is a schematic diagram of a virtual room decoration device provided by an exemplary embodiment of the present application;
[0062] Fig. 20 is a schematic diagram of a virtual room decoration device provided by an exemplary embodiment of the present application;
[0063] Fig.21 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0065] The method provided in this application can be applied to an application with a virtual room and a virtual character. Exemplarily, an application supporting a virtual room is an application in which a user can control a virtual character to move in a virtual room. Exemplarily, the method provided in this application can be applied to any of: a virtual reality (VR) application, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, and an augmented reality game.
[0066] In some embodiments, the application program may be a dress-up game, a change-up game, a role-playing game, etc. The client may support at least one operating system among Windows operating system, Apple operating system, Android operating system, IOS operating system and LINUX operating system, and clients of different operating systems may be interconnected. In some embodiments, the client is a program suitable for a mobile terminal with a touch screen.
[0067] In some embodiments, the client is an application developed based on a 3D engine, such as the 3D engine is a Unity engine.
[0068] The terminal in the present application may 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, Moving Picture Experts Group Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, etc. A client supporting a virtual room is installed and running in the terminal. The application may be a virtual reality application or an augmented reality application. Optionally, the application may be a stand-alone application, such as a stand-alone 3D game program, or may be a network-connected application.
[0069] Figure 1 1 is a schematic diagram of the structure of a terminal provided by an exemplary embodiment of the present application. The terminal includes a processor 101, a touch screen 102 and a memory 103.
[0070] The processor 101 may be at least one of a single-core processor, a multi-core processor, an embedded chip, and a processor with instruction execution capability.
[0071] The touch screen 102 includes a common touch screen or a pressure-sensitive touch screen. The common touch screen can measure a pressing operation or a sliding operation applied to the touch screen 102 ; the pressure-sensitive touch screen can measure the pressing force applied to the touch screen 102 .
[0072] The memory 103 stores the executable program of the processor 101. Schematically, the memory 103 stores a virtual environment program A, an application B, an application 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 developed based on the three-dimensional virtual environment module 17. Optionally, the virtual environment program A includes but is not limited to at least one of a game program, a virtual reality program, a three-dimensional map program, and a three-dimensional demonstration program developed by the three-dimensional virtual environment module (also referred to as 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.
[0073] 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) and three-dimensional map. The embodiment of the present application does not limit the specific type of the three-dimensional virtual environment module 17. In the following embodiment, the three-dimensional virtual environment module 17 is taken as an example of a module developed using the Unity engine.
[0074] 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 a pressure sensing function and does not receive pressure touch events. A touch event includes: the type and coordinate value of a touch event. The types of touch events include, but are not limited to, a touch start event, a touch move event, and a touch drop event. A pressure touch event includes: a pressure value and a coordinate value of a pressure touch event. The coordinate value is used to indicate the touch position of a pressure touch operation on the display screen. Optionally, a horizontal coordinate axis is established in the horizontal direction of the display screen, and a vertical coordinate axis is established in the vertical direction of the display screen to obtain a two-dimensional coordinate system.
[0075] Schematically, the kernel layer 19 includes a touch screen driver 191 and other drivers 192. The touch screen driver 191 is a module for detecting a pressure touch event. When the touch screen driver 191 detects a pressure touch event, it transmits the pressure touch event to the pressure sensing module 18.
[0076] The other drivers 192 may be drivers related to the processor 101 , drivers related to the memory 103 , drivers related to a network component, drivers related to a sound component, and the like.
[0077] Those skilled in the art will appreciate that the above is only a general illustration of the structure of the terminal. In different embodiments, the terminal may have more or fewer components. For example, the terminal may also include a gravity acceleration sensor, a gyroscope sensor, a power supply, and the like.
[0078] Figure 2 A structural block diagram of a computer system provided by an exemplary embodiment of the present application is shown. The computer system 200 includes: a terminal 210 and a server cluster 220 .
[0079] The terminal 210 is installed and runs a client 211 supporting a virtual room, and the client 211 may be an application supporting a virtual room. The client 211 may be an application supporting social functions and virtual rooms, and the social functions are functions in the form of instant messaging, microblogs, blogs, public accounts, online conferences, live broadcasts, etc. based on the network.
[0080] 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 a terminal used by a first user 212. The first user 212 uses the terminal 210 to control a first virtual character in a virtual room to perform activities. The first virtual character may be referred to as a 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 a simulated human character or an animated human character.
[0081] 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.
[0082] Figure 2Only one terminal is shown in the figure, but in different embodiments, there are multiple other terminals 240. In some embodiments, there is at least one other terminal 240 corresponding to the developer, and a development and editing platform of 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.
[0083] The terminal 210 and other terminals 240 are connected to the server cluster 220 via a wireless network or a wired network.
[0084] The server cluster 220 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. The server cluster 220 is used to provide background services for clients that support a 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, the server cluster 220 and the terminal adopt a distributed computing architecture for collaborative computing.
[0085] Optionally, the above-mentioned terminal and server are both computer devices.
[0086] In an illustrative example, the server cluster 220 includes a server 221 and a server 226, and the server 221 includes a processor 222, a user account database 223, a battle service module 224, and a user-oriented input / output interface (I / O interface) 225. The processor 222 is used to load instructions stored in the server 221 and process data in the user account database 223 and the battle service module 224; the user account database 223 is used to store data of user accounts used by the terminal 210 and other terminals 240, such as the user account's avatar, the user account's nickname, the user account's combat power index, and the service area where the user account is located; the battle service module 224 is used to provide multiple battle rooms for users to fight; and the user-oriented I / O interface 225 is used to establish communication and exchange data with the terminal 210 through a wireless network or a wired network.
[0087] In combination with the above introduction to the virtual environment and the description of the implementation environment, the data synchronization method provided in the embodiment of the present application will be described below.
[0088] Figure 3 A schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application is shown.
[0089] The display interface 310 of the first account displays a first virtual room and a first virtual character 311 located in the first virtual room. The first virtual room and the first virtual character 311 belong to the first account.
[0090] The first account can control the first virtual character 311 to move in the second virtual room 310. For example, the player logged in with the first account can control the movement of the first virtual character 311 through a joystick.
[0091] In response to the first switching operation of entering 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, and the first account performs the first switching operation in the room switching control 312, and controls the first virtual character 311 to enter the second virtual room while the second virtual room is displayed.
[0092] 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 built based on a three-dimensional virtual environment, and is used to simulate virtual rooms in the real world, magic world, imaginary world, metaverse world, etc.
[0093] Optionally, the second virtual room may be a virtual room selected by the first account or a sample virtual room. For example, the second virtual room is a sample virtual room provided by the backend system, and the sample virtual room is determined according to the preference of the first account.
[0094] In a schematic manner, virtual props refer to virtual objects that exist in the second virtual room and can be commercialized. For example, virtual props 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 travel tools, virtual house models, virtual raw materials, virtual semi-finished products, virtual equipment, and virtual service display areas.
[0095] Taking the second virtual room being a virtual supermarket as an example, various styles of virtual daily necessities, virtual food, virtual electrical appliances, virtual clothing and other virtual props are placed in the virtual supermarket; taking the second virtual room being a virtual sales office as an example, a variety of virtual house models are placed in the virtual sales office; taking the second virtual room being a virtual car dealership as an example, a variety of virtual cars, virtual electric cars, virtual skateboards and other virtual props are placed in the virtual car dealership; taking the second virtual room being a virtual bedroom as an example, a virtual bedroom is placed with virtual single beds, virtual wardrobes, virtual dressing tables, virtual mirrors, virtual sofas, virtual televisions, virtual table lamps and other virtual props.
[0096] refer to Figure 3 The second virtual room includes multiple virtual props. The following takes the case where the target prop is a virtual drum set 313 as an example:
[0097] In response to the selection operation on the virtual drum set 313, the purchase interface 314 of the virtual drum set 313 is displayed. For example, the player clicks the area where the virtual drum set 313 is located, and the purchase interface 314 is displayed below the virtual drum set 313.
[0098] Optionally, the purchase interface 314 displays at least one of the product name of the virtual drum set 313 , the quantity of purchased resources, and the ownership of the virtual drum set 313 by the first account.
[0099] Optionally, the display interface 310 also displays optional prop configurations of the virtual drum set 313. The player can change the prop parameters of the virtual drum set 313 by selecting the optional prop configurations, and the prop 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.
[0100] In response to the purchase operation on the purchase interface 314, the virtual drum set 313 is acquired as a virtual prop owned by the first account. For example, taking the player logging into the first account as an example, the player clicks the acquisition button on the purchase interface 314 to determine the virtual drum set 313 as a virtual prop owned by the first account.
[0101] Optionally, the second virtual room also displays a second virtual character 315 controlled by a room owner account, the room owner 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. The first account and the room owner account can interact with each other regarding the virtual drum set 313, and in response to the control operation on the first virtual character 313, chat information of the first virtual character 313 and the second virtual character 315 interacting with each other regarding the virtual drum set 313 in the second virtual room can be displayed on the display interface 310.
[0102] Similarly, the second virtual room may also optionally display a third virtual character (not shown) controlled by a fourth account, and the fourth account is a guest account for entering the second virtual room. For the virtual drum set 313, the display interface 310 may also display chat information of the first virtual character 313 and the third virtual character communicating and interacting with the virtual drum set 313 in the second virtual room.
[0103] Illustratively, in response to the second switching operation of returning to the first virtual room, the first virtual character 311 is controlled to return to the first virtual room; then, in response to the placement operation of the target prop, the target prop is placed in the first virtual room.
[0104] Figure 4A flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application is shown. The method is applied to a terminal logged in with a first account, and the method includes the following steps:
[0105] Step 401: Display a first virtual room and a first virtual character in the first virtual room.
[0106] Illustratively, the first virtual room and the first virtual character belong to the first account.
[0107] Step 402: In response to a first switching operation to enter a second virtual room, the second virtual room is displayed, and the first virtual character is controlled to enter the second virtual room.
[0108] Illustratively, the second virtual room does not belong to the first account, and at least one virtual prop is placed in the second virtual room.
[0109] The second virtual room may be a virtual room selected by the first account or a sample virtual room. For example, the second virtual room is a sample virtual room provided by the backend system, and the sample virtual room is determined based on the historical data of the first account; or, in another example, the first account selects a virtual room selected by the first account from multiple candidate virtual rooms and determines the virtual room selected by the first account as the second virtual room.
[0110] Illustratively, virtual props refer to virtual objects that exist in the second virtual room and can be commercialized. For example, virtual props are one or more of virtual props, virtual furniture, virtual pets, virtual appliances, virtual clothing, and virtual plants.
[0111] The virtual props may be arranged by the owner account of the second virtual room, or may be arranged by default. For example, the second virtual room is a virtual room customized by the second account that has a friend relationship with the first account, and the virtual props placed in the second virtual room are arranged by the second account; or, for another example, the second virtual room is a sample virtual room provided by the backend system, and the placement of the virtual props in the second virtual room is set by default.
[0112] Illustratively, the first switching operation is used to implement 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 canceled and the second virtual room is displayed.
[0113] Step 403: In response to a selection operation on a target item among the at least one virtual item, a purchase interface of the target item is displayed.
[0114] Illustratively, 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 slide operation on the target item, and a move operation close to the target item.
[0115] refer to Figure 3 , taking the target prop as the virtual drum set 313 as an example, in response to a single-click operation on the virtual drum set 313, a purchase interface 314 of the virtual drum set 313 is displayed. The number of purchase interfaces 314 can be determined according to actual needs. Figure 3 Two purchase interfaces 314 are shown, indicating two different purchase methods of the virtual drum set 313 respectively.
[0116] 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 coupons, purchase by completing designated tasks, and purchase by accepting gifts from friend accounts.
[0117] Step 404: In response to the purchase operation on the purchase interface, the target item is obtained as a virtual item owned by the first account.
[0118] Illustratively, the purchase operation on the purchase interface includes, but is not limited to, at least one of the following operations: a single-click operation on the purchase interface, a double-click operation on the purchase interface, a touch operation on the purchase interface, and a sliding operation on the purchase interface.
[0119] refer to Figure 3 The first account performs a single-click operation on the purchase interface 314 to obtain the virtual drum set 313 as the target item owned by the first account, and the virtual purchase coin or virtual purchase voucher corresponding to the first account is reduced accordingly, and the reduced amount is equal to the virtual value of the virtual drum set 313.
[0120] Step 405: In response to the second switching operation of returning to the first virtual room, controlling the first virtual character to return to the first virtual room.
[0121] Illustratively, the second switching operation is used to implement 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, the display of the second virtual room is canceled and the first virtual room is displayed.
[0122] Step 406: In response to the placement operation on the target prop, the target prop is placed in the first virtual room.
[0123] After controlling the first virtual character to return to the first virtual room, a placement operation is performed on the target prop so that the target prop is placed in the first virtual room.
[0124] The placement position of the target prop in the first virtual room may be a designated position or a default position. The designated position is a designated position in the first virtual room, and the default position is a placement position of the target prop in the second virtual room.
[0125] In summary, the virtual room decoration method provided by the embodiment of the present application displays at least one target prop placed in the second virtual room so that the target prop can be displayed in a three-dimensional virtual environment, so that the first account can intuitively obtain the usage of the target prop in the second virtual room and place it in the first virtual room belonging to the first account. The embodiment of the present application provides a display method of the target prop that is more in line with virtual reality, and can provide the first account with a physical preview effect of the target prop, thereby reducing the time for the first account to select the target prop and improving the efficiency of human-computer interaction.
[0126] based on Figure 4 , Figure 5 A flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application is shown, and the 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, as follows:
[0127] Step 4021: In response to a first switching operation to enter a second virtual room, display a virtual room entrance of at least one recommended virtual room.
[0128] Optionally, the at least one recommended virtual room includes at least one of the following three virtual rooms:
[0129] Sample virtual rooms provided by the backend system or public accounts.
[0130] 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 backend system or a public account, and the backend system or the public account determines the recommended virtual room based on the selection preference of the first account.
[0131] · A virtual room customized by the second account.
[0132] Illustratively, the second account and the first account have a friend relationship in the instant messaging system or 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, and the second account arranges wall lamps, wooden beds, ceiling crystal lamps, carpets, etc. in the virtual room according to his own preferences, and the virtual room can be used as one of the at least one recommended virtual room.
[0133] ·Virtual rooms customized by third-party accounts.
[0134] Illustratively, the third account and the first account do not have a friend relationship in the instant messaging system or 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 friend relationship in the virtual world, the third account arranges the virtual room according to its own preferences, and the virtual room can be used as one of the at least one recommended virtual room.
[0135] Optionally, the virtual room can be divided into the following dimensions:
[0136] 1. Based on whether the host account is online, the virtual room can be divided into a virtual room where the host account is online and a virtual room where the host account is offline.
[0137] In the case where a host account owns multiple virtual rooms, a room combination consisting of at least two virtual rooms among the multiple virtual rooms can be further divided into a virtual room where a virtual character controlled by the host account is located, and a virtual room where the virtual character is not located.
[0138] For example, the host account has 5 bedrooms and 2 living rooms, and a room combination is composed of 2 bedrooms and 1 living room. For example, if the virtual character controlled by the host account is located in the living room, the 2 bedrooms can be divided into virtual rooms where the virtual character controlled by the host account is not, and the living room can be divided into a virtual room where the virtual character controlled by the host account is located.
[0139] 2. Based on whether there are virtual characters controlled by friend accounts in the virtual room, the virtual room can be divided into rooms with friends and rooms without friends.
[0140] 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 friend rooms.
[0141] For example, 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. For another example, virtual character 1, virtual character 2 and virtual character 3 are displayed in virtual room 1, virtual character 4 and virtual character 5 are displayed in virtual room 2, and virtual character 6 is displayed in virtual room 3, and virtual character 1, virtual character 2 and virtual character 5 have a friend relationship with the first account, and 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.
[0142] 3. Based on whether there is a virtual character controlled by a guest account in the virtual room, the virtual room can be divided into occupied rooms and unoccupied rooms.
[0143] Among them, according to the number of virtual characters controlled by the guest account, the room with the most people can also be determined from the occupied rooms.
[0144] Optionally, the guest account may be an account that has a friend relationship with the first account, or may be a stranger account that has no friend relationship with the first account.
[0145] In the case where the guest account is an account that has a friend relationship with the first account, the division of the virtual room may refer to the second account division dimension.
[0146] In the case where the guest account is a stranger account, the virtual room can be specifically divided into rooms with strangers and rooms without strangers. Assuming that virtual character 1 and virtual character 2 are displayed in virtual room 1, virtual character 3 is displayed in virtual room 2, and 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.
[0147] It should be understood that any division of virtual rooms based on relevant dimensions of the account is within the protection scope of this application, and the above content is only an illustrative example and does not impose specific limitations on this application.
[0148] Step 4022: In response to the confirmation operation on the virtual room entrance of the second virtual room, display the second virtual room.
[0149] Illustratively, the second virtual room is one of the at least one recommended virtual room, and at least one virtual prop is placed in the second virtual room.
[0150] Among them, the confirmation operation of 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.
[0151] Figure 6 An interface schematic diagram provided by an exemplary embodiment of the present application is shown, in which a selection control 611 is displayed in a display interface 610 of a first account. In response to a 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, and the above four virtual room entrances correspond to four different recommended virtual rooms respectively.
[0152] 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 the 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.
[0153] Optionally, in response to a confirmation operation on the other virtual room entrance 615, a virtual room customized by the second account or a virtual room customized by the third account is randomly displayed.
[0154] Optionally, the display interface 610 also displays the nickname character string “Dreamer” of the first account, and the virtual room displayed in the display interface 610 is owned by the first account.
[0155] Optionally, the display interface 610 further displays a menu control 01 , and in response to a trigger operation on the menu control 01 , the display interface 610 is switched to display a management interface of the first account.
[0156] Optionally, at least one of the first operation control 021 , the second operation control 022 and the third operation control 023 is also displayed in the display interface 610 .
[0157] In response to the control operation on the first operation control 021, the first virtual character is controlled to move in the second virtual room; in response to the control operation on the second operation control 022, the first virtual character is controlled to pick up the selected virtual prop, which can be a target prop that has been purchased, a randomly dropped virtual prop, or a virtual prop dropped by the first virtual character; in response to the control operation on the third operation control 023, the first virtual character is controlled to take out the target prop placed in the virtual backpack. For example, the first account can place the virtual carpet purchased from other virtual rooms in its own virtual room through the control operation on the third operation control 023.
[0158] Optionally, the display interface 610 further displays a public room switching control 03, and displays a virtual public room in response to a trigger operation on the public room switching space 03. The layout of the virtual public room can be set according to actual needs, and virtual characters controlled by multiple accounts can be displayed in the virtual public room, and multiple accounts can purchase virtual props in the virtual public room at the same time.
[0159] For example, the virtual public room is decorated according to the Spring Festival theme. The first account clicks the public room switch control 03, and the virtual public room is displayed in the display interface 610. The virtual public room is decorated with virtual Chinese knots, virtual blessing characters, virtual Spring Festival couplets, virtual lanterns, virtual tiger head symbols, etc.
[0160] Optionally, the display interface 610 further displays a backpack control 04 , and in response to a trigger operation on the backpack control 04 , a virtual backpack is displayed, in which at least one target item owned by the first account is displayed.
[0161] 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. The above controls are displayed when the display conditions are met, and the display of the above controls is cancelled when the hiding conditions are met.
[0162] For example, in response to a trigger operation on the display interface 610, at least one of the menu control 01, the first operation control 021, the second operation control 022, the third operation control 023, the public room switching control 03 and the backpack control 04 is displayed; when the display time of the menu control 01, the first operation control 021, the second operation control 022, the third operation control 023, the public room switching control 03 and the backpack control 04 exceeds a 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 canceled.
[0163] Figure 7 The interface diagram of a virtual room decoration method provided by an exemplary embodiment of the present application is shown. In response to a confirmation operation on another virtual room entrance 615, the virtual room customized by the 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 acquired as a target prop owned by the first account.
[0164] After the virtual chair 616 is acquired as the target prop owned by the first account, an acquisition special effect may be displayed in the display interface 610, and the special effect may be a packing animation special effect, which is used to indicate that the first account owns the virtual chair 616. Optionally, after the virtual chair 616 is successfully acquired as the target prop owned by the first account, a virtual prop bag 618 may be displayed in the display interface, and the virtual prop bag 618 is used to indicate that the virtual chair 616 is to be packed.
[0165] Optionally, the second virtual room belongs to a target room combination, which 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 most third virtual characters controlled by the guest account in the target room combination.
[0166] For example, the target room combination is owned by the second account, and the target room combination includes 3 bedrooms and 1 living room, and 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.
[0167] For another example, if there is a third virtual character controlled by a guest account in the target room combination, and the number of the third virtual characters in the living room is the largest, then the second virtual room is the living room in the target room combination.
[0168] Step 4031: When the selected target item is one piece, the product introduction information and the first purchase interface of the target item are displayed.
[0169] Illustratively, the product introduction information includes at least one of: the product name, the quantity of purchased resources, and the first account's ownership of the target item.
[0170] The purchase resource refers to the virtual resource and / or virtual purchase voucher that the first account needs to pay to obtain the selected target item. For example, the purchase resource is a virtual resource, and the amount of virtual resource required to purchase the target item is displayed around the selected target item.
[0171] Optionally, product introduction information is displayed on the side of the first purchase interface.
[0172] Figure 8 810 is a schematic diagram of an interface of a virtual room decoration method provided by an exemplary embodiment of the present application, wherein a second virtual room is displayed in a display interface 810, and a virtual carpet 811 is placed in the second virtual room. When the selected target prop is the virtual carpet 811, the display interface 810 displays product introduction information of the virtual carpet 811 and two first purchase interfaces 812.
[0173] 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 number of virtual carpets 811 owned by the first account. In addition, the two first purchase interfaces 812 are used to indicate two different purchase methods, and the number of purchase resources of the virtual carpet 811 is also displayed around the two first purchase interfaces 812.
[0174] Optionally, in order to meet different requirements of the first account for target props, the virtual room decoration method provided in the embodiment of the present application further includes:
[0175] Display the target prop's optional configuration;
[0176] In response to a selection operation on an optional configuration of a prop, a prop parameter of a target prop is changed, wherein the prop parameter includes at least one of color, style, model, size, and material.
[0177] Among them, the prop optional configuration is used to indicate that the first account can independently select the prop parameters of the target prop configuration. Taking the target prop as the virtual carpet 811 as an example, when the first account performs a selection operation on the virtual carpet 811, the prop optional configuration can be displayed around the virtual carpet 811, and the first account can perform a selection operation on the prop optional configuration. For example, the first account changes the color of the virtual carpet 811 to beige.
[0178] Optionally, the display interface 810 also displays a name string of the second virtual room, and the name string may be a string “coffee style restaurant”.
[0179] Step 4032: When the selected target prop is a prop combination formed by a combination of at least two target props, the product introduction information of the prop combination and the second purchase interface are displayed.
[0180] Illustratively, the product introduction information includes at least one of: the product name, the quantity of purchased resources, and the first account's ownership of the target item.
[0181] Among them, the product introduction information is displayed on the surrounding side of the second purchase interface.
[0182] Fig. 9 9 is an interface diagram of a virtual room decoration method provided by an exemplary embodiment of the present application. A second virtual room is displayed in a display interface 910. A virtual combination desk 911 is placed in the second virtual room. The virtual combination desk 911 includes two target props, a virtual table and a virtual chair. When the selected target prop is the virtual combination desk 911, the product introduction information of the virtual combination desk 911 and two second purchase interfaces 913 are displayed in the display interface 910.
[0183] The product introduction information of the virtual combination desk 911 is displayed above the second purchase interface 913 , and the product introduction information includes the name of the virtual combination desk 911 and the number of virtual combination desks 911 owned by the second account.
[0184] In addition, the two second purchase interfaces 913 are used to indicate two different purchase methods, and the number of purchase resources of the virtual combination desk 911 is also displayed around the two second purchase interfaces 913. Assuming that the purchase resources of the virtual table are 20 virtual resources and the purchase resources of the virtual chair are 5 virtual resources, the number of purchase resources of the virtual combination desk 911 is 35 virtual resources.
[0185] Optionally, the display interface 910 also displays a name string of the second virtual room, and the name string may be a string “XX’s Home”.
[0186] Optionally, in order to meet different requirements of the first account for target props, the virtual room decoration method provided in the embodiment of the present application further includes:
[0187] Display the target prop's optional configuration;
[0188] In response to a selection operation on an optional configuration of a prop, a prop parameter of a target prop is changed, wherein the prop parameter includes at least one of color, style, model, size, and material.
[0189] Among them, the description of the optional configuration of props and prop parameters can be referred to the above content and will not be repeated here.
[0190] Illustratively, step 4031 and step 4032 are executed one by one and cannot be executed at the same time.
[0191] In summary, the virtual room decoration method provided in the embodiment of the present application provides at least one virtual room entrance of a recommended virtual room 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.
[0192] The recommended virtual room may be a sample virtual room provided by the backend 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 the first account with a selection of virtual rooms, thereby improving the efficiency of human-computer interaction.
[0193] Optionally, the displayed content in the display interface is different depending on the number of selected target props.
[0194] Among them, when the selected target item is one, the product introduction information of the menu item target prop is displayed; when the selected target props are multiple, the product introduction information of the prop combination is displayed, so that the first account can intuitively obtain relevant information of the combination product, which is closer to the shopping experience in virtual reality.
[0195] based on Figure 4 , Fig.10 A flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application is shown. The method is applied to a terminal logged in with a first account. The method further includes step 407, which is as follows:
[0196] Step 407: When the target item is successfully acquired as the target item owned by the first account, the first virtual character is displayed as holding a virtual item bag.
[0197] Schematically, the virtual prop box is used to indicate the packing of the target props.
[0198] Fig.11 A schematic diagram of an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application is shown.
[0199] In the display interface 1110, a virtual single bed 1111 is displayed in the second virtual room, and in response to a selection operation on the virtual single bed 1111, a purchase interface 1112 of the virtual single bed 1111 is displayed. Subsequently, in response to a purchase operation on the purchase interface 1112, the virtual single bed 1111 is acquired as a target item owned by the first account.
[0200] Optionally, the first virtual character 1113 is also displayed in the second virtual room.
[0201] When the virtual single bed 1111 is successfully acquired as the target prop owned by the first account, the first virtual character 1113 is displayed in the display interface 1110 as holding a virtual prop bag 1114. The virtual prop bag 1114 can be displayed in the form of a courier box, a packaging bag, a handbag, a packaging box, etc.
[0202] Optionally, a packing animation effect may be displayed before displaying the virtual props bag 1114. For example, when the virtual single bed 1111 is successfully acquired as the target prop owned by the first account, the first virtual character 1113 is changed from back view to front view, and a packing animation effect is displayed on the hand of the first virtual character 1113, and then the virtual props bag 1114 is displayed on the hand of the first virtual character 1113 to indicate that the virtual single bed 1111 is packed.
[0203] Optional, reference Fig.10 , when the first virtual character is displayed in the second virtual room, the virtual room decoration method provided by the embodiment 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 one by one, or executed sequentially, or executed out of order. Steps 408-412 are as follows:
[0204] Step 408: In response to a first movement control operation on the first virtual character, display 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 in the second virtual room.
[0205] The first control operation and the second control operation include but are not limited to at least one of the following operations: a translation operation, a steering operation, a jumping operation, and a prone operation. Fig. 9In the display interface 910 , a first virtual character 912 is displayed in the second virtual room, and the first virtual character 912 is controlled by the first account.
[0206] The player who logs into the first account can control the movement of the first virtual character 912 in the second virtual room by using a joystick; or the player who logs into the first account can control the movement of the first virtual character 912 by moving the mouse.
[0207] When the first virtual character is displayed in the second virtual room, step 403 may be implemented as follows:
[0208] In response to a click operation on a target item, a purchase interface for the target item is displayed;
[0209] or,
[0210] In response to the distance between the first virtual character and the target item being smaller than a threshold, a purchase interface for the target item is displayed.
[0211] The threshold value can be customized according to actual needs, or the threshold value is a default fixed value.
[0212] For example, the first account controls the first virtual character to move toward the target item, and when the distance between the first virtual character and the target item is less than a default fixed value, a purchase interface of the target item is displayed.
[0213] Still reference Fig. 9 , the target prop is the virtual combination desk 911, the player clicks on the virtual combination desk 911, and in response to the click operation on the virtual combination desk 911, the purchase interface 913 of the virtual combination desk 911 is displayed; or, the player controls the first virtual character 912 to move in the second virtual room so that the first virtual character 912 gradually approaches the virtual combination desk 911, and when the distance between the first virtual character 912 and the virtual combination desk 911 is less than a threshold, the purchase interface 913 is displayed.
[0214] Optionally, the virtual room decoration method provided by the embodiment of the present application further includes: in response to the second control operation of the first virtual character, displaying the first virtual character using or experiencing the target prop in the second virtual room.
[0215] The second control operation refers to a control operation performed on the first virtual character regarding the use or experience of the target prop.
[0216] For example, reference Fig.11Taking the target prop as the virtual single bed 1111 as an example, the first account controls the first virtual character 1113 to move to the vicinity of the virtual single bed 1111; then, the first account controls the first virtual character 1113 to lie on the virtual single bed 1111 to experience.
[0217] Step 409: Displaying a second virtual character controlled by the room owner account in the second virtual room.
[0218] Illustratively, the room owner account is the owner account of the second virtual room.
[0219] Step 410: In response to the third control operation on the first virtual character, display chat information of the first virtual character and the second virtual character interacting with each other in the second virtual room regarding the target prop.
[0220] The third control operation refers to the control operation of the first virtual character to interact with the room owner account, including but not limited to triggering a chat control.
[0221] Fig.12 The following is a schematic diagram showing an interface of a method for decorating a virtual room provided by an exemplary embodiment of the present application. Fig.12 (a) and (b) respectively display two different second virtual rooms in the display interface 1210 , and a first virtual character 1211 and a second virtual character 1212 are displayed in the second virtual room.
[0222] Illustratively, a chat control 1213 is also displayed in the display interface 1210. The third control operation may be an operation of triggering the chat control 1213. In response to the triggering operation on the chat control 1213, an input control 1214 is displayed, and the first account may input a chat message in the input control 1214, and the chat message is sent to the second virtual character.
[0223] refer to Fig.12 (a), the second virtual room is a virtual room owned by the second virtual character 1212, and chat information of the first virtual character 1211 and the second virtual character 1212 interacting and communicating with each other regarding the target prop is displayed in the display interface 1210. Optionally, the chat information can be displayed in the information display area 1215.
[0224] Among them, the chat information can be the comment string of the first virtual character 1211 on the second virtual room "The room is nice", or the comment string on the virtual sofa in the second virtual room "The sofa looks very comfortable", or the reply string of the second virtual character 1212 to the first virtual character 1211 "I found this sofa at Xiao A's house", or the special effect reminder information of the interaction between the first virtual character 1211 and the second virtual character 1212 "The first virtual character's eyes are full of stars", etc.
[0225] Optionally, the display interface 1210 displays a name character string of the second virtual room “XX’s Home”.
[0226] Step 411: Displaying a third virtual character controlled by a fourth account in the second virtual room.
[0227] Illustratively, the fourth account is a guest account for entering the second virtual room.
[0228] The fourth account may or may not have a friend relationship with the first account.
[0229] Step 412: In response to the fourth control operation on the first virtual character, display chat information of the first virtual character and the third virtual character interacting with each other in the second virtual room regarding the target prop.
[0230] Similar to the third control operation, the fourth control operation refers to a control operation of the first virtual character to interact with the fourth account, including but not limited to triggering a chat control.
[0231] refer to Fig.12 (b), the display interface 1210 also displays a third virtual character 1216 controlled by the fourth account, and the second virtual room is a virtual room owned by the third virtual character 1216 controlled by the fourth account. In response to the trigger operation on the chat control 1213, the input control 1214 is displayed, and the first account can enter a chat message in the input control 1214, and the chat message is sent to the third virtual character.
[0232] Subsequently, chat information of the first virtual character 1211 and the third virtual character 1216 interacting with each other on the virtual blackboard 1217 is displayed in the display interface 1210 . Optionally, the chat information may be displayed in the information display area 1215 .
[0233] Among them, the display content of the chat information can refer to the above content and will not be repeated here.
[0234] Optionally, according to the above 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 follows:
[0235] In response to the placement operation of the target prop, the first virtual character is controlled to place the target prop to a designated position or a default position in the first virtual room, the designated position is a designated position in the first virtual room, and the default position is a placement position of the target prop in the second virtual room.
[0236] Fig.13The interface schematic diagram of a virtual room decoration method provided by an exemplary embodiment of the present application is shown, wherein a first virtual room is displayed in a display interface 1310 , and a room switching control 1311 is displayed in the display interface 1310 .
[0237] Subsequently, the first account triggers the backpack control 1312, and displays the backpack display bar 1313 in the display interface 1310. The backpack display bar 1313 displays at least one virtual prop owned by the first account. After determining the virtual props to be arranged, the first account performs a placement operation on the placement control 1314 to place the virtual props at a specified position or a default position.
[0238] The placement operation may be a confirmation operation on the placement control 1314, or a drag operation on the virtual prop. For example, if the target prop is 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 of the first virtual room; or, after the player selects the virtual single bed 1315, the player drags the virtual single bed 1315 to a designated position, so that the virtual single bed 1315 is placed at the designated position.
[0239] Optionally, in response to a selection operation on the virtual single bed 1315, ownership information 1316 corresponding to the virtual single bed 1315 is displayed to indicate the first account's ownership of the virtual single bed 1315. For example, a string "Owned 1" is displayed around the virtual single bed 1315 to indicate that the number of virtual single beds 1315 owned by the first account is 1.
[0240] Fig.14 A flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application is shown. The method is applied to a terminal logged in with a first account, and the method includes the following steps:
[0241] Step 501: Display a virtual room entrance of at least one recommended virtual room.
[0242] 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 backend 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 and the first account have a friend relationship in an instant messaging system or a virtual world; a virtual room customized by a third account, where the third account and the first account do not have a friend relationship in an instant messaging system or a virtual world.
[0243] Step 502: In response to a confirmation operation on a virtual room entrance of a second virtual room, display the second virtual room.
[0244] Illustratively, the second virtual room is one of the at least one recommended virtual room.
[0245] For the description of the second virtual room, please refer to the above content and will not be repeated here.
[0246] Step 503: Select the target prop.
[0247] The first account can select a target item in the second virtual room according to its needs. For example, if the player logged into the first account wants to place a virtual carpet in his virtual room, the first account can select the virtual carpet in the second virtual room.
[0248] Illustratively, in response to a selection operation on a target item, a purchase interface for the target item is displayed.
[0249] Optionally, when the second virtual room is displayed, other accounts may also enter the second virtual room and select target items.
[0250] Step 504: In response to the purchase operation on the purchase interface, the target item is acquired as the target item owned by the first account.
[0251] Among them, the relevant descriptions of the purchase interface and purchase operations can be referred to the aforementioned content and will not be repeated here.
[0252] Step 505: In response to the switching operation, display the first virtual room owned by the first account.
[0253] Among them, the relevant description of the switching operation can be referred to the above content and will not be repeated here.
[0254] Step 506: In response to the placement operation on the target prop, control the first virtual character to place the target prop at a designated position or a default position of the first virtual room.
[0255] Illustratively, the designated position is a position designated in the first virtual room, and the default position is a position where the target item is placed in the second virtual room.
[0256] Among them, the relevant description of the placement operation can be referred to the aforementioned content and will not be repeated here.
[0257] Step 507: Adjust the placement of the virtual props in the first virtual room.
[0258] After the first account controls the first virtual character to place the target prop purchased from the second virtual room in the first virtual room, the first account can control the first virtual character to adjust the placement positions of all virtual objects in the first virtual room.
[0259] For example, after placing the virtual carpet at a designated position in the first virtual room, the first account may adjust the placement position of the virtual coffee table in the first virtual room to achieve the purpose of placing the virtual coffee table on the virtual carpet.
[0260] Step 508: Determine the first virtual room as a candidate recommended virtual room.
[0261] After the arrangement 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 if the needs of the other accounts are met, and the virtual room entrance of the first virtual room can be displayed in the display interface of the other accounts.
[0262] In summary, in the virtual room decoration method provided in the present application, the first virtual character is also displayed in the second virtual room to improve the human-computer interaction efficiency.
[0263] 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 real purchase scenario can be simulated by displaying chat information of the first virtual character interacting with the second virtual character or the third virtual character regarding the target item, or by displaying virtual prop bags.
[0264] Optionally, the first account may also place the target prop in the first virtual room owned by the first account, and the placement position may be a position independently selected by the first account, or may be determined according to the position of the target prop in the second virtual room.
[0265] Fig.15 A flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application is shown. The method is applied in a server and includes the following steps:
[0266] Step 601: Receive an identifier of a second virtual room sent by a client.
[0267] Indicatively, the client logs in with a first account.
[0268] For the description of the second virtual room, please refer to the above content and will not be repeated here.
[0269] refer to Figure 4In the interaction between the terminal and the server, step 602 is performed before step 402. Schematically, the identifier of the second virtual room is sent to the server by the client after receiving the confirmation operation of the first account for the virtual room entrance of the second virtual room, and the server can determine the virtual room selected by the client according to the identifier of the second virtual room.
[0270] Step 602: Send first room data of the first virtual room to the client.
[0271] Illustratively, the first room data is used for the client to display a first virtual room and a first virtual character in the first virtual room, and the first virtual room and the first virtual character belong to a first account.
[0272] Optionally, the first room data includes but is not limited to 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 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 of virtual props in the first virtual room in the room.
[0273] refer to Figure 4 In the interaction between the terminal and the server, step 602 is also performed before step 401. Schematically, after receiving the first room data sent by the server, the client can display the first virtual room and the first virtual object according to the room data.
[0274] For example, the first room data includes 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 the display interface to display the first virtual room with an 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.
[0275] Step 603: Receive a first room switching request sent by the client, and send second room data of the second virtual room to the client.
[0276] Illustratively, the second room data is used for the client to display a second virtual room, the second virtual room does not belong to the first account, and at least one virtual prop is placed in the second virtual room.
[0277] Among them, the relevant description of virtual props can be referred to the above content and will not be repeated here.
[0278] Optionally, the second room data includes but is not limited to 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 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 of the virtual props in the second virtual room in the room.
[0279] refer to Figure 4 In the interaction between the terminal and the server, step 603 is performed 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.
[0280] For example, the second room data includes 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 second virtual room. After receiving the above room data, the terminal controls the display interface to display the second virtual room with an area of 45 square meters, and displays the 5 target props in the second virtual room according to their placement positions in the second virtual room.
[0281] Step 604: Receive a purchase request for the target item sent by the client.
[0282] The purchase request is generated according to the purchase operation of the first account on the purchase interface. The description of the purchase interface and the purchase operation can be referred to the above content and will not be repeated here.
[0283] Optionally, the purchase request includes but is not limited to at least one of the following information: the name of the target item, item parameters of the target item, and the quantity of purchase resources of the target item.
[0284] refer to 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.
[0285] Step 605: In response to the purchase request satisfying the purchase condition, the first account is granted ownership authority of the target item.
[0286] The purchase condition is determined according to the quantity of purchase resources of the target item and the quantity of purchase resources owned by the first account. Optionally, if the quantity of purchase resources owned by the first account is not less than the quantity of purchase resources of the target item, it is determined that the purchase request satisfies the purchase condition.
[0287] When the purchase request satisfies the purchase condition, the first account obtains the ownership authority of the target item, and the target item may be determined as the target item owned by the first account.
[0288] refer to 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:
[0289] The client obtains the purchase operation of the first account on the purchase interface and generates a purchase request for the target item;
[0290] The client sends a purchase request for the target item to the server;
[0291] In response to the purchase request satisfying the purchase condition, the server grants the first account ownership of the target item;
[0292] The client obtains the target item as the target item owned by the first account according to the ownership authority granted by the server.
[0293] 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.
[0294] 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 described in detail.
[0295] After receiving the first room data resent by the server, the client may redisplay the first virtual room.
[0296] Step 607: Receive a placement request sent by the client, and send a placement instruction to the client.
[0297] Indicatively, the placement instructions are used for the client to place the target prop in the first virtual room.
[0298] refer to 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 prop, a corresponding placement request is generated; then, after the client receives the placement request, a placement instruction is sent to the client; after receiving the placement instruction, the client places the target prop in the first virtual room according to the instruction content.
[0299] The placement position of the target prop in the first virtual room is a designated position or a default position. For a specific description, please refer to the aforementioned content and will not be repeated here.
[0300] In summary, the virtual room decoration method provided in the embodiment of the present application can grant the first account the ownership right of the target prop by responding to the purchase request of the target prop sent by the client, so that the first account can quickly obtain the required target prop, thereby improving the efficiency of human-computer interaction.
[0301] based on Fig.15 , Fig.16 A flowchart of a virtual room decoration method provided by an exemplary embodiment of the present application is shown. The method is applied in a server, and the method further includes the following steps:
[0302] Step 6081: Screen at least one recommended virtual room that matches the room owned by the first account from the candidate room pool.
[0303] Optionally, the candidate room pool includes at least one of the following three types of room pools:
[0304] · Non-home room pool;
[0305] · In-home pool;
[0306] Random room pool;
[0307] Among them, the non-home room pool includes candidate virtual rooms whose host account is not online, the home room pool includes candidate virtual rooms whose host account is online and not in the recommended cooling-off period, and the random room pool includes candidate virtual rooms whose host account is online and in the recommended cooling-off period.
[0308] Indicatively, the recommendation cooling period refers to the time period during which the virtual room meets the recommendation conditions. The recommendation conditions can be set according to actual needs, such as determining the recommendation conditions based on the historical data or preference information of the first account.
[0309] For example, at a first time point, the room owner account is online in the first room. If the first room is not in the recommended cooling-off period, the first room belongs to one of the home room pools; if the first room is in the recommended cooling-off period, the first room belongs to one of the random room pools. At a second time point, the room owner account is not online in the second room, the second room belongs to one of the non-home room pools.
[0310] Illustratively, the candidate virtual rooms included in the room pool may be a single virtual room or a room combination consisting of at least two virtual rooms. For example, the home room pool includes the virtual room of the second account online and also includes the room combination of the third account online.
[0311] Optionally, the random selection probabilities of the random screening algorithms corresponding to the three types of room pools are different.
[0312] The random selection probability can be determined according to actual needs. For example, the random selection probability is in the following order from small to large: home room pool, random room pool, non-home room pool; or the random selection probability is in the following order from small to large: random room pool, home room pool, non-home room pool.
[0313] Optionally, step 6018 may be implemented as follows:
[0314] Determine the room area owned by the first account;
[0315] Determine the appropriate quantity of merchandise to match the room size;
[0316] Determine a candidate virtual room corresponding to a reasonable number of commodities in the candidate room pool;
[0317] Among the candidate virtual rooms, at least one recommended virtual room is randomly screened out.
[0318] 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, and the individual area of the online virtual room of the first account.
[0319] For example, the first account has a room combination, which includes 3 bedrooms and 1 living room, and the first account is online in the living room. The room area owned by the first account can be the total area of the 3 bedrooms and 1 living room, or it can be the individual area of the living room where the first account is currently located.
[0320] Step 6082: Send room entrance data of at least one recommended virtual room to the client.
[0321] Illustratively, the room entrance data is used for the client to display a virtual room entrance of at least one recommended virtual room, and the second virtual room is one of the at least one recommended virtual room.
[0322] 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 backend 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 and the first account have a friend relationship in an instant messaging system or a virtual world; a virtual room customized by a third account, where the third account and the first account do not have a friend relationship in an instant messaging system or a virtual world.
[0323] Among them, the relevant descriptions of the sample virtual room, the virtual room customized by the second account, and the virtual room customized by the third account can be referred to the aforementioned content and will not be repeated here.
[0324] Fig.17 A flowchart of dividing a candidate room pool provided by an exemplary embodiment of the present application is shown. The division of the candidate room pool includes the following steps:
[0325] Step 701: User account login.
[0326] The user account refers to one or more of all accounts including the first account.
[0327] After at least one user account logs in, the candidate room pool is divided into types for the virtual rooms or room combinations owned by the user account. According to the above content, the candidate room pool includes three types: non-home room pool, home room pool and random room pool. The specific division steps are as follows.
[0328] Step 702: Determine whether the number of virtual props in the current virtual room or room combination exceeds a preset value.
[0329] When the number of virtual props exceeds the preset value, step 703 is executed.
[0330] Step 703: Determine whether the virtual character controlled by the room owner account is in the owned virtual room or room combination.
[0331] The virtual room or room combination owned by the room owner account is the virtual room or room combination that the user account is currently in. For example, the user account is account 1, account 1 is in virtual room 1, and the room owner account of the virtual room is account 2. Then, it is determined whether the virtual character controlled by the room owner account of virtual room 1 is in virtual room 1.
[0332] When the virtual character controlled by the host account is not in the owned virtual room or room combination, step 704 is executed; when the virtual character controlled by the host account is in the owned virtual room or room combination, step 705 is executed.
[0333] Step 704: The virtual room or room combination enters the non-home room pool.
[0334] For example, when the virtual character controlled by the homeowner account is not in the virtual room or room combination owned by the homeowner account, the user account enters the virtual room after logging in, and the virtual room or room combination currently located by the user account (i.e., the virtual room or room combination owned by the homeowner account) is classified as one of the non-home room pool.
[0335] Step 705: Determine whether the current virtual room or room combination has entered the recommended cooling period.
[0336] If the current virtual room or room combination has not entered the recommended cooling period, step 706 is executed. If the current virtual room or room combination has entered the recommended cooling period, step 707 is executed.
[0337] Among them, the description of the recommended cooling-off period can be referred to the above content and will not be repeated here.
[0338] For example, when the virtual character controlled by the homeowner account is in a virtual room or room combination, the user account enters the virtual room after logging in. If the virtual room has not entered the recommended cooling-off period, the virtual room or room combination owned by the homeowner account (that is, the virtual room or room combination where the user account is currently located) is classified as one of the home room pools.
[0339] Step 706: The virtual room or room combination owned by the user account enters the at-home room pool.
[0340] Optionally, when the virtual character controlled by the host account leaves the virtual room or room combination, or when the host account is offline, the virtual room or room combination owned by the host account (that is, the virtual room or room combination where the user account is currently located) is removed from the home room pool and added to the non-home room pool.
[0341] Step 707: Determine whether the current virtual room or room combination becomes a recommended virtual room.
[0342] If the current virtual room or room combination immediately becomes a recommended virtual room, step 708 is executed. If the current virtual room or room combination does not immediately become a recommended virtual room, step 706 is executed.
[0343] Step 708: The virtual room or room combination enters a random room pool.
[0344] 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 room owner account is in the owned virtual room or room combination.
[0345] For example, the candidate room pool is divided according to room combinations. Fig.18 A flowchart of entering a virtual room provided by an exemplary embodiment of the present application is shown.
[0346] Among them, screening in the three types of candidate room pools includes the following steps:
[0347] Step 801: Determine the reasonable quantity of matching commodities according to the room combination owned by the first account;
[0348] Step 802: Determine a candidate room combination corresponding to a reasonable number of commodities;
[0349] Step 803: Randomly enter a room combination.
[0350] According to the total area of all virtual rooms owned by the first account, the number of matching reasonable commodities can be determined, which is the sum of the number of individual reasonable commodities in all virtual rooms. Then, the corresponding candidate room combination is determined according to the number of reasonable commodities, and a room combination is randomly entered.
[0351] For the room combination in the non-home room pool and the home room pool, the following steps are also included:
[0352] Step 804: Determine a virtual room that meets the conditions according to the number of virtual props in the virtual room where the first account is located;
[0353] Step 805: Randomly enter a virtual room.
[0354] After obtaining the first number of virtual props in the virtual room where the first account is located and the second number of virtual props in each virtual room in the room combination, the second number is judged to determine the virtual room that meets the conditions. For example, if the second number is not less than the first number, the virtual room corresponding to the second number is determined as the virtual room that meets the conditions. Then, a virtual room is randomly entered.
[0355] For the room combination in the non-random room pool, the following steps are also included:
[0356] Step 806: Determine whether the account that owns the room combination is online.
[0357] When the account that owns the room combination is not online, step 807 is executed; when the account that owns the room combination is online, step 808 is executed.
[0358] Step 807: Enter the virtual room with the largest number of people.
[0359] The virtual room with the largest number of visitors refers to one of the following virtual rooms: a room with the largest number of historical visitors; a room with the largest number of real-time visitors.
[0360] Step 808: Enter the virtual room where the account that owns the room combination is located.
[0361] After randomly entering a room combination, the online status of the account that owns the room combination is judged: if the account is online, it is given priority to enter the virtual room where the account is located; if the account is not online, the virtual room with the largest number of people is selected for entry.
[0362] In summary, the virtual room decoration method provided in the embodiment of the present application enables the first account to quickly enter the corresponding virtual room by screening at least one recommended virtual room matching the room owned by the first account in the candidate room pool.
[0363] The following is an embodiment of the device of the present application. For details not described in detail in the embodiment of the device, reference can be made to the corresponding records in the above method embodiment, and they will not be repeated herein.
[0364] Fig.19 A schematic diagram of a virtual room decoration device provided by an exemplary embodiment of the present application is shown, and the device includes:
[0365] A display module 1920 is used to display a first virtual room and a first virtual character, where the first virtual room and the first virtual character belong to a first account;
[0366] A response module 1940 is used to respond to the first switching operation of entering the second virtual room, display the second virtual room, 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 prop is placed in the second virtual room;
[0367] The response module 1940 is further configured to display a purchase interface of the target item in response to a selection operation of the target item in the at least one virtual item;
[0368] The response module 1940 is further used to respond to the purchase operation on the purchase interface and obtain the target item as a virtual item owned by the first account;
[0369] The response module is further used to control the first virtual character to return to the first virtual room in response to the second switching operation of returning to the first virtual room;
[0370] The response module is further used to place the target prop in the first virtual room in response to the placement operation of the target prop.
[0371] Optionally, the display module 1920 is used to display a virtual room entrance of at least one recommended virtual room; in response to a confirmation operation on the virtual room entrance of the first virtual room, display a second virtual room, where the second virtual room is one of the at least one recommended virtual room.
[0372] 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 backend 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 and the first account have a friend relationship in an instant messaging system or a virtual world; a virtual room customized by a third account, where the third account and the first account do not have a friend relationship in an instant messaging system or a virtual world.
[0373] Optionally, 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 the second virtual character controlled by the host 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 guest account in the target room combination.
[0374] Optionally, display module 1920 is used to display product introduction information and a first purchase interface of the target prop when the selected target prop is one piece; and / or, when the selected target prop is a prop combination formed by a combination of at least two target props, display product introduction information and a second purchase interface of the prop combination; wherein the product introduction information includes: at least one of: product name, quantity of purchase resources, and ownership status of the target prop by the first account.
[0375] Optionally, the display module 1920 is also used to display the prop optional configuration of the target prop; the response module 1940 is also used to change the prop parameters of the target prop in response to the selection operation on the prop optional configuration, and the prop parameters include at least one of color, style, model, size, and material.
[0376] Optionally, the response module 1940 is further used 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, to display the first virtual character moving in the second virtual room in response to a second movement control operation on the first virtual character.
[0377] Optionally, the response module 1940 is used to display a purchase interface for the target item in response to a click operation on the target item; or to display a purchase interface for the target item in response to a distance between the first virtual character and the target item being less than a threshold.
[0378] 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 the second control operation of the first virtual character.
[0379] Optionally, the display module 1920 is also used to display a second virtual character controlled by a room owner account in the second virtual room, where the room owner account is the owner account of the second virtual room; the response module 1940 is also used to respond to a third control operation on the first virtual character, and display chat information of the first virtual character and the second virtual character interacting and communicating about the target prop in the second virtual room.
[0380] Optionally, the display module 1920 is also used to display a third virtual character controlled by a fourth account in the second virtual room, where the fourth account is a guest account for entering the second virtual room; the response module 1940 is also used to respond to the fourth control operation on the first virtual character, and display chat information of the first virtual character and the third virtual character interacting and communicating about the target prop in the second virtual room.
[0381] Optionally, the display module 1920 is further used to display the first virtual character holding a virtual prop bag when the target prop is successfully acquired as the target prop owned by the first account, and the virtual prop bag is used to indicate that the target prop is to be packed.
[0382] Optionally, the response module 1940 is also used to control the first virtual character to place the target prop to a designated position or a default position in the first virtual room in response to a placement operation on the target prop, wherein the designated position is a designated position in the first virtual room, and the default position is a placement position of the target prop in the second virtual room.
[0383] Fig. 20 A schematic diagram of a virtual room decoration device provided by an exemplary embodiment of the present application is shown, and the device includes:
[0384] The receiving module 220 is used to receive an identifier of a first virtual room sent by a client, and the client is logged in with a first account;
[0385] A sending module 2040, configured to send first room data of a first virtual room to a client, wherein the first room data is used for the client to display the first virtual room and a first virtual character in the first virtual room, and the first virtual room and the first virtual character belong to a first account;
[0386] The receiving module 220 is further used to receive a first room switching request sent by the client, and send second room data of the 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;
[0387] The receiving module 2020 is further used to receive a purchase request for a target item sent by a client;
[0388] The response module 2060 is configured to grant the first account ownership rights of the target item in response to the purchase request satisfying the purchase condition.
[0389] The receiving module 220 is further configured to receive a second room switching request sent by the client, and resend the first room data to the client;
[0390] The receiving module 2020 is further used to receive a placement request sent by the client, and send a placement instruction to the client, where the placement instruction is used for the client to place the target prop in the first virtual room.
[0391] Optionally, the sending module 2040 is further used to screen at least one recommended virtual room that matches the room owned by the first account in the candidate room pool; and 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 a virtual room entrance of the at least one recommended virtual room, and the second virtual room is one of the at least one recommended virtual room.
[0392] 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 backend 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 and the first account have a friend relationship in an instant messaging system or a virtual world; a virtual room customized by a third account, where the third account and the first account do not have a friend relationship in an instant messaging system or a virtual world.
[0393] Optionally, the sending module 2040 is used to determine the room area owned by the first account; determine the reasonable number of commodities matching the room area; determine candidate virtual rooms corresponding to the reasonable number of commodities in the candidate room pool; and randomly select at least one recommended virtual room from the candidate virtual rooms.
[0394] Optionally, the candidate room pool includes at least one of the following three types of room pools: a non-home room pool; a home room pool; a random room pool; wherein the non-home room pool includes candidate virtual rooms where the host account is not online, the home room pool includes candidate virtual rooms where the host account is online and is not in the recommended cooling-off period, and the random room pool includes candidate virtual rooms where the host account is online and is in the recommended cooling-off period.
[0395] Fig.21 The structure block diagram of a terminal 2100 provided by an exemplary embodiment of the present application is shown. The terminal 2100 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) player, a laptop computer or a desktop computer. The terminal 2100 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0396] Typically, the terminal 2100 includes: a processor 2101 and a memory 2102 .
[0397] The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-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), and 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 awake state, also known as a 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), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2101 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0398] The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2102 is used to store at least one instruction, which is used to be executed by the processor 2101 to implement the display method of the field of view provided in the method embodiment of the present application.
[0399] 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 via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2103 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: 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.
[0400] The peripheral device interface 2103 may be used to connect at least one peripheral device related to I / O (Input / Output) 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 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0401] 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 the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. 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 user identity module card, etc. 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 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0402] The touch display screen 2105 is used to display a 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 the surface or above the surface of the touch display screen 2105. The touch signal may be input as a control signal to the processor 2101 for processing. At this time, the touch display screen 2105 may also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the touch display screen 2105 may be one, and the front panel of the terminal 2100 is set; in other embodiments, the touch display screen 2105 may be at least two, which are respectively set on different surfaces of the terminal 2100 or are folded; in still other embodiments, the touch display screen 2105 may be a flexible display screen, which is set on a curved surface or a folded surface of the terminal 2100. Even, the touch display screen 2105 may also be set to a non-rectangular irregular figure, i.e., a special-shaped screen. The touch display screen 2105 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0403] The camera assembly 2106 is used to capture images or videos. Optionally, the camera assembly 2106 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged 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 of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting with VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2106 may also include a flash. The flash can be a monochrome 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 at different color temperatures.
[0404] The audio circuit 2107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 2101 for processing, or input them into the radio frequency circuit 2104 to achieve voice communication. For the purpose of stereo acquisition 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 acquisition 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 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 purposes such as ranging. In some embodiments, the audio circuit 2107 may also include a headphone jack.
[0405] The power supply 2108 is used to power various components in the terminal 2100. The power supply 2108 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2108 includes a rechargeable battery, the rechargeable battery can 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 can also be used to support fast charging technology.
[0406] In some embodiments, the terminal 2100 further includes one or more sensors 2109 , including but not limited to: an acceleration sensor 2110 , a gyroscope sensor 2111 , a pressure sensor 2112 , an optical sensor 2113 , and a proximity sensor 2114 .
[0407] The acceleration sensor 2110 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 2100. For example, the acceleration sensor 2110 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 2101 can control the touch display screen 2105 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 2110. The acceleration sensor 2110 can also be used for collecting game or user motion data.
[0408] The gyro sensor 2111 can detect the body direction and rotation angle of the terminal 2100, and the gyro sensor 2111 can cooperate with the acceleration sensor 2110 to collect the user's 3D actions on the terminal 2100. The processor 2101 can implement the following functions based on the data collected by the gyro sensor 2111: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0409] The pressure sensor 2112 can be set 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 set on the side frame of the terminal 2100, it can detect the user's holding signal of the terminal 2100, and the processor 2101 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 2112. When the pressure sensor 2112 is set on the lower layer of the touch display screen 2105, the processor 2101 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 2105. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0410] 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 assembly 2106 according to the ambient light intensity collected by the optical sensor 2113.
[0411] The proximity sensor 2114, also called a distance sensor, is usually arranged 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 screen-on 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 screen-on state.
[0412] Those skilled in the art will understand that Fig.21 The structure shown in the figure does not constitute a limitation on the terminal 2100, and the terminal 2100 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0413] An embodiment of the present application also provides a computer device, which includes: a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the virtual room decoration method provided in the aforementioned embodiment.
[0414] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is used to be executed by a processor to implement the virtual room decoration method provided in the aforementioned embodiment.
[0415] An embodiment of the present application further provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to implement the virtual room decoration method provided in the above embodiment.
[0416] An embodiment of the present application also provides a computer program product, in which computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to implement the virtual room decoration method provided in the aforementioned embodiment.
[0417] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0418] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0419] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles 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 in the first virtual room, wherein 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, the second virtual room is displayed, and the first virtual character is controlled to enter 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 second virtual room; In response to a selection operation of a target item among the at least one virtual item, displaying a purchase interface of the target item; In response to a purchase operation on the purchase interface, acquiring the target item as a virtual item owned by the first account; In response to a second switching operation to return to the first virtual room, controlling the first virtual character to return to the first virtual room; In response to the placement operation on the target prop, the target prop is placed in the first virtual room.
2. The method according to claim 1, characterized in that The displaying the second virtual room comprises: displaying a virtual room entrance of at least one recommended virtual room; In response to a confirmation operation on a virtual room entrance of the second virtual room, the second virtual room is displayed, the second virtual room being one of the at least one recommended virtual room.
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 virtual rooms: A sample virtual room provided by a backend system or a public account, wherein the public account is an account that provides information push services to at least one account; A virtual room customized by a second account, wherein the second account and the first account have a friend relationship in an instant messaging system or a virtual world; A virtual room customized by a third account, wherein the third account and the first account have no friend relationship in an instant messaging system or a virtual world.
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 a virtual room where the second virtual character controlled by the room owner account in the target room combination is located, or the first virtual room is a virtual room where the third virtual characters controlled by the guest account in the target room combination are the most.
5. The method according to any one of claims 1 to 3, characterized in that: The purchase interface for displaying the target item includes: When the selected target item is one item, displaying the product introduction information of the target item and the first purchase interface; and / or, When the selected target prop is a prop combination formed by matching at least two virtual props, displaying product introduction information of the prop combination and a second purchase interface; The product introduction information includes at least one of the product name, the quantity of purchased resources, and the ownership of the target item by the first account.
6. The method according to claim 5, characterized in that The method further comprises: Display the optional configuration of the target item; In response to a selection operation on the optional configuration of the prop, a prop parameter of the target prop is changed, wherein the prop parameter includes 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 comprises: 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, the first virtual character is displayed moving in the second virtual room.
8. The method according to claim 7, characterized in that In response to the selection operation of the target item among the at least one virtual item, displaying the purchase interface of the target item comprises: In response to a click operation on the target item, displaying a purchase interface for the target item; or, In response to the distance between the first virtual character and the target item being smaller than a threshold, a purchase interface for the target item is displayed.
9. The method according to claim 7, characterized in that: The method further comprises: In response to a second control operation of the first virtual character, the first virtual character is displayed using or experiencing the target prop in the second virtual room.
10. The method according to claim 7, characterized in that The method further comprises: Displaying a second virtual character controlled by a room owner account in the second virtual room, wherein the room owner account is an account of an owner of the second virtual room; In response to a third control operation on the first virtual character, chat information of the first virtual character and the second virtual character interacting with each other in the second virtual room regarding the virtual prop is displayed.
11. The method according to claim 7, characterized in that The method further comprises: Displaying a third virtual character controlled by a fourth account in the second virtual room, wherein the fourth account is a guest account for entering the second virtual room; In response to a fourth control operation on the first virtual character, chat information of the first virtual character and the third virtual character interacting with each other regarding the virtual prop in the second virtual room is displayed.
12. The method according to claim 7, characterized in that The method further comprises: In the case where the target prop is successfully acquired as the target prop owned by the first account, the first virtual character is displayed holding a virtual prop bag, and the virtual prop bag is used to indicate that the target prop is to be packed.
13. The method according to any one of claims 1 to 3, characterized in that: In response to the placement operation of the target prop, placing the target prop in the first virtual room includes: In response to a placement operation on the target prop, the first virtual character is controlled to place the target prop to a specified position or a default position in the first virtual room, wherein the specified position is the position specified by the placement operation in the first virtual room, and the default position is the placement position of the target prop in the second virtual room.
14. A method for decorating a virtual room, characterized in that: The method comprises: Receiving an identifier of a first virtual room sent by a client, wherein the client is logged in with a first account; Sending 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 in the first virtual room, where the first virtual room and the first virtual character belong to the first account; receiving a first room switching request sent by the client, and sending second room data of a second virtual room to the client, wherein 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; Receiving a purchase request for a target item sent by the client; In response to the purchase request satisfying the purchase condition, granting the first account ownership authority of the target item; receiving a second room switching request sent by the client, and resending the first room data to the client; A placement request sent by the client is received, and a placement instruction is sent to the client, where the placement instruction is used for the client to place the target prop in the first virtual room.
15. The method according to claim 14, characterized in that The method further comprises: Screening at least one recommended virtual room that matches the room owned by the first account from the candidate room pool; Sending room entrance data of the at least one recommended virtual room to the client, the room entrance data is used for the client to display a virtual room entrance of the at least one recommended virtual room, the second virtual room being one of the at least one recommended virtual room.
16. The method according to claim 15, characterized in that The at least one recommended virtual room includes at least one of the following three virtual rooms: A sample virtual room provided by a backend system or a public account, wherein the public account is an account that provides information push services to at least one account; A virtual room customized by a second account, wherein the second account and the first account have a friend relationship in an instant messaging system or a virtual world; A virtual room customized by a third account, wherein the third account and the first account have no friend relationship in an instant messaging system or a virtual world.
17. The method according to claim 15, characterized in that The screening of at least one recommended virtual room matching the room owned by the first account from the candidate room pool includes: Determine the room area owned by the first account; Determine the reasonable quantity of merchandise to match the stated room area; Determining a candidate virtual room corresponding to the reasonable number of commodities in the candidate room pool; The at least one recommended virtual room is randomly selected from the candidate virtual rooms.
18. The method according to claim 17, characterized in that The candidate room pool includes at least one of the following three types of room pools: Non-home room pool; In-home room pool; Random room pool; The non-home room pool includes candidate virtual rooms where the homeowner account is not online, the home room pool includes candidate virtual rooms where the homeowner account is online and not in the recommended cooling-off period, and the random room pool includes candidate virtual rooms where the homeowner account is online and in the recommended cooling-off period.
19. The method according to claim 18, characterized in that The random selection probabilities of the random screening algorithms corresponding to the three types of room pools are different.
20. A virtual room decoration device, characterized in that: The device comprises: A display module, configured to display a first virtual room and a first virtual character, wherein the first virtual room and the first virtual character belong to a first account; a response module, configured to respond to a first switching operation of entering a second virtual room, display the second virtual room, and control the first virtual character to enter the second virtual room, wherein the second virtual room does not belong to the first account, and at least one virtual prop is placed in the second virtual room; The response module is further used to display a purchase interface of the target item in response to a selection operation of the target item in the at least one virtual item; 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; 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; 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.
21. A virtual room decoration device, characterized in that: The device comprises: A receiving module, configured to receive an identifier of a first virtual room sent by a client, wherein the client is logged in with a first account; A sending module, configured to send first room data of the first virtual room to the client, wherein 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; The receiving module is further used 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; The receiving module is further used to receive a purchase request for a target item sent by the client; A response module, configured to grant the first account ownership rights of the target item in response to the purchase request satisfying a purchase condition; The receiving module is further configured to receive a second room switching request sent by the client, and resend the first room data to the client; The receiving module is further used to receive a placement request sent by the client and send a placement instruction to the client, where the placement instruction is used for the client to place the target prop in the first virtual room.
22. A computer device, characterized in that: The computer device comprises: a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the virtual room decoration method according to any one of claims 1 to 19.
23. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, 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 19.
24. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the virtual room decoration method according to any one of claims 1 to 19.
25. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A 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 19.
Citation Information
Patent Citations
Control method of smart home device and terminal device
CN110727200A
Prop transaction method in game and device, computer equipment and medium
CN111821692A