CN114653061A - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114653061A
CN114653061A CN202210348478.8A CN202210348478A CN114653061A CN 114653061 A CN114653061 A CN 114653061A CN 202210348478 A CN202210348478 A CN 202210348478A CN 114653061 A CN114653061 A CN 114653061A
Authority
CN
China
Prior art keywords
interface
target
game interface
state
current game
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.)
Pending
Application number
CN202210348478.8A
Other languages
Chinese (zh)
Inventor
杨昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202210348478.8A priority Critical patent/CN114653061A/en
Publication of CN114653061A publication Critical patent/CN114653061A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Abstract

The application provides a data processing method, a data processing device, electronic equipment and a storage medium, and relates to the technical field of data processing. The method can provide a game interface through the terminal equipment, and comprises the following steps: responding to the trigger of a target event, and acquiring a first interface state type of a current game interface; the method comprises the steps of obtaining a first mapping relation between an interface state type and a switching mode according to a first interface state type of a current game interface, determining a target switching mode corresponding to the current game interface according to the first mapping relation, and controlling the current game interface to be switched and displayed according to the target switching mode, so that the purpose that the interface state type and the switching mode can be comprehensively managed through the first mapping relation is achieved, and when the target switching mode corresponding to the current game interface is determined, the first mapping relation can be quickly determined.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a data processing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of internet technology and the increasing entertainment culture demand of people, the development of games has entered a new era, and various game interfaces are often developed in games to improve the game interaction experience of players in order to reflect the diversity in the game interaction process.
When existing game interfaces are developed, game developers are often required to develop trigger events corresponding to various message types in the game interfaces separately.
It can be seen that the existing game development process is relatively complex, so that the problems of low development efficiency and high maintenance cost exist.
Disclosure of Invention
An object of the present invention is to provide a data processing method, device, electronic device and storage medium, which can improve the development efficiency of games and reduce the maintenance cost, in view of the above-mentioned deficiencies in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, the present invention provides a data processing method for providing a game interface through a terminal device, the method including:
responding to the trigger of a target event, and acquiring a first interface state type of a current game interface;
according to the first interface state type of the current game interface, acquiring a first mapping relation between the interface state type and a switching mode, wherein the switching mode comprises at least one of the following items: displaying a first notification window corresponding to the event trigger on the current game interface and jumping to a first target game interface corresponding to the event trigger, displaying a second notification window corresponding to the event trigger on the current game interface but not jumping to a second target game interface corresponding to the event trigger, not displaying a third notification window corresponding to the event trigger on the current game interface and not jumping to a third target game interface corresponding to the event trigger;
and determining a target switching mode corresponding to the current game interface according to the first mapping relation, and controlling the current game interface to perform switching display according to the target switching mode.
In an alternative embodiment, the method further comprises: acquiring a first mapping relation between the interface state category and the switching mode and/or a second mapping relation between the operation type and the switching mode according to a preset configuration table;
the determining a target switching mode corresponding to the current game interface according to the first mapping relationship includes:
acquiring a target operation type corresponding to the target event trigger, and inquiring and acquiring a switching mode corresponding to the target operation type based on a second mapping relation;
determining a switching mode corresponding to the first interface state type according to the first mapping relation;
and determining a target switching mode corresponding to the current game interface according to the switching mode corresponding to the first interface state type and the switching mode corresponding to the target operation type.
In an alternative embodiment, the operation types include: a first operation type, a second operation type, and a third operation type;
the switching mode of the first operation type is that a third notification window corresponding to the event trigger is not displayed on the current game interface and the current game interface does not jump to a third target game interface corresponding to the event trigger;
the switching mode of the second operation type is that a second notification window corresponding to the event trigger is displayed on the current game interface but the current game interface does not jump to a second target game interface corresponding to the event trigger;
and the switching mode of the third operation type is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger.
In an optional embodiment, if it is determined that the target switching manner is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger, the controlling, according to the target switching manner, the current game interface to perform switching display includes:
displaying a first notification window corresponding to the target event trigger according to a target switching mode corresponding to the current game interface;
and switching and displaying the current game interface as the target game interface in response to the triggering operation of the confirmation control in the first notification window.
In an optional embodiment, the preset configuration table further includes: the switching and displaying of the current game interface as the target game interface further includes:
acquiring a first state weight corresponding to the current game interface and a second state weight corresponding to the target game interface;
and if the first state weight is greater than the second state weight, setting the second interface state of the target game interface to be the same as the first interface state.
In an alternative embodiment, the method further comprises:
and if the first state weight is determined to be less than or equal to the second state weight, acquiring a second interface state of the target game interface according to an interface state mapping table, wherein the interface state mapping table comprises a mapping relation between an interface identifier and the interface state.
In an optional embodiment, if the second interface state is a combat state, the method further includes:
receiving a state change signal sent by the server according to a game settlement result;
and switching the target game interface from the second interface state to a third interface state corresponding to the state change signal according to the state change signal, and modifying the second state weight corresponding to the target game interface to be a preset weight value, wherein the third interface state is an idle state.
In an alternative embodiment, the method further comprises:
responding to an editing operation on a preset configuration table, editing the preset configuration table according to the editing operation, wherein the editing operation comprises at least one of the following items: editing operation of mapping relation between operation types and switching modes, and editing operation of state weights corresponding to different game interfaces.
In an optional embodiment, if it is determined that the target switching manner is to display a second notification window corresponding to the event trigger on the current game interface, the controlling, according to the target switching manner, the current game interface to perform switching display includes:
and controlling the current game interface to display the second notification window according to a target switching mode corresponding to the current game interface, wherein the second notification window comprises reasons for incapability of interface jump.
In an alternative embodiment, the acquiring a first interface state category of the current game interface in response to the target event trigger includes:
responding to the trigger of a target event, and acquiring a target interface identifier of the current game interface;
and acquiring a first interface state category of the current game interface according to the target interface identifier of the current game interface and an interface state category mapping table, wherein the interface state category mapping table comprises a mapping relation between the interface identifier and the interface state category.
In a second aspect, the present invention provides a data processing apparatus for providing a game interface through a terminal device, the data processing apparatus comprising:
the response module is used for responding to the trigger of the target event and acquiring a first interface state type of the current game interface;
an obtaining module, configured to obtain a first mapping relationship between an interface state category and a switching manner according to the first interface state category of the current game interface, where the switching manner includes at least one of the following: displaying a first notification window corresponding to the event trigger on the current game interface and jumping to a first target game interface corresponding to the event trigger, displaying a second notification window corresponding to the event trigger on the current game interface but not jumping to a second target game interface corresponding to the event trigger, not displaying a third notification window corresponding to the event trigger on the current game interface and not jumping to a third target game interface corresponding to the event trigger;
and the control module is used for determining a target switching mode corresponding to the current game interface according to the first mapping relation and controlling the current game interface to perform switching display according to the target switching mode.
In an optional embodiment, the obtaining module is specifically configured to obtain, according to a preset configuration table, a first mapping relationship between an interface state category and a switching manner and/or a second mapping relationship between an operation type and the switching manner;
in an optional embodiment, the control module is specifically configured to obtain a target operation type corresponding to the target event trigger, and query and obtain a switching manner corresponding to the target operation type based on a second mapping relationship;
determining a switching mode corresponding to the first interface state type according to the first mapping relation;
and determining a target switching mode corresponding to the current game interface according to the switching mode corresponding to the first interface state type and the switching mode corresponding to the target operation type.
In an alternative embodiment, the operation types include: a first operation type, a second operation type, and a third operation type;
the switching mode of the first operation type is that a third notification window corresponding to the event trigger is not displayed on the current game interface and the current game interface does not jump to a third target game interface corresponding to the event trigger;
the switching mode of the second operation type is that a second notification window corresponding to the event trigger is displayed on the current game interface but the current game interface does not jump to a second target game interface corresponding to the event trigger;
and the switching mode of the third operation type is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger.
In an optional embodiment, if it is determined that the target switching manner is to display a first notification window corresponding to the event trigger on the current game interface and jump to the first target game interface corresponding to the event trigger, the control module is specifically configured to display the first notification window corresponding to the target event trigger according to the target switching manner corresponding to the current game interface;
and switching and displaying the current game interface as the target game interface in response to the triggering operation of the confirmation control in the first notification window.
In an optional embodiment, the preset configuration table further includes: the control module is further used for acquiring a first state weight corresponding to the current game interface and a second state weight corresponding to the target game interface;
and if the first state weight is greater than the second state weight, setting the second interface state of the target game interface to be the same as the first interface state.
In an optional implementation manner, the control module is further configured to, if it is determined that the first state weight is less than or equal to the second state weight, obtain a second interface state of the target game interface according to an interface state mapping table, where the interface state mapping table includes a mapping relationship between an interface identifier and an interface state.
In an optional embodiment, if the second interface state is a combat state, the data processing apparatus further includes: the processing module is used for receiving a state change signal sent by the server according to the game settlement result;
and switching the target game interface from the second interface state to a third interface state corresponding to the state change signal according to the state change signal, and modifying the second state weight corresponding to the target game interface to a preset weight value, wherein the third interface state is an idle state.
In an optional embodiment, the data processing apparatus further comprises: the editing module is used for responding to editing operation on a preset configuration table and editing the preset configuration table according to the editing operation, wherein the editing operation comprises at least one of the following operations: editing operation of mapping relation between operation types and switching modes, and editing operation of state weights corresponding to different game interfaces.
In an optional embodiment, if it is determined that the target switching manner is to display a second notification window corresponding to the event trigger on the current game interface, the control module is specifically configured to control the current game interface to display the second notification window according to the target switching manner corresponding to the current game interface, where the second notification window includes a reason why interface skip cannot be performed.
In an optional implementation manner, the response module is specifically configured to respond to a target event trigger and acquire a target interface identifier of a current game interface;
and acquiring a first interface state category of the current game interface according to the target interface identifier of the current game interface and an interface state category mapping table, wherein the interface state category mapping table comprises a mapping relation between the interface identifier and the interface state category.
In a third aspect, the present invention provides an electronic device comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the data processing method according to any one of the preceding embodiments.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the data processing method according to any one of the preceding embodiments.
The beneficial effect of this application is:
in a data processing method, an apparatus, an electronic device, and a storage medium provided in an embodiment of the present application, a game interface may be provided by a terminal device, and the method includes: responding to the trigger of a target event, and acquiring a first interface state type of a current game interface; acquiring a first mapping relation between the interface state type and the switching mode according to the first interface state type of the current game interface, according to the first mapping relation, the target switching mode corresponding to the current game interface is determined, and the current game interface is controlled to be switched and displayed according to the target switching mode, so that the comprehensive management of the interface state types and the switching modes through the first mapping relation is realized, the method has the characteristics of flexible management and high management efficiency, and when the target switching mode corresponding to the current game interface is determined, the method can be used for rapidly determining the first mapping relation through inquiring, and compared with a method for separately developing the trigger events corresponding to various message types in the game interface in the prior art, the method can simplify the development process, effectively improve the development efficiency of the game interface and reduce the development cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is an architecture diagram of a cloud interaction system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another data processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 5 is a schematic flow chart of another data processing method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another data processing method according to an embodiment of the present application;
fig. 9 is a schematic functional block diagram of a data processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The data processing method in one embodiment of the present application may be executed in a terminal device or a server. The terminal device may be a local terminal device. When the data processing method is executed on a server, the data processing method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system can comprise the server and a client device.
Fig. 1 is an architecture diagram of a cloud interaction system provided in an embodiment of the present application, and as shown in fig. 1, the system may include: a client device 10 and a server 20, wherein the client device 10 may be connected to the server 20 via a network 30.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (6) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the transmission method of the game role are completed on the cloud game server, and the client device 10 is used for receiving and sending data and presenting the game picture, for example, the client device 10 may be a display device with a data transmission function near the user side, such as a mobile terminal, a television, a computer, a palmtop computer, and the like; however, the terminal device performing information processing is a cloud game server in the cloud. When a game is played, a player operates the client device 10 to transmit an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as a game screen and the like are encoded and compressed, the data are returned to the client device 10 through a network, and finally, the data are decoded by the client device 10 and the game screen is output.
In an optional embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
Fig. 2 is a schematic flowchart of a data processing method provided in an embodiment of the present application, where an execution subject of the method may be a terminal device or a server, where the terminal device may provide a game interface, and as shown in fig. 2, the method may include:
s101, responding to the trigger of a target event, and acquiring a first interface state type of the current game interface.
The interface states of the game interfaces included in the game can be divided according to the states of the player characters in the game, and the interface state types of the game interfaces can be determined through the division. Optionally, the interface state of the game interface may include: an idle state, a busy state, a team matching state, a novice guiding state, a fighting state, a scenario playing state, etc., which are not limited herein, and may be different according to different game categories. In some embodiments, the interface state category of the current game interface may be any one of the interface states described above, for example, an idle state, which is not limited herein.
Alternatively, the target event trigger may be generated by a player through various touch operations such as clicking, sliding, long-pressing, heavy-pressing, dragging and the like based on a touch screen, or may be automatically triggered by the game system according to a scenario, game data/experience value, which is not limited herein. For example, the target event trigger may be a team invitation, a summons invitation, a resource bar preview, and the like. It can be understood that, if the player generates a target event trigger in a certain touch manner, which indicates that the player performs a certain interactive operation to request a response of the current game interface, in this case, the first interface state type of the current game interface may be obtained, and the target switching manner corresponding to the current game interface is determined with reference to the following steps.
S102, according to the first interface state type of the current game interface, a first mapping relation between the interface state type and the switching mode is obtained.
Wherein the switching manner may include at least one of the following: displaying a first notification window corresponding to the event trigger on the current game interface and jumping to a first target game interface corresponding to the event trigger, displaying a second notification window corresponding to the event trigger on the current game interface but not jumping to a second target game interface corresponding to the event trigger, not displaying a third notification window corresponding to the event trigger on the current game interface and not jumping to a third target game interface corresponding to the event trigger.
The first interface state type of the current game interface may be used as a trigger condition for obtaining the first mapping relationship, and optionally, the first mapping relationship may be obtained by querying a configuration file such as a configuration table, a tree data structure, a database, or the like, that is, the first mapping relationship may be obtained based on the configuration file. It can be understood that the obtained first mapping relationship also includes a switching manner corresponding to the first interface state category. Of course, the present application does not limit the presentation form of the configuration file, and the configuration file can be flexibly set according to the actual application scenario. In some embodiments, the obtained first mapping relationship may be stored in a database in the form of a table.
It should be further noted that, the present application is not limited to the notification contents in the first notification window and the second notification window in the foregoing switching manner, and optionally, the notification contents in the first notification window and the second notification window may include: in some embodiments, the first notification window may further include preset controls, such as a cancel control, a play control, a confirm control, and the like, which are not limited herein and may be different according to different game scenes. Certainly, the application also does not limit the specific content of the first target game interface, and optionally, the first target game interface may include: the game scene, the game role, the small map interface, the preset buttons, etc., are not limited herein, and the current game interface may be different according to the current game stage and the type of the game (such as shooting game, competitive game, war game, action game, etc.).
S103, determining a target switching mode corresponding to the current game interface according to the first mapping relation, and controlling the current game interface to switch and display according to the target switching mode.
Based on the above description, it can be seen that the first mapping relationship also includes the switching manner corresponding to the first interface state type, so that the target switching manner corresponding to the current game interface can be determined according to the first mapping relationship. The target switching mode may be any one of the switching modes shown above, and after the target switching mode is determined, the current game interface may be controlled to switch and display. By applying the method and the device, the interface state type and the switching mode can be comprehensively managed through the first mapping relation, the method and the device have the characteristics of flexible management and high management efficiency, the method and the device can be quickly determined through inquiring the first mapping relation when the target switching mode corresponding to the current game interface is determined, and compared with the prior art, different switching logic modes are developed by triggering different game interfaces and different events, the method and the device can simplify the development process, effectively improve the development efficiency of the game interface and reduce the development cost.
It should be noted that, as can be seen from the foregoing switching manner, in some embodiments, the target switching manner may also be that no switching operation is performed, that is, no notification window is displayed and no jump of the game interface is performed, and in this case, only the current game interface needs to be maintained. To sum up, an embodiment of the present application provides a data processing method, which may provide a game interface through a terminal device, and the method includes: responding to the trigger of a target event, and acquiring a first interface state type of a current game interface; acquiring a first mapping relation between the interface state type and the switching mode according to the first interface state type of the current game interface, according to the first mapping relation, the target switching mode corresponding to the current game interface is determined, and the current game interface is controlled to be switched and displayed according to the target switching mode, so that the comprehensive management of the interface state types and the switching modes through the first mapping relation is realized, the method has the characteristics of flexible management and high management efficiency, and when the target switching mode corresponding to the current game interface is determined, the method can be used for rapidly determining the first mapping relation through inquiring, and compared with a method for separately developing the trigger events corresponding to various message types in the game interface in the prior art, the method can simplify the development process, effectively improve the development efficiency of the game interface and reduce the development cost.
Optionally, the method further includes: and acquiring a first mapping relation between the interface state category and the switching mode and/or a second mapping relation between the operation type and the switching mode according to a preset configuration table.
Fig. 3 is a schematic flow chart of another data processing method according to an embodiment of the present application. Based on the foregoing embodiment, as shown in fig. 3, the determining, according to the first mapping relationship, a target switching manner corresponding to the current game interface includes:
and S105, acquiring the target operation type corresponding to the target event trigger, and inquiring and acquiring the switching mode corresponding to the target operation type based on the second mapping relation.
Optionally, the preset configuration table may include an event configuration table, where the event configuration table may include operation types corresponding to event triggers, where different event triggers may correspond to the same or different operation types, and the operation types may represent operation modes corresponding to the event triggers (e.g., whether a current game interface may display a notification window, whether a current game interface may jump from the current game interface to another game interface, and the like). Based on the description, optionally, the target operation type corresponding to the target event trigger may be obtained based on the event configuration table query.
Still further, since the second mapping relationship may include a corresponding relationship between the operation type and the handover method, the handover method corresponding to the target operation type may be queried based on the second mapping relationship. The switching manner corresponding to the target operation type may include one or more switching manners.
And S106, determining a switching mode corresponding to the first interface state type according to the first mapping relation.
And S107, determining a target switching mode corresponding to the current game interface according to the switching mode corresponding to the first interface state type and the switching mode corresponding to the target operation type.
It can be understood that, according to the first mapping relationship, the switching manner corresponding to the first interface state category may be determined, and therefore, the switching manner corresponding to the first interface state category may be combined with the switching manner corresponding to the target operation type to uniquely determine the target switching manner corresponding to the current game interface.
Optionally, the above operation types may include at least one, and in some embodiments, may include: a first operation type, a second operation type, and a third operation type.
The switching mode of the first operation type is that a third notification window corresponding to the event trigger is not displayed on the current game interface and the current game interface does not jump to a third target game interface corresponding to the event trigger; the switching mode of the second operation type is that a second notification window corresponding to the event trigger is displayed on the current game interface but the current game interface does not jump to a second target game interface corresponding to the event trigger; and the switching mode of the third operation type is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger.
In an alternative embodiment, the first notification window, the second notification window, and the third notification window may be the same notification window.
For a better understanding of the present application, the first operation type may be understood as a non-displayable and non-jumpable type, the second operation type may be understood as a displayable but non-jumpable type, and the third operation type may be understood as a displayable and jumpable type. Based on the division of the operation types, it can be understood that the embodiment of the application corresponds to different switching modes for different operation types, so that the requirements of most application scenarios can be met.
The following describes the embodiments of the present application with reference to specific configuration tables, where table one is an interface state category configuration table provided in the embodiments of the present application, and table two is an event configuration table provided in the embodiments of the present application. In table one and table two, A, B, C represents the switching modes corresponding to the first operation type, the second operation type and the third operation type, respectively. The meaning of the column "event trigger corresponding to the second operation type" in table one means that the switching manner corresponding to the second operation type can be triggered by which events, in other words, which event triggers can trigger the switching manner corresponding to the second operation type. By taking an example of the behavior of the busy state as an illustration, it can be seen that the R2 and R3 events trigger the switching manner corresponding to the second operation type.
Watch 1
Figure BDA0003578153860000121
Watch two
Event triggering Switching mode
Resource column skip (R1) A、C
Invitation type event (R2) A、B、C
New message class event (R3) A、B、C
Combining the table one and the table two, if the current game interface is in the idle state, it can be seen from the table one that the interface state type corresponding to the idle state is 1, that is, the first interface state type of the current game interface is 1, and the switching manner (marked as a first switching manner) corresponding to the first interface state type is a switching manner corresponding to the third operation type; if the target event trigger is a resource bar skip, it can be seen from table two that the switching manner (denoted as a second switching manner) corresponding to the target event trigger is a switching manner corresponding to the first operation type and the third operation type, and then, by combining table one and table two, taking the intersection of the first switching manner and the second switching manner, it can be obtained that the target switching manner corresponding to the current game interface is a switching manner corresponding to the third operation type, that is, the target switching manner corresponding to the current game interface is a switching manner corresponding to which the first notification window corresponding to the target event trigger can be displayed on the current game interface and a skip is made to the first target game interface corresponding to the target event trigger.
If the current game interface is in a busy state, the first interface state type of the current game interface is 4, and the first switching mode corresponding to the first interface state type is a switching mode corresponding to the first operation type and the second operation type; if the target event trigger is a resource bar skip, it can be seen from table two that the second switching manner corresponding to the target event trigger is a switching manner corresponding to the first operation type and the third operation type, and then, by combining table one and table two, the intersection of the first switching manner and the second switching manner is taken, and the target switching manner corresponding to the current game interface can be obtained as the switching manner corresponding to the first operation type and the second operation type.
With continued reference to table one, the switching manner (B) corresponding to the second operation type cannot be triggered by the resource bar skip event (R1), while the switching manner (a) corresponding to the first operation type can be triggered by the resource bar skip event (R1), so that it can be further determined that the target switching manner corresponding to the current game interface is the switching manner corresponding to the first operation type. The switching modes corresponding to other types of game interfaces can be referred to above, and are not limited herein.
Fig. 4 is a schematic flowchart of another data processing method according to an embodiment of the present application. Optionally, if it is determined that the target switching manner is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger, as shown in fig. 4, the controlling, according to the target switching manner, the current game interface to perform the switching display includes:
s201, displaying a first notification window corresponding to the trigger of the target event according to the target switching mode corresponding to the current game interface.
S202, responding to the trigger operation of the confirmation control in the first notification window, and switching and displaying the current game interface as a target game interface.
If the target switching manner indicates that the first notification window corresponding to the event trigger can be displayed and the target game interface corresponding to the event trigger can be skipped to, then, the first notification window corresponding to the target event trigger can be displayed on the current game interface, optionally, the first notification window can be displayed on the current game interface in a pop-up window, a floating window, or the like, and the first notification window may include a confirmation control, a cancellation control, or the like, which is not limited herein. For example, when the target event triggers the operation for team formation, the first notification window may be a team invitation window, which may include: the existing contents of team member identification, team forming time, team forming task and the like, and the preset controls of determining the control, canceling the control and the like are not limited herein.
Based on the above description, the confirmation control in the first notification window may be acted on by the touch screen through touch operations such as clicking, long-pressing, re-pressing, sliding, dragging, and the like, and a trigger operation on the confirmation control is responded, so that the current game interface may be switched and displayed (i.e., jump-displayed) at this time, and the target event triggers the corresponding target game interface, thereby implementing a jump operation of the game interface. For example, the current game interface may be switched and displayed as a team success interface, which is not limited herein.
By applying the method provided by the embodiment of the application, the requirement that the first notification window corresponding to the target event trigger is displayed on the current game interface and the application scene of the target game interface corresponding to the target event trigger is skipped to can be completely met, and the applicability is strong.
Fig. 5 is a schematic flowchart of another data processing method according to an embodiment of the present application. Optionally, the preset configuration table further includes: as shown in fig. 5, the state weights corresponding to different game interfaces, switching and displaying the current game interface as the target game interface, further includes:
s301, acquiring a first state weight corresponding to the current game interface and a second state weight corresponding to the target game interface.
S302, if the first state weight is larger than the second state weight, setting the second interface state of the target game interface to be the same as the first interface state.
S303, if the first state weight is smaller than or equal to the second state weight, acquiring a second interface state of the target game interface according to the interface state mapping table.
The interface state mapping table comprises a mapping relation between an interface identifier and an interface state.
In some embodiments, it is contemplated that different game interfaces may correspond to the same interface state. Therefore, after the current game interface is controlled to be switched to the target game interface corresponding to the target switching manner, it is necessary to respectively obtain a first state weight corresponding to the current game interface and a second state weight corresponding to the target game interface, and determine the second interface state corresponding to the target game interface according to a magnitude relationship between the first state weight and the second state weight.
Wherein, if the first state weight is determined to be less than or equal to the second state weight, the second interface state of the target game interface is obtained according to the interface state type mapping table, otherwise, the second interface state of the target game interface is set to be the same as the first interface state, and the embodiment of the application is applied, when the current game interface corresponding to the high state weight is switched to the target game interface corresponding to the low state weight, the second interface state of the target game interface can be ensured to be consistent with the first interface state of the current game interface, when the current game interface corresponding to the low state weight is switched to the target game interface corresponding to the high and low state weight, the second interface state of the target game interface can be ensured to be switched in time, and further, the target switching mode corresponding to the current game interface can be flexibly adjusted in different scenes, and the expansibility and the applicability of the method can be improved.
Optionally, the state weight corresponding to the game interface may adopt a digital identifier, and optionally, the higher the state weight corresponding to the game interface is, the larger the number corresponding to the state weight is, and the lower the state weight corresponding to the game interface is, the smaller the number corresponding to the state weight is, and of course, the application does not limit a specific identifier manner herein, and may be different according to an actual application scenario.
For example, with reference to table 1, a game includes a game announcement interface and a game play selection interface, where the game announcement interface may be a game homepage interface, specifically may be a game interface when a player just enters a game, the game play selection interface may be a game interface when the player selects a game task, specifically may be a game interface when the player selects a game level, and the game announcement interface corresponds to a state weight of 1, a corresponding interface state category is 1, a corresponding interface state is an idle state, a game play selection interface corresponds to a state weight of 4, a corresponding interface state category is 4, and a specifically corresponding interface state is in a state, during a game, if the current game interface of the player is a game announcement interface, if the player tries to open the game play selection interface at this time, a state weight (4) corresponding to the game play selection interface is greater than a state weight (1) corresponding to the game announcement interface because the game play selection interface corresponds to a state weight (4) ) Then, at this time, the interface state category of the game interface is switched, that is, from the idle state to the busy state.
Continuing with the above example, if the game further comprises: the game scenario playing interface is used for playing a preset scenario to improve game interest of a player, the state weight corresponding to the game scenario playing interface is 2, the corresponding interface state type is 2, for example, the specific corresponding interface state is the scenario state, in a game process, if the current game interface of the player is the game scenario playing interface, if a section of scenario is called in a game at the moment, and the called scenario is played through the game scenario playing interface, it can be understood that, because the state weight (4) corresponding to the game play method selection interface is greater than the state weight (2) corresponding to the game scenario playing interface, the interface state type of the game scenario playing interface at the moment is set to be the interface state type corresponding to the game play method selection interface, that is, to be set to be a busy state. Of course, the specific application scenario is not limited thereto, and may be different according to the actual application scenario.
Fig. 6 is a schematic flowchart of another data processing method according to an embodiment of the present application. Optionally, if the second interface state is a combat state, as shown in fig. 6, the method further includes:
s501, receiving a state change signal sent by the server according to the game settlement result.
S502, according to the state change signal, the target game interface is switched from the second interface state to a third interface state corresponding to the state change signal, and the second state weight corresponding to the target game interface is modified to be a preset weight value.
Wherein the third interface state is an idle state. The game settlement result may include: game level parameters, ranking parameters, fighting power parameters, awarded virtual property parameters, and the like, which are not limited herein.
After the game is finished, the interface state corresponding to the game interface can be changed in time, and the target game interface can be triggered in response to the target event through the change, so that the target game interface is controlled to further perform switching display. Alternatively, taking the terminal device as an example for description, the terminal device may receive a state change signal sent by the server according to the game settlement result, and according to the state signal, the target game interface may be switched from the fighting state to the idle state, and in addition, the second state weight corresponding to the target game interface may also be modified to be a preset weight value, which may optionally be the lowest state weight value, for example, may be 1, which is not limited herein.
Fig. 7 is a schematic flowchart of another data processing method according to an embodiment of the present application. Optionally, as shown in fig. 7, the method further includes:
and S701, responding to the editing operation on the preset configuration table, and editing the preset configuration table according to the editing operation.
Wherein the editing operation comprises at least one of: editing operation of mapping relation between operation types and switching modes, and editing operation of state weights corresponding to different game interfaces.
In some embodiments, considering that there is a need to update the preset configuration table for different versions of the game, optionally, an editing operation on the preset configuration table may be generated through a touch operation based on the touch screen, where the editing operation indicates an editing type that may be: modification, deletion and the like are not limited herein, and in response to the editing operation, the preset configuration table may be edited according to the editing operation to obtain an updated preset configuration table, so that the flexibility of the method of the present application may be improved.
It should be noted that, according to different application scenarios, the editing operation may specifically be a modification or deletion operation on any content such as an interface state type, an operation type, a switching manner, and the like, which is not limited herein, and it can be understood that the editing of the mapping relationship between the three in the preset configuration table can be implemented through the editing operation. In addition, if the preset configuration table further includes: the editing operation may also be an editing operation on the state weights corresponding to different game interfaces, which is not limited herein.
Optionally, if it is determined that the target switching manner is that the corresponding second notification window is triggered by the event displayed on the current game interface, controlling the current game interface to perform switching display according to the target switching manner, including:
and controlling the current game interface to display a second notification window according to the target switching mode corresponding to the current game interface.
And the second notification window comprises the reason why the interface jump cannot be carried out.
Based on the above description, it can be understood that, if the target switching manner is to display a second notification window corresponding to an event trigger, when the current game interface is controlled to perform switching display, the current game interface may be controlled to display the second notification window, and in consideration of some scenarios, the purpose of generating the target event trigger by the user is to perform interface skipping, in this case, a reason why the interface skipping cannot be performed may be displayed in the second notification window, so as to improve game interaction experience of the player. By way of example, the content in the second notification window may be: the current game currency is insufficient, the next closing cannot be achieved, or the current game level is low, the selected virtual props cannot be worn for the virtual characters, and other contents are not limited, and the game can be different according to different game scenes.
Fig. 8 is a schematic flowchart of another data processing method according to an embodiment of the present application. Optionally, as shown in fig. 8, the obtaining of the first interface state category of the current game interface in response to the target event trigger includes:
s801, responding to the trigger of the target event, and acquiring the target interface identification of the current game interface.
S802, according to the target interface identification of the current game interface and the interface state category mapping table, a first interface state category of the current game interface is obtained.
The interface state category mapping table comprises a mapping relation between an interface identifier and an interface state category. Optionally, in the interface state class mapping table, different interface identifiers may correspond to the same interface state class, that is, the same interface state class may correspond to multiple interface identifiers. In some embodiments, the interface state category mapping table may be a mapping table pre-configured in advance according to the interface state and the interface identifier of each game interface, and is not limited herein. Referring to the first table, it can be seen that the interface state category corresponding to the interface identifier 2 is 1, and the interface state categories corresponding to the interface identifiers 2 and 3 are 4, and of course, the specific dividing manner is not limited thereto.
Based on the above description, in response to a target event trigger, a target interface identifier of the current game interface may be obtained, and according to the target interface identifier, a first interface state category of the current game interface may be obtained by querying in an interface state category mapping table.
Fig. 9 is a functional block diagram of a data processing apparatus according to an embodiment of the present application, the basic principle and the technical effect of the apparatus are the same as those of the corresponding method embodiment, and for brief description, the corresponding contents in the method embodiment may be referred to for the parts not mentioned in this embodiment. As shown in fig. 9, the data processing apparatus 100 includes:
the response module 110 is configured to, in response to a target event trigger, acquire a first interface state category of a current game interface;
an obtaining module 120, configured to obtain a first mapping relationship between an interface state category and a switching manner according to the first interface state category of the current game interface, where the switching manner includes at least one of the following: displaying a first notification window corresponding to the event trigger on the current game interface and jumping to a first target game interface corresponding to the event trigger, displaying a second notification window corresponding to the event trigger on the current game interface but not jumping to a second target game interface corresponding to the event trigger, not displaying a third notification window corresponding to the event trigger on the current game interface and not jumping to a third target game interface corresponding to the event trigger;
and the control module 130 is configured to determine a target switching manner corresponding to the current game interface according to the first mapping relationship, and control the current game interface to perform switching display according to the target switching manner.
In an optional embodiment, the obtaining module 120 is specifically configured to obtain, according to a preset configuration table, a first mapping relationship between an interface state category and a switching manner and/or a second mapping relationship between an operation type and the switching manner;
in an optional embodiment, the control module 130 is specifically configured to obtain a target operation type corresponding to the target event trigger, and query and obtain a switching manner corresponding to the target operation type based on a second mapping relationship;
determining a switching mode corresponding to the first interface state type according to the first mapping relation;
and determining a target switching mode corresponding to the current game interface according to the switching mode corresponding to the first interface state type and the switching mode corresponding to the target operation type.
In an alternative embodiment, the operation types include: a first operation type, a second operation type, and a third operation type;
the switching mode of the first operation type is that a third notification window corresponding to the event trigger is not displayed on the current game interface and the current game interface does not jump to a third target game interface corresponding to the event trigger;
the switching mode of the second operation type is that a second notification window corresponding to the event trigger is displayed on the current game interface but the current game interface does not jump to a second target game interface corresponding to the event trigger;
and the switching mode of the third operation type is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger.
In an optional embodiment, if it is determined that the target switching manner is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger, the control module 130 is specifically configured to display the first notification window corresponding to the target event trigger according to the target switching manner corresponding to the current game interface;
and switching and displaying the current game interface as the target game interface in response to the trigger operation of the confirmation control in the first notification window.
In an optional embodiment, the preset configuration table further includes: the control module is further used for acquiring a first state weight corresponding to the current game interface and a second state weight corresponding to the target game interface;
and if the first state weight is greater than the second state weight, setting the second interface state of the target game interface to be the same as the first interface state.
In an optional implementation manner, the control module 130 is further configured to, if it is determined that the first state weight is less than or equal to the second state weight, obtain a second interface state of the target game interface according to an interface state mapping table, where the interface state mapping table includes a mapping relationship between an interface identifier and an interface state.
In an optional embodiment, if the second interface state is a combat state, the data processing apparatus further includes: the processing module is used for receiving a state change signal sent by the server according to the game settlement result;
and switching the target game interface from the second interface state to a third interface state corresponding to the state change signal according to the state change signal, and modifying the second state weight corresponding to the target game interface to a preset weight value, wherein the third interface state is an idle state.
In an optional embodiment, the data processing apparatus further comprises: the editing module is used for responding to an editing operation on a preset configuration table and editing the preset configuration table according to the editing operation, wherein the editing operation comprises at least one of the following operations: editing operation of mapping relation between operation types and switching modes, and editing operation of state weights corresponding to different game interfaces.
In an optional embodiment, if it is determined that the target switching manner is to display a second notification window corresponding to the event trigger on the current game interface, the control module 130 is specifically configured to control the current game interface to display the second notification window according to the target switching manner corresponding to the current game interface, where the second notification window includes a reason why interface jump cannot be performed.
In an optional embodiment, the response module 110 is specifically configured to respond to a target event trigger to acquire a target interface identifier of a current game interface;
and acquiring a first interface state of the current game interface according to the target interface identifier of the current game interface and an interface state category mapping table, wherein the interface state mapping table comprises a mapping relation between the interface identifier and the interface state.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 10, the electronic device may include: a processor 210, a storage medium 220, and a bus 230, wherein the storage medium 220 stores machine-readable instructions executable by the processor 210, and when the electronic device is operated, the processor 210 communicates with the storage medium 220 via the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (13)

1. A data processing method for providing a game interface through a terminal device, the method comprising:
responding to the trigger of a target event, and acquiring a first interface state type of a current game interface;
according to the first interface state type of the current game interface, acquiring a first mapping relation between the interface state type and a switching mode, wherein the switching mode comprises at least one of the following items: displaying a first notification window corresponding to the event trigger on the current game interface and jumping to a first target game interface corresponding to the event trigger, displaying a second notification window corresponding to the event trigger on the current game interface but not jumping to a second target game interface corresponding to the event trigger, not displaying a third notification window corresponding to the event trigger on the current game interface and not jumping to a third target game interface corresponding to the event trigger;
and determining a target switching mode corresponding to the current game interface according to the first mapping relation, and controlling the current game interface to perform switching display according to the target switching mode.
2. The method of claim 1, further comprising:
acquiring a first mapping relation between the interface state category and the switching mode and/or a second mapping relation between the operation type and the switching mode according to a preset configuration table;
the determining a target switching mode corresponding to the current game interface according to the first mapping relationship includes:
acquiring a target operation type corresponding to the target event trigger, and inquiring and acquiring a switching mode corresponding to the target operation type based on a second mapping relation;
determining a switching mode corresponding to the first interface state type according to the first mapping relation;
and determining a target switching mode corresponding to the current game interface according to the switching mode corresponding to the first interface state type and the switching mode corresponding to the target operation type.
3. The method of claim 2, wherein the operation types comprise: a first operation type, a second operation type, and a third operation type;
the switching mode of the first operation type is that a third notification window corresponding to the event trigger is not displayed on the current game interface and the current game interface does not jump to a third target game interface corresponding to the event trigger;
the switching mode of the second operation type is that a second notification window corresponding to the event trigger is displayed on the current game interface but the current game interface does not jump to a second target game interface corresponding to the event trigger;
and the switching mode of the third operation type is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger.
4. The method according to claim 2, wherein if it is determined that the target switching manner is to display a first notification window corresponding to the event trigger on the current game interface and jump to a first target game interface corresponding to the event trigger, the controlling the current game interface to perform switching display according to the target switching manner includes:
displaying a first notification window corresponding to the target event trigger according to a target switching mode corresponding to the current game interface;
and switching and displaying the current game interface as the target game interface in response to the triggering operation of the confirmation control in the first notification window.
5. The method of claim 4, wherein the preset configuration table further comprises: the switching and displaying of the current game interface as the target game interface further includes:
acquiring a first state weight corresponding to the current game interface and a second state weight corresponding to the target game interface;
and if the first state weight is greater than the second state weight, setting the second interface state of the target game interface to be the same as the first interface state.
6. The method of claim 5, further comprising:
and if the first state weight is determined to be less than or equal to the second state weight, acquiring a second interface state of the target game interface according to an interface state mapping table, wherein the interface state mapping table comprises a mapping relation between an interface identifier and the interface state.
7. The method of claim 5, wherein if the second interface state is a combat state, the method further comprises:
receiving a state change signal sent by the server according to the game settlement result;
and switching the target game interface from the second interface state to a third interface state corresponding to the state change signal according to the state change signal, and modifying the second state weight corresponding to the target game interface to a preset weight value, wherein the third interface state is an idle state.
8. The method of claim 5, further comprising:
responding to an editing operation on a preset configuration table, editing the preset configuration table according to the editing operation, wherein the editing operation comprises at least one of the following items: editing operation of mapping relation between operation types and switching modes, and editing operation of state weights corresponding to different game interfaces.
9. The method according to claim 1, wherein if it is determined that the target switching manner is to display a second notification window corresponding to the event trigger on the current game interface, the controlling the current game interface to perform switching display according to the target switching manner includes:
and controlling the current game interface to display the second notification window according to a target switching mode corresponding to the current game interface, wherein the second notification window comprises reasons for incapability of interface jump.
10. The method of claim 1, wherein the obtaining the first interface state category of the current game interface in response to the target event trigger comprises:
responding to the trigger of a target event, and acquiring a target interface identifier of the current game interface;
and acquiring a first interface state category of the current game interface according to the target interface identifier of the current game interface and an interface state category mapping table, wherein the interface state category mapping table comprises a mapping relation between the interface identifier and the interface state category.
11. A data processing apparatus that provides a game interface through a terminal device, the data processing apparatus comprising:
the response module is used for responding to the trigger of the target event and acquiring a first interface state type of the current game interface;
an obtaining module, configured to obtain, according to a first interface state type of the current game interface, a first mapping relationship between an interface state type and a switching manner, where the switching manner includes at least one of the following: displaying a first notification window corresponding to the event trigger on the current game interface and jumping to a first target game interface corresponding to the event trigger, displaying a second notification window corresponding to the event trigger on the current game interface but not jumping to a second target game interface corresponding to the event trigger, not displaying a third notification window corresponding to the event trigger on the current game interface and not jumping to a third target game interface corresponding to the event trigger;
and the control module is used for determining a target switching mode corresponding to the current game interface according to the first mapping relation and controlling the current game interface to perform switching display according to the target switching mode.
12. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the data processing method according to any one of claims 1 to 10.
13. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the data processing method according to any one of claims 1 to 10.
CN202210348478.8A 2022-04-01 2022-04-01 Data processing method and device, electronic equipment and storage medium Pending CN114653061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210348478.8A CN114653061A (en) 2022-04-01 2022-04-01 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210348478.8A CN114653061A (en) 2022-04-01 2022-04-01 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114653061A true CN114653061A (en) 2022-06-24

Family

ID=82033765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210348478.8A Pending CN114653061A (en) 2022-04-01 2022-04-01 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114653061A (en)

Similar Documents

Publication Publication Date Title
CN110604920A (en) Game-based learning method and device, electronic equipment and storage medium
CN113648650B (en) Interaction method and related device
JP6337051B2 (en) Program and system
CN112306321B (en) Information display method, device and equipment and computer readable storage medium
US20130324257A1 (en) Posted information sharing system, game application executing system, storage medium, and information-processing method
JP7395734B2 (en) Generating server-based help maps in video games
US20240091643A1 (en) Method and apparatus for controlling virtual objects in game, and electronic device and storage medium
CN116688526A (en) Virtual character interaction method and device, terminal equipment and storage medium
KR101633400B1 (en) Method of providing battle service based hybrid app for mobile game, and computer-readable recording medium for the same
CN115779409A (en) Intelligent generation method of plot unit and related device
CN114653061A (en) Data processing method and device, electronic equipment and storage medium
CN114257827B (en) Game live broadcast room display method, device, equipment and storage medium
JP2019155103A (en) Game replay method and system
CN113082705A (en) Game scene switching method and device, computer equipment and storage medium
JP6560807B2 (en) System, method, and program for providing game
JP6704017B2 (en) Video game processing program and video game processing system
KR101183731B1 (en) Method and server for providing service of using item
US20140323217A1 (en) Method and server for providing item according to joining an event in online game
WO2024021792A1 (en) Virtual scene information processing method and apparatus, device, storage medium, and program product
JP7464336B2 (en) Server-based video help in video games
JP2014026501A (en) Information processing system, information processing device, program and information processing method
WO2024078235A1 (en) Game processing method and apparatus, computer device, computer readable storage medium, and computer program product
JP6694468B2 (en) Program and system
CN113457138A (en) Node display method and device, electronic equipment and storage medium
CN116225602A (en) Jump management method and device for user interface, electronic equipment and storage medium

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