Virtual image interaction processing method and device, electronic equipment and storage medium
The method and device enable privacy-protected interaction through virtual image navigation on electronic maps, addressing privacy risks and platform costs in social applications by allowing controlled virtual image interactions without real-time location exposure.
Patent Information
- Application Number
- CN202310761929.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2024-12-27
AI Technical Summary
Existing social applications that obtain users' geographic locations in real time for interaction pose privacy risks, limiting user interaction to known acquaintances and increasing platform operating costs.
A method and device for interactive processing of virtual images on an electronic map, allowing users to control virtual images for interaction without revealing their real-time location, using a navigation route-based interaction system.
Enhances user interaction experience while protecting privacy by allowing virtual image interactions without exposing real-time geographic locations, reducing platform costs, and expanding social interactions beyond acquaintances.
Smart Images

Figure CN119200816A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method, device, electronic device and storage medium for interactive processing of a virtual image. Background Art
[0002] With the development of Internet technology, social applications have gradually become one of the indispensable means for interaction between users by virtue of their support for instant messaging or asynchronous communication.
[0003] In the related art, the user's accurate geographic location is usually obtained in real time and dynamically displayed in the user interface. For example, the user's avatar can be displayed in real time on the map, so that the user can follow the friend's location and dynamic information in real time.
[0004] However, the solutions provided by related technologies have privacy risks because they need to obtain the user's geographic location information in real time. For example, users are unwilling to interact with strangers because they are worried that their geographic location will be exposed, resulting in a poor user interaction experience. Summary of the invention
[0005] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for interactive processing of a virtual image, which can enhance the user's interactive experience while protecting the user's privacy.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] The present application provides a method for interactive processing of a virtual image, including:
[0008] Displaying an electronic map in a human-computer interaction interface, wherein the electronic map includes a plurality of virtual images;
[0009] In response to a selection operation of the first virtual image on the second virtual image, displaying a navigation route between the first virtual image and the second virtual image in the electronic map, wherein the first virtual image is a virtual image controllable through the human-computer interaction interface, and
[0010] The first virtual image is controlled to move toward the second virtual image along the navigation route, wherein when the distance between the first virtual image and the second virtual image is less than a first distance threshold, the first virtual image can interact with the second virtual image.
[0011] The embodiment of the present application provides a virtual image interactive processing device, including:
[0012] A display module, used for displaying an electronic map in a human-computer interaction interface, wherein the electronic map includes a plurality of virtual images;
[0013] The display module is further configured to display a navigation route between the first virtual image and the second virtual image in the electronic map in response to a selection operation of the first virtual image on the second virtual image, wherein the first virtual image is a virtual image controllable through the human-computer interaction interface;
[0014] The control module is used to control the first virtual image to move along the navigation route toward the second virtual image, wherein when the distance between the first virtual image and the second virtual image is less than a first distance threshold, the first virtual image can interact with the second virtual image.
[0015] An embodiment of the present application provides an electronic device, including:
[0016] A memory for storing executable instructions;
[0017] The processor is used to implement the interactive processing method of the virtual image provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0018] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for implementing the interactive processing method of a virtual image provided by the embodiment of the present application when executed by a processor.
[0019] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions, which are used to implement the interactive processing method of the virtual image provided by the embodiment of the present application when executed by a processor.
[0020] The embodiments of the present application have the following beneficial effects:
[0021] By displaying a virtual image on an electronic map and allowing the user to control the movement of the virtual image on the electronic map, the user's specific location can be blurred and privacy risks can be eliminated. In addition, compared with the avatars provided by related technologies, the virtual image can provide a more immersive and vivid interactive method. That is to say, by controlling the movement of the virtual image on the electronic map to interact with other virtual images, a new interactive experience can be provided to the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a schematic diagram of the architecture of a virtual image interaction processing system 100 provided in an embodiment of the present application;
[0023] Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;
[0024] Figure 3 It is a flowchart of a method for interactive processing of a virtual image provided in an embodiment of the present application;
[0025] Figure 4 It is a flowchart of a method for interactive processing of a virtual image provided in an embodiment of the present application;
[0026] Figure 5 It is a flowchart of a method for interactive processing of a virtual image provided in an embodiment of the present application;
[0027] FIG. 6A to FIG. 6C It is a schematic diagram of the principle of the interactive processing method of the virtual image provided in the embodiment of the present application;
[0028] FIG. 7A to FIG. 7P It is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0030] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0031] It is understandable that in the embodiments of the present application, when data related to user information (such as the user's geographic location, data of the virtual image controlled by the user, etc.) is involved, when the embodiments of the present 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.
[0032] In the following description, the terms "first\second\..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0034] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0035] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.
[0036] 2) Electronic map: also known as digital map, is a map generated by computer control, that is, a screen map based on digital mapping technology, which is a visual real map. Figure 1 Generally, vector images are used for storage, and the map scale can be enlarged, reduced or rotated without affecting the display effect.
[0037] 3) Virtual image: images of various people and objects that can interact, or movable objects. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as characters and animals displayed in electronic maps. The virtual image can be a virtual image in the electronic map that represents the user. The electronic map can include multiple virtual images, each of which has its own shape and volume in the electronic map and occupies a part of the space in the electronic map.
[0038] 4) Location-based services (LBS): It uses various types of positioning technologies to obtain the current location of the positioning device and provides information resources and basic services to the positioning device through the mobile Internet.
[0039] 5) Bidirectional matching: also known as bidirectional rushing, when the two matching parties like each other, it is a bidirectional matching. Here, "mutual liking" can be abstracted to when the two matching parties perform a certain "positive specific operation" on each other, which is a bidirectional matching. In the embodiment of the present application, the positive specific operation based on LBS is "rushing", and the bidirectional matching is that the two users (i.e., the virtual images controlled by the users) on the map rush to each other's location.
[0040] 6) One-way matching: also known as one-way running. In the embodiment of the present application, one-way matching means that a user runs to the location of the target user on the map, for example, the virtual image A controlled by user 1 moves to the location of the virtual image B controlled by user 2.
[0041] 7) Gathering point: When a user A is followed by at least two users, a gathering point with user A (i.e., the virtual image controlled by user A) as the center is generated on the map.
[0042] 8) Virtual room: referred to as room for short. When user A generates a gathering point, user A will be prompted whether to create a room. After the room is created, all users of the gathering point (i.e., the virtual images controlled by the user) will be automatically added to the room.
[0043] 9) Virtual light column: referred to as light column for short, in the map view, the light column can be used to mark the room.
[0044] 10) Virtual aperture: abbreviated as aperture, in the room view, the aperture can be used to mark the room range.
[0045] 11) Foot light ring: In the room view, the foot light ring can be used to mark the virtual image controlled by the user currently in the room.
[0046] The social solutions provided by related technologies usually obtain the user's accurate geographic location in real time and display it dynamically in the user interface; users can follow their friends' locations and dynamic information in real time. Alternatively, through the chat room created by the user, three-dimensional (3D, 3Dimension) images are gathered in the room for rich and vivid interactions. For example, the user can chat with hundreds of people in the room as an audience, or create a room as a host to show his or her image.
[0047] However, the applicant discovered during the implementation of the embodiments of the present application that the related technology has privacy risks due to the need to obtain the user's geographic location information in real time. That is to say, through the real-time display of the avatar on the map, the anchored user group is inevitably limited to the acquaintance group, and the social gameplay of semi-acquaintances and strangers cannot be expanded under this map mode. In addition, the related technology establishes rooms through user centralization and obtains traffic through platform recommendations. This centralized model will bring about a more obvious head effect and Matthew effect. The content produced by medium and long-tail users relies more on operational means to gain exposure, thereby increasing the operating costs of the platform. Its essence is a 3D concrete traditional Internet chat room model. In terms of appearance design, it retains the experience of a closed space, and also increases the user production threshold and the operating costs of platform content production to a certain extent.
[0048] In view of this, the embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for interactive processing of a virtual image, which can enhance the user's interactive experience while protecting the user's privacy. The electronic device provided by the embodiments of the present application is described below. The electronic device provided by the embodiments of the present application can be implemented as a terminal device, or can be implemented in collaboration with a terminal device and a server. The following is an example of an interactive processing method for a virtual image provided by an embodiment of the present application being implemented in collaboration with a terminal device and a server.
[0049] For example, see Figure 1 , Figure 1 is a schematic diagram of the architecture of a virtual image interactive processing system 100 provided in an embodiment of the present application, in order to realize applications that support the protection of user privacy while improving the user's interactive experience, such as Figure 1 As shown, the interactive processing system 100 of the virtual image includes: a server 200, a network 300 and multiple terminal devices, for example, N terminal devices, wherein N is an integer greater than 2, respectively including terminal device 400-1, terminal device 400-2, ..., terminal device 400-N, wherein the network 300 can be a local area network or a wide area network, or a combination of the two, terminal device 400-1 is a terminal device associated with user 1, and client 410-1 runs on terminal device 400-1; terminal device 400-2 is a terminal device associated with user 2, and client 410-2 runs on terminal device 400-2, and so on, terminal device 400-N is a terminal device associated with user N, and client 410-N runs on terminal device 400-N. Taking user 1 as an example, user 1 can log in to client 410-1 through a pre-registered account (such as account 1) to control the virtual image in the electronic map through the human-computer interaction interface provided by client 410-1. Similarly, user 2 to user N can also log in to the client running on their respective associated terminal devices through account 2 to account N, respectively, so as to control the virtual image to interact with other virtual images in the electronic map.
[0050] It should be noted that Figure 1 The N terminal devices in the example may be touch screen devices or wearable virtual reality (VR) devices. Taking terminal device 400-1 as an example, when terminal device 400-1 is a touch screen device, an electronic map may be displayed on the touch screen of terminal device 400-1, and various forms of touch operations on the touch screen may be used to implement the following operations; when terminal device 400-1 is a wearable VR device, a user may sense the electronic map projected by the wearable VR device, and various forms of somatosensory or voice operations may be used to implement the following operations.
[0051] In some embodiments, taking user 1 as an example, after user 1 logs in to client 410-1 based on account 1, an electronic map (e.g., an electronic map of the city where user 1 is currently located) can be displayed in the human-computer interaction interface provided by client 410-1, wherein the electronic map can include multiple virtual images, and the multiple virtual images include a first virtual image (e.g., virtual image 1 controlled by user 1), that is, user 1 can control the first virtual image through the human-computer interaction interface provided by client 410-1; then, client 410-1 can respond to a selection operation on a second virtual image (e.g., virtual image 2 controlled by user 2 in the electronic map), such as receiving a click operation from user 1 on the second virtual image displayed in the electronic map, display a navigation route between the first virtual image and the second virtual image in the electronic map, and control the first virtual image to move toward the second virtual image along the navigation route, wherein when the distance between the first virtual image and the second virtual image is less than a distance threshold, such as when the first virtual image moves to the vicinity of the second virtual image, the first virtual image can interact with the second virtual image, such as the first virtual image can add the second virtual image as a friend, or view the profile of the second virtual image, etc.
[0052] In some embodiments, the terminal device can also implement the interactive processing method of the virtual image provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, the computer executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a native application (APP, APPlication), that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP or a browser; it can also be a small program, that is, a program that only needs to be downloaded to the browser environment to run. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.
[0053] In other embodiments, the embodiments of the present application can also be implemented with the aid of cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.
[0054] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.
[0055] For example, Figure 1 The server 200 in the example may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content Delivery Network), and big data and artificial intelligence platforms. The terminal devices 400-1 to 400-N may be smart phones, tablet computers, laptop computers, desktop computers, smart speakers, smart watches, vehicle-mounted terminals, VR devices, etc., but are not limited thereto. The terminal devices 400-1 to 400-N and the server 200 may be directly or indirectly connected via wired or wireless communications, which is not limited in the embodiments of the present application.
[0056] The structure of the electronic device provided in the embodiment of the present application is further described below. Taking the electronic device as a terminal device as an example, see Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application, Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .
[0057] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0058] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0059] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.
[0060] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.
[0061] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0062] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0063] A network communication module 552, for reaching other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB);
[0064] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);
[0065] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.
[0066] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2The interactive processing device 555 of the virtual image stored in the memory 550 is shown, which can be software in the form of programs and plug-ins, including the following software modules: display module 5551, control module 5552, joining module 5553, creation module 5554, sending module 5555, receiving module 5556 and processing module 5557. These modules are logical, so they can be arbitrarily combined or further divided according to the functions implemented. It should be pointed out that in Figure 2 For the sake of convenience, all the above modules are shown at once, but it should not be considered that the virtual image interaction processing device 555 excludes the implementation of only including the display module 5551 and the control module 5552. The functions of each module will be explained below.
[0067] The interactive processing method of the virtual image provided in the embodiment of the present application will be specifically described below in combination with the exemplary application and implementation of the terminal device provided in the embodiment of the present application.
[0068] See also Figure 3 , Figure 3 is a flowchart of the interactive processing method of the virtual image provided by the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.
[0069] It should be noted that Figure 3 The method shown can be executed by various forms of computer programs running on the terminal device, and is not limited to the client. For example, it can also be the operating system, software module, script, and applet mentioned above. Therefore, the example of the client in the following should not be regarded as a limitation on the embodiments of the present application. In addition, for the convenience of expression, the terminal device and the client running on the terminal device are not specifically distinguished in the following.
[0070] In step 101, an electronic map is displayed in a human-computer interaction interface.
[0071] Here, the electronic map may include multiple virtual images, wherein the multiple virtual images include a first virtual image, which is a virtual image that can be controlled through a human-computer interaction interface, i.e., a virtual image that can be controlled by the current user in the electronic map. For example, taking user 1 as an example, a client (e.g., an instant messaging client) is running on a terminal device (e.g., a mobile phone) associated with user 1. When a click operation of user 1 on an icon of the instant messaging client displayed on the desktop is received, the electronic map may be displayed in the human-computer interaction interface provided by the instant messaging client. Multiple virtual images (e.g., 3D images) may be displayed in the electronic map, wherein the multiple virtual images include a virtual image A (i.e., the first virtual image) controlled by user 1. For example, user 1 may control virtual image A to move in the electronic map, or interact with virtual images controlled by other users.
[0072] It should be noted that the electronic map in the embodiment of the present application can be an electronic map of a real scene (including 2D, 2.5D or 3D electronic maps), for example, it can be an electronic map of a city, an electronic map of a community, or an electronic map of a scenic spot. For example, taking user 1 as an example, when user 1 logs in to the client, the current location of user 1 can be obtained based on positioning technology, for example, the current location of the terminal device associated with user 1 can be determined based on WiFi positioning technology or Beidou satellite navigation system, so as to obtain the current location of user 1, and then the electronic map can be displayed in the human-computer interaction interface of the client, for example, the electronic map of the community where user 1 is currently located can be displayed in the human-computer interaction interface of the client. In addition, the technical solution provided in the embodiment of the present application only obtains the user's geographical location when the user logs in to the client to determine the birth point of the virtual image controlled by the user in the electronic map. The user's subsequent manipulation of the movement of the virtual image in the electronic map is not equivalent to the change of the user's real geographical location, so that the specific location of the user can be blurred and the privacy risk can be eliminated.
[0073] In addition, it should be noted that the virtual image in the electronic map can be displayed in a full-body or half-body manner. For example, taking a VR scene as an example, the virtual image in the electronic map can be displayed in a half-body manner, for example, only the part above the chest of the virtual image can be displayed. The embodiments of the present application do not make specific limitations on this.
[0074] In some embodiments, in addition to the first virtual image, the multiple virtual images may also include at least one of the following types of virtual images: a virtual image of a different gender from the first virtual image, a real-time online virtual image, and a recently online virtual image.
[0075] For example, taking the first virtual image as virtual image A controlled by user 1, virtual image A can be displayed near the real geographical location where user 1 is currently located in the electronic map, and this point is used as the screen crosshair. When receiving a click operation from user 1 on any location in the electronic map, virtual image A can be controlled to move to the location clicked by user 1 in the electronic map. In addition, nearby people (i.e., virtual images controlled by other users near user 1) can also be displayed fuzzily in the electronic map. The principle is as follows: display as many virtual images controlled by nearby users as possible. When there are many nearby users and they overlap, the corresponding weights can be configured according to the following conditions for display: 1. Whether they are of the opposite sex (for example, virtual images controlled by users of different genders from user 1 are displayed preferentially); 2. Real-time online; 3. Recently online (for example, virtual images that have been online in the last 10 minutes). In addition, when displaying virtual images, the location can be blurred to eliminate privacy risks; and multiple virtual images should not overlap as much as possible to improve the efficiency of users finding virtual images.
[0076] It should be noted that different display parameters can be used to distinguish between online virtual images and offline virtual images. For example, online virtual images can be displayed in color, while offline virtual images can be displayed in gray. This makes it convenient for users to effectively distinguish between different types of virtual images.
[0077] In some other embodiments, before executing step 101, the following processing may also be performed: sending a virtual image acquisition request to the server, wherein the virtual image acquisition request carries the location information of the first virtual image (i.e., the current geographical location of the user used to control the first virtual image); receiving multiple virtual images returned by the server, wherein the distance between the multiple virtual images and the first virtual image is less than a second distance threshold, and the number of the multiple virtual images is determined based on the number of virtual images that are currently online.
[0078] For example, taking the first virtual image as virtual image A controlled by user 1, when user 1 logs in to the client, the current geographical location of user 1 can be obtained, and the obtained geographical location can be packaged into a virtual image acquisition request. Then, the client can send a virtual image acquisition request carrying the current geographical location of user 1 (such as location A) to the server. After receiving the virtual image acquisition request sent by the client, the server can first extract the current geographical location of user 1 from the virtual image acquisition request, and then filter out virtual images controlled by other users within a specified range around user 1 (such as a circular area with user 1 as the center and a radius of 100 meters), and set an upper limit for the virtual image, where the upper limit can be dynamically adjusted according to the number of virtual images currently online, for example, the more people are currently online, the smaller the upper limit; the fewer people are currently online, the larger the upper limit, so as to prevent the server from being overloaded.
[0079] In some embodiments, see Figure 4 , Figure 4 is a flow chart of a method for interactive processing of a virtual image provided by an embodiment of the present application, such as Figure 4 As shown, after executing Figure 3 After step 101 shown, you can also perform Figure 4 Step 104 is shown, combining Figure 4 The steps shown are explained.
[0080] In step 104, in response to a zoom-out triggering operation on the electronic map, the electronic map and the virtual image in the electronic map are zoomed out according to a zoom-out ratio.
[0081] Here, when the size of the avatar is reduced to a size threshold, the avatar may be switched to an avatar.
[0082] In some embodiments, taking user 1 as an example, when a zoom-out trigger operation of the electronic map is received by user 1, such as a click operation of the user 1 on the zoom-out button displayed in the electronic map, or a multi-finger pinching (e.g., two-finger pinching) operation triggered by the user 1 on the electronic map is received, the electronic map and the virtual image in the electronic map can be reduced according to a fixed ratio or a ratio set by the zoom-out trigger operation, that is, when the electronic map is reduced, the virtual image (e.g., 3D image) in the electronic map will also be reduced in proportion. In addition, when the size of the virtual image is reduced to the minimum size that can be reduced, the virtual image can be switched to an avatar, so that more virtual images can be displayed in the reduced electronic map, thereby improving the efficiency of users in finding virtual images.
[0083] In some other embodiments, based on the above example, the following processing can also be performed: in response to receiving a zoom-out trigger operation for the electronic map again, the sizes of the multiple avatars are kept unchanged, and the electronic map is zoomed out again according to the zoom-out ratio, wherein, when there are multiple virtual images at the same position in the electronic map, the avatars corresponding to the multiple virtual images are switched and displayed.
[0084] For example, continuing to take user 1 as an example, when user 1 receives a zoom trigger operation for the electronic map again (for example, the user continues to pinch the electronic map with two fingers), the sizes of the multiple avatars can be kept unchanged, and the electronic map can be reduced again according to the reduction ratio. That is to say, after the virtual image is switched to the avatar, if the user continues to pinch the electronic map with two fingers, the size of the avatar can be kept unchanged, and only the electronic map can be reduced. In this way, it can be avoided that the user is inconvenient to make subsequent selections due to the small size of the avatar. In addition, if there are many virtual images at a certain location in the electronic map and they overlap, the avatars corresponding to the multiple virtual images can be displayed in rotation. For example, the next avatar can be switched to display every 5 seconds. In this way, the efficiency of users querying virtual images can be further improved.
[0085] In other embodiments, the electronic map may also include a virtual image viewing entrance (such as a "nearby people list" entrance), and the following processing may also be performed: in response to a trigger operation on the virtual image viewing entrance, a virtual image list (such as a nearby people list) is displayed, wherein the virtual image list includes avatars corresponding to a plurality of virtual images, and a selected control corresponding to each virtual image (such as a "go to" button).
[0086] For example, taking the first virtual image as virtual image A controlled by user 1, a "nearby people list" entry may also be displayed in the electronic map. When user 1 clicks on the "nearby people list" entry, a nearby people list may be displayed in the electronic map, wherein the nearby people list may include avatars of virtual images respectively controlled by multiple users near user 1 (e.g., users whose distance from user 1 is less than 5 kilometers), and a "go to" button corresponding to each virtual image. When user 1 clicks on the "go to" button corresponding to any virtual image in the nearby people list (e.g., virtual image B controlled by user 2), it may be considered that user 1 has selected virtual image B, and virtual image A may be subsequently controlled to move to the location of virtual image B.
[0087] In some embodiments, the electronic map may also include a purchase entry, see Figure 5 , Figure 5 is a flow chart of a method for interactive processing of a virtual image provided by an embodiment of the present application, such as Figure 5 As shown, after executing Figure 3 After step 101 shown, you can also perform Figure 5 Steps 105 and 106 shown will be combined Figure 5 The steps shown are explained.
[0088] In step 105, in response to a trigger operation on a purchase entry, a virtual item selection interface is displayed.
[0089] Here, the virtual prop selection interface may include a variety of virtual vehicles.
[0090] In some embodiments, taking the first virtual image as virtual image A controlled by user 1 as an example, a purchase entrance (such as a shopping mall button) can also be displayed in the electronic map. When a click operation of user 1 on the purchase entrance is received, a virtual prop selection interface (such as a store interface) can be displayed in the electronic map, wherein the store interface can include a variety of virtual vehicles, such as a variety of different types of virtual vehicles, so that user 1 can select a suitable virtual vehicle for virtual image A, thereby increasing the movement speed of virtual image A in the electronic map.
[0091] In step 106 , in response to the acquisition operation for the first virtual vehicle, the first virtual image is controlled to enter the first virtual vehicle.
[0092] Here, the plurality of virtual vehicles includes a first virtual vehicle.
[0093] In some embodiments, following the above example, user 1 can purchase a suitable virtual vehicle for virtual image A in the store interface. For example, when user 1 clicks on virtual vehicle A (i.e., the first virtual vehicle) displayed in the store interface, after successfully deducting a corresponding amount of virtual resources (such as virtual gold coins) from the account associated with user 1, virtual vehicle A can be equipped for virtual image A. For example, virtual image A can be controlled to enter virtual vehicle A to increase the movement speed of virtual image A in the electronic map. In this way, by introducing a prop system in the electronic map, the user experience can be further improved.
[0094] In some embodiments, the electronic map may also include a point of interest (POI) model. Figure 3 After step 101 shown, one of the following processes may also be performed: obtaining keywords carried in the information read from the map library, and displaying a point of interest model matching the keywords in the electronic map; searching from a point of interest model table for a point of interest model whose distance to the first virtual image is less than a third distance threshold, and displaying the found point of interest model in the electronic map.
[0095] For example, in order to further improve the user's interactive experience, the embodiment of the present application can also configure an interactive POI model in the electronic map, wherein there are mainly two ways to configure the interactive POI model in the electronic map: one is to obtain the keywords contained in the information read from the map library, through which the corresponding POI model can be matched and placed; the second is to directly configure the table information, find the index and import the POI model near the user's location. In addition, an advertising board for distance and visibility detection can be set for the interactive POI model, and the user can trigger the pop-up of the advertising board when approaching the POI model. When a user clicks on the advertising board, a corresponding request can be sent to the server, such as triggering an event of entering a room, so that the user can switch out of the APP and enter the corresponding room or scene. Of course, merchants can also select points to set POI models at specific locations in the electronic map, and users can explore online, thereby further improving the user's interactive experience.
[0096] In other embodiments, the following processing can also be performed for multiple virtual images included in the electronic map: use a map to pre-store the bone array and animation information of each virtual image, use a graphics processing unit (GPU, Graphics Processing Unit) to sample the bone array and animation information using a vertex shading engine (Vertex Shader), and use a skinning method to perform secondary indexing on the sampling results to obtain a bone matrix, wherein the bone matrix can be used to use an instantiation (DrawInstance) drawing method to achieve animation batching of multiple virtual images.
[0097] For example, under the close-up horizontal viewing angle, large-scale virtual images will produce too many animation system calls, and the number of bones that need to be updated is too many, which is not suitable for the animation system of overly complex class action games. In view of the above-mentioned technical problems, the embodiment of the present application first uses a map to pre-store the skeleton array and animation information of each virtual image, then performs VertexShader sampling by GPU, and then the sampling result is secondary indexed using a general skinning method (i.e., the morphological node of the skeleton control model, to achieve a reasonable binding effect), so that the skeleton matrix can be processed. The technical solution provided by the embodiment of the present application can support relatively simple animation and two action lines mixed, and the animation batching similar to the static object batching is realized by the DrawInstance method, so as to realize the optimization processing of multiple virtual images on the same screen. In addition, a common animation mechanism can still be used between the first virtual image (i.e., the protagonist himself) and other virtual images.
[0098] In step 102 , in response to a selection operation of the first virtual image on the second virtual image, a navigation route between the first virtual image and the second virtual image is displayed on an electronic map.
[0099] Here, the selection operation of the first virtual image on the second virtual image refers to the selection operation of the user (e.g., user 1) used to control the first virtual image (e.g., virtual image A) on the second virtual image (e.g., virtual image B) in the electronic map. For example, the click operation of user 1 on virtual image B in the electronic map can be identified as the selection operation of virtual image A on virtual image B.
[0100] In some embodiments, taking the case where the first virtual image is virtual image A controlled by user 1 and the second virtual image is virtual image B controlled by user 2 as an example, when a click operation by user 1 on virtual image B displayed in an electronic map is received, or a click operation by user 1 on a go button corresponding to virtual image B displayed in a list of nearby people is received, it means that virtual image A has selected virtual image B, and the navigation route between virtual image A and virtual image B can be displayed in the electronic map.
[0101] In step 103, the first virtual image is controlled to move toward the second virtual image along the navigation route.
[0102] Here, when the distance between the first virtual image and the second virtual image is less than a first distance threshold (for example, 2 meters), for example, when the first virtual image moves to the vicinity of the second virtual image, the first virtual image can interact with the second virtual image, for example, the first virtual image can add the second virtual image as a friend, or view the personal profile of the second virtual image, etc.
[0103] In some embodiments, step 103 can be implemented in the following manner: in response to the second virtual image not selecting the first virtual image (i.e., one-way matching), keeping the second virtual image stationary and controlling the first virtual image to move along the navigation route to the position of the second virtual image; in response to the second virtual image selecting the first virtual image (i.e., two-way matching), while controlling the first virtual image to move toward the second virtual image along the navigation route, controlling the second virtual image to move toward the first virtual image along the navigation route until the distance between the first virtual image and the second virtual image is less than a first distance threshold, for example, when the first virtual image and the second virtual image meet in the electronic map, controlling the first virtual image and the second virtual image to stop moving.
[0104] For example, taking the first virtual image as virtual image A controlled by user 1 and the second virtual image as virtual image B controlled by user 2, when user 1 selects virtual image B in the electronic map and user 2 does not select virtual image A in the electronic map, for example, only a click operation of user 1 on virtual image B is received, but a click operation of user 2 on virtual image A is not received, that is, one-way matching, the position of virtual image B in the electronic map can be kept unchanged, and virtual image A can be controlled to move along the navigation route to the position of virtual image B. When virtual image A moves to the vicinity of virtual image B, user 1 can add user 2 as a friend, or view user 2's personal profile, etc.
[0105] For example, taking the first virtual image as virtual image A controlled by user 1 and the second virtual image as virtual image B controlled by user 2 as an example, when user 1 selects virtual image B in the electronic map and user 2 selects virtual image A in the electronic map at the same time, for example, within a predetermined time (for example, 3 minutes) after receiving the click operation of user 1 on virtual image B in the electronic map, the click operation of user 2 on virtual image A is received, that is, two-way matching, then while controlling virtual image A to move toward virtual image B along the navigation route, virtual image B can also be controlled to move toward virtual image A along the navigation route until virtual image A and virtual image B meet in the electronic map. That is, when virtual image A and virtual image B meet in the electronic map, virtual image A and virtual image B can be controlled to stop moving.
[0106] In other embodiments, in response to the second virtual image selecting the first virtual image, the following processing can also be performed: jumping from the electronic map to a prompt page, wherein the prompt page is used to prompt that the first virtual image and the second virtual image have selected each other; in response to a trigger operation on a confirmation control displayed in the prompt page (such as an "I know" button), jumping back to the electronic map from the prompt page and displaying a first prompt message in the electronic map, wherein the first prompt message is used to prompt that the first virtual image and the second virtual image have selected each other, and the first prompt message is visible to multiple virtual images.
[0107] For example, taking the first virtual image as virtual image A controlled by user 1 and the second virtual image as virtual image B controlled by user 2 as an example, when user 1 selects virtual image B in the electronic map and user 2 selects virtual image A in the electronic map, the electronic map can be jumped to the prompt page, that is, for the case of two-way matching, a strong interception reminder can be given to the parties to go to each other to increase the sense of ceremony. When user 1 clicks the "I know" button displayed in the prompt page, the prompt page can be jumped to the electronic map, and the first prompt information can be displayed in the electronic map, wherein the first prompt information is used to prompt that virtual image A and virtual image B have selected each other, for example, the first prompt information can be: Great news! Congratulations to XX (nickname of user 1) and XX (nickname of user 2) for going to each other in both directions, and the first prompt information is visible to multiple virtual images in the electronic map, for example, a prompt information that virtual image A and virtual image B are successfully matched can be issued in the world channel and displayed in the form of a marquee.
[0108] In some embodiments, when the second virtual image is in the virtual room, the following processing can also be performed: when the first virtual image is controlled to move along the navigation route to the range of the virtual room, the first virtual image is added to the virtual room, wherein the virtual room is a geometric area in the electronic map with the creator of the virtual room as the center, for example, the virtual room can be a circular area in the electronic map with the creator as the center and a radius of R.
[0109] By way of example, the above-mentioned adding of the first virtual image to the virtual room can be achieved in the following ways: in response to the second virtual image being the creator of the virtual room, automatically adding the first virtual image to the virtual room; in response to the second virtual image not being the creator of the virtual room, displaying a second prompt message, wherein the second prompt message is used to prompt whether to join the virtual room; in response to a trigger operation of a join control included in the second prompt message, adding the first virtual image to the virtual room.
[0110] For example, taking the first virtual image as virtual image A controlled by user 1 and the second virtual image as virtual image B controlled by user 2 as an example, when virtual image B is the creator of the virtual room, when controlling virtual image A to move within the range of the virtual room, virtual image A can be automatically added to the virtual room; when virtual image B is not the creator of the virtual room, when controlling virtual image A to move within the range of the virtual room, a second prompt message can be displayed in the electronic map, wherein the second prompt message can be used to prompt user 1 whether to join the virtual room; when user 1 clicks on the join button displayed in the second prompt message, virtual image A can be added to the virtual room.
[0111] It should be noted that users in the same virtual room can view each other's information and interact with other users, for example, they can send messages to other users, add each other as friends, or give each other virtual resources (such as virtual flowers).
[0112] In other embodiments, after the first virtual image is added to the virtual room, the following processing may also be performed: the electronic map is switched to zoom mode, and an identification corresponding to the virtual room (e.g., an aperture on the sole of the foot) is added to the first virtual image, wherein the identification may be used to indicate that the first virtual image is currently in the virtual room.
[0113] For example, taking the first virtual image as virtual image A controlled by user 1, after adding virtual image A to a virtual room (for example, virtual room 1 created by virtual image B), the electronic map can be switched to zoom mode (i.e., the lens is automatically zoomed in), and an aperture corresponding to virtual room 1 can appear at the sole of the feet of virtual image A. That is to say, for multiple virtual images in the same virtual room, there can be an aperture of the same color at the soles of the feet of these virtual images to represent that these virtual images are in the same virtual room.
[0114] It should be noted that the above-mentioned logo corresponding to the virtual room can be not only the aperture on the soles of the feet, but also the aperture on the top of the head, or the logo on the top of the head. For example, for multiple virtual images in the same virtual room, the same top aperture can be displayed on the heads of these virtual images to indicate that these virtual images are in the same virtual room. The embodiments of the present application do not make specific limitations on this.
[0115] In some embodiments, the above-mentioned virtual room can be a voice room. For example, the virtual room can include a voice interaction control for voice interaction, wherein when a trigger operation for the voice interaction control is received, the first virtual image can perform voice interaction with other virtual images in the virtual room.
[0116] For example, taking the first virtual image as virtual image A controlled by user 1, the virtual room joined by virtual image A can be a voice room. For example, user 1 can interact with other users in the room by voice by clicking on the microphone.
[0117] In other embodiments, after the first virtual image is added to the virtual room, the following processing may also be performed: in response to a trigger operation for the follow mode (for example, receiving a click operation for an automatic follow button), the first virtual image is controlled to enter the follow mode, and the perspective of the first virtual image is switched to the perspective of the creator; in response to the movement of the creator's position, the position of the first virtual image in the electronic map is controlled to move synchronously with the creator's position.
[0118] For example, taking the first virtual image as virtual image A controlled by user 1, after adding virtual image A to the virtual room, the following processing can also be performed: an automatic follow button is displayed in the electronic map, and when a click operation on the automatic follow button by user 1 is received, virtual image A is controlled to enter automatic follow mode, and the screen's crosshairs are switched to the perspective of the creator (for example, virtual image B controlled by user 2) (that is, the picture seen by virtual image A is switched to the picture seen by virtual image B). Subsequently, when it is detected that user 2 controls virtual image B to move in the electronic map, virtual image A can be controlled to move synchronously with the position of virtual image B in the electronic map. In this way, the operating burden of user 1 can be reduced and the user experience of user 1 can be improved.
[0119] In some embodiments, when the first virtual image is in the follow mode, the following processing may also be performed: in response to a trigger operation for any location in the electronic map, the first virtual image is controlled to exit the follow mode, and the perspective of the creator is switched back to the perspective of the first virtual image.
[0120] For example, taking the first virtual image as virtual image A controlled by user 1, assuming that virtual image A is currently in automatic following mode, when receiving a click operation from user 1 on any position in the electronic map, virtual image A can be controlled to exit the automatic following mode, and switch from the perspective of the creator (e.g., virtual image B controlled by user 2) back to the perspective of virtual image A (i.e., switch from the picture seen by virtual image B to the picture seen by virtual image A). In other words, user 1 can control virtual image A to exit the automatic following mode and control virtual image A to move to the position clicked by user 1 by clicking on any position in the electronic map.
[0121] In some embodiments, after the first virtual image is added to the virtual room, the following processing may also be performed: in response to the first virtual image moving to the edge of the virtual room, a third prompt message is displayed, wherein the third prompt message is used to prompt that the virtual room will be exited when the range of the virtual room is exceeded; in response to the first virtual image exiting the virtual room, the electronic map is switched from the zoom mode back to the default mode, and the logo corresponding to the virtual room added for the first virtual image is canceled.
[0122] For example, taking the first virtual image as virtual image A controlled by user 1, after adding virtual image A to the virtual room, the following processing can also be performed: when it is detected that user 1 controls virtual image A to move to the edge of the virtual room, a third prompt information can be displayed in the electronic map, wherein the third prompt information can be used to prompt user 1 to exit the virtual room when exceeding the range of the virtual room; when it is detected that user 1 controls virtual image A to move outside the range of the virtual room, virtual image A can be controlled to exit the virtual room, and the electronic map can be switched from the zoom mode back to the default mode (i.e., the lens is zoomed out), and the aperture displayed on the soles of virtual image A's feet can be cancelled, thereby indicating that virtual image A has exited the virtual room.
[0123] In some other embodiments, continuing with the above example, the third prompt information may further include a follow control (eg, an automatic follow button), and the following processing may also be performed: in response to a trigger operation on the follow control, the first virtual image is controlled to enter a follow mode.
[0124] For example, taking the first virtual image as virtual image A controlled by user 1, an automatic follow button can also be displayed in the third prompt information. When user 1 clicks the automatic follow button, virtual image A can be controlled to re-enter the automatic follow mode to move synchronously with the creator of the virtual room in the electronic map.
[0125] In some embodiments, the following processing can also be performed: in response to the first virtual image being selected by multiple third virtual images, a fourth prompt message is displayed, wherein the fourth prompt message is used to prompt whether to create a virtual room; in response to a trigger operation on a creation control (such as a "Open Now" button) in the fourth prompt message, a virtual room centered on the first virtual image is created, and a room identifier (such as a virtual aperture) corresponding to the created virtual room is displayed in the electronic map, wherein the room identifier is used to characterize the scope of the virtual room.
[0126] For example, taking the first virtual image as virtual image A controlled by user 1, when virtual image A is selected by multiple users (for example, including user 2 for controlling virtual image B and user 3 for controlling virtual image C) at the same time, for example, click operations of user 2 and user 3 on virtual image A are received at the same time, after virtual image B and virtual image C are moved to the position of virtual image A, fourth prompt information can be displayed in the electronic map, wherein the fourth prompt information can be used to prompt user 1 whether to create a virtual room; when a click operation of user 1 on the "Open Now" button displayed in the fourth prompt information is received, a virtual room centered on virtual image A can be created in the electronic map, that is, virtual image A is the creator of the virtual room, for example, a virtual aperture with virtual image A as the center and radius R can be displayed in the electronic map to represent the virtual room created by virtual image A.
[0127] In other embodiments, the electronic map may also include multiple virtual rooms, where different virtual rooms have different display modes. The following processing may also be performed: for each virtual room, a creator logo (such as a virtual light column) is displayed around the creator of the virtual room; in response to a trigger operation on the creator logo displayed around any creator, the first virtual image is added to the virtual room created by the creator.
[0128] For example, taking the first virtual image as virtual image A controlled by user 1, multiple virtual rooms that have been created can also be displayed in the electronic map. For each virtual room, a virtual light column can be displayed around the creator of the virtual room to indicate that the virtual image is the creator of the virtual room. When a click operation of user 1 on the virtual light column displayed around creator 1 (for example, virtual image B controlled by user 2) is received, virtual image A can be added to the virtual room created by virtual image B. In other words, the user can join the corresponding virtual room by clicking on the virtual light column.
[0129] The interactive processing method of a virtual image provided in the embodiment of the present application displays the virtual image on an electronic map and allows the user to control the movement of the virtual image on the electronic map. In this way, the specific location of the user can be blurred and privacy risks can be eliminated. In addition, compared with the avatar provided by the related technology, the virtual image can provide a more immersive and vivid interactive method. That is to say, by controlling the movement of the virtual image in the electronic map to interact with other virtual images, a new interactive experience can be provided to the user.
[0130] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.
[0131] The embodiment of the present application provides an interactive processing method for a virtual image, which implements a matching mechanism and interactive method based on LBS in 3D / 2.5D scenes through a lightweight engine, bringing users a brand new experience in LBS applications. Specifically, in the embodiment of the present application, the like operation based on LBS is "run to", and two-way matching (or two-way running) means that the 3D images controlled by two users on an electronic map (referred to as a map) run to each other's positions. In this way, through scene-based, a more immersive experience can increase the user's stay time in the application. In addition, if the user matches in both directions, the permission to add friends can be unlocked, thereby driving the conversion of strangers to semi-acquaintances, thereby driving the growth of the relationship chain.
[0132] It should be noted that in terms of mobile control, it can be defined as a click operation, a long press operation, a joystick or other operation methods according to the specific user experience and the operating terminal. In addition, the technical solution provided in the embodiment of the present application can be applied to devices with a touch screen, and can also be applied to devices with mouse input. In the latter case, the click / long press of the mouse is equivalent to the click / long press of the user's finger. In addition, for the former case, if the human body is not used for touch, a similar effect can be achieved by using a sensing pen.
[0133] For example, see Fig. 6A , Fig. 6A is a schematic diagram of the principle of the interactive processing method of the virtual image provided by the embodiment of the present application, such as Fig. 6A As shown, there are many-to-one situations. For example, when the 3D image controlled by user B and the 3D image controlled by user C run towards the 3D image controlled by user A at the same time, it can bring about a gathering point effect. For example, the gathering point can have a centralization effect. By designing a matching mechanism, the central user of the gathering point (ie, user A) can obtain greater traffic exposure.
[0134] For example, see Figure 6B , Figure 6B is a schematic diagram of the principle of the interactive processing method of the virtual image provided in the embodiment of the present application, such as Figure 6B As shown, the gathering point can be upgraded to a virtual room (referred to as a room for short). For example, after user A chooses to convert the gathering point into a room, he becomes the creator (Host) of the room.
[0135] For example, see Figure 6C , Figure 6C is a schematic diagram of the principle of the interactive processing method of the virtual image provided in the embodiment of the present application, such as Figure 6CAs shown, in a 3D / 2.5D scene, by exposing the gathering point, when attracting more users (such as user E) to rush to the central user (i.e. user A) of the gathering point, the click-through conversion of the room exposure can be improved through the mechanism of automatic entry into the room. In addition, users passing by the room (such as user F) can also increase the click-through rate through the special effects outside the room, thereby increasing the room entry rate. This mode can well solve the following two problems existing in the related art: First, in the related art, rooms are usually distributed through lists, and users have decision-making costs to enter the room, while the embodiment of the present application can improve the room entry rate through the mechanism of automatic entry into the room when rushing to the host of the room; second, in the related art, there must be a room before there is the possibility of exposure, and further, someone can enter, while the technical solution provided by the embodiment of the present application is that there must be a gathering point before there is a room, and there are more people in the room, so the problem of vacant rooms can be solved.
[0136] In addition, users in the same room can interact with each other by voice or action. When the host of the room moves on the map, all 3D images controlled by users in the room will automatically follow the host by default. In this way, non-room users in the map (i.e. users not in the room) can see people moving in groups, which will make them want to enter the room. In addition, in a 3D scene, the geographic location information contained in the user's birth point (i.e. the initial position of the 3D image controlled by the user in the map) can be blurred by controlling the ratio of the 3D image to the map, thereby protecting user privacy.
[0137] The interactive processing method of the virtual image provided in the embodiment of the present application is described in detail below.
[0138] The technical solution provided by the embodiment of the present application enlarges the display of the 3D image on the map, and allows the user to control the movement of the 3D image on the map during the current login process, that is, the acquisition based on LBS is limited to the display of the birth point at the time of login, and the movement of the 3D image operated by the user in the map is not equivalent to the change of the user's actual geographical location, thereby blurring the user's specific location and eliminating privacy risks. The elimination of privacy risks can provide more possibilities for the social gameplay of semi-acquaintances and strangers. For example, in stranger social networking, through the matching design of users on the map, a room for interaction is formed. In addition, in terms of appearance design, the room can adopt the map movement method to avoid designing a more heavily enclosed space and increase the threshold for users to enter the room.
[0139] In some embodiments, the technical solution provided by the embodiments of the present application can be implemented based on a real map. For example, the birthplace of a 3D image controlled by a user can be determined based on the user's current position in the real world. For example, the user's current position in the real world can be used as the birthpoint of the 3D image controlled by the user in the map.
[0140] For example, see Fig. 7A , Fig. 7A is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Fig. 7A As shown, the real map 701 can be processed into 2.5D to obtain a 2.5D map 702 that is subsequently used to display a 3D image (or avatar).
[0141] It should be noted that in addition to 2.5D processing of the real map, the real map can also be processed in 3D to achieve interaction in a 3D scene, which is not specifically limited in the embodiments of the present application.
[0142] In other embodiments, the 3D image can be displayed near the user's current real geographical location, and this point is used as the screen crosshair. When the user clicks on any location on the map, the 3D image can be controlled to move to the location clicked by the user. In addition, the map can also display nearby people in a blurred manner, and the principles are as follows: 1) Show as many nearby people as possible; 2) Be sure to show yourself; 3) When there are many nearby people and they overlap, you can configure the corresponding weights according to the following conditions to display: 1. Whether they are of the opposite sex; 2. Real-time online; 3. Recently online; 4) The location needs to be blurred when displaying, and try not to overlap.
[0143] For example, take user 1 as an example, see Figure 7B , Figure 7B is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7B As shown, after user 1 logs into the APP, a 3D image 703 controlled by user 1 can be displayed in the 2.5D map 702. At the same time, 3D images controlled by other users near user 1 can also be displayed in the map 702, such as a 3D image 704 controlled by user 2 and a 3D image 705 controlled by user 3.
[0144] In some embodiments, after a user finds a person of interest on the map, the user can run towards the person. After running towards the person, a navigation route may appear under the feet of the 3D image controlled by the user. Then, the 3D image controlled by the user may move along the navigation route towards the 3D image.
[0145] For example, take user 1 as an example, see Figure 7C , Figure 7C is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7CAs shown, a 3D image 703 controlled by user 1 is displayed in the map. When user 1 is interested in a 3D image 705 controlled by user 3 in the map, the user 1 can run to the 3D image 705. For example, when user 1 clicks on the 3D image 705, a navigation route 706 leading to the 3D image 705 controlled by user 3 can be displayed under the feet of the 3D image 703 controlled by user 1. Subsequently, the 3D image 703 can be controlled to move along the navigation route 706 to the location of the 3D image 705.
[0146] In some embodiments, the concept of two-way running can be emphasized to users. For example, when the two-way running is a successful match, a strong interception reminder can be given to the two-way running parties to increase the sense of ceremony. At the same time, a match success message can be sent to the world channel for this match, for example, a marquee can appear above the public screen of the main interface of all users in the world channel.
[0147] For example, take user 1 as an example, see Fig.7D , Fig.7D is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Fig.7D As shown, when user 1 and user 3 are running in both directions, the map interface can be jumped to the prompt interface 707 to strongly remind user 1, and a "I know" button 708 can also be displayed in the prompt interface 707. When user 1 clicks the "I know" button 708, the prompt interface 707 can be jumped back to the 2.5D map 702, and a message 709 that user 1 and user 3 are successfully paired can be displayed in the world channel in a ticker way to inform other users in the map.
[0148] In some embodiments, when the person being rushed is rushed by multiple people at the same time, a reminder to open the "room" may pop up. If the person being rushed agrees to open it, the room (or space) is automatically opened in a circular area with a radius of R centered on the person being rushed. After the room is opened, the person being rushed will automatically become the host of the room. At this time, if other users (such as user 4) rush towards the person being rushed, they can automatically enter the room after reaching the room range; if other users (such as user 5) pass by this room in the map, a light column can be displayed around the person being rushed, and user 5 can enter the room by clicking on the light column.
[0149] For example, take user 3 as an example, see Fig. 7E , Fig. 7E is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Fig. 7EAs shown, when the 3D image 705 controlled by user 3 is approached by multiple 3D images including the 3D image 703 controlled by user 1 at the same time, a floating layer 710 can be displayed to remind user 3 whether to open the room. When user 3 clicks the "Open Now" button 711 displayed in the floating layer 710, the room with a radius of R and centered on the 3D image 705 controlled by user 3 can be opened, and user 3 will automatically become the host of the room. In addition, a light column 712 can be displayed around the 3D image 705 controlled by user 3. When other users in the map pass by this room, they can join the room opened by user 3 by clicking the light column 712.
[0150] In some embodiments, after entering the room, the camera will automatically zoom in, and the user interface (UI) will also change accordingly to distinguish between the default mode and the room mode. For example, after entering the room, there will be an aperture with a radius of R to indicate the scope of the room. At the same time, small apertures of the same color will appear on the soles of the feet of the 3D image controlled by the user in the room, and the intersecting small apertures can be merged; the 3D image controlled by the user outside the room can also be displayed in the area, but there are no small apertures of the same color on the soles of the feet, so as to distinguish them.
[0151] For example, take user 1 as an example, see Figure 7F , Figure 7F is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7F As shown, after user 1 enters the room opened by user 3, the camera automatically zooms in, and at the same time, a small aperture 713 of the same color as the sole of the foot of the 3D image 705 controlled by user 3 may appear at the sole of the foot of the 3D image 703 controlled by user 1, to indicate that user 1 and user 3 are in the same room. In addition, for the 3D image controlled by the user outside the room, such as the 3D image 715 controlled by user 4, there is no small aperture 713 of the same color at the sole of the foot of the 3D image 715, to indicate that user 4 is not in the room. In addition, after user 1 enters the room opened by user 3, an aperture 716 with a radius R centered on the 3D image 705 controlled by user 3 may also be displayed to indicate the range of the room opened by user 3.
[0152] In some embodiments, the opened room may be a voice room, and the user may interact with other users in the room by voice by clicking a microphone button.
[0153] For example, take user 1 as an example, see Figure 7G , Figure 7G is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7GAs shown, after entering the room, user 1 can click the microphone button 717 to interact with other users in the room by voice. For example, when a click operation of user 1 on the microphone button 717 is received, a floating layer 718 can be displayed, in which the avatars corresponding to the multiple users in the room who are currently in the voice interaction state are displayed. Since user 1 clicked the microphone button 717, the avatars corresponding to the multiple users who are currently in the voice interaction state include the avatar 719 corresponding to user 1, that is, user 1 is also currently in the voice interaction state and can interact with other users in the room by voice. In addition, user 1 can also view all users in the room by clicking the expand button 720.
[0154] In some embodiments, the user in the room can turn on the mode of automatically following the host, that is, the 3D image controlled by the user in the room can automatically move with the host in the map. In addition, the crosshairs of the user who automatically follows can also be switched to the perspective of the host. Of course, the user can also control the 3D image to move and cancel the automatic following by clicking anywhere in the map, at which time the crosshairs returns to the main perspective.
[0155] For example, take user 1 as an example, see Figure 7H , Figure 7H is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7H As shown, after user 1 enters the room opened by user 3, the automatic follow mode can be turned on. For example, when user 1 clicks the automatic follow button, the 3D image 703 controlled by user 1 can be controlled to enter the mode of automatically following the 3D image 705 (i.e., Host) controlled by user 3. At the same time, the crosshairs of user 1 can be switched to the perspective of user 3. That is, when user 3 controls the 3D image 705 to move in the map, the 3D image 703 controlled by user 1 can move synchronously with the 3D image 705. In addition, when user 1 clicks any position in the map, the 3D image 703 can be controlled to exit the automatic follow mode and move to the position clicked by user 1. At this time, the perspective of user 3 can be switched back to the perspective of user 1.
[0156] In some embodiments, the scope of the room can be a circular area with the host as the center and a radius of R. The user cannot exceed this range when controlling the 3D image to move freely, otherwise a prompt will be given to check out. After checking out, the user will not be able to receive voice messages in the room and will not be able to interact with all users in the room. After the user exits the room, the camera automatically zooms out, the viewing angle returns to the default viewing angle, and all UIs are restored.
[0157] For example, take user 1 as an example, see Fig.7I , Fig.7I is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Fig.7I As shown, after user 1 enters the room opened by user 3, user 1 can control 3D image 703 to move freely within the room. When it is detected that user 1 controls 3D image 703 to move to the edge of the room, a floating layer 721 can be displayed, and a prompt message for reminding user 1 that the room will be automatically exited after exceeding the room range is displayed in the floating layer 721. In addition, an "auto follow" button 722 can also be displayed in the floating layer 721. When user 1 clicks the "auto follow" button 722, the 3D image 703 can be controlled to enter a mode of automatically following the 3D image 705 controlled by user 3. If user 1 continues to control 3D image 703 to move outside the range of the room, user 1 will exit the room opened by user 3. At this time, the lens will automatically zoom out and the viewing angle will be restored to the default viewing angle. In addition, the light column 712 can be redisplayed around the 3D image 705, and user 1 can re-enter the room opened by user 3 by clicking the light column 712.
[0158] In some embodiments, users in the same room can view each other's profiles and interact with other users in 3D.
[0159] For example, take user 1 as an example, see Figure 7J , Figure 7J is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7J As shown, after entering the room opened by user 3, user 1 can view the personal information of any user in the room. For example, when user 1 clicks on the 3D image controlled by user 3, the user can jump to the personal profile interface 723 of user 3. The personal profile interface 723 displays a "profile" button 724 and a "chat" button 725. User 1 can view the detailed personal information of user 3 by clicking the "profile" button 724. In addition, when user 1 clicks on the "chat" button 725, a floating layer 726 can be displayed. A variety of expressions are displayed in the floating layer 726. User 1 can interact with user 3 by sending expressions.
[0160] In some embodiments, the efficiency of users finding people can be improved through the avatar map mode. For example, when a two-finger pinch operation triggered by the user on the map is received, the map is zoomed out, wherein the map and the 3D image in the map are proportionally reduced as a whole. When the size of the 3D image is reduced to the minimum size that can be reduced, the 3D image can be switched to an avatar. If the user continues to pinch with two fingers, the avatar display is maintained and only the map is reduced. In other words, the user can enter this mode by pinching with two fingers. In this mode, the crosshairs in the standard mode are canceled and the map UI is hidden. In this mode, the avatar remains at a fixed size, and as many people as possible are displayed than in the default state. In addition, if there are many people nearby and they overlap, multiple avatars can be displayed in rotation.
[0161] For example, take user 1 as an example, see Figure 7K , Figure 7K is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7K As shown, when a two-finger pinch operation is triggered by user 1 on map 702, map 702 can be reduced, and the 3D image in map 702 can be reduced in proportion. When the size of the 3D image is reduced to the minimum size that can be reduced, the 3D image can be switched to an avatar, for example, Figure 7B The 3D image 703 shown in FIG. Figure 7K In addition, if there are many people near user 1 and they overlap, the avatars corresponding to the multiple users can be displayed in rotation. For example, if there are three users (user 2, user 3 and user 4) near user 1 and the positions of these three users overlap, the avatar 728 corresponding to user 2, the avatar 729 corresponding to user 3 and the avatar 730 corresponding to user 4 can be displayed in rotation.
[0162] In some other embodiments, the efficiency of finding people can be improved by using a list mode. For example, a user can click on the nearby people list entry in the main interface to call out the nearby people list. The user can see the avatar information of specific users and the "Run to" button corresponding to each user in the nearby people list.
[0163] For example, take user 1 as an example, see Figure 7L , Figure 7L is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7L As shown, when receiving the user 1's nearby people list entry ( Figure 7L), a nearby person list 731 may be displayed, in which avatars of multiple users located near the user 1 and a "Go" button corresponding to each user are displayed. In addition, the user 1 may also view more nearby users by clicking an expand button 732.
[0164] In some embodiments, in order to facilitate users to complete the core rush operation, the following hook mechanism can be added on the basis of normal interactions with strangers. For example, when user A sends a message to user B, the number of messages sent by user A is limited to no more than 3, unless the 3D image controlled by user A is in the vicinity of the 3D image controlled by user B; user A is restricted from adding a stranger user (such as user B) as a friend, unless the 3D image controlled by user A is in the vicinity of the 3D image controlled by user B, and the number of messages sent to each other exceeds 10; user A is restricted from viewing real photos of other users (such as user B), unless the 3D image controlled by user A is in the vicinity of the 3D image controlled by user B.
[0165] For example, take user 1 as an example, see Figure 7M , Figure 7M is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7M As shown, when the distance between the 3D image controlled by user 1 and the 3D image controlled by user 3 is greater than the distance threshold, that is, the 3D image controlled by user 1 is not near the 3D image controlled by user 3, in the chat interface 733, user 1 can only send 3 messages to user 3. When a click operation of user 1 on the "Run to TA" control 734 displayed in the chat interface 733 is received, a floating layer 735 can be displayed, in which a prompt message reminding user 1 to run to user 3 is displayed.
[0166] In some embodiments, the technical solution provided by the embodiments of the present application can also add a prop system and open up commercialization. For example, users can purchase virtual vehicles for 3D images so that they can move faster on the map. In addition, users can also purchase clothing for 3D images so that they can show off with a more handsome appearance. Based on this motivation, more prop sales possibilities can be expanded.
[0167] For example, take user 1 as an example, see Figure 7N , Figure 7N is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7NAs shown, when a click operation of the "mall" button 736 is received from user 1, the map can be redirected to the mall interface 737, where a variety of virtual props are displayed. When a click operation of the virtual vehicle 738 displayed in the mall interface 737 is received from user 1, and a corresponding amount of virtual gold coins are deducted from the account of user 1, the virtual vehicle 738 can be equipped for the 3D image controlled by user 1, so that the 3D image controlled by user 1 can move faster in the map.
[0168] In some embodiments, special POI displays of gathering points can be used to guide users to run to or click on them, thereby driving traffic to merchants or live broadcast rooms and forming an advertising business model in a map scenario.
[0169] For example, take user 1 as an example, see Fig.7O , Fig.7O is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Fig.7O As shown, a POI model 739 may also be displayed in the map, wherein the POI model 739 may be displayed using display parameters different from those of other buildings to attract user 1 to click, thereby driving traffic to the merchant.
[0170] In some embodiments, the technical solution provided in the embodiments of the present application can also provide more operational tool capabilities for ordinary voice rooms, provide online activity space for professional users or platform content generators, and enrich the user's interactive experience.
[0171] For example, take user 1 as an example, see Figure 7P , Figure 7P is a schematic diagram of an application scenario of the interactive processing method of a virtual image provided in an embodiment of the present application, such as Figure 7P As shown, a 3D image 740 of a professional user (such as an actor, musician, etc.) and a light column 741 around the 3D image 740 may also be displayed in the map. When a click operation of user 1 on the light column 741 is received, the user may be redirected to the space interface 742 of the professional user. In addition, user 1 may also view all users participating in the activity by clicking button 743. For example, when a click operation of user 1 on button 743 is received, a floating layer 744 may be displayed, in which avatars corresponding to multiple users participating in the activity are displayed.
[0172] The following will continue to explain the interactive processing method of the virtual image provided in the embodiment of the present application from a technical perspective.
[0173] The display part of the 3D image in the embodiment of the present application can be implemented by three engines: Unreal, Unity, and Filament. Among them, for the Unreal engine, the existing UnLua interface can be used to pull the configuration table of the character's body dress, face shape, etc., and then the corresponding model and material can be pulled according to the distance, or it can be a specific simple avatar (i.e., original resource), etc.; and for the Unity / Filament engine, it can be transplanted from Uneal, and several conversion functions such as Unreal material blueprint -> FilamentShader converter, Kawaii physics transplantation, Unreal -> Unity converter, etc. can be implemented, and the restoration degree can reach about 70%.
[0174] In some embodiments, the interface between the map application programming interface (API) and the engine can be called a map library, which can be written in C++. The map API can be directly accessed using the map interface. For example, after entering the coordinates and range, the interface will obtain information about surrounding buildings, water surfaces, green spaces, roads, etc. through the API, and convert it into an engine-readable format and pass it into the map library. The engine will read the longitude and latitude coordinates of the user and use it as the origin to generate a transformation matrix, which is converted to the engine coordinate system through the matrix. When the user controls the 3D image to move in the map, the character coordinates are converted back to longitude and latitude through the inverse matrix, so that the surrounding objects can be updated in real time. When the accuracy requirements for longitude and latitude are relatively high, double-precision floating point numbers can be used for storage.
[0175] In addition, when pulling at a specified location, the upper-level APP can be notified to obtain the location information of surrounding online users from the server, and pull the 3D image costumes, avatars, etc. controlled by these users, which can then be displayed on the map according to the zoom rules.
[0176] It should be noted that the zooming of the map can be temporarily set to adjust the camera position and reset the character identification (such as an avatar or a 3D image). Because the plot of land pulled at one time is very large, the embodiment of the present application can set the maximum zoom distance to not exceed the size of a plot pulling unit, thereby avoiding writing more loading logic.
[0177] Next, continue to Figure 3 The automatic generation and arrangement process of 3D modeling is explained.
[0178] In some embodiments, map information can be pulled once every 1 second, but when the map information is passed to the engine, model generation and parsing steps need to be performed. If the foreground is loaded, the user experience will be blocked and obvious jamming will occur. In view of this, the embodiments of the present application have been optimized as follows for the above-mentioned problems: first, by packaging the data in the form of an array buffer (ArrayBuffer), the packaging and parsing process can be removed, so that the map library and the engine can be directly restored through the pointer of the buffer without redundant steps; secondly, through the coroutine feature of Lua, the parsing process is packaged as a coroutine loading queue process, and then presented in sequence after waiting for loading, thereby completely eliminating the operation jam phenomenon; in addition, through material operations, the model data pulled from the map library can be read into the video memory as intact as possible, and then the algorithm is used to calculate the appropriate normal, tangent, UV and other information for decoration, thereby reducing the process that needs to be pre-processed in the map library.
[0179] The following will continue to explain the configuration process of the POI model in the map.
[0180] In some embodiments, there are two ways to configure interactive POI models in the map: the information read by the map library will contain some keywords, which can be used to match and place the corresponding POI models in the map; in addition, you can also directly configure the table information, find the index and import the POI model near the user's location into the map.
[0181] It should be noted that the above-mentioned interactive POI model can set distance trigger conditions and advertisement boards for visibility detection, and the pop-up of advertisement boards can be triggered when the user is detected approaching the POI model. When the user clicks on the advertisement board, the server can be triggered to enter the room event, so that the user can switch out of the APP and enter the corresponding room or scene. In addition, merchants can also select points to set POI models at specific locations, provide original models, and use the technical solutions provided in the embodiments of this application to create models and advertisement boards for import into the engine, so that users can explore online, thereby improving the user experience.
[0182] The following will continue to explain the implementation of the map effect.
[0183] In some embodiments, for green areas in the map, a collision mesh (Mesh) can be automatically generated through a procedural mesh (ProcedualMesh), and then the collision point is detected by ray, and the trees of Instacing are generated at the collision point. Then, the coordinates of the current plot can be converted into a random number seed to ensure that the rotation, scaling and arrangement of the trees generated each time are the same; for the water surface in the map, it can be simulated through UV animation materials, and an environmental sky map can be added to further improve the authenticity of the map; for the roads in the map, the road surface identification symbols can be processed with special materials. Since the direction of the road cannot be obtained, the edge of the road surface can be made into a post-processing stroke through the template cache, thereby creating an effect of rolling in the direction of the road; for the buildings in the map, the wall maps of the buildings can be randomly allocated through the regional coordinates, and the tangent judgment of the wall normal and the upward direction can be made so that the UV can be aligned with the axis. In addition, since it is impossible to obtain the information of a single building, a hollow shader can be used for processing. When it is close to the user, it will automatically fade out to show a translucent effect; in addition, the roof of the building close to the user will be drawn to the ground again, thus forming a similar effect to the ordinary ground. Figure 1 The effect.
[0184] The following will continue to explain the optimization process for multiple people on the same screen.
[0185] In certain embodiments, under the close-up horizontal viewing angle, large-scale multi-roles will produce too many animation system calls, and the number of bones that need to be updated is too many, which is not suitable for the animation system of overly complex class action games. In view of this, the embodiment of the present application uses a map to pre-store the skeleton array and animation information of each component, and VertexShader sampling is performed by GPU, and the sampling result is secondary indexed by a general skinning method, thereby processing the skeleton matrix. The technical solution provided by the embodiment of the present application can support relatively simple animation and two action lines mixed, and the DrawInstance method is used to realize the animation batching similar to the static object batching. Although the number and mechanism of animations supported are limited, it is more friendly for multi-role same-screen processing. In addition, the common animation mechanism can still be used between the protagonist himself and the interactive role.
[0186] The network communication process will be described below.
[0187] In some embodiments, the technical solution provided by the embodiments of the present application can be obtained by improving the existing instant messaging client, so that the user's friend list can be easily obtained, and the coordinates of the user who has turned on location sharing can be pulled, and the coordinates of the user who authorized the application to obtain the location can be obtained. When the user's coordinates are input into the engine, the POI building information around the user will be pulled regularly, and the server will filter the friends within the specified range around the user and set an upper limit, where the upper limit and the pulling frequency can be dynamically adjusted according to the number of online people, so as to prevent the server from being overloaded.
[0188] The following is a description of the pathfinding process.
[0189] In some embodiments, the implementation of the two-way rush logic requires the map library to request the nearest path from the map API, generate a model of the path, and render it on the map with its own material. The user-controlled 3D image will then move towards each other according to the data structure specified by the path, and the rush time and movement speed can also be calculated.
[0190] To sum up, the technical solution provided in the embodiment of the present application has the following beneficial effects: through simple click operations, a more immersive and interesting stranger interaction experience is created for users in the map scene, which can create a new interactive experience for users, and at the same time promote product growth and activity by expanding the stranger relationship chain.
[0191] The following is a description of an exemplary structure of a virtual image interaction processing device 555 provided in an embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the virtual image interaction processing device 555 of the memory 550 may include: a display module 5551 and a control module 5552.
[0192] Display module 5551 is used to display an electronic map in the human-computer interaction interface, wherein the electronic map includes multiple virtual images; display module 5551 is also used to display a navigation route between the first virtual image and the second virtual image in the electronic map in response to a selection operation of the first virtual image for the second virtual image, wherein the first virtual image is a virtual image that can be controlled through the human-computer interaction interface; control module 5552 is used to control the first virtual image to move toward the second virtual image along the navigation route, wherein when the distance between the first virtual image and the second virtual image is less than a first distance threshold, the first virtual image can interact with the second virtual image.
[0193] In some embodiments, the control module 5552 is further used to keep the second virtual image stationary and control the first virtual image to move along the navigation route to the position of the second virtual image in response to the second virtual image not selecting the first virtual image; and to control the second virtual image to move along the navigation route toward the first virtual image while controlling the first virtual image to move toward the second virtual image in response to the second virtual image selecting the first virtual image, until the distance between the first virtual image and the second virtual image is less than a first distance threshold.
[0194] In some embodiments, the display module 5551 is also used to jump from the electronic map to a prompt page in response to the second virtual image selecting the first virtual image, wherein the prompt page is used to prompt that the first virtual image and the second virtual image have selected each other; and to jump back to the electronic map from the prompt page in response to a trigger operation on a confirmation control displayed in the prompt page, and display a first prompt message in the electronic map, wherein the first prompt message is used to prompt that the first virtual image and the second virtual image have selected each other, and the first prompt message is visible to multiple virtual images.
[0195] In some embodiments, the virtual image interaction processing device 555 also includes a joining module 5553, which is used to add the first virtual image to the virtual room in response to the second virtual image being in the virtual room, when the first virtual image is controlled to move along the navigation route to the range of the virtual room, wherein the virtual room is a geometric area in the electronic map centered on the creator of the virtual room.
[0196] In some embodiments, the joining module 5553 is further used to automatically join the first virtual image to the virtual room in response to the second virtual image being the creator of the virtual room; the display module 5551 is further used to display a second prompt message in response to the second virtual image not being the creator of the virtual room, wherein the second prompt message is used to prompt whether to join the virtual room; the joining module 5553 is further used to join the first virtual image to the virtual room in response to a trigger operation of a joining control included in the second prompt message.
[0197] In some embodiments, after the joining module 5553 adds the first virtual image to the virtual room, the display module 5551 is also used to switch the electronic map to the zoom mode and add an identifier corresponding to the virtual room to the first virtual image, wherein the identifier is used to indicate that the first virtual image is currently in the virtual room.
[0198] In some embodiments, the virtual room includes a voice interaction control for performing voice interaction, wherein, when a trigger operation for the voice interaction control is received, the first virtual image can perform voice interaction with other virtual images in the virtual room.
[0199] In some embodiments, the display module 5551 is also used to switch from the perspective of the first virtual image to the perspective of the creator in response to a trigger operation for the follow mode; the control module 5552 is also used to control the position of the first virtual image in the electronic map to move synchronously with the position of the creator in response to the movement of the creator's position.
[0200] In some embodiments, the control module 5552 is further used to control the first virtual image to exit the follow mode in response to a trigger operation at any location in the electronic map; the display module 5551 is further used to switch from the creator's perspective back to the perspective of the first virtual image.
[0201] In some embodiments, the display module 5551 is further used to display a third prompt message in response to the first virtual image moving to the edge of the virtual room, wherein the third prompt message is used to prompt that the virtual room will be exited when the range is exceeded; the display module 5551 is further used to switch the electronic map from the zoom mode back to the default mode in response to the first virtual image exiting the virtual room, and to cancel the display of the logo corresponding to the virtual room added for the first virtual image.
[0202] In some embodiments, the third prompt information includes a follow control; the control module 5552 is further used to control the first virtual image to enter a follow mode in response to a trigger operation on the follow control.
[0203] In some embodiments, the display module 5551 is also used to display a fourth prompt message in response to the first virtual image being selected by multiple third virtual images, wherein the fourth prompt message is used to prompt whether to create a virtual room; the virtual image interaction processing device 555 also includes a creation module 5554, which is used to create a virtual room centered on the first virtual image in response to a trigger operation on the creation control in the fourth prompt message; the display module 5551 is also used to display a room identifier corresponding to the virtual room in the electronic map, wherein the room identifier is used to represent the scope of the virtual room.
[0204] In some embodiments, the electronic map also includes multiple virtual rooms, where different virtual rooms have different display modes; the display module 5551 is also used to display a creator logo around the creator of each virtual room; the joining module 5553 is also used to respond to a trigger operation on the creator logo displayed around any creator, and add the first virtual image to the virtual room created by the creator.
[0205] In some embodiments, the display module 5551 is also used to respond to a zoom-out trigger operation on the electronic map, and to reduce the electronic map and the virtual image in the electronic map according to a reduction ratio, wherein when the size of the virtual image is reduced to a size threshold, the virtual image is switched to an avatar.
[0206] In some embodiments, the display module 5551 is also used to keep the sizes of multiple avatars unchanged and to zoom out the electronic map again according to the zoom-out ratio in response to receiving a zoom-out trigger operation for the electronic map again. When there are multiple virtual images at the same position in the electronic map, multiple avatars corresponding to the multiple virtual images are switched and displayed.
[0207] In some embodiments, the electronic map also includes a virtual image viewing entrance; the display module 5551 is also used to display a virtual image list in response to a trigger operation on the virtual image viewing entrance, wherein the virtual image list includes avatars corresponding to multiple virtual images, and a selection control corresponding to each virtual image.
[0208] In some embodiments, the electronic map also includes a purchase entrance; the display module 5551 is also used to display a virtual prop selection interface in response to a trigger operation on the purchase entrance, wherein the virtual prop selection interface includes a plurality of virtual vehicles; the control module 5552 is also used to control the first virtual image to enter the first virtual vehicle in response to an acquisition operation on the first virtual vehicle, wherein the plurality of virtual vehicles include the first virtual vehicle.
[0209] In some embodiments, the plurality of virtual images include a first virtual image, and at least one of the following types of virtual images: a virtual image of a different gender than the first virtual image, a virtual image that is online in real time, and a virtual image that was online most recently.
[0210] In some embodiments, the virtual image interaction processing device 555 also includes a sending module 5555 and a receiving module 5556, wherein the sending module 5555 is used to send a virtual image acquisition request to the server, wherein the virtual image acquisition request carries the location information of the first virtual image; the receiving module 5556 is used to receive multiple virtual images returned by the server, wherein the distance between the multiple virtual images and the first virtual image is less than a second distance threshold, and the number of the multiple virtual images is determined based on the number of virtual images currently online.
[0211] In some embodiments, the electronic map also includes a point of interest model; the display module 5551 is also used to perform one of the following processes: obtaining keywords carried in the information read from the map library, and displaying the point of interest model matching the keywords in the electronic map; searching from the point of interest model table for a point of interest model whose distance to the first virtual image is less than a third distance threshold, and displaying the found point of interest model in the electronic map.
[0212] In some embodiments, the interactive processing device 555 of the virtual image also includes a processing module 5557, which is used to perform the following processing for multiple virtual images: use a map to pre-store the bone array and animation information of each virtual image, use the graphics processor to sample the bone array and animation information through the vertex shading engine, and use the skinning method to perform secondary indexing on the sampling results to obtain a bone matrix, wherein the bone matrix is used to realize animation batching of multiple virtual images using an instantiated drawing method.
[0213] It should be noted that the description of the device in the embodiment of the present application is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, so it will not be repeated. Figure 3 , Figure 4 ,or Figure 5 The present invention should be understood by referring to the description of any one of the accompanying drawings.
[0214] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the computer device executes the interactive processing method of the virtual image described in the embodiment of the present application.
[0215] The present application embodiment provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will execute the interactive processing method of the virtual image provided by the present application embodiment, for example, Figure 3 , Figure 4 ,or Figure 5 A method for interactive processing of a virtual image is shown.
[0216] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0217] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0218] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0219] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for interactive processing of a virtual image, characterized in that: The method comprises: Displaying an electronic map in a human-computer interaction interface, wherein the electronic map includes a plurality of virtual images; In response to a selection operation of the first virtual image on the second virtual image, displaying a navigation route between the first virtual image and the second virtual image in the electronic map, wherein the first virtual image is a virtual image controllable through the human-computer interaction interface, and The first virtual image is controlled to move toward the second virtual image along the navigation route, wherein when the distance between the first virtual image and the second virtual image is less than a first distance threshold, the first virtual image can interact with the second virtual image.
2. The method according to claim 1, characterized in that The controlling the first virtual image to move toward the second virtual image along the navigation route includes: In response to the second virtual image not selecting the first virtual image, keeping the second virtual image stationary, and controlling the first virtual image to move along the navigation route to the location where the second virtual image is located; In response to the second virtual image selecting the first virtual image, while controlling the first virtual image to move toward the second virtual image along the navigation route, the second virtual image is controlled to move toward the first virtual image along the navigation route until the distance between the first virtual image and the second virtual image is less than the first distance threshold.
3. The method according to claim 2, characterized in that When the first virtual image is selected in response to the second virtual image, the method further includes: Jumping from the electronic map to a prompt page, wherein the prompt page is used to prompt that the first virtual image and the second virtual image have selected each other; In response to a trigger operation on a confirmation control displayed in the prompt page, the prompt page is jumped back to the electronic map, and a first prompt message is displayed in the electronic map, wherein the first prompt message is used to prompt that the first virtual image and the second virtual image have selected each other, and the first prompt message is visible to all the multiple virtual images.
4. The method according to claim 1, characterized in that The method further comprises: In response to the second virtual image being in the virtual room, when the first virtual image is controlled to move along the navigation route to within the range of the virtual room, the first virtual image is added to the virtual room, wherein the virtual room is a geometric area in the electronic map centered on the creator of the virtual room.
5. The method according to claim 4, characterized in that The adding the first virtual image to the virtual room includes: In response to the second virtual image being a creator of the virtual room, automatically adding the first virtual image to the virtual room; In response to the second virtual image not being the creator of the virtual room, displaying a second prompt message, wherein the second prompt message is used to prompt whether to join the virtual room; in response to a triggering operation of a join control included in the second prompt message, adding the first virtual image to the virtual room.
6. The method according to claim 4, characterized in that After adding the first virtual image to the virtual room, the method further includes: The electronic map is switched to a zoom-in mode, and a mark corresponding to the virtual room is added to the first virtual image, wherein the mark is used to indicate that the first virtual image is currently in the virtual room.
7. The method according to claim 4, characterized in that The virtual room includes a voice interaction control for voice interaction, wherein when a trigger operation for the voice interaction control is received, the first virtual image can perform voice interaction with other virtual images in the virtual room.
8. The method according to claim 4, characterized in that The method further comprises: In response to a trigger operation for a follow mode, switching from the perspective of the first virtual image to the perspective of the creator; In response to the creator's position moving, the position of the first virtual image in the electronic map is controlled to move synchronously with the creator's position.
9. The method according to claim 8, characterized in that The method further comprises: In response to a trigger operation for any position in the electronic map, controlling the first virtual image to exit the following mode, and Switch from the creator's perspective back to the first avatar's perspective.
10. The method according to claim 4, characterized in that The method further comprises: In response to the first virtual image moving to the edge of the virtual room, displaying third prompt information, wherein the third prompt information is used to prompt that the virtual room will be exited when the first virtual image exceeds the range; In response to the first virtual image exiting the virtual room, the electronic map is switched from the zoom-in mode back to the default mode, and the logo corresponding to the virtual room added for the first virtual image is cancelled.
11. The method according to claim 10, characterized in that The third prompt information includes a follow control; The method further comprises: In response to a trigger operation on the follow control, the first virtual image is controlled to enter a follow mode.
12. The method according to claim 1, characterized in that The method further comprises: In response to the first virtual image being selected by a plurality of third virtual images, displaying fourth prompt information, wherein the fourth prompt information is used to prompt whether to create a virtual room; In response to a trigger operation on a creation control in the fourth prompt information, creating a virtual room centered on the first virtual image, and A room identifier corresponding to the virtual room is displayed in the electronic map, wherein the room identifier is used to represent the range of the virtual room.
13. The method according to claim 1, characterized in that The electronic map further includes a plurality of virtual rooms, wherein different virtual rooms have different display modes; The method further comprises: For each of the virtual rooms, displaying a creator logo around the creator of the virtual room; In response to a trigger operation on the creator logo displayed around any one of the creators, the first virtual image is added to the virtual room created by the creator.
14. The method according to claim 1, characterized in that The method further comprises: In response to a zoom-out trigger operation on the electronic map, the electronic map and the virtual image in the electronic map are reduced according to a reduction ratio, wherein when the size of the virtual image is reduced to a size threshold, the virtual image is switched to an avatar.
15. The method according to claim 14, characterized in that The method further comprises: In response to receiving a zoom-out trigger operation for the electronic map again, the sizes of the multiple avatars are kept unchanged, and the electronic map is zoomed out again according to the zoom-out ratio, wherein, when there are multiple virtual images at the same position in the electronic map, the multiple avatars corresponding to the multiple virtual images are switched and displayed.
16. The method according to claim 1, characterized in that The electronic map also includes a virtual image viewing entrance; The method further comprises: In response to a triggering operation on the virtual image viewing entrance, a virtual image list is displayed, wherein the virtual image list includes avatars corresponding to a plurality of virtual images, and a selected control corresponding to each of the virtual images.
17. The method according to claim 1, characterized in that The electronic map also includes a purchase entry; The method further comprises: In response to a trigger operation on the purchase entry, displaying a virtual item selection interface, wherein the virtual item selection interface includes a plurality of virtual vehicles; In response to an acquisition operation for a first virtual vehicle, the first virtual image is controlled to enter the first virtual vehicle, wherein the plurality of virtual vehicles includes the first virtual vehicle.
18. The method according to claim 1, characterized in that The multiple virtual images include the first virtual image, and at least one of the following types of virtual images: a virtual image of a different gender from the first virtual image, a virtual image that is online in real time, and a virtual image that is online most recently.
19. The method according to claim 1, characterized in that Before displaying the electronic map in the human-computer interaction interface, the method further includes: Sending a virtual image acquisition request to a server, wherein the virtual image acquisition request carries location information of the first virtual image; Receive multiple virtual images returned by the server, wherein the distance between the multiple virtual images and the first virtual image is less than a second distance threshold, and the number of the multiple virtual images is determined according to the number of virtual images currently in an online state.
20. The method according to claim 1, characterized in that The electronic map also includes a point of interest model; The method further comprises: Perform one of the following actions: Acquire keywords carried in the information read from the map library, and display interest point models matching the keywords in the electronic map; Search the interest point model whose distance to the first virtual image is less than a third distance threshold from the interest point model table, and display the found interest point model in the electronic map.
21. The method according to claim 1, characterized in that The method further comprises: For the multiple virtual images, the following processing is performed: A texture is used to pre-store the bone array and animation information of each virtual image, and the bone array and animation information are sampled by a vertex shading engine through a graphics processor. The sampling result is re-indexed using a skinning method to obtain a bone matrix, wherein the bone matrix is used to realize animation batching of the multiple virtual images using an instantiated drawing method.
22. A virtual image interactive processing device, characterized in that: The device comprises: A display module, used for displaying an electronic map in a human-computer interaction interface, wherein the electronic map includes a plurality of virtual images; The display module is further configured to display a navigation route between the first virtual image and the second virtual image in the electronic map in response to a selection operation of the first virtual image on the second virtual image, wherein the first virtual image is a virtual image controllable through the human-computer interaction interface; The control module is used to control the first virtual image to move along the navigation route toward the second virtual image, wherein when the distance between the first virtual image and the second virtual image is less than a first distance threshold, the first virtual image can interact with the second virtual image.
23. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor is used to implement the interactive processing method of the virtual image described in any one of claims 1 to 21 when executing the executable instructions stored in the memory.
24. A computer-readable storage medium storing computer-executable instructions, characterized in that: When the computer executable instructions are executed by a processor, the interactive processing method of the virtual image described in any one of claims 1 to 21 is implemented.
25. A computer program product comprising a computer program or computer executable instructions, characterized in that: When the computer program or computer executable instructions are executed by a processor, the interactive processing method of the virtual image described in any one of claims 1 to 21 is implemented.
Citation Information
Cited By
Automatic regulation and control method of box equipment based on virtual digital human, medium and equipment
CN120595966A