Virtual image adjustment method, device, storage medium and electronic device
By receiving and processing the adjustment instructions, the second electronic device adjusts the virtual image of the first electronic device, solves the problem of insufficient interactiveness of the virtual image application in the prior art, and improves the interactive experience.
Patent Information
- Application Number
- CN202311293707.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-08
- Publication Date
- 2025-04-08
AI Technical Summary
In the prior art, the application interactivity of virtual images is weak, and users cannot adjust the other party's virtual image in real time.
By receiving the adjustment instruction information sent by the second electronic device, the first electronic device adjusts its virtual image, thereby realizing the adjustment of the virtual image of the first electronic device by the second electronic device.
It enhances the interactivity of virtual image applications, allows users to adjust the other party’s virtual image in real time, and improves the interactive experience.
Smart Images

Figure CN119788805A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and in particular, relates to a virtual image adjustment method, device, computer-readable storage medium and electronic device. Background Art
[0002] Virtual images provide users with a free and flexible character image, and bring users more fun on the basis of ensuring a certain degree of privacy. Therefore, virtual images have been welcomed by more and more users, and the application of virtual images has become more and more extensive. For example, when a user and another user are communicating instantly through an electronic device, both the user and the other user can create or adjust their own virtual images through the electronic device, and display the created or adjusted virtual images through the electronic device. However, in the related art, the interactivity of the application of virtual images is relatively weak. Summary of the invention
[0003] The embodiments of the present application provide a virtual image adjustment method, device, storage medium and electronic device, which can enhance the interactivity of the virtual image application.
[0004] In a first aspect, an embodiment of the present application provides a method for adjusting a virtual image, which is applied to a first electronic device, comprising:
[0005] Receiving first adjustment instruction information sent by a second electronic device, where the first adjustment instruction information is used to instruct adjustment of a first virtual image of the first electronic device;
[0006] The first virtual image is adjusted according to the first adjustment instruction information to obtain a second virtual image of the first electronic device.
[0007] In a second aspect, an embodiment of the present application provides a method for adjusting a virtual image, which is applied to a second electronic device, comprising:
[0008] In response to an adjustment operation on a first virtual image of a first electronic device, generating first adjustment instruction information, wherein the first adjustment instruction information is used to instruct the first electronic device to adjust the first virtual image;
[0009] The first adjustment instruction information is sent to the first electronic device.
[0010] In a third aspect, an embodiment of the present application provides a virtual image adjustment device, which is applied to a first electronic device, including:
[0011] An information receiving module, configured to receive first adjustment instruction information sent by a second electronic device, wherein the first adjustment instruction information is used to instruct adjustment of a first virtual image of the first electronic device;
[0012] The image adjustment module is used to adjust the first virtual image according to the first adjustment instruction information to obtain a second virtual image of the first electronic device.
[0013] In a fourth aspect, an embodiment of the present application provides a virtual image adjustment device, which is applied to a second electronic device and is characterized by comprising:
[0014] An information generating module, configured to generate first adjustment instruction information in response to an adjustment operation on a first virtual image of a first electronic device, wherein the first adjustment instruction information is used to instruct the first electronic device to adjust the first virtual image;
[0015] The information sending module is used to send the first adjustment instruction information to the first electronic device.
[0016] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed on a computer, the computer executes the virtual image adjustment method provided in the embodiment of the present application.
[0017] In a sixth aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the processor is used to execute the virtual image adjustment method provided in the embodiment of the present application by calling a computer program stored in the memory.
[0018] In an embodiment of the present application, a first electronic device receives first adjustment indication information sent by a second electronic device, where the first adjustment indication information is used to indicate adjustment of a first virtual image of the first electronic device; the first virtual image is adjusted according to the first adjustment indication information to obtain a second virtual image of the first electronic device. This allows the second electronic device to adjust the virtual image of the first electronic device. Compared with the solution in the related art that the second electronic device can only adjust its own virtual image, the application of the virtual image has stronger interactivity. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The technical solution and beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0020] Figure 1 It is a flowchart of the virtual image adjustment method provided in an embodiment of the present application.
[0021] Figure 2 This is a first schematic diagram of adjusting a virtual image provided in an embodiment of the present application.
[0022] Figure 3 It is a schematic diagram of the authorization query information provided in the embodiment of the present application.
[0023] Figure 4 It is a flowchart of another virtual image adjustment method provided in an embodiment of the present application.
[0024] Figure 5 This is a second schematic diagram of adjusting a virtual image provided in an embodiment of the present application.
[0025] Figure 6 It is a scene diagram of the virtual image adjustment method provided in an embodiment of the present application.
[0026] Figure 7 This is the first schematic diagram for displaying a virtual image provided in an embodiment of the present application.
[0027] Figure 8 This is a third schematic diagram for adjusting a virtual image provided in an embodiment of the present application.
[0028] Fig. 9 This is a second schematic diagram of displaying a virtual image provided in an embodiment of the present application.
[0029] Fig.10 It is a structural schematic diagram of a virtual image adjustment device provided in an embodiment of the present application.
[0030] Fig.11 It is a structural schematic diagram of another virtual image adjustment device provided in an embodiment of the present application.
[0031] Fig.12 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] It should be noted that the terms "first", "second" and "third" in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules inherent to these processes, methods, products or devices.
[0033] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0034] The embodiments of the present application provide a virtual image adjustment method, a virtual image adjustment device, a storage medium, and an electronic device. The execution subject of the virtual image adjustment method can be the virtual image adjustment device provided in the embodiments of the present application, or an electronic device integrated with the virtual image adjustment device, wherein the virtual image adjustment device can be implemented in hardware or software. The electronic device can be a smart phone, a tablet computer, a PDA, a laptop computer, or other device equipped with a processor and having the ability to adjust the virtual image.
[0035] See also Figure 1 , Figure 1 : is a flowchart of a virtual image adjustment method provided in an embodiment of the present application. The virtual image adjustment method is applied to a first electronic device. The flowchart may include:
[0036] In 101, first adjustment instruction information sent by a second electronic device is received, where the first adjustment instruction information is used to instruct adjustment of a first virtual image of a first electronic device.
[0037] Among them, the virtual image adjustment method provided in this embodiment can be applied to interactive applications, such as instant messaging applications, game applications, live broadcast applications, etc.
[0038] The first electronic device and the second electronic device may be electronic devices of users interacting through the above application, and may be electronic devices such as smart phones, tablet computers, PDAs, and laptop computers.
[0039] For example, the first electronic device and the second electronic device may be electronic devices of a user who performs instant messaging, such as video calls, through an instant messaging application. The first electronic device and the second electronic device may also be electronic devices of a user who plays games together through a game application. The first electronic device and the second electronic device may also be electronic devices of a host user who performs corresponding interactive behaviors, such as PK behaviors, through a live broadcast application. The first electronic device may also be an electronic device of a host user who performs live broadcasts, and the second electronic device may also be an electronic device of an audience user who watches the live broadcast of the host user.
[0040] It should be noted that in the embodiment of the present application, the first electronic device and the second electronic device are only relative concepts, mainly used to distinguish between the electronic device that receives the first adjustment instruction information and the electronic device that sends the first adjustment instruction information. That is to say, in the present embodiment, the first electronic device is the electronic device that receives the first adjustment instruction information, and the second electronic device is the electronic device that sends the first adjustment instruction information.
[0041] For example, if the electronic device that sends the first adjustment instruction information is device D1 and the electronic device that receives the first adjustment instruction information is device D2, then the second electronic device is device D1 and the first electronic device is device D2.
[0042] The following will take the second electronic device as device D1, the first electronic device as device D2, the user using device D1 as user U1, and the user using device D2 as user U2 as an example to illustrate the virtual image adjustment method provided in the embodiment of the present application.
[0043] For example, when user U1 and user U2 interact with each other through the above applications installed on device D1 and device D2, such as during a video call through an instant messaging application, if user U1 wants to adjust the virtual image of user U2, user U1 can adjust the virtual image of user U2, that is, the first virtual image of device D2, on device D1. In response to the adjustment operation on the first virtual image, device D1 can generate first adjustment instruction information and send the first adjustment instruction information to device D2, and device D2 receives the first adjustment instruction information.
[0044] In 102, the first virtual image is adjusted according to the first adjustment instruction information to obtain a second virtual image of the first electronic device.
[0045] In this embodiment, after receiving the first adjustment instruction information, the device D2 may adjust the first virtual image according to the first adjustment instruction information to obtain the second virtual image of the device D2.
[0046] For example, assuming that the first adjustment instruction information indicates to adjust the nose and hair of the first virtual image, the device D2 can adjust the nose and hair of the first virtual image to obtain the second virtual image of the device D2.
[0047] For another example, assuming that the first adjustment instruction information indicates to adjust the lips of the first virtual image, the device D2 may adjust the lips of the first virtual image to obtain the second virtual image of the device D2.
[0048] In this embodiment, the first electronic device receives first adjustment indication information sent by the second electronic device, where the first adjustment indication information is used to indicate adjustment of a first virtual image of the first electronic device; the first virtual image is adjusted according to the first adjustment indication information to obtain a second virtual image, thereby enabling the second electronic device to adjust the virtual image of the first electronic device. Compared with the solution in the related art that the second electronic device can only adjust its own virtual image, the application of the virtual image has stronger interactivity.
[0049] In an optional embodiment, the first adjustment instruction information includes an indication of a part to be adjusted, and adjusting the first virtual image according to the first adjustment instruction information to obtain the second virtual image of the first electronic device includes:
[0050] According to the first adjustment instruction information, the part to be adjusted of the first virtual image is adjusted to obtain the second virtual image.
[0051] The part to be adjusted is one or more parts of the first virtual image, such as eyes, nose, lips, ears, etc., which are specified by a user using the second electronic device, such as user U1.
[0052] For example, during a video call between user U1 and user U2 through an instant messaging application, if user U1 wants to adjust a certain part or parts of user U2's virtual image, user U1 can perform an adjustment operation on the first virtual image on device D1 to indicate that a certain part or parts of the first virtual image are to be adjusted. In response to the adjustment operation on the first virtual image, device D1 can generate first adjustment instruction information indicating that a certain part or parts of the first virtual image are to be adjusted, and send the first adjustment instruction information to device D2, and device D2 receives the first adjustment instruction information. After receiving the first adjustment instruction information, device D2 can adjust a certain part or parts of the first virtual image according to the first adjustment instruction information to obtain a second virtual image.
[0053] For example, if the user U1 instructs to adjust the nose of the first virtual image, then the device D2 can adjust the nose of the first virtual image to obtain the second virtual image.
[0054] For another example, if the user U1 instructs to adjust the lips and eyes of the first virtual image, then the device D2 can adjust the lips and eyes of the first virtual image to obtain a second virtual image.
[0055] In an optional embodiment, the part to be adjusted can be represented by corresponding identification information. Different parts to be adjusted have different corresponding identification information.
[0056] For example, the identification information corresponding to the nose may be nose, the identification information corresponding to the left ear may be earring_l, the identification information corresponding to the right ear may be earring_r, and the identification information corresponding to the lips may be lipstuds. Then, if the part to be adjusted indicated by the user U1 is the nose, the device D1 may send the identification information "nose" to the device D2. After the device D2 receives the identification information "nose", it may determine that the part to be adjusted indicated by the user U1 is the nose. Then, the device D2 may adjust the nose of the first virtual image to obtain the second virtual image; if the part to be adjusted indicated by the user U1 is the right ear, the device D1 may send the identification information "earring_r" to the device D2. After the device D2 receives the identification information "earring_r", it may determine that the part to be adjusted indicated by the user U1 is the right ear. Then, the device D2 may adjust the right ear of the first virtual image to obtain the second virtual image.
[0057] In an optional embodiment, the first adjustment instruction information further includes a target state corresponding to the part to be adjusted, and the part to be adjusted of the first virtual image is adjusted according to the first adjustment instruction information to obtain the second virtual image, including:
[0058] The state of the to-be-adjusted part of the first virtual image is adjusted to a target state to obtain a second virtual image.
[0059] The target state corresponding to the part to be adjusted includes the shape and color of the part to be adjusted, accessories of the part to be adjusted, such as the shape and color of glasses and earrings, and so on.
[0060] For example, assuming that the part to be adjusted is the eyes, the current state of the eyes of the first virtual image is peach blossom eyes, and the target state is phoenix eyes, then the device D2 can adjust the eyes of the first virtual image from peach blossom eyes to phoenix eyes to obtain a second virtual image.
[0061] For another example, assuming that the part to be adjusted is the lips, the current state of the first virtual image is orange-red, and the target state is bright red, the device D2 can adjust the lips of the first virtual image from orange-red to bright red to obtain a second virtual image.
[0062] In an optional embodiment, the target state corresponding to the part to be adjusted can be represented by a corresponding number. Different target states have different corresponding numbers.
[0063] For example, when the target state corresponding to the nose is a hooked nose, the corresponding number may be B_001, and when the target state corresponding to the nose is a bulbous nose, the corresponding number may be B_002; when the target state corresponding to the lips is thin lips, the corresponding number may be I_001, and when the target state corresponding to the lips is thick lips, the corresponding number may be I_002. Then, if the part to be adjusted indicated by the user U1 is the nose, and the target state is a hooked nose, the device D1 may send the identification information "nose" and the number "B_001" corresponding to the hooked nose to the device D2 in the form of "nose / B_001". After receiving "nose / B_001", the device D2 may determine that the user U1 has adjusted the nose. 1 is a nose, and the target state is a hooked nose, then the first electronic device can adjust the nose of the first virtual image to a hooked nose to obtain a second virtual image; if the part to be adjusted indicated by user U1 is lips, and the target state is thick lips, then device D1 can send the identification information "lipstuds" and the number "I_002" corresponding to the thick lips to device D2 in the form of "lipstuds / I_002", for example. After device D2 receives "lipstuds / I_002", it can determine that the part to be adjusted indicated by user U1 is lips, and the target state is thick lips, then device D2 can adjust the lips of the first virtual image to thick lips to obtain a second virtual image.
[0064] In an optional embodiment, after adjusting the first virtual image according to the first adjustment instruction information to obtain the second virtual image of the first electronic device, the method further includes:
[0065] The second virtual image is displayed, and the second virtual image is sent to the second electronic device.
[0066] For example, after obtaining the second virtual image, the device D2 may display the second virtual image, thereby presenting the virtual image of the user U2 adjusted as indicated by the user U1 to the user U2 in real time.
[0067] After obtaining the second virtual image, the device D2 may also send the second virtual image to the device D1. After receiving the second virtual image, the device D1 may also display the second virtual image, thereby presenting the virtual image of the user U2 after the adjustment indicated by the user U1 in real time.
[0068] In an optional embodiment, before receiving the first adjustment instruction information sent by the second electronic device, the method further includes:
[0069] In response to the virtual image creation operation, creating a first virtual image;
[0070] displaying the first virtual image, and sending the first virtual image to the second electronic device;
[0071] Displaying a second avatar, including:
[0072] The display of the first virtual image is replaced by the display of the second virtual image.
[0073] For example, user U2 can perform a virtual image creation operation on device D2, so that device D2 receives the creation operation. In response to the creation operation, device D2 can create a first virtual image. After the first virtual image is created, device D2 can display the first virtual image and send the first virtual image to device D1. After device D1 receives the first virtual image, device D1 can also display the first virtual image.
[0074] After device D2 obtains the second virtual image, device D2 may replace the display of the first virtual image with the display of the second virtual image, so that user U2 can see the changes of the virtual image of user U2 in real time. Device D2 may also send the second virtual image to device D1, and after device D1 receives the second virtual image, it may also replace the display of the first virtual image with the display of the second virtual image, so that user U1 can see the changes of the virtual image of user U2 in real time.
[0075] In an optional embodiment, after the display of the first virtual image is replaced by the display of the second virtual image, the method further includes:
[0076] In response to the adjustment operation on the second virtual image, the second virtual image is adjusted to obtain a third virtual image of the first electronic device;
[0077] The display of the second virtual image is replaced by the display of the third virtual image, and the third virtual image is sent to the second electronic device.
[0078] It can be understood that, in this embodiment, in addition to the user U1 being able to adjust the virtual image of the user U2, the user U2 can also adjust his or her own virtual image.
[0079] For example, after obtaining the second virtual image, the user U2 may also perform an adjustment operation on the second virtual image, and the device D2 receives the adjustment operation on the second virtual image. In response to the adjustment operation on the second virtual image, the device D2 may adjust the second virtual image to obtain a third virtual image.
[0080] After obtaining the third virtual image, device D2 can replace the second virtual image with the third virtual image, thereby presenting the changes of the virtual image of user U2 in real time on device D2. Device D2 can also send the third virtual image to device D1. After receiving the third virtual image, device D1 can replace the second virtual image with the third virtual image, thereby presenting the changes of the virtual image of user U2 in real time on device D1.
[0081] For example, Figure 2 As shown, the device D2 can display an adjustment control C1, and the user U2 can click on the adjustment control C1, so that the device D2 can display the parts that can be adjusted and the states in which each part can be selected. Assuming that the nose of the second virtual image is a bulbous nose, and the user U2 wants to adjust the nose of the second virtual image to a sword-shaped nose, then the user U2 can click on the sword-shaped nose displayed by the device D2, and the device D2 receives the adjustment operation for the second virtual image, and the adjustment operation is used to instruct to adjust the nose of the second virtual image to a sword-shaped nose. In response to the adjustment operation for the second virtual image, the device D2 can adjust the nose of the second virtual image to a sword-shaped nose to obtain a third virtual image.
[0082] In an optional embodiment, before creating the first virtual image, the method further includes:
[0083] After the communication connection with the second electronic device is successfully established, displaying an interaction interface with the second electronic device;
[0084] Displaying a first virtual image includes:
[0085] Displaying the first virtual image on an interactive interface with a second electronic device;
[0086] Replacing display of the first virtual image with display of the second virtual image includes:
[0087] The interaction interface with the second electronic device is replaced by displaying the second virtual image instead of the first virtual image.
[0088] For example, the interaction interface with the second electronic device may be the interface displayed by the device D2 when the user U1 plays a game with the user U2 through the corresponding game application with the corresponding virtual image. The interaction interface with the second electronic device may also be the interface displayed by the device D2 when the user U2 broadcasts live with the corresponding virtual image through the live broadcast application. The interaction interface with the second electronic device may also be the interface displayed by the device D2 when the user U2 and the user U1 interact with each other through the live broadcast application with the corresponding virtual image, such as the interface displayed by the device D2 during PK. The interaction interface with the second electronic device may also be the interface displayed by the device D2 when the user U1 and the user U2 communicate with each other through the instant messaging application with the corresponding virtual image, such as a video call interface.
[0089] Taking the interactive interface with the second electronic device as the first video call interface as an example, when the communication connection between device D2 and device D1, such as a video call connection, is successfully established, device D2 can display the first video call interface. Then, after obtaining the first virtual image, device D2 can display the first virtual image on the first video call interface. After obtaining the second virtual image, device D2 can replace the display of the first virtual image with the display of the second virtual image on the first video call interface, so as to achieve a change in the presentation of the virtual image of user U2 on the first video call interface. After obtaining the third virtual image, device D2 can also replace the display of the second virtual image with the display of the third virtual image on the first video call interface, so as to achieve a change in the presentation of the virtual image of user U2 on the first video call interface.
[0090] In an optional embodiment, after the communication connection with the second electronic device is successfully established, after the interaction interface with the second electronic device is displayed, the method further includes:
[0091] receiving a fourth virtual image of the second electronic device sent by the second electronic device;
[0092] The fourth virtual image is displayed on the interaction interface with the second electronic device.
[0093] Taking the interactive interface with the second electronic device as the first video call interface as an example, user U1 can also create his own virtual image as the fourth virtual image of device D1 and send it to device D2. After receiving the fourth virtual image sent by device D1, device D2 can also display the fourth virtual image on the first video call interface to realize the presentation of the virtual image of user U1 on the first video call interface.
[0094] It can be understood that the fourth virtual image can also be displayed on the interaction interface with the second electronic device simultaneously with the first virtual image, the second virtual image or the third virtual image.
[0095] In an optional embodiment, before receiving the first adjustment instruction information sent by the second electronic device, the method further includes:
[0096] Receiving an authorization request sent by a second electronic device, where the authorization request is used to request authorization for the second electronic device to adjust the first virtual image;
[0097] In response to the authorization operation, authorization information is sent to the second electronic device, where the authorization information is used to authorize the second electronic device to adjust the first virtual image.
[0098] Since the present embodiment needs to adjust the virtual images of other users, the virtual images of other users can be adjusted on the premise of obtaining authorization from other users.
[0099] It can be understood that, since user U1 adjusts the virtual image of user U2 instead of his own virtual image, user U1 can also perform an authorization request operation on device D1 to request user U2 to authorize user U1 to adjust the first virtual image through device D1. After receiving the authorization request operation, device D1 can send an authorization request to device D2 to request authorization for user U1 to adjust the first virtual image through device D1. After receiving the authorization request, device D2 can display authorization inquiry information to ask user U2 whether to authorize user U1 to adjust the first virtual image through device D1. If user U2 authorizes user U1 to adjust the first virtual image through device D1, device D2 receives the authorization operation. In response to the authorization operation, device D2 can send authorization information to device D1 to authorize user U1 to adjust the first virtual image through device D1.
[0100] For example, when user U1 and user U2 are having a video call, after device D2 receives the authorization request, device D2 may display the following information: Figure 3 The authorization inquiry information shown. If user U2 clicks "Agree", device D2 receives the authorization operation. In response to the authorization operation, device D2 may send authorization information to device D1 to authorize user U1 to adjust the first virtual image through device D1. If user U2 clicks "Reject", device D2 receives the authorization rejection operation. In response to the authorization rejection operation, device D2 may send authorization rejection information to device D1 to inform device D1 that user U2 refuses to authorize user U1 to adjust the first virtual image.
[0101] In an optional embodiment, the virtual image adjustment method may further include:
[0102] In response to the adjustment operation on the virtual image of the third electronic device, generating second adjustment instruction information, the second adjustment instruction information is used to instruct the third electronic device to adjust the virtual image of the third electronic device;
[0103] Sending second adjustment instruction information to the third electronic device.
[0104] The second electronic device and the third electronic device may be the same device or different devices.
[0105] It should be noted that the specific implementation of “in response to an adjustment operation on a virtual image of a third electronic device, generating second adjustment indication information, the second adjustment indication information being used to instruct the third electronic device to adjust the virtual image of the third electronic device; and sending the second adjustment indication information to the third electronic device” can refer to the specific implementation of “in response to an adjustment operation on a first virtual image of a first electronic device, generating first adjustment indication information, the first adjustment indication information being used to instruct the first electronic device to adjust the first virtual image; and sending the first adjustment indication information to the first electronic device”, which will not be repeated here.
[0106] See also Figure 4 , Figure 4 : is a flow chart of another virtual image adjustment method provided in an embodiment of the present application. The virtual image adjustment method is applied to a second electronic device. The flow chart may include:
[0107] In 201, in response to an adjustment operation on a first virtual image of a first electronic device, first adjustment instruction information is generated, where the first adjustment instruction information is used to instruct the first electronic device to adjust the first virtual image.
[0108] The second electronic device and the first electronic device may be electronic devices of users interacting through the above application, and may be electronic devices such as smart phones, tablet computers, PDAs, and laptop computers.
[0109] For example, the second electronic device and the first electronic device may be electronic devices of users who conduct instant messaging, such as video calls, through instant messaging applications. The second electronic device and the first electronic device may also be electronic devices of users who play games together through game applications. The second electronic device and the first electronic device may also be electronic devices of anchor users who conduct corresponding interactive behaviors, such as PK behaviors, through live broadcast applications. The second electronic device may also be an electronic device of an audience user who watches the live broadcast of the anchor user, and the first electronic device may also be an electronic device of the anchor user who conducts the live broadcast.
[0110] It should be noted that in the embodiment of the present application, the second electronic device and the first electronic device are only relative concepts, mainly used to distinguish between the electronic device that receives the first adjustment instruction information and the electronic device that sends the first adjustment instruction information. That is to say, in the present embodiment, the second electronic device is the electronic device that sends the first adjustment instruction information, and the first electronic device is the electronic device that receives the first adjustment instruction information.
[0111] For example, if the electronic device that sends the first adjustment instruction information is device D1 and the electronic device that receives the first adjustment instruction information is device D2, then the second electronic device is device D1 and the first electronic device is device D2.
[0112] The virtual image adjustment method provided in this embodiment is described below by taking the second electronic device as device D1, the first electronic device as device D2, the user using device D1 as user U1, and the user using device D2 as user U2 as an example.
[0113] For example, when user U1 and user U2 interact with each other through the above applications installed on device D1 and device D2, such as during a video call through an instant messaging application, if user U1 wants to adjust the virtual image of user U2, user U1 can adjust the virtual image of user U2, that is, the first virtual image of device D2, on device D1. In response to the adjustment operation on the first virtual image, device D1 can generate first adjustment instruction information to instruct device D2 to adjust the first virtual image.
[0114] In 202, first adjustment instruction information is sent to a first electronic device.
[0115] For example, after generating the first adjustment instruction information, device D1 may send the first adjustment instruction information to device D2. After receiving the first adjustment instruction information, device D2 may adjust the first virtual image according to the first adjustment instruction information to obtain the second virtual image of device D2.
[0116] In this embodiment, the second electronic device generates first adjustment indication information in response to an adjustment operation on the first virtual image of the first electronic device, and the first adjustment indication information is used to instruct the first electronic device to adjust the first virtual image; sending the first adjustment indication information to the first electronic device can enable the second electronic device to adjust the virtual image of the first electronic device. Compared with the solution in the related art that the second electronic device can only adjust its own virtual image, the application of the virtual image is more interactive.
[0117] In an optional embodiment, in response to an adjustment operation on a first virtual image of a first electronic device, generating first adjustment instruction information includes:
[0118] In response to an adjustment operation on the first virtual image, determining a part to be adjusted indicated by the adjustment operation;
[0119] First adjustment instruction information is generated, where the first adjustment instruction information is used to instruct the first electronic device to adjust the to-be-adjusted part of the first virtual image.
[0120] The part to be adjusted is one or more parts of the first virtual image, such as eyes, nose, lips, ears, etc., which are specified by a user using the second electronic device, such as user U1.
[0121] For example, during a video call between user U1 and user U2 via an instant messaging application, if user U1 wants to adjust a certain part or parts of the virtual image of user U2, user U1 can perform an adjustment operation on the first virtual image on device D1 to instruct to adjust a certain part or parts of the first virtual image. In response to the adjustment operation on the first virtual image, device D1 can determine the part selected by the user, determine the part as the part to be adjusted, and generate first adjustment instruction information instructing device D2 to adjust the part to be adjusted of the first virtual image.
[0122] For example, Figure 5 As shown, device D1 can display an adjustment control C2, and user U1 can click on the adjustment control C2, so that device D1 can display the parts that can be adjusted. Assuming that user U1 wants to adjust the nose of the first virtual image, user U2 can click on the nose displayed by device D1, and device D1 receives the adjustment operation for the first virtual image, and determines that the part to be adjusted indicated by the adjustment operation is the nose, then device D1 can generate first adjustment instruction information instructing device D2 to adjust the nose of the first virtual image and send it to device D2. After receiving the first adjustment instruction information, device D2 can adjust the nose of the first virtual image to obtain the second virtual image.
[0123] In an optional embodiment, in response to an adjustment operation on the first virtual image, determining the part to be adjusted indicated by the adjustment operation includes:
[0124] In response to an adjustment operation on the first virtual image, determining a part to be adjusted indicated by the adjustment operation and a target state corresponding to the part to be adjusted;
[0125] Generating first adjustment instruction information includes:
[0126] First adjustment instruction information is generated, where the first adjustment instruction information is used to instruct the first electronic device to adjust the state of the to-be-adjusted part of the first virtual image to a target state.
[0127] The target state corresponding to the part to be adjusted includes the shape and color of the part to be adjusted, accessories of the part to be adjusted, such as the shape and color of glasses and earrings, and so on.
[0128] For example, during a video call between user U1 and user U2 via an instant messaging application, if user U1 wants to adjust a certain part of the virtual image of user U2 to a target state, user U1 can perform an adjustment operation on the first virtual image to indicate that a certain part of the first virtual image is adjusted to the target state. In response to the adjustment operation on the first virtual image, device D1 can determine the part selected by the user, determine the part as the part to be adjusted, determine the state selected by the user, determine the state as the target state corresponding to the part to be adjusted, and generate first adjustment instruction information instructing device D2 to adjust the state of the part to be adjusted of the first virtual image to the target state.
[0129] For example, Figure 5 As shown, device D1 can display an adjustment control C2, and user U1 can click on the adjustment control C2, so that device D1 can display the parts that can be adjusted. Assuming that user U1 wants to adjust the nose of the first virtual image, user U1 can click on the nose displayed by device D1, and device D1 can display the available states of the nose. If the user clicks on the hooked nose displayed by device D1, device D1 receives the adjustment operation for the first virtual image, and determines that the part to be adjusted indicated by the adjustment operation is the nose, and the target state corresponding to the part to be adjusted is the hooked nose. Then, in response to the adjustment operation for the first virtual image, device D1 can generate first adjustment instruction information instructing device D2 to adjust the nose of the first virtual image to a hooked nose, and send the first adjustment instruction information to device D2. After receiving the first adjustment instruction information, device D2 can adjust the nose of the first virtual image to a hooked nose.
[0130] In an optional embodiment, after sending the first adjustment instruction information to the first electronic device, the method further includes:
[0131] Receiving a second virtual image sent by the first electronic device, where the second virtual image is obtained by the first electronic device adjusting the first virtual image according to the first adjustment instruction information;
[0132] The second avatar is displayed.
[0133] For example, after obtaining the second virtual image, device D2 may also send the second virtual image to device D1. After receiving the second virtual image, device D1 may display the second virtual image, thereby presenting the virtual image of user U2 after the adjustment indicated by user U1 in real time.
[0134] In an optional embodiment, in response to the adjustment operation on the first virtual image of the first electronic device, before generating the first adjustment instruction information, the method further includes:
[0135] Receiving a first virtual image sent by a first electronic device;
[0136] displaying a first avatar;
[0137] Displaying a second avatar, including:
[0138] The display of the first virtual image is replaced by the display of the second virtual image.
[0139] For example, user U2 can perform a virtual image creation operation on device D2, so that device D2 receives the creation operation. In response to the creation operation, device D2 can create a first virtual image. After the first virtual image is created, device D2 can send the first virtual image to device D1. After device D1 receives the first virtual image, device D1 can display the first virtual image.
[0140] After device D2 obtains the second virtual image, device D2 can send the second virtual image to device D1. After device D1 receives the second virtual image, it can also replace the first virtual image with the second virtual image, so that user U1 can see the changes in the virtual image of user U2 in real time.
[0141] In an optional embodiment, after the display of the first virtual image is replaced by the display of the second virtual image, the method further includes:
[0142] Receiving a third virtual image sent by the first electronic device, where the third virtual image is obtained by adjusting the second virtual image by the first electronic device in response to an adjustment operation on the second virtual image;
[0143] The display of the second virtual image is replaced by the display of the third virtual image.
[0144] It can be understood that, in addition to user U1 being able to adjust the virtual image of user U2, user U2 can also adjust his or her own virtual image.
[0145] For example, after obtaining the second virtual image, user U2 may also perform an adjustment operation on the second virtual image on device D2, and device D2 receives the adjustment operation on the second virtual image. In response to the adjustment operation on the second virtual image, device D2 may adjust the second virtual image to obtain a third virtual image.
[0146] After obtaining the third virtual image, device D2 may send the third virtual image to device D1. After receiving the third virtual image, device D1 may replace the displayed second virtual image with the third virtual image, thereby presenting the changes of the virtual image of user U2 on device D1 in real time.
[0147] In an optional embodiment, before receiving the first virtual image sent by the first electronic device, the method further includes:
[0148] After the communication connection with the second electronic device is successfully established, displaying the interaction interface with the first electronic device;
[0149] Displaying a first virtual image includes:
[0150] Displaying a first virtual image on an interactive interface with a first electronic device;
[0151] Replacing display of the first virtual image with display of the second virtual image includes:
[0152] The interaction interface with the first electronic device is replaced by displaying the second virtual image instead of the first virtual image.
[0153] For example, the interaction interface with the first electronic device may be the interface displayed by the device D1 when the user U1 plays a game with the user U2 through the corresponding game application with the corresponding virtual image. The interaction interface with the first electronic device may also be the interface displayed by the device D1 when the user U1 watches the live broadcast of the user U2 with the corresponding virtual image through the live broadcast application. The interaction interface with the first electronic device may also be the interface displayed by the device D1 when the user U2 and the user U1 interact with each other through the live broadcast application with the corresponding virtual image, such as the interface displayed by the device D1 during PK. The interaction interface with the first electronic device may also be the interface displayed by the device D1 when the user U1 and the user U2 communicate with each other through the instant messaging application with the corresponding virtual image, such as the video call interface.
[0154] Taking the interactive interface with the first electronic device as the second video call interface as an example, when the communication connection between device D1 and device D2, such as a video call connection, is successfully established, device D1 can display the second video call interface. After receiving the first virtual image, device D1 can display the first virtual image on the second video call interface. After receiving the second virtual image, device D1 can replace the display of the first virtual image with the display of the second virtual image on the second video call interface, so as to achieve a change in the presentation of the virtual image of user U2 on the second video call interface. After receiving the third virtual image, device D1 can also replace the display of the second virtual image with the display of the third virtual image on the second video call interface, so as to achieve a change in the presentation of the virtual image of user U2 on the second video call interface.
[0155] In an optional embodiment, after the communication connection with the second electronic device is successfully established, after the interaction interface with the first electronic device is displayed, the method further includes:
[0156] In response to the virtual image creation operation, creating a fourth virtual image of the second electronic device;
[0157] The fourth virtual image is displayed on the interaction interface with the first electronic device.
[0158] Taking the interactive interface with the first electronic device as the second video call interface as an example, user U1 can also perform a virtual image creation operation to create his own virtual image as the fourth virtual image of device D1. After obtaining the fourth virtual image, device D1 can also display the fourth virtual image on the second video call interface to achieve the presentation of the virtual image of user U1 on the second video call interface. Device D1 can also send the fourth virtual image to device D2, so that after receiving the fourth virtual image, device D2 can display the fourth virtual image, such as displaying the fourth virtual image on the first video call interface with device D1.
[0159] It can be understood that the fourth virtual image can also be displayed on the interaction interface with the first electronic device simultaneously with the first virtual image, the second virtual image or the third virtual image.
[0160] In an optional embodiment, in response to the adjustment operation on the first virtual image of the first electronic device, before generating the first adjustment instruction information, the method further includes:
[0161] In response to the authorization request operation, sending an authorization request to the first electronic device, the authorization request being used to request authorization for the second electronic device to adjust the first virtual image;
[0162] Authorization information sent by the first electronic device is received, where the authorization information is used to authorize the second electronic device to adjust the first virtual image.
[0163] It is understandable that, since user U1 adjusts the virtual image of user U2 instead of his own virtual image, user U1 can also perform an authorization request operation on device D1, such as clicking the authorization request control displayed on device D1 to request user U2 to authorize user U1 to adjust the first virtual image through device D1. After receiving the authorization request operation, device D1 can send an authorization request to device D2 to request authorization for user U1 to adjust the first virtual image through device D1. After receiving the authorization request, device D2 can display authorization inquiry information to ask user U2 whether to authorize user U1 to adjust the first virtual image through device D1. If user U2 authorizes user U1 to adjust the first virtual image through device D1, device D2 receives the authorization operation. In response to the authorization operation, device D2 can send authorization information to device D1 to authorize user U1 to adjust the first virtual image through device D1.
[0164] After receiving the authorization information sent by device D2, device D1 may also display the authorization information to prompt user U1 and user U2 to agree to adjust the first virtual image. Figure 5The adjustment control C2 is shown, so that the user U1 can adjust the first virtual image by clicking the adjustment control C2. The specific implementation can refer to the previous embodiment, which will not be repeated here.
[0165] In an optional embodiment, after receiving the authorization information sent by the device D2, the device D1 can also directly display an adjustment window, and display the parts that can be adjusted and the available states in the adjustment window. The user U1 can select the part to be adjusted and the target state corresponding to the part to be adjusted in the adjustment window, so that the device D1 receives the adjustment operation for the first virtual image.
[0166] See also Figure 6 The following will take a scenario in which a user U1 using a device D1 and a user U2 using a device D2 respectively use instant messaging applications on the devices D1 and D2 to make a video call as an example to illustrate the virtual image adjustment method provided in the embodiment of the present application.
[0167] User U1 can initiate a video call with user U2 of device D2 in the instant messaging application of device D1, and after user U2 agrees to make a video call with user U1 through the instant messaging application of device D2, devices D1 and D2 can establish a video call connection to enable user U1 to make a video call with user U2.
[0168] After establishing a video call connection with device D1, device D2 can display a first video call interface with device D1 through an instant messaging application. After establishing a video call connection with device D2, device D1 can also display a second video call interface with device D2 through an instant messaging application.
[0169] The user U2 may perform a first virtual image creation operation to trigger the device D2 to create a first virtual image of the user U2, such as the virtual image A1. In response to the first creation operation, the device D2 may create the virtual image A1. The user U1 may perform a second virtual image creation operation to trigger the device D1 to create a fourth virtual image of the user U1, such as the virtual image A2. In response to the second creation operation, the device D1 may create the virtual image A2.
[0170] The virtual image may be composed of a neutral head and the states of various parts of the neutral head, such as eyes, nose, lips, ears, etc. The states of various parts may include the color and shape of each part, accessories worn by each part, and the color and shape of accessories worn by each part.
[0171] The virtual image may exist in the form of json format, such as info.json format content. The info.json format content may include the status of each part. The electronic device may obtain the status of each part of the virtual image by parsing the info.json format content, thereby creating the virtual image.
[0172] For example, each part of the virtual image can be represented by corresponding identification information, and the status of each part of the virtual image can be represented in the form of a number. For example, the content of a virtual image in the info.json format may include:
[0173] nose{1}
[0174] bundle:nose / B_002.bundle / / Indicates that the shape of the avatar's nose is the shape corresponding to number B_002
[0175] earring_r{1}
[0176] bundle:earring_r / S_005.bundle / / Indicates that the shape of the avatar's right ear is the shape corresponding to number S_005
[0177] lipstuds{1}
[0178] bundle:earring_r / I_004.bundle / / Indicates that the shape of the avatar's lips is the shape corresponding to number I_004
[0179] earring_l{1}
[0180] bundle:earring_1 / S_005.bundle / / Indicates that the shape of the avatar's left ear is the shape corresponding to number S_005
[0181] For another example, the status of each part of the virtual image can also be represented by color information. For example, the content of a virtual image in the info.json format can also include:
[0182] eyebrow_color{4} / / indicates that the color of the virtual image's eyes is a color composed of the pixel values of the red channel, the green channel, and the blue channel being 70, and the pixel value of the transparency channel being 255.
[0183] r:70
[0184] g:70
[0185] b:70
[0186] a:255
[0187] hat_color{4} / / indicates that the color of the hat worn by the avatar is a color composed of the pixel values of the red channel, the green channel, and the blue channel being 70, and the pixel value of the transparency channel being 255.
[0188] r:70
[0189] g:70
[0190] b:70
[0191] a:255
[0192] After device D2 creates virtual image A1, device D2 may display virtual image A1 on the first video call interface and send the virtual image A1 to device D1. After receiving the virtual image A1, device D1 may display the virtual image A1 on the second video call interface.
[0193] After device D1 creates virtual image A2, device D1 can display virtual image A2 on the second video call interface and send the virtual image A2 to device D2. After receiving the virtual image A2, device D2 can display the virtual image A2 on the first video call interface.
[0194] For example, Figure 7 As shown, the device D1 can display the virtual image A2 in full screen on the second video call interface, and display the virtual image A1 in the form of a small window. The user U1 can also click the small window with a finger, so that the device D1 can display the virtual image A1 in full screen on the second video call interface, and display the virtual image A2 in the form of a small window.
[0195] It is understandable that the device D2 can also display the virtual images A1 and A2 in the first video call interface in the same manner as the device D1 displays the virtual images A1 and A2. That is, the device D2 can display the virtual image A1 in full screen on the first video call interface, and display the virtual image A2 in a small window. The user U2 can also click on the small window with a finger, so that the device D2 can display the virtual image A2 in full screen on the first video call interface, and display the virtual image A1 in a small window.
[0196] In an optional embodiment, a virtual image creation control may be displayed on the device D2, and the user U2 may click on the virtual image creation control, and the device D2 may display the parts of the virtual image that can be selected and the states of the parts that can be selected. The user U2 may perform a part selection operation on the device D2, so that the device D2 may display the parts selected by the user and the states of the parts that can be selected. The device D2 may also display a "confirmation" control. If the user directly clicks on the "confirmation" control without making any selection, the first creation operation received by the device D2 is to directly generate the virtual image A1 according to the default state of the corresponding parts of the virtual image. For example, if the default state of the eyes of the virtual image is peach blossom eyes, and the default state of the nose of the virtual image is hooked nose, the state of the eyes of the virtual image A1 generated by the device D2 is peach blossom eyes, and the state of the nose is hooked nose. If the user selects the state of the corresponding part before clicking on the "confirmation" control, the first creation operation received by the device D2 is to generate the virtual image A1 according to the state of the corresponding part selected by the user. For example, if the user selects the state of the virtual image's eyes as phoenix eyes and the state of the virtual image's nose as a bulbous nose, the virtual image A1 generated by the device D2 will have eyes of phoenix eyes and a nose of a bulbous nose.
[0197] It should be noted that, for the state of a certain part, if the user selects the state of the part, the virtual image is generated according to the state selected by the user first; if the user does not select the state of the part, the virtual image is directly generated according to the default state. In some embodiments, for the accessories worn on various parts, the color and shape of the accessories worn on various parts, if the user selects, they are displayed according to the user's selection; if the user does not select, they may not be displayed directly.
[0198] It should also be noted that the device D2 may also generate content in json format corresponding to the virtual image A1 based on the state selected by the user and / or the default state, and then parse the content in json format to create the virtual image A1.
[0199] It is understandable that the device D1 can also create the virtual image A2 in the same manner as the device D2 creates the virtual image A1, which will not be described in detail here.
[0200] In an optional embodiment, the device D2 may send the JSON-formatted content corresponding to the virtual image A1 to the device D1. After receiving the JSON-formatted content, the device D1 may parse the JSON-formatted content to create the virtual image A1 and display the virtual image A1 on the second video call interface.
[0201] Device D1 may send the JSON-formatted content corresponding to the virtual image A2 to device D2. After receiving the JSON-formatted content, device D2 may parse the JSON-formatted content to create the virtual image A2 and display the virtual image A2 on the first video call interface.
[0202] In an optional embodiment, after receiving the content in json format, device D1 may generate and display a query message to ask user U1 whether to agree to display virtual image A1. If user U1 agrees to display virtual image A1, device D1 may parse the content in json format to create the virtual image A1 and display the virtual image A1 on the second video call interface.
[0203] After receiving the content in json format, device D2 may generate and display a query message to ask user U2 whether to agree to display virtual image A2. If user U2 agrees to display virtual image A2, device D2 may parse the content in json format to create the virtual image A2 and display the virtual image A2 on the first video call interface.
[0204] In an optional embodiment, the authorization operation of whether to display the other party's virtual image can also be performed when the electronic device starts the corresponding application for the first time, such as an instant messaging application. For example, after the instant messaging application is started for the first time, the electronic device can generate and display an inquiry message, which is used to ask the user whether to agree to display the virtual image of the call object, such as asking user U1 whether to agree to display the virtual image of user U2. If the user agrees to display the virtual image of the call object, the electronic device can directly display the virtual image on the video call interface after receiving the virtual image.
[0205] like Figure 8 As shown, the second video call interface may also display an adjustment control C3, and the user U1 may click the adjustment control C3, so that the device D1 may display an adjustment window Z on the second video call interface. The user U1 may select a part to be adjusted and a target state corresponding to the part to be adjusted in the adjustment window Z to adjust the virtual image A1. For example, Figure 8As shown, user U1 can select hairstyle S, and device D1 receives an adjustment operation for virtual image A1, and the adjustment operation is used to instruct to adjust the hairstyle of virtual image A1 to hairstyle S. Device D1 can obtain the number of hairstyle S. Assuming that the number of hairstyle S is D_002, device D1 can generate first adjustment instruction information and send the first adjustment instruction information to device D2. The first adjustment instruction information includes the number D_002, and the first adjustment instruction information is used to instruct to adjust the hairstyle of virtual image A1 to hairstyle S. After receiving the first adjustment instruction information, device D2 can adjust the hairstyle of virtual image A1 to the hairstyle corresponding to the number D_002, and obtain virtual image A3.
[0206] For example, Fig. 9 As shown, after obtaining the virtual image A3, the device D2 can send the virtual image A3 to the device D1. After receiving the virtual image A3, the device D1 can display the virtual image A3 on the second video call interface. After obtaining the virtual image A3, the device D2 can also display the virtual image A3 on the first video call interface.
[0207] The first video call interface may also display an adjustment control C4, and the user U2 may click on the adjustment control C4, so that the device D2 may display a corresponding adjustment window in the first video call interface. The user U2 may select the part to be adjusted and the target state corresponding to the part to be adjusted in the adjustment window to adjust the virtual image A2. For example, the user U2 may choose to adjust the nose of the virtual image A2 to a hooked nose, and the device D2 receives an adjustment operation for the virtual image A2, and the adjustment operation is used to indicate that the nose of the virtual image A2 is adjusted to a hooked nose. The device D2 may generate a third adjustment indication information and send the third adjustment indication information to the device D1. The third adjustment indication information is used to indicate that the nose of the virtual image A2 is adjusted to a hooked nose. After receiving the third adjustment indication information, the device D1 may adjust the nose of the virtual image A2 to a hooked nose to obtain the virtual image A4.
[0208] After obtaining the virtual image A4, the device D1 may send the virtual image A4 to the device D2. After receiving the virtual image A4, the device D2 may display the virtual image A4 on the first video call interface. After obtaining the virtual image A4, the device D1 may also display the virtual image A4 on the second video call interface.
[0209] See also Fig.10 , Fig.10 The structure diagram of the virtual image adjustment device provided in the embodiment of the present application is as follows. The virtual image adjustment device 300 is applied to a first electronic device. The virtual image adjustment device 300 includes: an information receiving module 301 and an image adjustment module 302.
[0210] The information receiving module 301 is used to receive first adjustment instruction information sent by a second electronic device, where the first adjustment instruction information is used to instruct adjustment of a first virtual image of the first electronic device.
[0211] The image adjustment module 302 is used to adjust the first virtual image according to the first adjustment instruction information to obtain a second virtual image of the first electronic device.
[0212] In an optional embodiment, the first adjustment instruction information includes an indication of a part to be adjusted, and the image adjustment module 302 can be used to: adjust the part to be adjusted of the first virtual image according to the first adjustment instruction information to obtain the second virtual image.
[0213] In an optional embodiment, the first adjustment instruction information also includes a target state corresponding to the part to be adjusted, and the image adjustment module 302 can be used to adjust the state of the part to be adjusted of the first virtual image to the target state to obtain the second virtual image.
[0214] In an optional embodiment, the virtual image adjustment device 300 may further include an image display module and an image sending module, wherein the image display module may be used to: display the second virtual image;
[0215] The image sending module can be used to send the second virtual image to the second electronic device.
[0216] In an optional embodiment, the image display module can be used to: create the first virtual image in response to a virtual image creation operation; display the first virtual image and send the first virtual image to the second electronic device; and replace the display of the first virtual image with the display of the second virtual image.
[0217] In an optional embodiment, the image adjustment module 302 may be configured to: in response to an adjustment operation on the second virtual image, adjust the second virtual image to obtain a third virtual image of the first electronic device;
[0218] The image display module may be used to: replace the display of the second virtual image with the display of the third virtual image;
[0219] The image sending module can be used to send the third virtual image to the second electronic device.
[0220] In an optional embodiment, the virtual image adjustment device 300 may further include an interface display module, which may be used to: display an interactive interface with the second electronic device after the communication connection with the second electronic device is successfully established;
[0221] The image display module can be used to: display the first virtual image on the interactive interface; and replace the display of the first virtual image with the display of the second virtual image on the interactive interface.
[0222] In an optional embodiment, the virtual image adjustment transposition 300 may also include an authorization module, which may be used to: receive an authorization request sent by the second electronic device, wherein the authorization request is used to request authorization for the second electronic device to adjust the first virtual image; and in response to the authorization operation, send authorization information to the second electronic device, wherein the authorization information is used to authorize the second electronic device to adjust the first virtual image.
[0223] In an optional embodiment, the virtual image adjustment transposition 300 may further include an information generation module and an information sending module, wherein the information generation module may be configured to: generate second adjustment instruction information in response to an adjustment operation on the virtual image of the third electronic device, wherein the second adjustment instruction information is configured to instruct the third electronic device to adjust the virtual image of the third electronic device;
[0224] The information sending module can be used to: send the second adjustment instruction information to the third electronic device.
[0225] See also Fig.11 , Fig.11 The structure diagram of another virtual image adjustment device provided in an embodiment of the present application is as follows. The virtual image adjustment device 400 is applied to a second electronic device. The virtual image adjustment device 400 includes: an information generation module 401 and an information sending module 402.
[0226] The information generating module 401 is used to generate first adjustment instruction information in response to an adjustment operation on a first virtual image of a first electronic device, where the first adjustment instruction information is used to instruct the first electronic device to adjust the first virtual image.
[0227] The information sending module 402 is configured to send the first adjustment instruction information to the first electronic device.
[0228] In an optional embodiment, the information generation module 401 is used to: in response to an adjustment operation on the first virtual image, determine the part to be adjusted indicated by the adjustment operation; and generate first adjustment indication information, wherein the first adjustment indication information is used to instruct the first electronic device to adjust the part to be adjusted of the first virtual image.
[0229] In an optional embodiment, the information generation module 401 is used to: in response to an adjustment operation on the first virtual image, determine the part to be adjusted indicated by the adjustment operation and the target state corresponding to the part to be adjusted; generate first adjustment indication information, wherein the first adjustment indication information is used to instruct the first electronic device to adjust the state of the part to be adjusted of the first virtual image to the target state.
[0230] In an optional embodiment, the virtual image adjustment device 400 may further include an image receiving module and an image display module, wherein the image receiving module may be configured to: receive a second virtual image sent by the first electronic device, wherein the second virtual image is obtained by adjusting the first virtual image by the first electronic device according to the first adjustment instruction information;
[0231] The image display module can be used to: display the second virtual image.
[0232] In an optional embodiment, the image receiving module may be used to: receive the first virtual image sent by the first electronic device;
[0233] The image display module can be used to: display the first virtual image; and replace the display of the first virtual image with the display of the second virtual image.
[0234] In an optional embodiment, the image receiving module may be used to: receive a third virtual image sent by the first electronic device, where the third virtual image is obtained by adjusting the second virtual image by the first electronic device in response to an adjustment operation on the second virtual image;
[0235] The image display module can be used to: replace the display of the second virtual image with the display of the third virtual image.
[0236] In an optional embodiment, the virtual image adjustment device 400 may further include an interface display module, which may be used to: display an interactive interface with the first electronic device after the communication connection with the second electronic device is successfully established;
[0237] The image display module can be used to: display the first virtual image on the interactive interface; and replace the display of the first virtual image with the display of the second virtual image on the interactive interface.
[0238] In an optional embodiment, the virtual image adjustment device 400 may also include an authorization request module, which may be used to: send an authorization request to the first electronic device in response to an authorization request operation, wherein the authorization request is used to request authorization for the second electronic device to adjust the first virtual image; and receive authorization information sent by the first electronic device, wherein the authorization information is used to authorize the second electronic device to adjust the first virtual image.
[0239] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed on a computer, the computer executes the virtual image adjustment method provided in the present embodiment.
[0240] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the virtual image adjustment method provided in the present embodiment by calling a computer program stored in the memory.
[0241] For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Fig.12 , Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0242] The electronic device 500 may include components such as a processor 501 and a memory 502. Those skilled in the art will appreciate that Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the electronic device 500 may also include a display screen.
[0243] The processor 501 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 502 and calling data stored in the memory 502, thereby monitoring the electronic device as a whole.
[0244] The memory 502 may be used to store applications and data. The applications stored in the memory 502 include executable codes. The applications may be composed of various functional modules. The processor 501 executes various functional applications and data processing by running the applications stored in the memory 502.
[0245] The processor 501 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 will run the application program stored in the memory 502, thereby achieving:
[0246] Receiving first adjustment instruction information sent by a second electronic device, where the first adjustment instruction information is used to instruct adjustment of a first virtual image of the first electronic device;
[0247] The first virtual image is adjusted according to the first adjustment instruction information to obtain a second virtual image of the first electronic device.
[0248] In an optional embodiment, the first adjustment indication information includes an indication of a part to be adjusted, and when the processor 501 executes the adjustment of the first virtual image according to the first adjustment indication information to obtain the second virtual image of the first electronic device, it can execute: according to the first adjustment indication information, adjust the part to be adjusted of the first virtual image to obtain the second virtual image.
[0249] In an optional embodiment, the first adjustment indication information also includes a target state corresponding to the part to be adjusted, and the processor 501 executes the adjustment of the part to be adjusted of the first virtual image according to the first adjustment indication information. When the second virtual image is obtained, the following can be executed: adjusting the state of the part to be adjusted of the first virtual image to the target state to obtain the second virtual image.
[0250] In an optional embodiment, after the processor 501 executes the adjustment of the first virtual image according to the first adjustment indication information to obtain the second virtual image of the first electronic device, it can also execute: displaying the second virtual image and sending the second virtual image to the second electronic device.
[0251] In an optional embodiment, before the processor 501 executes the receiving of the first adjustment indication information sent by the second electronic device, it may also execute: creating the first virtual image in response to the virtual image creation operation; displaying the first virtual image and sending the first virtual image to the second electronic device; when the processor 501 executes the display of the second virtual image, it may execute: replacing the display of the first virtual image with the display of the second virtual image.
[0252] In an optional embodiment, after the processor 501 executes the replacement of the display of the first virtual image with the display of the second virtual image, it may also execute: in response to an adjustment operation on the second virtual image, adjusting the second virtual image to obtain a third virtual image of the first electronic device; replacing the display of the second virtual image with the display of the third virtual image, and sending the third virtual image to the second electronic device.
[0253] In an optional embodiment, before the processor 501 executes the creation of the first virtual image, it may also execute: after the communication connection with the second electronic device is successfully established, displaying the interaction interface with the second electronic device; when the processor 501 executes the display of the first virtual image, it may execute: displaying the first virtual image on the interaction interface; when the processor 501 executes the replacement of the display of the first virtual image with the display of the second virtual image, it may execute: replacing the display of the first virtual image on the interaction interface with the display of the second virtual image.
[0254] In an optional embodiment, before the processor 501 executes the receiving of the first adjustment indication information sent by the second electronic device, it may also execute: receiving an authorization request sent by the second electronic device, the authorization request is used to request authorization for the second electronic device to adjust the first virtual image; in response to the authorization operation, sending authorization information to the second electronic device, the authorization information is used to authorize the second electronic device to adjust the first virtual image.
[0255] In an optional embodiment, the processor 501 may also execute: in response to an adjustment operation on a virtual image of a third electronic device, generate second adjustment indication information, wherein the second adjustment indication information is used to instruct the third electronic device to adjust the virtual image of the third electronic device; and send the second adjustment indication information to the third electronic device.
[0256] Alternatively, the processor 501 in the electronic device may load the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 501 may run the application programs stored in the memory 502, thereby achieving:
[0257] In response to an adjustment operation on a first virtual image of a first electronic device, generating first adjustment instruction information, wherein the first adjustment instruction information is used to instruct the first electronic device to adjust the first virtual image;
[0258] The first adjustment instruction information is sent to the first electronic device.
[0259] In an optional embodiment, when the processor 501 executes the adjustment operation in response to the first virtual image of the first electronic device and generates the first adjustment indication information, it can perform the following: in response to the adjustment operation on the first virtual image, determining the part to be adjusted indicated by the adjustment operation; and generating the first adjustment indication information, wherein the first adjustment indication information is used to instruct the first electronic device to adjust the part to be adjusted of the first virtual image.
[0260] In an optional embodiment, when the processor 501 executes the step of determining the part to be adjusted indicated by the adjustment operation in response to the adjustment operation on the first virtual image, the following may be performed: determining the part to be adjusted indicated by the adjustment operation and the target state corresponding to the part to be adjusted in response to the adjustment operation on the first virtual image; when the processor 501 executes the step of generating the first adjustment indication information, the following may be performed: generating the first adjustment indication information, wherein the first adjustment indication information is used to instruct the first electronic device to adjust the state of the part to be adjusted of the first virtual image to the target state.
[0261] In an optional embodiment, after executing the sending of the first adjustment indication information to the first electronic device, the processor 501 may also execute: receiving a second virtual image sent by the first electronic device, where the second virtual image is obtained by the first electronic device adjusting the first virtual image according to the first adjustment indication information; and displaying the second virtual image.
[0262] In an optional embodiment, before the processor 501 executes the adjustment operation in response to the first virtual image of the first electronic device and generates the first adjustment indication information, it can also execute: receiving the first virtual image sent by the first electronic device; displaying the first virtual image; when the processor 501 executes the display of the second virtual image, it can execute: replacing the display of the first virtual image with the display of the second virtual image.
[0263] In an optional embodiment, after the processor 501 executes the replacement of the display of the first virtual image with the display of the second virtual image, it may also execute: receiving a third virtual image sent by the first electronic device, the third virtual image being obtained by the first electronic device adjusting the second virtual image in response to an adjustment operation on the second virtual image; and replacing the display of the second virtual image with the display of the third virtual image.
[0264] In an optional embodiment, before the processor 501 executes the receiving of the first virtual image sent by the first electronic device, it may also execute: after the communication connection with the second electronic device is successfully established, displaying the interaction interface with the first electronic device; when the processor 501 executes the display of the first virtual image, it may execute: displaying the first virtual image on the interaction interface; when the processor 501 executes the replacing of displaying the first virtual image with displaying the second virtual image, it may execute: replacing of displaying the first virtual image with displaying the second virtual image on the interaction interface.
[0265] In an optional embodiment, before the processor 501 executes the adjustment operation in response to the first virtual image of the first electronic device and generates the first adjustment indication information, it may also execute: in response to the authorization request operation, sending an authorization request to the first electronic device, the authorization request is used to request authorization for the second electronic device to adjust the first virtual image; and receiving authorization information sent by the first electronic device, the authorization information is used to authorize the second electronic device to adjust the first virtual image.
[0266] In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the virtual image adjustment method above, which will not be repeated here.
[0267] The virtual image adjustment device provided in the embodiment of the present application belongs to the same concept as the virtual image adjustment method in the above embodiment. Any method provided in the virtual image adjustment method embodiment can be run on the virtual image adjustment device. The specific implementation process is detailed in the virtual image adjustment method embodiment, which will not be repeated here.
[0268] It should be noted that, for the virtual image adjustment method of the embodiment of the present application, a person skilled in the art can understand that all or part of the process of implementing the virtual image adjustment method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the virtual image adjustment method. Among them, the computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0269] It is understandable that in the specific implementation of this application, user information is involved, such as application usage behavior data, logs and other related data. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0270] For the virtual image adjustment device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.
[0271] The above is a detailed introduction to a virtual image adjustment method, device, storage medium and electronic device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for adjusting a virtual image, applied to a first electronic device, characterized in that: include: Receiving first adjustment instruction information sent by a second electronic device, where the first adjustment instruction information is used to instruct adjustment of a first virtual image of the first electronic device; The first virtual image is adjusted according to the first adjustment instruction information to obtain a second virtual image of the first electronic device.
2. The virtual image adjustment method according to claim 1, characterized in that: The first adjustment instruction information includes an indication of a part to be adjusted, and the first virtual image is adjusted according to the first adjustment instruction information to obtain a second virtual image of the first electronic device, including: According to the first adjustment instruction information, the part to be adjusted of the first virtual image is adjusted to obtain the second virtual image.
3. The virtual image adjustment method according to claim 2, characterized in that: The first adjustment instruction information also includes a target state corresponding to the part to be adjusted, and adjusting the part to be adjusted of the first virtual image according to the first adjustment instruction information to obtain the second virtual image includes: The state of the to-be-adjusted part of the first virtual image is adjusted to the target state to obtain the second virtual image.
4. The virtual image adjustment method according to claim 1, characterized in that: After the first virtual image is adjusted according to the first adjustment instruction information to obtain the second virtual image of the first electronic device, the method further includes: The second virtual image is displayed, and the second virtual image is sent to the second electronic device.
5. The virtual image adjustment method according to claim 4, characterized in that: Before receiving the first adjustment instruction information sent by the second electronic device, the method further includes: In response to the virtual image creation operation, creating the first virtual image; displaying the first virtual image, and sending the first virtual image to the second electronic device; The displaying of the second virtual image comprises: The display of the first virtual image is replaced by the display of the second virtual image.
6. The virtual image adjustment method according to claim 5, characterized in that: After the display of the first virtual image is replaced with the display of the second virtual image, the method further includes: In response to the adjustment operation on the second virtual image, adjusting the second virtual image to obtain a third virtual image of the first electronic device; The display of the second virtual image is replaced by the display of the third virtual image, and the third virtual image is sent to the second electronic device.
7. The virtual image adjustment method according to claim 5, characterized in that: Before creating the first virtual image, the method further includes: After the communication connection with the second electronic device is successfully established, displaying an interaction interface with the second electronic device; The displaying the first virtual image includes: Displaying the first virtual image on the interactive interface; The replacing the display of the first virtual image with the display of the second virtual image comprises: The display of the first virtual image on the interactive interface is replaced by the display of the second virtual image.
8. The virtual image adjustment method according to any one of claims 1 to 7, characterized in that: Before receiving the first adjustment instruction information sent by the second electronic device, the method further includes: receiving an authorization request sent by the second electronic device, where the authorization request is used to request authorization for the second electronic device to adjust the first virtual image; In response to the authorization operation, authorization information is sent to the second electronic device, where the authorization information is used to authorize the second electronic device to adjust the first virtual image.
9. The virtual image adjustment method according to claim 1, characterized in that: The method further comprises: In response to the adjustment operation on the virtual image of the third electronic device, generating second adjustment instruction information, wherein the second adjustment instruction information is used to instruct the third electronic device to adjust the virtual image of the third electronic device; The second adjustment instruction information is sent to the third electronic device.
10. A virtual image adjustment method, applied to a second electronic device, characterized in that: include: In response to an adjustment operation on a first virtual image of a first electronic device, generating first adjustment instruction information, wherein the first adjustment instruction information is used to instruct the first electronic device to adjust the first virtual image; The first adjustment instruction information is sent to the first electronic device.
11. The virtual image adjustment method according to claim 10, characterized in that: The step of generating first adjustment instruction information in response to an adjustment operation on a first virtual image of a first electronic device includes: In response to an adjustment operation on the first virtual image, determining a part to be adjusted indicated by the adjustment operation; Generate first adjustment instruction information, where the first adjustment instruction information is used to instruct the first electronic device to adjust the to-be-adjusted part of the first virtual image.
12. The virtual image adjustment method according to claim 11, characterized in that: In response to the adjustment operation on the first virtual image, determining the part to be adjusted indicated by the adjustment operation includes: In response to an adjustment operation on the first virtual image, determining a part to be adjusted indicated by the adjustment operation and a target state corresponding to the part to be adjusted; The generating the first adjustment instruction information includes: Generate first adjustment instruction information, where the first adjustment instruction information is used to instruct the first electronic device to adjust the state of the to-be-adjusted part of the first virtual image to the target state.
13. The virtual image adjustment method according to claim 10, characterized in that: Before generating the first adjustment instruction information in response to the adjustment operation on the first virtual image of the first electronic device, the method further includes: In response to the authorization request operation, sending an authorization request to the first electronic device, wherein the authorization request is used to request authorization for the second electronic device to adjust the first virtual image; Receive authorization information sent by the first electronic device, where the authorization information is used to authorize the second electronic device to adjust the first virtual image.
14. A virtual image adjustment device, applied to a first electronic device, characterized in that: include: An information receiving module, configured to receive first adjustment instruction information sent by a second electronic device, wherein the first adjustment instruction information is used to instruct adjustment of a first virtual image of the first electronic device; The image adjustment module is used to adjust the first virtual image according to the first adjustment instruction information to obtain a second virtual image of the first electronic device.
15. A virtual image adjustment device, applied to a second electronic device, characterized in that: include: An information generating module, configured to generate first adjustment instruction information in response to an adjustment operation on a first virtual image of a first electronic device, wherein the first adjustment instruction information is used to instruct the first electronic device to adjust the first virtual image; The information sending module is used to send the first adjustment instruction information to the first electronic device.
16. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed on a computer, the computer executes the virtual image adjustment method according to any one of claims 1 to 9 or the virtual image adjustment method according to any one of claims 10 to 13.
17. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor is used to execute the virtual image adjustment method described in any one of claims 1 to 9 or the virtual image adjustment method described in any one of claims 10 to 13 by calling the computer program stored in the memory.