CN112090066B - Scene display method and device based on virtual interactive application - Google Patents
Scene display method and device based on virtual interactive application Download PDFInfo
- Publication number
- CN112090066B CN112090066B CN202010947056.3A CN202010947056A CN112090066B CN 112090066 B CN112090066 B CN 112090066B CN 202010947056 A CN202010947056 A CN 202010947056A CN 112090066 B CN112090066 B CN 112090066B
- Authority
- CN
- China
- Prior art keywords
- scene
- service
- virtual
- server
- belonging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/33—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application relates to a scene display method and device based on virtual interactive application, wherein the method comprises the following steps: displaying a main page provided by the virtual interactive application, and acquiring an interactive instruction through the main page; responding to an interaction instruction, and entering a virtual interaction scene belonging to a first service category, wherein the first service category is one of a single service category and a full service category; when a service class switching instruction occurs, switching a virtual interactive scene belonging to a first service class to a virtual interactive scene belonging to a second service class for displaying, wherein the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the virtual interaction scene of the full service type supports interaction of all virtual objects, and the virtual interaction scene of the single service type supports interaction of part of all virtual objects. The scheme provided by the application can enrich the interaction mode of the virtual object.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a scene display method and apparatus based on virtual interactive application.
Background
In the virtual interactive application, a user connects a background server through an application client to perform virtual interaction, however, in the current virtual interactive application, a partition and service architecture is adopted for setting and operating, a network operator or a platform is generally used for partitioning large areas, each large area comprises a plurality of specific area groups, one area group generally comprises one or more servers, and the user can select one area group of a certain large area to log in the virtual interactive application.
At present, when a user logs in a virtual interaction application, an application client can only display a virtual interaction scene corresponding to the local area group through scene data stored in a server corresponding to the local area group, but cannot display virtual interaction scenes of other area groups, so that a virtual object corresponding to a currently logged-in user account can only interact with other virtual objects in the local area group, but cannot interact with virtual objects in other area groups, and thus, the interaction mode of the virtual object is greatly limited.
Disclosure of Invention
Therefore, it is necessary to provide a scene display method, device, computer equipment and storage medium based on virtual interactive application, which can enrich the interactive mode of the virtual object, in order to solve the above technical problems.
A scene display method based on virtual interactive application comprises the following steps:
displaying a main page provided by a virtual interactive application, and acquiring an interactive instruction through the main page;
responding to the interaction instruction, and entering a virtual interaction scene belonging to a first service class, wherein the first service class is one of a single service class and a full service class;
when a service class switching instruction occurs, switching the virtual interaction scene belonging to the first service class to a virtual interaction scene belonging to a second service class for displaying, wherein the second service class is one of a single service class and a full service class, and is different from the first service class;
the full service type virtual interactive scene supports all virtual objects to interact, and the single service type virtual interactive scene supports part of the virtual objects to interact.
A scene presentation apparatus based on a virtual interactive application, the apparatus comprising:
the main page display module is used for displaying a main page provided by the virtual interactive application and acquiring an interactive instruction through the main page;
the interactive instruction response module is used for responding to the interactive instruction and entering a virtual interactive scene belonging to a first service class, wherein the first service class is one of a single service class and a full service class;
and the switching instruction response module is used for switching the virtual interaction scene belonging to the first service class to a virtual interaction scene belonging to a second service class for displaying when a service class switching instruction occurs, wherein the second service class is one of a single service class and a full service class, and the second service class is different from the first service class, the full service class of the virtual interaction scene supports all virtual objects to interact, and the single service class of the virtual interaction scene supports part of the virtual objects to interact.
In one embodiment, the interactive instruction response module is further configured to display a delivery map in response to the interactive instruction; the transfer map comprises at least one transfer location; determining a target delivery location selected from the at least one delivery location; and entering a virtual interaction scene which corresponds to the target transmission position and belongs to a first service category, wherein a virtual object corresponding to the currently logged-in user account is displayed in the virtual interaction scene belonging to the first service category.
In one embodiment, the interactive instruction response module is further configured to determine a target group to which a currently logged-in user account belongs when determining, based on the interactive instruction, to enter a virtual interactive scene belonging to a single service category; and entering a virtual interaction scene which corresponds to the target group and belongs to the single service category, wherein the entered virtual interaction scene supports the interaction of virtual objects which respectively correspond to the user accounts belonging to the target group.
In one embodiment, the interactive instruction response module is further configured to determine a first target server from the first server cluster, and establish a first communication link with the first target server; pulling first scene data belonging to a first service category from the first target server through the first communication link, and displaying a corresponding first virtual interaction scene based on the first scene data;
in one embodiment, the switching instruction response module is further configured to, when a service class switching instruction occurs, disconnect the first communication link and establish a second communication link with a second target server in a second server cluster; and pulling second scene data belonging to a second service class from the second target server through the second communication link, and displaying a corresponding second virtual interaction scene based on the second scene data.
A terminal comprising a memory and a processor, the memory storing a computer program, the processor when executing the computer program implementing the steps of:
displaying a main page provided by a virtual interactive application, and acquiring an interactive instruction through the main page;
responding to the interaction instruction, and entering a virtual interaction scene belonging to a first service class, wherein the first service class is one of a single service class and a full service class;
when a service class switching instruction occurs, switching the virtual interaction scene belonging to the first service class to a virtual interaction scene belonging to a second service class for displaying, wherein the second service class is one of a single service class and a full service class, and is different from the first service class;
the full service type virtual interactive scene supports all virtual objects to interact, and the single service type virtual interactive scene supports part of the virtual objects to interact.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
displaying a main page provided by a virtual interactive application, and acquiring an interactive instruction through the main page;
responding to the interaction instruction, and entering a virtual interaction scene belonging to a first service class, wherein the first service class is one of a single service class and a full service class;
when a service class switching instruction occurs, switching the virtual interaction scene belonging to the first service class to a virtual interaction scene belonging to a second service class for displaying, wherein the second service class is one of a single service class and a full service class, and is different from the first service class;
the full service type virtual interactive scene supports all virtual objects to interact, and the single service type virtual interactive scene supports part of the virtual objects to interact.
The scene display method, the scene display device, the terminal and the storage medium based on the virtual interactive application display the main page provided by the virtual interactive application and acquire the interactive instruction based on the main page. By obtaining the interactive instruction, the virtual interactive scene belonging to the first service class can be entered in response to the interactive instruction, so that the virtual interactive scene belonging to the first service class can be switched to the virtual interactive scene belonging to the second service class when the service class switching instruction is received. Because the virtual interactive scenes belonging to different service classes can be freely switched, the virtual interactive scenes of the full service class support all the virtual objects to interact, and the virtual interactive scenes of the single service class support part of the virtual objects to interact, compared with the traditional method that part of the virtual objects only interact with the preset part of the virtual objects, the method greatly enriches the interaction modes of the virtual objects.
A scene display method based on virtual interactive application, the method comprises the following steps:
receiving an interactive instruction triggered by a virtual interactive application running in a user terminal;
feeding back first scene data belonging to a first service class to the user terminal according to the interactive instruction; the fed back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data, and the first service category is one of a single service category and a full service category;
when a service class switching instruction is received, feeding back second scene data belonging to a second service class to the user terminal, wherein the fed-back second scene data is used for indicating the user terminal to switch to a virtual interaction scene belonging to the second service class for displaying based on the second scene data;
the second service class is one of a single service class and a full service class, the second service class is different from the first service class, the full service class of virtual interaction scenes supports interaction of all virtual objects, and the single service class of virtual interaction scenes supports interaction of part of the virtual objects.
A scene presentation apparatus based on a virtual interactive application, the apparatus comprising:
the interactive instruction receiving module is used for receiving an interactive instruction triggered by a virtual interactive application running in the user terminal;
the feedback module is used for feeding back first scene data belonging to a first service class to the user terminal according to the interactive instruction; the fed back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data, and the first service category is one of a single service category and a full service category;
the switching instruction receiving module is configured to feed back second scene data belonging to a second service category to the user terminal when receiving a service category switching instruction, where the fed-back second scene data is used to instruct the user terminal to switch to a virtual interaction scene belonging to the second service category for display based on the second scene data, the second service category is one of a single service category and a full service category, the second service category is different from the first service category, the full service category of the virtual interaction scene supports all virtual objects to interact, and the single service category of the virtual interaction scene supports a part of the virtual objects to interact.
In one embodiment, when the interactive instruction is an instruction for entering a virtual interactive scene belonging to a single service category, the interactive instruction carries a target group identifier, and the interactive instruction is received by a first target server corresponding to the target group identifier in a first server cluster; the feedback module also comprises a first communication link establishing module which is used for establishing a first communication link with the user terminal through the first target server; and the first target server sends the first scene data belonging to the single service category to the user terminal through the first communication link.
In one embodiment, the first target server comprises a first scenario management process and at least one first scenario process; the interactive instruction carries a first scene identifier; the first communication link establishing module is further used for the first scene management process to determine a first target scene process stored with corresponding first scene data based on the first scene identification; and triggering the first target scene process to send the first scene data corresponding to the first scene identifier to the user terminal through the first communication link.
In one embodiment, a first target server includes a first scenario management process and at least one first scenario process; the feedback module further comprises a first creation module, configured to obtain, by the first scene management process in the first target server, first state information of each first scene process when the first target server receives a single service scene creation instruction; determining, by the first scene management process, a first power of each first scene process to create a virtual interactive scene belonging to a single service category according to the first state information; and determining a first scene process with the first success rate meeting a first preset condition through the first scene management process, and creating a virtual interactive scene belonging to the single service category based on the first scene process with the first success rate meeting the first preset condition.
In an embodiment, when the second service class is a full service class, the service class switching instruction carries a second scene identifier; the switching instruction receiving module further comprises a second scene data feedback module, which is used for screening out a second target server from second service servers in a second server cluster based on a second scene identifier in a service class switching instruction when the full service management server in the second server cluster receives the service class switching instruction, wherein the screened out second target server stores second scene data matched with the second scene identifier; and sending the second scene data to the user terminal through the second target server.
In one embodiment, the full service management server comprises a full service management process; the second scene data feedback module is further configured to, when a full service management server in a second server cluster receives a service class switching instruction, screen a second target server storing second scene data corresponding to the second scene identifier from the second service server through a full service management process in the full service management server; and sending the second scene data to the user terminal through the second target server.
In one embodiment, the switching instruction receiving module is further configured to determine a first target server to which the user terminal is currently connected, and send the device identifier of the second target server to the first target server through the full service management process; disconnecting the connection through a first scene management process in the first target server, and triggering to establish a second communication link between the user terminal and the second target server based on the equipment identifier; and the second target server sends the second scene data to the user terminal through the second communication link.
In one embodiment, the full service management server comprises a full service management process; the switching instruction receiving module further comprises a second creating module, and the full service management process is used for acquiring second state information reported by each second service server when the full service management server receives a full service scene creating instruction; determining, by the full service management process, second power generation rates at which the second service servers create virtual interactive scenes belonging to the full service category according to the second state information; and determining a second service server with second power generation meeting a second preset condition through the full service management process, and creating a virtual interactive scene belonging to the full service category based on the second service server with the second power generation meeting the second preset condition.
In one embodiment, the scene display device based on the virtual interactive application is further configured to obtain, through the full service management process, second state information reported by each second service server; determining the load rate of each second service server through the full service management process based on the second state information, and determining whether capacity expansion operation is needed or not based on the load rate; and when the capacity expansion operation is required, executing the capacity expansion operation through the full service management process.
A server comprising a memory and a processor, the memory storing a computer program that when executed by the processor performs the steps of:
feeding back first scene data belonging to a first service category to the user terminal according to the interaction instruction, wherein the fed-back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data, and the first service category is one of a single service category and a full service category;
when a service class switching instruction is received, feeding back second scene data belonging to a second service class to the user terminal, wherein the fed-back second scene data is used for indicating the user terminal to switch to a virtual interaction scene belonging to the second service class for displaying based on the second scene data;
the second service class is one of a single service class and a full service class, the second service class is different from the first service class, the full service class of virtual interaction scenes supports interaction of all virtual objects, and the single service class of virtual interaction scenes supports interaction of part of the virtual objects.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
feeding back first scene data belonging to a first service category to the user terminal according to the interaction instruction, wherein the fed-back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data, and the first service category is one of a single service category and a full service category;
when a service class switching instruction is received, feeding back second scene data belonging to a second service class to the user terminal, wherein the fed-back second scene data is used for indicating the user terminal to switch to a virtual interaction scene belonging to the second service class for displaying based on the second scene data;
the second service class is one of a single service class and a full service class, the second service class is different from the first service class, the full service class of virtual interaction scenes supports interaction of all virtual objects, and the single service class of virtual interaction scenes supports interaction of part of the virtual objects.
According to the scene display method, the scene display device, the server and the storage medium based on the virtual interactive application, when the interactive instruction is received, the first scene data belonging to the first service class can be obtained through the interactive instruction, and the first scene data is fed back to the user terminal, so that the user terminal can display the corresponding virtual interactive scene according to the first scene data; when a service class switching instruction is received, second scene data belonging to a second service class can be obtained through the service class switching instruction, and the second scene data is fed back to the user terminal, so that the user terminal can switch from a virtual interactive scene belonging to a first service class to a virtual interactive scene belonging to a second service class based on the second scene data, thus, free switching among virtual interactive scenes belonging to different service classes is realized, and switching modes of scene switching are greatly enriched.
Drawings
FIG. 1 is a diagram of an application environment in which a method for scene presentation of a virtual interactive application is implemented in one embodiment;
FIG. 2 is a flowchart illustrating a scene display method of a virtual interactive application according to an embodiment;
FIG. 3A is a schematic interface diagram of a virtual interaction scenario in the full service category in one embodiment;
FIG. 3B is a schematic diagram of an interface of a virtual interaction scenario belonging to the singleton class in one embodiment;
FIG. 4 is a schematic diagram of an interface for transferring a schematic diagram of a map in one embodiment;
FIG. 5 is a flowchart illustrating a scene display method of a virtual interactive application according to another embodiment;
FIG. 6 is a diagram illustrating a connection relationship between a first server cluster and a second server cluster, according to an embodiment;
FIG. 7 is a flowchart illustrating a method for displaying a scene of a virtual interactive application in an exemplary embodiment;
FIG. 8 is a flowchart illustrating a scene display method for a virtual interactive application in accordance with another embodiment;
FIG. 9 is a flowchart illustrating a scene display method for a virtual interactive application according to yet another embodiment;
FIG. 10 is a flowchart illustrating a scene display method for a virtual interactive application according to yet another embodiment;
FIG. 11 is a block diagram of a scene presentation apparatus in a virtual interactive application in one embodiment;
FIG. 12 is a block diagram showing a scene showing apparatus for a virtual interactive application according to another embodiment;
FIG. 13 is a block diagram showing a scene showing apparatus for a virtual interactive application in still another embodiment;
FIG. 14 is a block diagram showing a configuration of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram of an application environment of a scene display method based on a virtual interactive application in an embodiment. Referring to fig. 1, the scene display method based on the virtual interactive application is applied to a scene display system based on the virtual interactive application. The scene display system based on the virtual interactive application comprises a user terminal 102, a first server cluster 104 and a second server cluster 106. The user terminal 102, the first server cluster 104 and the second server cluster 106 are connected via a network. A virtual interactive application runs in the user terminal 102, based on which the virtual interactive application can pull first scene data from the first server cluster 104 and display a virtual interactive scene belonging to a first service category according to the first scene data; second scenario data is pulled from the second server cluster 106, and based on the second scenario data, the virtual interactive scenario belonging to the first service category is switched to the virtual interactive scenario belonging to the second service category.
The first server cluster 104 and the second server cluster 106 may be independent physical servers, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and big data and artificial intelligence platforms. The user terminal 102 may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
It should be understood that the terms "first," "second," and the like, as used in this disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The singular forms "a," "an," or "the" and similar referents do not denote a limitation of quantity, but rather denote the presence of at least one, unless the context clearly dictates otherwise.
As shown in fig. 2, in one embodiment, a scene showing method based on a virtual interactive application is provided. The embodiment is mainly illustrated by applying the method to the user terminal 102 in fig. 1. Referring to fig. 2, the scene display method based on the virtual interactive application specifically includes the following steps:
step S202, displaying a main page provided by the virtual interactive application, and acquiring an interactive instruction through the main page.
Here, the virtual interactive application is a coded instruction sequence that is executed by an information processing device such as a computer to realize virtual interaction. The virtual interactive application may be a massively Multiplayer Online Role-Playing Game application (MMORPG), a map-based Game application, or the like.
Specifically, when the starting operation of the virtual interactive application is detected, the user terminal starts the virtual interactive application and displays a main page through the virtual interactive application, so that the user can interact with the virtual interactive scene through the displayed main page. The main page is a selection page used for selecting to enter a virtual interaction scene belonging to a first service category or enter a virtual interaction scene belonging to a second service category, the main page can comprise a first service category selection control and a second service category selection control, and when the selection control is determined to be triggered by a user, the user terminal generates a corresponding interaction instruction based on the triggering operation of the user.
Wherein, the first service category is one of a single service category and a full service category; the second service class is one of a single service class and a full service class, and the second service class is different from the first service class. The single service type is a type supporting interaction of part of all virtual objects; the full service category is a category supporting interaction of all virtual objects. The virtual object is a digital object that is movable in the virtual interactive scene. The digital object may be a virtual avatar representing the user, and the avatar may be an avatar controlled by the user through the application client.
In one embodiment, the manner of starting the virtual interactive application may be various, for example, the client may determine to trigger the virtual interactive application starting operation by detecting that the user clicks an application icon in the screen; or determining to trigger the starting operation of the virtual interactive application by recognizing the voice information of the user; or by detecting the gesture of the user, when the gesture matches the preset gesture, the start operation of the virtual interactive application is determined to be triggered, which is not limited to this.
Step S204, responding to the interactive instruction, and entering a virtual interactive scene belonging to a first service class, wherein the first service class is one of a single service class and a full service class.
Wherein the virtual interactive scene is a picture displayed when the virtual interactive application runs. The virtual interactive scene can be a simulation environment of a real world, a semi-simulation semi-fictional virtual environment or a pure fictional virtual environment. The virtual interaction scene may be any one of a two-dimensional virtual interaction scene, a 2.5-dimensional virtual interaction scene, and a three-dimensional virtual interaction scene, which is not limited in the present application. For example, a virtual interactive scene may include the sky, the land, or buildings, etc., in which a user may control a virtual object to move or perform an interactive action.
Specifically, the user terminal responds to the interaction instruction, pulls scene data from a background server corresponding to the virtual interaction application, and renders and displays the virtual interaction scene based on the scene data. It is easy to understand that when the interaction instruction points to enter the first virtual interaction scene belonging to the single service category, the user terminal pulls the first scene data belonging to the single service category from the background server corresponding to the virtual interaction application, and displays the first virtual interaction scene based on the first scene data, where the first virtual interaction scene only supports some virtual objects in all virtual objects for interaction, for example, only supports the virtual objects corresponding to the user accounts belonging to the same regional group for interaction, but not supports the interaction between the virtual objects corresponding to the user accounts belonging to different regional groups. When the interaction instruction points to enter a second virtual interaction scene belonging to the full service category, the user terminal pulls second scene data belonging to the full service category from the server, and displays the second virtual interaction scene based on the second scene data, wherein the second virtual interaction scene supports interaction of all virtual objects, such as interaction between virtual objects corresponding to user accounts belonging to different regional groups. The regional groups are opened up based on the framework setting of the regional service, and a user can select one of the regional groups to log in for playing the game. For example, in a massively multiplayer online role playing game, a network operator or a platform can be used to divide large areas, each large area comprises a plurality of specific area groups, the area groups are not interfered with each other, but the game content and the game strategy are strictly consistent, so that the purposes of shunting players and reducing the server load are achieved. All the virtual objects refer to virtual objects corresponding to all user accounts for registering the virtual interactive application.
In one embodiment, generally, a virtual interactive scene may include a plurality of virtual interactive regions, and when a virtual object enters a first virtual interactive scene of a full service category, the virtual object may not be directly observed and interacted with each other due to different entering virtual scene regions and the like, but may be indirectly interacted with each other through text transmission and the like.
In one embodiment, generally, a plurality of virtual interaction scenarios are set in the virtual interaction application, and accordingly, the virtual object needs to be transferred between different virtual interaction scenarios. For example, in a multi-map game, after completing a task in a current map, a virtual object enters a next map to continue to complete a new game task, and at this time, the virtual object may be transferred from a virtual interaction scene of a previous single-service category to a virtual interaction scene of a next single-service category, or from a virtual interaction scene of a previous full-service category to a virtual interaction scene of a next full-service category. The present embodiment is not limited thereto.
Step S206, when a service class switching instruction occurs, switching the virtual interactive scene belonging to the first service class to the virtual interactive scene belonging to the second service class for displaying, wherein the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the virtual interaction scene of the full service type supports interaction of all virtual objects, and the virtual interaction scene of the single service type supports interaction of part of all virtual objects.
Specifically, when a user desires to enter a virtual interaction scenario belonging to a first service category into a virtual interaction scenario belonging to a second service category, the user may trigger a service category switching operation, for example, click a service category switching control, so that the user terminal generates a service category switching instruction based on the user trigger operation. When a service class switching instruction is generated, the user terminal pulls second scene data of the virtual interaction scene belonging to the second service class from the background server corresponding to the virtual interaction application, and switches from the virtual interaction scene belonging to the first service class to the virtual interaction scene belonging to the second service class for display based on the second scene data.
It is easy to understand that when the virtual object controlled by the currently logged-in user is in the first virtual interaction scene belonging to the single service category, the user may transfer the virtual object from the first virtual interaction scene belonging to the single service category to the second virtual interaction scene belonging to the full service category based on the service category switching instruction, so that the virtual object controlled by the user supports interaction with the virtual objects corresponding to all user accounts registered for the virtual interaction application. Correspondingly, when the virtual object controlled by the currently logged-in user is in the second virtual interaction scene belonging to the full service category, the user can transfer the virtual object from the second virtual interaction scene belonging to the full service category to the first virtual interaction scene belonging to the single service category based on the service category switching instruction, so that the virtual object controlled by the user can interact with the virtual object corresponding to the part of the user account number registered for the virtual interaction application.
In one embodiment, the service category switching may be triggered in a variety of manners, for example, referring to fig. 3, a user may switch from a second virtual interactive scenario belonging to the full service category to a second virtual interactive scenario belonging to the single service category by clicking a "return single service" control shown in fig. 3A displayed in the second virtual interactive scenario of the full service category. The first virtual interactive scene belonging to the single service category can be switched to the second virtual interactive scene belonging to the full service category by clicking a "return full service" control shown in fig. 3B displayed in the first virtual interactive scene belonging to the single service category. And returning to the main page through a 'return main page control' displayed in the virtual interactive scene, and reselecting the entered virtual interactive scene through the main page. The present embodiment is not limited thereto. FIG. 3A illustrates an interface diagram of a virtual interaction scenario belonging to the full-service category, in one embodiment; FIG. 3B illustrates an interface diagram of a virtual interaction scenario belonging to the single serve category, in one embodiment.
In one embodiment, when the user terminal receives a service class switching instruction, the user terminal obtains object data of a virtual object corresponding to a currently logged-in user account, and sends the object data to a corresponding background server, so that the background server creates the corresponding virtual object according to the received object data, and writes the virtual object into second scene data belonging to a second service class, and therefore a second virtual interactive scene displayed by the terminal based on the second scene data includes the virtual object corresponding to the currently logged-in user account. The object data may be object identification, object attribute data (such as object name, object class, object occupation, object equipment, etc.).
According to the scene display method based on the virtual interactive application, the main page provided by the virtual interactive application is displayed, and the interactive instruction is obtained based on the main page. By obtaining the interactive instruction, the virtual interactive scene belonging to the first service class can be entered in response to the interactive instruction, so that the virtual interactive scene belonging to the first service class can be switched to the virtual interactive scene belonging to the second service class when the service class switching instruction is received. Because the virtual interactive scenes belonging to different service classes can be freely switched, the virtual interactive scenes of the full service class support all the virtual objects to interact, and the virtual interactive scenes of the single service class support part of the virtual objects to interact, compared with the traditional method that part of the virtual objects only interact with the preset part of the virtual objects, the method greatly enriches the interaction modes of the virtual objects.
In one embodiment, entering a virtual interaction scenario belonging to a first service class in response to the interaction instruction comprises: responding to the interactive instruction, and showing a transmission map, wherein the transmission map comprises at least one transmission position; determining a target transfer location selected from the at least one transfer location; and entering a virtual interaction scene which corresponds to the target transmission position and belongs to the first service class, wherein a virtual object corresponding to the currently logged user account is displayed in the virtual interaction scene belonging to the first service class.
Specifically, when receiving the interactive instruction, the user terminal may correspondingly display a transmission map for selecting the virtual interactive scene, so that the user may determine, through the displayed transmission map, the virtual interactive field scene belonging to the first service category that needs to enter, that is, select a target transmission location where the virtual object needs to be transmitted. For example, the virtual interactive scene corresponding to the transmission position a may be a city a, and the virtual interactive scene corresponding to the transmission position B may be a city B. When a user determines a target transmission position, a terminal acquires object data of a virtual object corresponding to a current login user account and scene data corresponding to the target transmission position, displays a virtual interaction scene which corresponds to the target transmission position and belongs to a first service class based on the scene data, and displays the virtual object corresponding to the current login user account in the virtual interaction scene based on the object data.
For example, referring to fig. 4, the user terminal responds to the interactive instruction and displays the transmission map shown in fig. 4, so that the user can determine that the target transmission position to be transmitted is a city a based on the displayed transmission map, and then the user terminal enters a virtual interactive scene corresponding to the city a and belonging to the first service category. FIG. 4 shows a schematic diagram of an interface for transferring a map, in one embodiment. It is easy to understand that when the first service category is the single service category, the user can transmit the virtual object corresponding to the currently logged user account to each virtual interaction scene belonging to the single service category through a plurality of transmission positions in the transmission map; when the first service category is the full service category, the user can transmit the virtual object corresponding to the currently logged-in user account to each virtual interaction scene belonging to the full service category through a plurality of transmission positions in the transmission map.
In this embodiment, the transmission map is correspondingly displayed, and the virtual object can be transmitted to each virtual interactive scene based on the transmission map, so that convenience in switching the virtual interactive scenes is improved, and interactivity of virtual interactive application is improved.
In one embodiment, entering a virtual interaction scenario belonging to a first service class in response to the interaction instruction comprises: when the virtual interaction scene belonging to the single service category is determined to enter based on the interaction instruction, determining a target group to which a currently logged user account belongs; entering a virtual interaction scene which corresponds to the target group and belongs to the single service category; the entered virtual interaction scene supports virtual object interaction corresponding to the user accounts belonging to the target group; when a service class switching instruction occurs, switching from a virtual interaction scene belonging to a first service class to a virtual interaction scene belonging to a second service class for display, wherein the method comprises the following steps: and when a service class switching instruction occurs, switching the virtual interactive scene corresponding to the target group and belonging to the single service class to the virtual interactive scene belonging to the full service class for displaying.
Specifically, when determining to enter a virtual interaction scene belonging to a single service category based on the interaction instruction, for example, when determining that the user clicks a single service control, the terminal may correspondingly display the control identifier of each area group, so that the user may determine the target group to be entered through the control identifier of each area group. The terminal acquires first scene data corresponding to the target group, and displays a first virtual interaction scene which corresponds to the target group and belongs to the single service category through the first scene data. When a service class switching instruction is received, the terminal acquires second scene data belonging to a second service class, and switches a first virtual interactive scene belonging to the first service class to a second virtual interactive scene belonging to the second service class for display through the second scene data.
In one embodiment, the control identifier of each region group can be displayed through a region group display page, and specifically, the control identifier can be displayed in a list form or a tiled icon form. The displayed area group display page may also display the target group selected by the user last time in a different manner, for example, highlight the target group selected by the user last time.
In one embodiment, a user may set a default target group, so that the terminal enters a corresponding virtual interaction scenario based on the default target group when receiving the interaction instruction.
In one embodiment, the terminal may also directly divide the user account registered with the virtual interactive application according to preset dividing conditions, so as to determine the area group corresponding to each user account. The preset dividing conditions can be freely set according to requirements, for example, the user accounts are divided according to the geographic positions of the user accounts, so that the user accounts belonging to the same geographic position are divided into an area group.
In the embodiment, the user accounts are dispersed to different regional groups, so that the load of the server can be greatly reduced, and the probability of the server breakdown due to overweight load is reduced; by responding to the service class switching instruction, the first virtual interaction scene belonging to the single service class can be switched to the second virtual interaction scene belonging to the full service class for displaying, so that the display mode of the virtual interaction scene is greatly enriched, and the user experience is further improved.
In one embodiment, entering a virtual interaction scenario belonging to a first service class in response to the interaction instruction comprises: determining a first target server from the first server cluster, and establishing a first communication link with the first target server; pulling first scene data belonging to a first service category from a first target server through a first communication link, and displaying a corresponding first virtual interaction scene based on the first scene data; when a service class switching instruction occurs, switching from a virtual interaction scene belonging to a first service class to a virtual interaction scene belonging to a second service class for display, wherein the method comprises the following steps: when a service type switching instruction occurs, disconnecting the first communication link and establishing a second communication link between the first communication link and a second target server in a second server cluster; and pulling second scene data belonging to a second service class from a second target server through a second communication link, and displaying a corresponding second virtual interaction scene based on the second scene data.
The first server cluster is a background server cluster which stores scene data of the virtual interaction scene belonging to the first service class and bears the operation logic of the virtual interaction scene belonging to the first service class; correspondingly, the second server cluster is a background server cluster storing scene data of the virtual interactive scene belonging to the second service class, and carries an operation logic of the virtual interactive scene belonging to the second service class.
Specifically, when the user terminal receives the interaction instruction, the user terminal determines a first target server from the first server cluster, establishes a first communication link with the first target server, and acquires first scene data belonging to a first service category based on the first communication link, so that a corresponding first virtual interaction scene is displayed through the first scene data. When receiving a service type switching instruction, the user terminal determines a second target server from the second server cluster, disconnects a first communication link with the first target server, establishes a second communication link with the second target server, pulls second scene data belonging to a second service type based on the second communication link, and switches from the first virtual interactive scene to a second virtual interactive scene for display through the second scene data.
In this embodiment, since the virtual interactive scenes of the single service category and the virtual interactive scenes of the full service category each have a corresponding server cluster, the terminal may pull scene data of different service categories from different server clusters, so that the virtual interactive scenes belonging to different service categories may be displayed based on different scene data.
In one embodiment, when the first service category is a single service category, the first server cluster includes a plurality of first service servers, and each first service server corresponds to a different area group, wherein a virtual interaction scene rendered based on first scene data in the first service server of the corresponding area group supports virtual object interaction corresponding to a user account belonging to the corresponding area group; when the second service type is the full service type, the second server cluster comprises a plurality of second service servers and a full service management server, and the full service management server is used for managing the plurality of second service servers so as to screen out a second target server from the plurality of second service servers.
Specifically, when the first service category is a single service category, the first server cluster corresponding to the first service category includes a plurality of first service servers, each of the first service servers corresponds to a different area group, and first scene data belonging to the corresponding area group and belonging to the single service category is stored on the first service server cluster. When the user terminal determines to enter a first virtual interaction scene which belongs to a target group and belongs to a single service category based on the interaction instruction, the user terminal inquires a first target service server which stores first scene data of the first virtual interaction scene, establishes a first communication link with the first target service server, and pulls the first scene data through the first communication link, so that the first scene data obtained through pulling enters the first virtual interaction scene which belongs to the target group and belongs to the single service category, and the first virtual interaction scene supports interaction with a virtual object corresponding to a user account which belongs to the target group.
And when the second service class is the full service class, the second server cluster corresponding to the second service class comprises a plurality of second service servers and a full service management server, wherein the full service management server is used for managing the plurality of second service servers. When the terminal receives a service class switching instruction containing a scene identifier of a virtual interactive scene belonging to a full service class, the terminal inquires a second target service server storing second scene data corresponding to the scene identifier, disconnects a first communication link, establishes a second communication link with the second target service server, and pulls the second scene data through the second communication link, so that the second scene data obtained through pulling is switched to a second virtual interactive scene corresponding to the scene identifier and belonging to the full service class, and the second virtual interactive scene supports interaction of virtual objects corresponding to all user accounts at the moment. The scene identification is a label which uniquely identifies one virtual interactive scene.
It is easy to understand that, when the first service category is a full service category and the second service category is a single service category, the first server corresponding to the first service category may include a plurality of first service servers and a full service management server, where the full service management server is used for managing the plurality of first service servers; the second server corresponding to the second service type comprises a plurality of second service servers, and each second service server corresponds to a different area group. Similarly, when the first service category is a single service category and the second service category is a full service category, the first server corresponding to the first service category includes a plurality of first service servers, and each first service server corresponds to a different area group; the second server corresponding to the second service category may include a plurality of second service servers and a full service management server, where the full service management server is configured to manage the plurality of second service servers.
In the embodiment, in the single-service category, by setting a plurality of service servers, different service servers can bear object data and scene data belonging to different regional groups, so that the purpose of reducing the load rate of a single server is achieved; in the full service category, by setting the full service management server, the service servers can be uniformly managed based on the full service management server, so that the determination efficiency of determining a target service server can be improved, and the entering efficiency of entering a virtual interaction scene belonging to the full service category is improved.
The application also provides a scene display method based on virtual interactive application, which is described by taking an application to a server as an example, wherein as shown in fig. 5, the scene display method based on virtual interactive application includes:
step S502, receiving an interactive instruction triggered by a virtual interactive application running in a user terminal.
Step S504, first scene data belonging to a first service category is fed back to the user terminal according to the interaction instruction, the fed back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data, and the first service category is one of a single service category and a full service category.
Specifically, when a user enters the virtual interactive application and triggers the interactive control, the user terminal generates an interactive instruction according to the triggering operation of the user and sends the interactive instruction to the background server of the virtual interactive application, so that the background server returns the first scene data belonging to the first service class to the user terminal, and the user terminal can display the corresponding virtual interactive scene according to the first scene data. Wherein, the first service category is one of a single service category and a full service category.
Step S506, when a service class switching instruction is received, feeding back second scene data belonging to a second service class to the user terminal, wherein the fed-back second scene data is used for indicating the user terminal to switch to a virtual interactive scene belonging to the second service class for displaying based on the second scene data; the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the full-service type virtual interaction scene supports all virtual objects to interact, and the single-service type virtual interaction scene supports part of all virtual objects to interact.
Specifically, when a user desires to switch the service class of the virtual interaction scene and trigger the service class switching control, the terminal generates a service class switching instruction according to the triggering operation of the user, and sends the service class switching instruction to the background server of the virtual interaction application, so that the background server obtains second scene data belonging to a second service class according to the service class switching instruction, and returns the second scene data to the user terminal, and therefore the user terminal can switch from the virtual interaction scene belonging to the first service class to the virtual interaction scene belonging to the second service class for display based on the second scene data. Wherein the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the full-service type virtual interaction scene supports all virtual objects to interact, and the single-service type virtual interaction scene supports part of all virtual objects to interact.
According to the scene display method based on the virtual interactive application, when an interactive instruction is received, first scene data belonging to a first service class can be obtained through the interactive instruction, and the first scene data is fed back to the user terminal, so that the user terminal can display a corresponding virtual interactive scene according to the first scene data; when a service class switching instruction is received, second scene data belonging to a second service class can be obtained through the service class switching instruction, and the second scene data is fed back to the user terminal, so that the user terminal can switch from a virtual interactive scene belonging to a first service class to a virtual interactive scene belonging to a second service class based on the second scene data, thus, free switching among virtual interactive scenes belonging to different service classes is realized, and switching modes of scene switching are greatly enriched.
In addition, the full-service type virtual interaction scene supports all virtual objects to interact, and the single-service type virtual interaction scene supports part of all virtual objects to interact.
In one embodiment, when the interactive instruction is an instruction for entering a virtual interactive scene belonging to a single-service category, the interactive instruction carries a target group identifier, and the interactive instruction is received by a first target server corresponding to the target group identifier in a first server cluster; according to the interactive instruction, feeding back first scene data belonging to a first service class to the user terminal, comprising: establishing a first communication link with a user terminal through a first target server; the first target server sends the first scene data belonging to the single service category to the user terminal through a first communication link.
The background server of the virtual interactive application comprises a first server cluster, and when the first server cluster is the background server cluster which stores scene data of virtual interactive scenes belonging to a single-server type and bears the operation logic of the virtual interactive scenes of the single-server type, the first server cluster comprises first service servers corresponding to all regional groups respectively.
Specifically, when the user terminal determines a target group to which the current login account belongs, the terminal acquires a target group identifier of the target group, generates an interaction instruction according to the target group identifier, sends the interaction instruction to a first server cluster, and receives the interaction instruction by a first service server corresponding to the target group identifier in the first server cluster. For convenience of description, the first service server corresponding to the target group identity will be referred to as a first target server hereinafter. The first target server establishes a first communication link with the user terminal according to the interactive instruction, and feeds back first scene data belonging to the single service category to the user terminal through the first communication link. The fed back first scene data is used for indicating the user terminal to display the corresponding virtual interaction scene.
In this embodiment, by constructing the first service servers corresponding to the respective regional groups, different first service servers only need to respond to the instruction sent by the user terminal corresponding to the regional group, thereby achieving the purpose of reducing the load rate of a single first service server; by establishing the first communication link, the first scene data belonging to the single service category can be quickly returned to the user terminal through the first communication link, so that the display efficiency of virtual scene display is improved.
In one embodiment, a first target server includes a first scenario management process and at least one first scenario process; the scene display method based on the virtual interactive application further comprises the steps of creating a virtual interactive scene belonging to a single service type; the step of creating the virtual interactive scene belonging to the single service type comprises the following steps: when a first target server receives a single service scene creating instruction, acquiring first state information of each first scene process through a first scene management process in the first target server; determining, by the first scene management process, a first power of each first scene process to create a virtual interactive scene belonging to the single service category according to the first state information; and determining a first scene process with the first success rate meeting a first preset condition through the first scene management process, and creating a virtual interactive scene belonging to the single service category based on the first scene process with the first success rate meeting the first preset condition.
The first target server comprises a first scene management process and at least one first scene process; the first scene management process is used for managing at least one first scene process; the first scene process is used for creating scene data belonging to the single service category and correspondingly storing the created scene data.
Specifically, when a new virtual interaction scene belonging to the single-server category needs to be created, for example, in a game application, when a new game copy needs to be created, a corresponding single-server scene creation instruction may be generated by the three-party server, and the single-server scene creation instruction is sent to each first service server of the first server cluster.
When a first scene management process in a first target server receives a single service scene creating instruction, the first scene management process acquires first state information of each first scene process in the first target server. The first state information is information capable of directly or indirectly reflecting the capability of creating the virtual interactive scene of the single service category, for example, the first state information may be scene load data of the virtual interactive scene created by the first scene process. The scene load data of a virtual interactive scene comprises the number of virtual objects entering this virtual interactive scene and the degree of aggregation of the virtual objects. For example, the first scene process determines the number of virtual objects and the aggregation degree of the virtual objects in the virtual interactive scene created by the first scene process, performs weighted summation on the number of virtual objects and the aggregation degree of the virtual objects of a single virtual interactive scene to obtain scene load data corresponding to the virtual interactive scene, and reports the created scene load data of each virtual interactive scene as first state information to the first scene management process.
When the first state information is obtained, the first scene management process may determine, according to the first state information, a first power of each first scene process to create a virtual interactive scene belonging to a single service category. For example, the first scene management process performs weighted summation on the scene load data corresponding to each virtual interactive scene, so as to obtain the first power of the first scene process. The weighted value in the weighted summation can be freely set according to the requirement. For example, when a first scene process creates a virtual interaction scene a belonging to a single service category and a virtual interaction scene B belonging to a single service category, the first scene process weights and sums the number of virtual objects entering the virtual interaction scene a and the aggregation degree of the virtual objects in the virtual interaction scene a to obtain scene load data of the virtual interaction scene a; carrying out weighted summation on the number of virtual objects entering the B virtual interactive scene and the aggregation degree of the virtual objects in the B virtual interactive scene to obtain scene load data of the B virtual interactive scene; further, the first scene management process performs weighted summation on the scene load data of the virtual interactive scene a and the scene load data of the virtual interactive scene B, so as to obtain a first power of the first scene process for creating the virtual interactive scene belonging to the single service type.
The first scene management process determines a first scene process with first success rate meeting a first preset condition, and creates a virtual interactive scene belonging to the single service category based on the first scene process with the first success rate meeting the first preset condition. For example, a virtual interactive scene belonging to the single service category is created based on the first scene process with the highest success rate.
In one embodiment, when a first scene process creates a virtual interactive scene, the first scene process correspondingly stores scene data and a scene identifier of the created virtual interactive scene, and sends the first scene identifier and the process identifier to a first scene management process, so that when a subsequent first scene management process receives an interactive instruction containing the scene identifier, the corresponding first scene management process can be determined according to the scene identifier in the interactive instruction, and corresponding scene data is pulled from the corresponding first scene management process and returned to a user terminal.
In one embodiment, the aggregation degree of the virtual objects in the current virtual interactive scene may be determined according to the number of broadcast messages in the average virtual interactive scene per second, and the larger the number of broadcast messages in the average virtual interactive scene per second is, the more concentrated the virtual objects in the current virtual interactive scene are represented.
In one embodiment, the weight model may be pre-established, so that the first scene process inputs the number of virtual objects entering the current virtual interaction scene, the number of messages in the current virtual interaction scene, and CPU running data in the service server to which the current virtual interaction scene belongs, which are obtained by actual pressure measurement, as model parameters into the weight model, obtains a corresponding weight value, and determines scene load data according to the weight value.
In one embodiment, the status information may include scene load data, request response status information of a preset time slice, and resource consumption status information; determining various state parameters corresponding to the first scene processes according to the state information through the first management scene processes; and performing weighted summation operation on the multiple state parameters through the first management process, and determining the first power of each first scene process for creating the virtual interactive scene belonging to the single service class.
The request response condition information includes a record of response or discard of the first scene process to the received call instruction in a preset time slice. The resource consumption status information includes an occupation amount of resources such as a Central Processing Unit (CPU) and a memory occupied by the first scene process.
When a new virtual interactive scene belonging to the single service category needs to be created, the first scene management process determines various state parameters corresponding to each first scene process according to the state information. For example, the scene load data of each virtual interactive scene created by the first scene process is subjected to weighted summation to obtain a state parameter corresponding to the scene load information; according to the record of response or discard of the received call request in the slicing mode at the preset time of the first scene process, determining the accumulated request response quantity and the accumulated request receiving quantity of the first scene process in the slicing mode at the preset time, and dividing the accumulated request receiving quantity by the accumulated request response quantity to obtain a state parameter corresponding to the request response condition; and determining the occupancy rates of resources such as a CPU (Central processing Unit), a memory and the like occupied by the first scene process according to the resource consumption condition information, and taking the occupancy rates as state parameters corresponding to the resource consumption condition information, so that the first management scene process performs weighted summation operation on the plurality of state parameters to obtain the first power generation rate.
In the above embodiment, when the single service scene creation instruction is received, prediction analysis may be performed on the success probability of creating the virtual interactive scene for each first scene process according to the state information of the first scene process, so that a suitable first scene process may be selected according to the analysis result to create the virtual interactive scene belonging to the single service class, and further the creation success rate of the virtual interactive scene is improved.
In one embodiment, a first target server includes a first scenario management process and at least one first scenario process; the interactive instruction carries a first scene identifier; the first target server sends first scene data belonging to a single service class to the user terminal through a first communication link, and the method comprises the following steps: the first scene management process determines a first target scene process stored with corresponding first scene data based on the first scene identification; and triggering the first target scene process to send the first scene data corresponding to the first scene identifier to the user terminal through the first communication link.
Specifically, generally, a plurality of virtual interaction scenes belonging to the single service type can be included in the virtual interaction application, and the user can freely switch among the plurality of virtual interaction scenes belonging to the single service type. In the process of triggering generation of the interactive instruction, the user can select a first target virtual interactive scene which is expected to enter and belongs to the single service type, so that the user terminal generates the interactive instruction according to a first scene identifier of the first target virtual interactive scene and sends the interactive instruction to a first target server which stores first scene data corresponding to the first scene identifier. And a first scene management process in the first target server determines a first target scene process storing corresponding first scene data based on a first scene identifier in the interactive instruction, namely determines a first target scene process for creating a first target virtual interactive scene, and triggers the first target scene process to send the first scene data corresponding to the first scene identifier to the user terminal through a first communication link.
In this embodiment, the corresponding first target scene process is determined according to the first scene identifier, so that the first target scene process can send the first scene data corresponding to the first scene identifier to the user terminal, and the user terminal can display the virtual interactive scene belonging to the single service type through the first scene data.
In one embodiment, when the second service class is the full service class, the service class switching instruction carries a second scene identifier; when receiving a service class switching instruction, feeding back second scene data belonging to a second service class to the user terminal, including: when the full service management server in the second server cluster receives the service class switching instruction, the full service management server screens out a second target server from a second service server in the second server cluster based on a second scene identifier in the service class switching instruction; second scene data matched with the second scene identification are stored in the screened second target server; and sending the second scene data to the user terminal through the second target server.
The background server of the virtual interactive application comprises a second server cluster, and when the second server cluster is the background server cluster which stores scene data of virtual interactive scenes belonging to the full-service category and bears the operation logic of the full-service type virtual interactive scenes, the second server cluster comprises a second service server and a full-service management server. The full service management server can be the same as the second service server or different from the second service server, and when the full service management server and the second service server are the same server, the server has the management function of the full service management server and the service function of the second service server at the same time.
Specifically, generally, the virtual interactive scene application includes a plurality of virtual interactive scenes belonging to the full service type, when a user triggers a service class switching control and selects a second target virtual interactive scene belonging to the full service type and expected to enter, the user terminal generates a service class switching instruction according to a second scene identifier of the second target virtual interactive scene, and sends the service class switching instruction to a full service management server in a second server cluster, so that the full service management server screens out a second target server storing second scene data corresponding to the second scene identifier from a plurality of second service servers, and returns the second scene data to the user terminal through the second target server.
In this embodiment, the corresponding second target server is determined according to the second scene identifier, so that the second target server can send the second scene data corresponding to the second scene identifier to the user terminal, and the user terminal can display the virtual interactive scene belonging to the full-service type through the second scene data.
In one embodiment, the full service management server includes a full service management process, and when the full service management server in the second server cluster receives the service class switching instruction, the full service management server screens out a second target server from a second service server in the second server cluster based on a second scene identifier in the service class switching instruction, including: when a full service management server in the second server cluster receives the service class switching instruction, a second target server storing second scene data corresponding to the second scene identification is screened out from the second service server through a full service management process in the full service management server; sending the second scene data to the user terminal through a second target server, including: determining a first target server to which a user terminal is currently connected, and sending a device identifier of a second target server to the first target server through a full service management process; disconnecting through a first scene management process in a first target server, and triggering and establishing a second communication link between the user terminal and a second target server based on the equipment identifier; and the second target server sends the second scene data to the user terminal through a second communication link.
Specifically, when a full service management process in the full service management server receives a service class switching instruction, the full service management server screens a second target server storing second scene data corresponding to a second scene identifier from a second service server through the second scene identifier in the service class switching instruction, and returns a device identifier of the second target server to a first target server currently connected to the user terminal. When the first target server receives the equipment identification of the second target server, the first target server breaks the connection with the user terminal through a first scene management process of the first target server, the connection request of the user terminal is directed to the second target server, and the second target server is informed to establish a second communication link with the user terminal, so that the second target server sends second scene data to the user terminal through the second communication link.
For example, referring to FIG. 6, a first cluster of servers and a second cluster of servers may communicate based on a full server management process as shown in FIG. 6. When the virtual interactive scene currently displayed by the user terminal is a single-service-type virtual interactive scene, the full-service management process sends the equipment identifier stored with the to-be-switched scene data belonging to the full-service type to the service server currently connected with the user terminal and belonging to the single-service type, triggers the service server belonging to the single-service type to break a communication link with the user terminal, and controls the user terminal to establish the communication link between the service servers corresponding to the equipment identifier, so that the service server corresponding to the equipment identifier can return the scene data belonging to the full-service type to the user terminal. Similarly, when the virtual interactive scene currently displayed by the user terminal is a full-service type virtual interactive scene, the full-service management process sends the device identifier, which stores the to-be-switched scene data belonging to the single-service type, to the service server currently connected with the user terminal and belonging to the full-service type, triggers the service server belonging to the full-service type to break a communication link with the user terminal, and controls the user terminal to establish a communication link between the service servers corresponding to the device identifier, so that the service server corresponding to the device identifier can return the scene data belonging to the single-service type to the user terminal. Fig. 6 shows a schematic diagram of a connection relationship between a first server cluster and a second server cluster in one embodiment.
In the embodiment, as the overall management can be performed through the overall management process, the user terminal can be freely switched in virtual interactive scenes of different service categories, so that the switching mode of virtual scene switching is greatly enriched, and the user experience is further improved.
In one embodiment, the full service management server includes a full service management process, and the scene display method based on the virtual interactive application further includes creating a virtual interactive scene belonging to a full service type; the step of creating a virtual interactive scene belonging to the single-serve type comprises: when the full service management server receives a full service scene creating instruction, the full service management process acquires second state information reported by each second service server; through the full service management process, determining second power generation rates of virtual interaction scenes which belong to the full service category and are created by each second service server according to the second state information; and determining a second service server with second power generation meeting a second preset condition through the full service management process, and creating a virtual interactive scene belonging to the full service category based on the second service server with the second power generation meeting the second preset condition.
Specifically, when a new virtual interactive scene belonging to the full-service category needs to be created, for example, in a game application, when a new game copy needs to be created, a corresponding full-service scene creation instruction may be generated by the three-party server, and the full-service scene creation instruction is sent to the full-service management server. And when the full service management process in the full service management server receives the full service scene creation instruction, the full service management process acquires second state information reported by each second service server. The second state information is information that can directly or indirectly reflect the capability of creating the virtual interactive scene of the single service category, for example, the second state information may be scene load data of the virtual interactive scene that has been created by the second service server. The second service server determines the number of virtual objects and the aggregation degree of the virtual objects in the virtual interactive scenes created by the second service server, performs weighted summation on the number of the virtual objects and the aggregation degree of the virtual objects of a single virtual interactive scene to obtain scene load data corresponding to the virtual interactive scenes, and reports the scene load data of each created virtual interactive scene as second state information to the full service management process.
And when the second state information is obtained, the full service management process determines that each second service server creates a second power of the virtual interactive scene belonging to the full service category according to the second state information. For example, the scene load data corresponding to each created virtual interactive scene is weighted and summed to obtain the second power consumption of the second service server. The weighted value in the weighted summation can be freely set according to the requirement. And the full service management process determines a second service server with second power generation meeting a second preset condition, and creates a virtual interactive scene belonging to the full service category based on the second service server with the second power generation meeting a second preset requirement. For example, the virtual interactive scene belonging to the full service category is created based on the second service server with the highest success rate.
In one embodiment, the second service server comprises a second scene management process and at least one second scene process; determining a second service server with a second power generation meeting a second preset condition through a full service management process, and creating a virtual interactive scene belonging to a full service category based on the second service server with the second power generation meeting the second preset condition, wherein the virtual interactive scene comprises the following steps: determining a third success rate of each second scene process for creating a virtual interactive scene belonging to the full service category through a second scene management process in a second service server; and determining a second scene process with third success rate meeting a third preset condition through the second scene management process, and creating a virtual interactive scene belonging to the full service category based on the second scene process with the third success rate meeting the third preset condition.
The second scene management process is used for managing the second scene process, the second scene process is used for creating the virtual interactive scene belonging to the full service category, and the scene data of the created virtual interactive scene is correspondingly stored.
Specifically, the second scene management process in the second management server determines, based on the determination method for determining the first power of each first scene process to create the virtual interactive scene belonging to the single service category, a third power of each second scene process to create the virtual interactive scene belonging to the full service category, and creates the virtual interactive scene belonging to the full service category based on the second scene process whose third power meets a third preset condition.
In the above embodiment, when the full service scene creation instruction is received, prediction analysis may be performed on the success probability of creating the virtual interaction scene for each second service server according to the state information of the second service servers, so that a suitable second service server may be selected according to the analysis result to create the virtual interaction scene belonging to the full service class, and further the creation success rate of the virtual interaction scene is improved.
In one embodiment, the full service management server comprises a full service management process; when the load rate of the second service server is higher, capacity expansion can be performed on the second service server, and the capacity expansion step for the second service server includes: acquiring second state information reported by each second service server through a full service management process; determining the load rate of each second service server through the full service management process based on the second state information, and determining whether capacity expansion operation is needed or not based on the load rate; when the capacity expansion operation is needed, the capacity expansion operation is executed through the full service management process.
Specifically, in order to maintain the smoothness of running of the virtual interactive application, the full service management process may obtain second state information of the second service server at intervals of a preset time, and determine the sum of scene load data of virtual interactive scenes created corresponding to the second service server based on the second state information. When the sum of the scene load data of the current second service server is greater than the preset load threshold value, it indicates that the number of virtual objects entering the virtual interactive scene created by the current second service server is too large, at this time, the current second service server can be expanded, a service server consistent with the current second service server is created, and the user is guided to the newly created service server to reduce the load pressure of the current second service server. The service server consistent with the current second service server means that the scene data stored in the created service server is consistent with the scene data stored in the current second service server, and the service categories of the created service server and the current second service server are consistent.
In this embodiment, by bracketing the second service server, the load pressure of the second service server can be reduced, so that the operation of the virtual interactive application is smoother.
As shown in fig. 7, in a specific embodiment, the scene display method based on the virtual interactive application includes the following steps:
s702, displaying a main page provided by the virtual interactive application, and acquiring an interactive instruction through the main page;
s704, determining a first target server from the first server cluster, and establishing a first communication link with the first target server;
s706, pulling first scene data belonging to a first service class from a first target server through a first communication link, and displaying a corresponding first virtual interactive scene based on the first scene data;
s708, when a service type switching instruction occurs, disconnecting the first communication link and establishing a second communication link with a second target server in the second server cluster; through a second communication link, second scene data belonging to a second service class are pulled from a second target server, and a corresponding second virtual interaction scene is displayed based on the second scene data; wherein the first service category is one of a single service category and a full service category; the second service category is one of a single service category and a full service category, and the second service category is different from the first service category; the virtual interaction scene of the full service type supports all virtual objects to interact, and the virtual interaction scene of the single service type supports part of the virtual objects to interact.
S710, when the first service type is a single service type, the first server cluster comprises a plurality of first service servers, and each first service server corresponds to a different area group, wherein a virtual interaction scene obtained by rendering first scene data in the first service server of the corresponding area group supports virtual object interaction corresponding to a user account belonging to the corresponding area group; when the second service type is the full service type, the second server cluster comprises a plurality of second service servers and a full service management server, and the full service management server is used for managing the plurality of second service servers so as to screen out a second target server from the plurality of second service servers.
According to the scene display method based on the virtual interactive application, the main page provided by the virtual interactive application is displayed, and the interactive instruction is obtained based on the main page. By obtaining the interactive instruction, the virtual interactive scene belonging to the first service class can be entered in response to the interactive instruction, so that the virtual interactive scene belonging to the first service class can be switched to the virtual interactive scene belonging to the second service class when the service class switching instruction is received. Because the virtual interactive scenes belonging to different service classes can be freely switched, the virtual interactive scenes of the full service class support all the virtual objects to interact, and the virtual interactive scenes of the single service class support part of the virtual objects to interact, compared with the traditional method that part of the virtual objects only interact with the preset part of the virtual objects, the method greatly enriches the interaction modes of the virtual objects.
As shown in fig. 8, in a specific embodiment, the scene display method based on the virtual interactive application includes the following steps:
s802, displaying a main page provided by the virtual interactive application, and acquiring an interactive instruction through the main page;
s804, responding to the interaction instruction, and determining a target group to which a currently logged user account belongs when determining to enter a virtual interaction scene belonging to a single service category;
s806, displaying a transmission map corresponding to the target group; the delivery map comprises at least one delivery location; determining a target transfer location selected from the at least one transfer location;
s808, entering a virtual interaction scene which corresponds to the target transmission position and belongs to the first service class; and displaying a virtual object corresponding to the currently logged-in user account in the virtual interaction scene belonging to the first service category.
And S810, when a service type switching instruction occurs, switching the virtual interactive scene corresponding to the target group and belonging to the single service type to the virtual interactive scene belonging to the full service type for displaying.
As shown in fig. 9, in a specific embodiment, the scene display method based on the virtual interactive application includes the following steps:
s902, receiving an interactive instruction triggered by a virtual interactive application running in a user terminal;
s904, when the interactive instruction is an instruction entering a virtual interactive scene belonging to a single service category, the interactive instruction carries a target group identifier, and the interactive instruction is received by a first target server corresponding to the target group identifier in a first server cluster; a first communication link is established with the user terminal through the first target server.
S906, the first target server comprises a first scene management process and at least one first scene process; the interactive instruction carries a first scene identifier; the first scene management process determines a first target scene process stored with corresponding first scene data based on the first scene identification; triggering a first target scene process to send first scene data corresponding to the first scene identification to the user terminal through a first communication link; the single service type virtual interaction scene supports interaction of partial virtual objects in all the virtual objects.
S908, when the second service type is the full service type, the service type switching instruction carries a second scene identifier; when a full service management server in the second server cluster receives the service class switching instruction, a second target server storing second scene data corresponding to the second scene identification is screened out from the second service server through a full service management process in the full service management server; the screened second target server stores second scene data matched with the second scene identification.
S910, determining a first target server to which the user terminal is currently connected, and sending the device identifier of the second target server to the first target server through the full service management process.
S912, disconnecting the first scene management process in the first target server, and triggering and establishing a second communication link between the user terminal and a second target server based on the equipment identifier; and the second target server sends the second scene data to the user terminal through a second communication link.
S914, the whole service management server comprises a whole service management process; and acquiring second state information reported by each second service server through the full service management process.
And S916, determining the load rate of each second service server through the full service management process based on the second state information, and determining whether capacity expansion operation is required based on the load rate.
And S918, when capacity expansion operation is needed, executing the capacity expansion operation through the full service management process.
According to the scene display method based on the virtual interactive application, when an interactive instruction is received, first scene data belonging to a first service class can be obtained through the interactive instruction, and the first scene data is fed back to the user terminal, so that the user terminal can display a corresponding virtual interactive scene according to the first scene data; when a service class switching instruction is received, second scene data belonging to a second service class can be obtained through the service class switching instruction, and the second scene data is fed back to the user terminal, so that the user terminal can be switched from a virtual interactive scene belonging to a first service class to a virtual interactive scene belonging to the second service class based on the second scene data, and thus, free switching among virtual interactive scenes belonging to different service classes is realized, and scene switching modes are greatly enriched.
In addition, the full-service type virtual interaction scene supports all virtual objects to interact, and the single-service type virtual interaction scene supports part of all virtual objects to interact.
It should be understood that although the various steps in the flowcharts of fig. 2, 7-9 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 7-9 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or stages.
To facilitate understanding by those skilled in the art, referring to fig. 10, fig. 10 shows an interaction sequence diagram of a scene presentation method based on a virtual interactive application in one embodiment. The timing procedure involves the user terminal, a first target server (also called target cell server) in a first server cluster, a full service management server and a second target server (also called target CLOUD _ SVR) in a second server cluster. When a user clicks the interactive control to determine a virtual interactive scene which is expected to enter and belongs to the first service class, the user terminal determines a first scene identifier of the virtual interactive scene which is expected to enter and belongs to the first service class according to the triggering operation of the user, generates a corresponding interactive instruction according to the first scene identifier, and sends the interactive instruction to a first target server (target cell server) which stores first scene data corresponding to the first scene identifier in a first server cluster, so that the first target server (target cell server) returns the corresponding first scene data according to the interactive instruction, and the user terminal can render and display the corresponding virtual interactive scene according to the received first scene data.
When a user desires to switch the service type of the virtual interaction scene, the user selects the virtual interaction scene which is desired to be switched and belongs to the second service type, and triggers the service type switching control, so that the user terminal generates a corresponding service type switching instruction according to the triggering operation of the user and the second scene identification of the virtual interaction scene which is desired to be switched and belongs to the second service type, and sends the service type switching instruction to the full service management server. When a full service management process (also called a CSM process) in the full service management server receives a service class switching instruction, the full service management process (CSM process) determines a second target server (target CLOUD _ SVR) which stores second scene data corresponding to a second scene identifier, forwards the service class switching instruction to the second target server (target CLOUD _ SVR), and triggers the second target server (target CLOUD _ SVR) to return second scene data to the user terminal, so that the user terminal switches from a virtual interactive scene belonging to the first service class to a virtual interactive scene belonging to the second service class according to the second scene data.
In one embodiment, as shown in fig. 11, there is provided a scene exhibition apparatus 1100 based on a virtual interactive application, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and specifically includes: a main page presentation module 1102, an interaction instruction response module 1104 and a switching instruction response module 1106, wherein:
the main page display module 1102 is configured to display a main page provided by the virtual interactive application, and obtain the interactive instruction through the main page.
An interactive instruction response module 1104, configured to enter a virtual interactive scene belonging to a first service category in response to an interactive instruction; the first service category is one of a single service category and a full service category.
A switching instruction response module 1106, configured to switch, when a service class switching instruction occurs, a virtual interaction scenario belonging to a first service class to a virtual interaction scenario belonging to a second service class for displaying; the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the full-service type virtual interactive scene supports all virtual objects to interact, and the single-service type virtual interactive scene supports part of all virtual objects to interact.
In one embodiment, the interactive instruction response module 1104 is further configured to display a delivery map in response to the interactive instruction; the delivery map comprises at least one delivery location; determining a target transfer location selected from the at least one transfer location; entering a virtual interaction scene which corresponds to the target transmission position and belongs to a first service class; and displaying a virtual object corresponding to the currently logged-in user account in the virtual interaction scene belonging to the first service category.
In one embodiment, the interactive instruction response module 1104 is further configured to determine a target group to which a currently logged-in user account belongs when determining to enter a virtual interactive scene belonging to a single service category based on the interactive instruction; entering a virtual interaction scene which corresponds to the target group and belongs to the single service category; the entered virtual interaction scene supports the interaction of virtual objects corresponding to the user accounts belonging to the target group.
In one embodiment, the interactive instruction response module 1104 is further configured to determine a first target server from the first server cluster, and establish a first communication link with the first target server; pulling first scene data belonging to a first service category from a first target server through a first communication link, and displaying a corresponding first virtual interaction scene based on the first scene data;
in one embodiment, the switching instruction response module 1106 is further configured to disconnect the first communication link and establish a second communication link with a second target server in the second server cluster when the service class switching instruction occurs; and pulling second scene data belonging to a second service class from a second target server through a second communication link, and displaying a corresponding second virtual interaction scene based on the second scene data.
In one embodiment, as shown in fig. 12, there is provided a scene exhibition apparatus 1200 based on a virtual interactive application, which may adopt a software module or a hardware module, or a combination of the two modules as a part of a computer device, and specifically includes: an interactive instruction receiving module 1202, a feedback module 1204, and a switching instruction receiving module 1206, wherein:
an interactive instruction receiving module 1202, configured to receive an interactive instruction triggered by a virtual interactive application running in a user terminal.
A feedback module 1204, configured to feed back, to the user terminal, first scene data belonging to the first service category according to the interactive instruction; the fed back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data; the first service category is one of a single service category and a full service category.
A switching instruction receiving module 1206, configured to feed back, to the user terminal, second scene data belonging to a second service class when receiving a service class switching instruction; the fed back second scene data is used for indicating the user terminal to switch to a virtual interactive scene belonging to a second service class for displaying based on the second scene data; the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the full-service type virtual interaction scene supports all virtual objects to interact, and the single-service type virtual interaction scene supports part of all virtual objects to interact.
In an embodiment, as shown in fig. 13, when the interactive instruction is an instruction to enter a virtual interactive scene belonging to a single service category, the interactive instruction carries a target group identifier, and the interactive instruction is received by a first target server in a first server cluster corresponding to the target group identifier; the feedback module 1204 further comprises a communication link establishing module 1241, configured to establish a first communication link with the user terminal through the first target server; the first target server sends the first scene data belonging to the single service category to the user terminal through a first communication link.
In one embodiment, a first target server includes a first scenario management process and at least one first scenario process; the interactive instruction carries a first scene identifier; the communication link establishing module 1241 is further configured to determine, by the first scene management process, based on the first scene identifier, a first target scene process in which corresponding first scene data is stored; and triggering the first target scene process to send the first scene data corresponding to the first scene identifier to the user terminal through the first communication link.
In one embodiment, a first target server includes a first scenario management process and at least one first scenario process; the feedback module 1204 further includes a first creating module 1242, configured to, when the first target server receives the single service scene creating instruction, obtain first state information of each first scene process through a first scene management process in the first target server; determining, by the first scene management process, a first power of each first scene process to create a virtual interactive scene belonging to the single service category according to the first state information; and determining a first scene process with the first success rate meeting a first preset condition through the first scene management process, and creating a virtual interactive scene belonging to the single service category based on the first scene process with the first success rate meeting the first preset condition.
In one embodiment, when the second service category is a full service category, the service category switching instruction carries a second scene identifier; the switching instruction receiving module 1206 further includes a scene data feedback module 1261, configured to, when the full service management server in the second server cluster receives the service category switching instruction, screen a second target server from second service servers in the second server cluster based on a second scene identifier in the service category switching instruction by the full service management server; second scene data matched with the second scene identification are stored in the screened second target server; and sending the second scene data to the user terminal through the second target server.
In one embodiment, the full service management server comprises a full service management process; the scene data feedback module 1261 is further configured to, when the full service management server in the second server cluster receives the service category switching instruction, screen, by a full service management process in the full service management server, a second target server in which second scene data corresponding to the second scene identifier is stored from the second service server; and sending the second scene data to the user terminal through the second target server.
In an embodiment, the switching instruction receiving module 1206 is further configured to determine a first target server to which the user terminal is currently connected, and send the device identifier of the second target server to the first target server through a full service management process; disconnecting through a first scene management process in a first target server, and triggering and establishing a second communication link between the user terminal and a second target server based on the equipment identifier; and the second target server sends the second scene data to the user terminal through a second communication link.
In one embodiment, the full service management server comprises a full service management process; the switching instruction receiving module 1206 further includes a second creating module 1262, configured to, when the full service management server receives the full service scene creating instruction, obtain, by the full service management process, second state information reported by each second service server; through the full service management process, determining second power generation rates of virtual interaction scenes which belong to the full service category and are created by each second service server according to the second state information; and determining a second service server with second power generation meeting a second preset condition through the full service management process, and creating a virtual interactive scene belonging to the full service category based on the second service server with the second power generation meeting the second preset condition.
In one embodiment, the scene display apparatus 1200 based on the virtual interactive application is further configured to obtain, through the full service management process, second state information reported by each second service server; determining the load rate of each second service server through the full service management process based on the second state information, and determining whether capacity expansion operation is needed or not based on the load rate; when the capacity expansion operation is needed, the capacity expansion operation is executed through the full service management process.
FIG. 14 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal in fig. 1. As shown in fig. 14, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by a processor, the computer program can enable the processor to realize the scene display method based on the virtual interactive application. The internal memory may also store a computer program, and when the computer program is executed by the processor, the processor may execute a scene display method based on the virtual interactive application. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 14 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (26)
1. A scene display method based on virtual interactive application is characterized by comprising the following steps:
displaying a main page provided by a virtual interactive application, and acquiring an interactive instruction through the main page;
in response to the interaction instruction, pulling first scene data belonging to a first service category from a first server cluster, and displaying a virtual interaction scene belonging to the first service category based on the first scene data, wherein the first service category is one of a single service category and a full service category;
when a service class switching instruction occurs, pulling second scene data belonging to a second service class from a second server cluster, and switching a virtual interaction scene belonging to a first service class to a virtual interaction scene belonging to a second service class for display based on the second scene data, wherein the second service class is one of a single service class and a full service class, and is different from the first service class;
the full service type virtual interactive scene supports all virtual objects to interact, and the single service type virtual interactive scene supports part of the virtual objects to interact; all the virtual objects refer to virtual objects corresponding to all user accounts for registering the virtual interactive application;
when the second service type is a full service type, the service type switching instruction carries a second scene identifier; the second scene data is sent through a second target server, and the second target server is a server which is screened out from a second service server in a second server cluster through a full service management process in a full service management server and stores second scene data corresponding to the second scene identifier when the full service management server in the second server cluster receives a service type switching instruction.
2. The method of claim 1, wherein entering a virtual interaction scenario belonging to a first service class in response to the interaction instruction comprises:
presenting a delivery map in response to the interactive instruction, the delivery map including at least one delivery location;
determining a target delivery location selected from the at least one delivery location;
and entering a virtual interaction scene which corresponds to the target transmission position and belongs to a first service category, wherein a virtual object corresponding to the currently logged-in user account is displayed in the virtual interaction scene belonging to the first service category.
3. The method of claim 1, wherein entering a virtual interaction scenario belonging to a first service class in response to the interaction instruction comprises:
when the virtual interaction scene belonging to the single service category is determined to enter based on the interaction instruction, determining a target group to which a currently logged user account belongs;
entering a virtual interaction scene which corresponds to the target group and belongs to the single service category, wherein the entered virtual interaction scene supports interaction with virtual objects which respectively correspond to user accounts belonging to the target group;
when a service class switching instruction occurs, switching the virtual interaction scene belonging to the first service class to a virtual interaction scene belonging to the second service class for displaying, including:
and when a service class switching instruction occurs, switching the virtual interactive scene which corresponds to the target group and belongs to the single service class to the virtual interactive scene which belongs to the full service class for displaying.
4. The method according to any one of claims 1 to 3, wherein the pulling, in response to the interaction instruction, first scenario data belonging to a first service class from a first server cluster, and presenting a virtual interaction scenario belonging to the first service class based on the first scenario data comprises:
determining a first target server from a first server cluster, and establishing a first communication link with the first target server;
pulling first scene data belonging to a first service category from the first target server through the first communication link, and displaying a corresponding first virtual interaction scene based on the first scene data;
when a service class switching instruction occurs, pulling second scene data belonging to a second service class from a second server cluster, and switching a virtual interaction scene belonging to the first service class to a virtual interaction scene belonging to the second service class for display based on the second scene data, including:
when a service type switching instruction occurs, disconnecting the first communication link and establishing a second communication link between the first communication link and a second target server in a second server cluster;
and pulling second scene data belonging to a second service class from the second target server through the second communication link, and displaying a corresponding second virtual interaction scene based on the second scene data.
5. The method according to claim 4, wherein when the first service category is a single service category, the first server cluster includes a plurality of first service servers, and each first service server corresponds to a different zone group, wherein a virtual interaction scene rendered based on first scene data in the first service server of the corresponding zone group supports virtual object interaction corresponding to a user account belonging to the corresponding zone group; when the second service type is the full service type, the second server cluster comprises a plurality of second service servers and a full service management server, and the full service management server is used for managing the plurality of second service servers so as to screen out a second target server from the plurality of second service servers.
6. A scene display method based on virtual interactive application is characterized by comprising the following steps:
receiving an interactive instruction triggered by a virtual interactive application running in a user terminal;
according to the interaction instruction, first scene data belonging to a first service category is pulled from a first server cluster, and the first scene data belonging to the first service category is fed back to the user terminal, wherein the fed-back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data, and the first service category is one of a single service category and a full service category;
when a service class switching instruction is received, pulling second scene data belonging to a second service class from a second server cluster, and feeding back the second scene data belonging to the second service class to the user terminal, wherein the fed back second scene data is used for indicating the user terminal to switch to a virtual interactive scene belonging to the second service class for displaying based on the second scene data;
the second service class is one of a single service class and a full service class, the second service class is different from the first service class, the full service class of virtual interaction scenes supports interaction of all virtual objects, and the single service class of virtual interaction scenes supports interaction of part of the virtual objects; all the virtual objects refer to virtual objects corresponding to all user accounts for registering the virtual interactive application;
when the second service type is a full service type, the service type switching instruction carries a second scene identifier; when receiving a service class switching instruction, the method for pulling second scene data belonging to a second service class from a second server cluster and feeding back the second scene data belonging to the second service class to the user terminal includes:
when a full service management server in a second server cluster receives a service class switching instruction, a full service management process in the full service management server is used for screening a second target server which stores second scene data corresponding to a second scene identifier from a second service server in the second server cluster; the screened second target server stores second scene data matched with the second scene identification;
and sending the second scene data to the user terminal through the second target server.
7. The method according to claim 6, wherein when the interactive instruction is an instruction to enter a virtual interactive scene belonging to a single service category, the interactive instruction carries a target group identifier, and the interactive instruction is received by a first target server corresponding to the target group identifier in a first server cluster;
the pulling, according to the interactive instruction, first scene data belonging to a first service category from a first server cluster, and feeding back the first scene data belonging to the first service category to the user terminal includes:
establishing a first communication link with the user terminal through the first target server;
and the first target server sends the first scene data belonging to the single service category to the user terminal through the first communication link.
8. The method of claim 7, wherein the first target server comprises a first scenario management process and at least one first scenario process; the interactive instruction carries a first scene identifier;
the first target server sends first scene data belonging to a single service class to the user terminal through the first communication link, and the method comprises the following steps:
the first scene management process determines a first target scene process stored with corresponding first scene data based on the first scene identification;
and triggering the first target scene process to send the first scene data corresponding to the first scene identifier to the user terminal through the first communication link.
9. The method of claim 7, wherein the first target server comprises a first scenario management process and at least one first scenario process; the method further comprises the following steps:
when the first target server receives a single service scene creating instruction, acquiring first state information of each first scene process through the first scene management process in the first target server;
determining, by the first scene management process, a first power of each first scene process to create a virtual interaction scene belonging to a single service category according to the first state information;
and determining a first scene process of which the first power meets a first preset condition through the first scene management process, and creating a virtual interactive scene belonging to the single service category based on the first scene process of which the first power meets the first preset condition.
10. The method according to claim 6, wherein the sending, by the second target server, the second scene data to the user terminal comprises:
determining a first target server to which the user terminal is currently connected, and sending the equipment identifier of the second target server to the first target server through the full service management process;
disconnecting the connection through a first scene management process in the first target server, and triggering to establish a second communication link between the user terminal and the second target server based on the equipment identifier;
and the second target server sends the second scene data to the user terminal through the second communication link.
11. The method of claim 6, wherein the full server management server comprises a full server management process; the method further comprises the following steps:
when the full service management server receives a full service scene creating instruction, the full service management process acquires second state information reported by each second service server;
determining, by the full service management process, second power generation rates at which the second service servers create virtual interactive scenes belonging to the full service category according to the second state information;
and determining a second service server with second power generation meeting a second preset condition through the full service management process, and creating a virtual interactive scene belonging to the full service category based on the second service server with the second power generation meeting the second preset condition.
12. The method of claim 6, wherein the full server management server comprises a full server management process; the method further comprises the following steps:
acquiring second state information reported by each second service server through the full service management process;
determining the load rate of each second service server through the full service management process based on the second state information, and determining whether capacity expansion operation is needed or not based on the load rate;
and when the capacity expansion operation is required, executing the capacity expansion operation through the full service management process.
13. A scene presentation apparatus based on a virtual interactive application, the apparatus comprising:
the main page display module is used for displaying a main page provided by the virtual interactive application and acquiring an interactive instruction through the main page;
the interactive instruction response module is used for responding to the interactive instruction, pulling first scene data belonging to a first service category from a first server cluster, and displaying a virtual interactive scene belonging to the first service category based on the first scene data; the first service category is one of a single service category and a full service category;
the switching instruction response module is used for pulling second scene data belonging to a second service class from a second server cluster when a service class switching instruction occurs, and switching the virtual interactive scene belonging to the first service class to a virtual interactive scene belonging to the second service class for display based on the second scene data; the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the full service type virtual interactive scene supports all virtual objects to interact, and the single service type virtual interactive scene supports part of the virtual objects to interact; all the virtual objects refer to virtual objects corresponding to all user accounts for registering the virtual interactive application; when the second service type is a full service type, the service type switching instruction carries a second scene identifier; the second scene data is sent through a second target server, and the second target server is a server which is screened out from second service servers in a second server cluster and stores second scene data corresponding to the second scene identification through a full service management process in a full service management server when the full service management server in the second server cluster receives a service type switching instruction.
14. The apparatus of claim 13, wherein the interactive instruction response module is further configured to present a delivery map in response to the interactive instruction; the transfer map comprises at least one transfer location; determining a target delivery location selected from the at least one delivery location; and entering a virtual interaction scene which corresponds to the target transmission position and belongs to a first service category, wherein a virtual object corresponding to the currently logged-in user account is displayed in the virtual interaction scene belonging to the first service category.
15. The apparatus according to claim 13, wherein the interactive instruction response module is further configured to determine a target group to which the currently logged user account belongs when determining to enter a virtual interactive scenario belonging to a single service category based on the interactive instruction; and entering a virtual interaction scene which corresponds to the target group and belongs to the single service category, wherein the entered virtual interaction scene supports the interaction of virtual objects which respectively correspond to the user accounts belonging to the target group.
16. The apparatus according to any of claims 13 to 15, wherein the interactive instruction response module is further configured to determine a first target server from the first server cluster, and establish a first communication link with the first target server; pulling first scene data belonging to a first service category from the first target server through the first communication link, and displaying a corresponding first virtual interaction scene based on the first scene data; when a service class switching instruction occurs, disconnecting the first communication link and establishing a second communication link with a second target server in a second server cluster; and pulling second scene data belonging to a second service class from the second target server through the second communication link, and displaying a corresponding second virtual interaction scene based on the second scene data.
17. The apparatus according to claim 16, wherein when the first service category is a single service category, the first server cluster includes a plurality of first service servers, and each first service server corresponds to a different zone group, wherein a virtual interaction scene rendered based on first scene data in the first service server of the corresponding zone group supports virtual object interaction corresponding to a user account belonging to the corresponding zone group; when the second service type is the full service type, the second server cluster comprises a plurality of second service servers and a full service management server, and the full service management server is used for managing the plurality of second service servers so as to screen out a second target server from the plurality of second service servers.
18. A scene presentation apparatus based on a virtual interactive application, the apparatus comprising:
the interactive instruction receiving module is used for receiving an interactive instruction triggered by a virtual interactive application running in the user terminal;
the feedback module is used for pulling first scene data belonging to a first service class from the first server cluster according to the interactive instruction and feeding the first scene data belonging to the first service class back to the user terminal; the fed back first scene data is used for indicating the user terminal to display a corresponding virtual interaction scene based on the first scene data; the first service category is one of a single service category and a full service category;
the switching instruction receiving module is used for pulling second scene data belonging to a second service class from the second server cluster when receiving a service class switching instruction, and feeding back the second scene data belonging to the second service class to the user terminal; the fed back second scene data is used for indicating the user terminal to switch to a virtual interaction scene belonging to a second service class for displaying based on the second scene data; the second service class is one of a single service class and a full service class, and the second service class is different from the first service class; the full service type virtual interactive scene supports all virtual objects to interact, and the single service type virtual interactive scene supports part of the virtual objects to interact; all the virtual objects refer to virtual objects corresponding to all user accounts for registering the virtual interactive application;
when the second service type is a full service type, the service type switching instruction carries a second scene identifier; the switching instruction receiving module is further configured to, when a full service management server in a second server cluster receives a service category switching instruction, screen, by a full service management process in the full service management server, a second target server in which second scene data corresponding to the second scene identifier is stored from a second service server in the second server cluster; the screened second target server stores second scene data matched with the second scene identification; and sending the second scene data to the user terminal through the second target server.
19. The apparatus according to claim 18, wherein when the interactive instruction is an instruction to enter a virtual interactive scene belonging to a single service category, the interactive instruction carries a target group identifier, and the interactive instruction is received by a first target server in a first server cluster corresponding to the target group identifier; the feedback module further comprises a first communication link establishing module, which is used for establishing a first communication link with the user terminal through the first target server; and the first target server sends the first scene data belonging to the single service category to the user terminal through the first communication link.
20. The apparatus of claim 19, wherein the first target server comprises a first scenario management process and at least one first scenario process; the interactive instruction carries a first scene identifier; the first communication link establishing module is further configured to determine, by the first scene management process, a first target scene process in which corresponding first scene data is stored based on the first scene identifier; and triggering the first target scene process to send the first scene data corresponding to the first scene identifier to the user terminal through the first communication link.
21. The apparatus of claim 19, wherein the first target server comprises a first scenario management process and at least one first scenario process; the feedback module further comprises a first creation module, configured to obtain, by the first scene management process in the first target server, first state information of each first scene process when the first target server receives a single service scene creation instruction; determining, by the first scene management process, a first power of each first scene process to create a virtual interactive scene belonging to a single service category according to the first state information; and determining a first scene process with the first success rate meeting a first preset condition through the first scene management process, and creating a virtual interactive scene belonging to the single service category based on the first scene process with the first success rate meeting the first preset condition.
22. The apparatus according to claim 18, wherein the full server management server comprises a full server management process; the switching instruction receiving module further comprises a second scene data feedback module, which is used for determining a first target server to which the user terminal is currently connected, and sending the equipment identifier of the second target server to the first target server through the full service management process; disconnecting the connection through a first scene management process in the first target server, and triggering to establish a second communication link between the user terminal and the second target server based on the equipment identifier; and the second target server sends the second scene data to the user terminal through the second communication link.
23. The apparatus of claim 18, wherein the full server management server comprises a full server management process; the switching instruction receiving module further comprises a second creating module, and the full service management process is used for acquiring second state information reported by each second service server when the full service management server receives a full service scene creating instruction; determining, by the full service management process, second power generation rates at which the second service servers create virtual interactive scenes belonging to the full service category according to the second state information; and determining a second service server with second power generation meeting a second preset condition through the full service management process, and creating a virtual interactive scene belonging to the full service category based on the second service server with the second power generation meeting the second preset condition.
24. The apparatus according to claim 18, wherein the scene display apparatus based on virtual interactive application is further configured to obtain, through the full service management process, second state information reported by each second service server; determining the load rate of each second service server through the full service management process based on the second state information, and determining whether capacity expansion operation is needed or not based on the load rate; and when the capacity expansion operation is required, executing the capacity expansion operation through the full service management process.
25. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 12.
26. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010947056.3A CN112090066B (en) | 2020-09-10 | 2020-09-10 | Scene display method and device based on virtual interactive application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010947056.3A CN112090066B (en) | 2020-09-10 | 2020-09-10 | Scene display method and device based on virtual interactive application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112090066A CN112090066A (en) | 2020-12-18 |
CN112090066B true CN112090066B (en) | 2022-05-20 |
Family
ID=73752100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010947056.3A Active CN112090066B (en) | 2020-09-10 | 2020-09-10 | Scene display method and device based on virtual interactive application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112090066B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113384879B (en) * | 2021-05-14 | 2024-06-04 | 完美世界征奇(上海)多媒体科技有限公司 | Game data display method and device |
CN114748877A (en) * | 2022-04-20 | 2022-07-15 | 芜湖听松网络科技有限公司 | Game control method, device, equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848124A (en) * | 2005-04-12 | 2006-10-18 | 国际商业机器公司 | Slitless game world system based on server/customer's machine and method thereof |
KR20170055881A (en) * | 2015-11-12 | 2017-05-22 | (주)싸이이비즈 | Apparatus and method for providing on-line game |
CN107168794A (en) * | 2017-05-11 | 2017-09-15 | 腾讯科技(深圳)有限公司 | The treating method and apparatus of request of data |
US20180288133A1 (en) * | 2017-04-03 | 2018-10-04 | Sony Interactive Entertainment America Llc | Systems and methods for using a distributed game engine |
CN109550237A (en) * | 2018-11-28 | 2019-04-02 | 珠海金山网络游戏科技有限公司 | A kind of game scene management method, device, server and terminal |
CN111282262A (en) * | 2020-01-13 | 2020-06-16 | 网易(杭州)网络有限公司 | Game server communication method and device |
CN111330265A (en) * | 2020-02-10 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Computer system, login method, device, equipment and medium of virtual area |
CN111450536A (en) * | 2020-03-30 | 2020-07-28 | 网易(杭州)网络有限公司 | Data processing method and device, electronic equipment and computer readable medium |
CN111617487A (en) * | 2020-05-22 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Account access method and device in game application, storage medium and electronic equipment |
-
2020
- 2020-09-10 CN CN202010947056.3A patent/CN112090066B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1848124A (en) * | 2005-04-12 | 2006-10-18 | 国际商业机器公司 | Slitless game world system based on server/customer's machine and method thereof |
KR20170055881A (en) * | 2015-11-12 | 2017-05-22 | (주)싸이이비즈 | Apparatus and method for providing on-line game |
US20180288133A1 (en) * | 2017-04-03 | 2018-10-04 | Sony Interactive Entertainment America Llc | Systems and methods for using a distributed game engine |
CN107168794A (en) * | 2017-05-11 | 2017-09-15 | 腾讯科技(深圳)有限公司 | The treating method and apparatus of request of data |
CN109550237A (en) * | 2018-11-28 | 2019-04-02 | 珠海金山网络游戏科技有限公司 | A kind of game scene management method, device, server and terminal |
CN111282262A (en) * | 2020-01-13 | 2020-06-16 | 网易(杭州)网络有限公司 | Game server communication method and device |
CN111330265A (en) * | 2020-02-10 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Computer system, login method, device, equipment and medium of virtual area |
CN111450536A (en) * | 2020-03-30 | 2020-07-28 | 网易(杭州)网络有限公司 | Data processing method and device, electronic equipment and computer readable medium |
CN111617487A (en) * | 2020-05-22 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Account access method and device in game application, storage medium and electronic equipment |
Non-Patent Citations (3)
Title |
---|
一种高性能的大型多人在线角色扮演游戏服务器架构设计;马亚花;《计算机光盘软件与应用》;20120508(第9期);第187-188页 * |
听说地下城深渊爆率不行,换个频道就能解决?对的!哥!真的太对了!;淮安大佬爷-大帅;《哔哩哔哩》;20200722;视频全长 * |
移动网游服务端关键技术研究;马利麒;《中国优秀硕士学位论文全文数据库 (信息科技辑)》;20170115;第I137-55页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112090066A (en) | 2020-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12083423B2 (en) | Video game overlay | |
CN112090066B (en) | Scene display method and device based on virtual interactive application | |
CN106484543B (en) | Virtual article dispatching method and device and mobile terminal thereof | |
US20230285854A1 (en) | Live video-based interaction method and apparatus, device and storage medium | |
CN109495427B (en) | Multimedia data display method and device, storage medium and computer equipment | |
US20220224983A1 (en) | Video message generation method and apparatus, electronic device, and storage medium | |
CN110856032A (en) | Live broadcast method, device, equipment and storage medium | |
CN112672179B (en) | Method, device and equipment for live game | |
CN113209632A (en) | Cloud game processing method, device, equipment and storage medium | |
CN111625353B (en) | Virtual resource distribution processing method, device, server and storage medium | |
CN111359220B (en) | Game advertisement generation method and device and computer equipment | |
CN112657185B (en) | Game data processing method, device, system, server and storage medium | |
CN113941147A (en) | Picture generation method, device, equipment and medium | |
CN114404960A (en) | Cloud game resource data processing method and device, computer equipment and storage medium | |
CN113468374A (en) | Target display method and device, electronic equipment and storage medium | |
CN114666671B (en) | Live broadcast praise interaction method, device, equipment and storage medium | |
CN112791385A (en) | Game running method and device, control equipment and server | |
CN112169312A (en) | Queuing scheduling method, device, equipment and storage medium for cloud game service | |
CN115396500B (en) | Service platform switching method and system based on private network and electronic equipment | |
KR20220159968A (en) | Conference handling method and system using avatars | |
CN116974364A (en) | Social interaction method, social interaction device, electronic equipment, storage medium and program product | |
CN110912863B (en) | Identity clue information acquisition method and device, computer equipment and storage medium | |
CN117014401A (en) | Social processing method and related equipment | |
CN107168978B (en) | Message display method and device | |
CN116471312B (en) | Method, system and storage medium for distributing users through offline channels |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40035401 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |