Data processing method, device, storage medium and electronic device
By receiving and managing target game screen control instructions, using target identification information and timestamp synchronization processing, the problem of VR device control information synchronization in multiplayer games is solved, ensuring the consistency of game characters' actions and improving the gaming experience.
Patent Information
- Application Number
- CN202210438057.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-20
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-04-20
AI Technical Summary
In a large-scale 3D game of multiplayer, how to ensure the synchronization of reverse control information of multiple VR devices, keep the movements of game characters consistent, thereby improving the gaming experience.
By receiving the target game screen control instructions sent by the target terminal device, the corresponding control command queue is determined based on the target identification information and the timestamp, and the instructions are executed in chronological order to ensure that the game screens of each terminal device are synchronized. At the same time, time synchronization and network delay management are carried out to avoid synchronization problems caused by time out of synchronization and network delay.
It realizes game screen synchronization between multiple terminal devices, ensures the consistency of game characters' actions, and significantly improves the user experience.
Smart Images

Figure CN114904265B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of cloud computing, and in particular to a data processing method, device, storage medium, and electronic device. Background Art
[0002] When users use virtual reality (VR) devices to play games (such as large-scale 3D games), the game screen is rendered by a remote server (S-side). The VR device is equivalent to a remote display device, and the game screen rendered by the S-side is pulled to the VR device for display through, for example, the VANXVM Graphic Transport Protocol (vGTP). And when playing large-scale 3D games, users need to operate the game screen through the VR device, so it is necessary to reversely inject the control information of the VR device to the S-side so that the user's operation actions can be reflected in the game on the S-side.
[0003] However, when playing large-scale 3D multiplayer games, there is only one copy of the game screen. In this case, vGTP can distribute the game screen on the S side to multiple VR devices for display. Although multiple VR devices see the same screen, different VR devices need to operate different game characters to fight, so the control information of different VR devices needs to be injected back to the S side.
[0004] However, when multiple reverse control information is injected into the S end, how to ensure its synchronization so that the actions of the game characters remain consistent and thus enhance the gaming experience is an urgent problem to be solved. Summary of the invention
[0005] The disclosed embodiments provide a data processing method, device, storage medium and electronic device, which can ensure the synchronization of multiple reverse control information when they are injected into the S end, so that the actions of the game characters remain consistent, thereby enhancing the game experience. The technical solution is as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a data processing method, which is applied to a server and includes:
[0007] Receiving a target game screen control instruction sent by a target terminal device, the target game screen control instruction including target identification information and a target timestamp of the target terminal device, the target terminal device being any one of N terminal devices connected to the server, where N is an integer greater than 1;
[0008] Determine a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, wherein the target game screen control instruction queue includes at least one game screen control instruction;
[0009] Inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp;
[0010] Execute each game screen control instruction in the target game screen control instruction queue in chronological order.
[0011] The data processing method provided by the embodiment of the present disclosure can receive a target game screen control instruction sent by a target terminal device, the target game screen control instruction including target identification information and a target timestamp of the target terminal device, the target terminal device being any one of N terminal devices connected to the server, N being an integer greater than 1; determining a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, the target game screen control instruction queue including at least one game screen control instruction; inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp; executing each game screen control instruction in the target game screen control instruction queue in chronological order, which can ensure the synchronization of the same game screen running on multiple terminal devices, so that the actions of game characters remain consistent, thereby enhancing the gaming experience.
[0012] In one embodiment, before receiving the target game screen control instruction sent by the target terminal device, the method further includes:
[0013] Time synchronization is performed on the N terminal devices connected to the server.
[0014] By synchronizing the time of the N terminal devices connected to the server, it is possible to effectively avoid the situation where the same game screen is not synchronized on different terminal devices due to time asynchrony, thereby enhancing the gaming experience.
[0015] In one embodiment, before receiving the target game screen control instruction sent by the target terminal device, the method further includes:
[0016] Get the current network delay;
[0017] After receiving the target game screen control instruction sent by the target terminal device, the method further includes:
[0018] If a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, a designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, wherein the designated terminal device is any one of the N terminal devices except the target terminal device, and the designated game screen control instruction includes the designated identification information of the designated terminal device and a designated timestamp;
[0019] The inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp comprises:
[0020] If the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp.
[0021] By acquiring the network delay, and when a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, the designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, and when the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp, thereby avoiding the problem of the same game screen being displayed out of sync on different terminal devices due to network delay, and effectively improving the user experience.
[0022] In one embodiment, determining the target game screen control instruction queue corresponding to the target terminal device according to the target identification information includes:
[0023] The target game screen control instruction queue corresponding to the target terminal device and the target identification information is determined according to a preset correspondence relationship, wherein the preset correspondence relationship is the correspondence between the identification information of the target game and the identification information of M terminal devices running the target game, wherein M is an integer greater than 1, and M is less than or equal to N.
[0024] In one embodiment, the game screen control instructions in the target game screen control instruction queue are arranged in chronological order according to their respective timestamps, and inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp comprises:
[0025] The target game screen control instruction is inserted between the first game screen control instruction and the second game screen control instruction, wherein the first game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and before the target timestamp, and the second game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and after the target timestamp.
[0026] According to a second aspect of an embodiment of the present disclosure, there is provided a data processing device, applied to a server, comprising:
[0027] A control instruction receiving module, used to receive a target game screen control instruction sent by a target terminal device, wherein the game screen control instruction includes target identification information and a target timestamp of the target terminal device, and the target terminal device is any one of N terminal devices connected to the server, where N is an integer greater than 1;
[0028] A control instruction queue determination module, used to determine a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, wherein the target game screen control instruction queue includes at least one game screen control instruction;
[0029] A control instruction inserting module, used for inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp;
[0030] The control instruction execution module is used to execute each game screen control instruction in the target game screen control instruction queue in chronological order.
[0031] In one embodiment, the apparatus further comprises:
[0032] A time synchronization module is used to synchronize the time of the N terminal devices connected to the server.
[0033] In one embodiment, the apparatus further comprises:
[0034] The current network delay acquisition module is used to obtain the current network delay;
[0035] The control instruction queue determination module is also used for:
[0036] If a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, a designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, wherein the designated terminal device is any one of the N terminal devices except the target terminal device, and the designated game screen control instruction includes the designated identification information of the designated terminal device and a designated timestamp;
[0037] The control instruction insertion module is specifically used for:
[0038] If the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp.
[0039] In one embodiment, the control instruction queue determination module is used to:
[0040] The target game screen control instruction queue corresponding to the target terminal device and the target identification information is determined according to a preset correspondence relationship, wherein the preset correspondence relationship is the correspondence between the identification information of the target game and the identification information of M terminal devices running the target game, wherein M is an integer greater than 1, and M is less than or equal to N.
[0041] In one embodiment, the game screen control instructions in the target game screen control instruction queue are arranged in chronological order according to their respective timestamps, and the control instruction insertion module is used to:
[0042] The target game screen control instruction is inserted between the first game screen control instruction and the second game screen control instruction, wherein the first game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and before the target timestamp, and the second game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and after the target timestamp.
[0043] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one computer instruction, and the instruction is loaded and executed by the processor to implement the steps performed in the data processing method described in any one of the first aspects.
[0044] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein at least one computer instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the steps performed in the data processing method described in any one of the first aspects.
[0045] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0047] Figure 1 is a flow chart of a data processing method provided by an embodiment of the present disclosure;
[0048] Figure 2 The structure of a data processing device provided by the embodiment of the present disclosure is Figure 1 ;
[0049] Figure 3 The structure of a data processing device provided by the embodiment of the present disclosure is Figure 2 ;
[0050] Figure 4 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0052] Figure 1 1 is a flow chart of a data processing method provided by an embodiment of the present disclosure, and the method is applied to a server. Figure 1 As shown, the method includes:
[0053] S101. Receive a target game screen control instruction sent by a target terminal device, wherein the target game screen control instruction includes target identification information and a target timestamp of the target terminal device. The target terminal device is any one of N terminal devices connected to the server, where N is an integer greater than 1.
[0054] Exemplarily, in this embodiment, the server is connected to N terminal devices, and the game screen can be sent to the N terminal devices, and the users of the N terminal devices respectively operate the game screen. For example, user A, user B, and user C are users of terminal device 1, terminal device 2, and terminal device 3, respectively, and when user A, user B, and user C watch a game screen (such as King of Glory) at the same time, the server sends the game screen of King of Glory to terminal device 1, terminal device 2, and terminal device 3 respectively, and establishes a preset corresponding relationship, which is the corresponding relationship between the identification information of the King of Glory game and the identification information of the three terminal devices (terminal device 1, terminal device 2, and terminal device 3) running the King of Glory game. For another example, user D, user E, and user F are users of terminal device 4, terminal device 5, and terminal device 6, respectively, and when user D, user E, and user F watch a game screen (such as PlayerUnknown's Battlegrounds) at the same time, the server sends the game screen of PlayerUnknown's Battlegrounds to terminal device 4, terminal device 5, and terminal device 6, respectively, and establishes a preset corresponding relationship, which is the corresponding relationship between the identification information of the PlayerUnknown's Battlegrounds game and the identification information of the three terminal devices (terminal device 4, terminal device 5, and terminal device 6) running the PlayerUnknown's Battlegrounds game. In this embodiment, the terminal device can be a VR device, or it can be other devices such as a mobile phone, a computer, and a tablet, and this embodiment is not specifically limited here.
[0055] Exemplarily, in order to avoid time asynchrony between different terminal devices, which may cause the same game screen to be asynchronized between different terminal devices, before receiving the target game screen control instruction sent by the target terminal device, the server synchronizes the time of the N terminal devices connected to the server.
[0056] S102. Determine a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, wherein the target game screen control instruction queue includes at least one game screen control instruction.
[0057] The following describes how to determine the target game screen control instruction queue corresponding to the target terminal device based on the target identification information.
[0058] Exemplarily, the target game screen control instruction queue corresponding to the target terminal device is determined according to a preset correspondence relationship, wherein the preset correspondence relationship is the correspondence between the identification information of the target game and the identification information of M terminal devices running the target game, wherein M is an integer greater than 1, and M is less than or equal to N.
[0059] For example, the target terminal devices are terminal device 1, terminal device 2, and terminal device 3, and the game screen of Honor of Kings is displayed on terminal device 1, terminal device 2, and terminal device 3 at the same time, that is, the Honor of Kings game is run on terminal device 1, terminal device 2, and terminal device 3 at the same time. Then the preset corresponding relationship is the corresponding relationship between the identification information of the Honor of Kings game and the identification information of the three terminal devices (terminal device 1, terminal device 2, and terminal device 3) running the Honor of Kings game.
[0060] After the server receives the target game screen control instruction sent by the target terminal device (terminal device 1), it can determine the target game screen control instruction queue (the game screen control instruction queue of Honor of Kings) corresponding to the target identification information (the identification information of terminal device 1) according to the preset correspondence.
[0061] S103: Insert the target game screen control instruction into the target game screen control instruction queue according to the target timestamp.
[0062] Exemplarily, in this embodiment, the game screen control instructions in the target game screen control instruction queue are arranged in chronological order according to their respective timestamps, and inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp includes:
[0063] The target game screen control instruction is inserted between the first game screen control instruction and the second game screen control instruction, wherein the first game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and before the target timestamp, and the second game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and after the target timestamp.
[0064] In one embodiment, before receiving the target game screen control instruction sent by the target terminal device, the method further includes:
[0065] Get the current network delay;
[0066] After receiving the target game screen control instruction sent by the target terminal device, the method further includes:
[0067] If a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, a designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, wherein the designated terminal device is any one of the N terminal devices except the target terminal device, and the designated game screen control instruction includes the designated identification information of the designated terminal device and a designated timestamp;
[0068] The inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp comprises:
[0069] If the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp.
[0070] For example, the target terminal device is terminal device 1, the designated terminal device is terminal device 2, and both terminal device 1 and terminal device 2 display the game screen of Honor of Kings. The game screen control instruction queue of Honor of Kings stores the identification information of each terminal device that can control the game screen of Honor of Kings. If the current network delay is 5us. After the server receives the game screen control instruction of Honor of Kings sent by terminal device 1, if it receives the designated game screen control instruction sent by terminal device 2 within 5us, it determines that the designated game screen control instruction queue corresponding to the designated terminal device is the game screen control instruction queue of Honor of Kings according to the designated identification information in the designated game screen control instruction, and the target game screen control instruction queue corresponding to terminal device 1 is the same queue, both of which are game screen control instruction queues of Honor of Kings. Then, according to the target timestamp and the designated timestamp, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue. Specifically, the target game screen control instruction is inserted between the first game screen control instruction and the second game screen control instruction, wherein the first game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and before the target timestamp, and the second game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and after the target timestamp. The designated game screen control instruction is inserted between the third game screen control instruction and the fourth game screen control instruction, wherein the third game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the designated timestamp and before the designated timestamp, and the fourth game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the designated timestamp and after the designated timestamp.
[0071] By acquiring the network delay, and when a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, the designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, and when the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp, thereby avoiding the problem of the same game screen being displayed out of sync on different terminal devices due to network delay, and effectively improving the user experience.
[0072] S104, executing each game screen control instruction in the target game screen control instruction queue in chronological order.
[0073] Furthermore, after the target game screen control instruction and the designated game screen control instruction are inserted into the target game screen control instruction queue, each game screen control instruction in the target game screen control instruction queue is executed in chronological order.
[0074] The data processing method provided by the embodiment of the present disclosure can receive a target game screen control instruction sent by a target terminal device, the target game screen control instruction including target identification information and a target timestamp of the target terminal device, the target terminal device being any one of N terminal devices connected to the server, N being an integer greater than 1; determining a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, the target game screen control instruction queue including at least one game screen control instruction; inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp; executing each game screen control instruction in the target game screen control instruction queue in chronological order, which can ensure the synchronization of the same game screen running on multiple terminal devices, so that the actions of game characters remain consistent, thereby enhancing the gaming experience.
[0075] Figure 2 2 is a structural diagram of a data processing device provided in an embodiment of the present disclosure, and the device 20 is applied to a server. Figure 2 As shown, the device 20 comprises:
[0076] A control instruction receiving module 201 is used to receive a target game screen control instruction sent by a target terminal device, wherein the game screen control instruction includes target identification information and a target timestamp of the target terminal device, and the target terminal device is any one of N terminal devices connected to the server, where N is an integer greater than 1;
[0077] A control instruction queue determining module 202 is used to determine a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, wherein the target game screen control instruction queue includes at least one game screen control instruction;
[0078] A control instruction inserting module 203, used for inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp;
[0079] The control instruction execution module 204 is used to execute each game screen control instruction in the target game screen control instruction queue in chronological order.
[0080] In one embodiment, Figure 3 As shown, the device 20 also includes:
[0081] The time synchronization module 205 is used to perform time synchronization on the N terminal devices connected to the server.
[0082] In one embodiment, the device further comprises:
[0083] The current network delay acquisition module 206 is used to acquire the current network delay;
[0084] The control instruction queue determination module 202 is further used for:
[0085] If a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, a designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, wherein the designated terminal device is any one of the N terminal devices except the target terminal device, and the designated game screen control instruction includes the designated identification information of the designated terminal device and a designated timestamp;
[0086] The control instruction insertion module 203 is specifically used for:
[0087] If the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp.
[0088] In one embodiment, the control instruction queue determination module 202 is used to:
[0089] The target game screen control instruction queue corresponding to the target terminal device and the target identification information is determined according to a preset correspondence relationship, wherein the preset correspondence relationship is the correspondence between the identification information of the target game and the identification information of M terminal devices running the target game, wherein M is an integer greater than 1, and M is less than or equal to N.
[0090] In one embodiment, the game screen control instructions in the target game screen control instruction queue are arranged in order according to their respective timestamps, and the control instruction insertion module 203 is used to:
[0091] The target game screen control instruction is inserted between the first game screen control instruction and the second game screen control instruction, wherein the first game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and before the target timestamp, and the second game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and after the target timestamp.
[0092] The data processing device provided in the embodiment of the present disclosure, its implementation process and technical effects can be seen in the above Figure 1 The embodiments are not described in detail here.
[0093] Figure 4 This is a structural diagram of an electronic device provided by an embodiment of the present disclosure. Figure 4 As shown, the electronic device 40 includes:
[0094] A processor 401 and a memory 402 , wherein the memory 402 stores at least one computer instruction, and the instruction is loaded and executed by the processor 401 to implement the data processing method described in the above method embodiment.
[0095] Based on the above Figure 1 Corresponding to the data processing method described in the embodiment, the embodiment of the present disclosure also provides a computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. The storage medium stores computer instructions for executing the above Figure 1 The data processing method described in the corresponding embodiment will not be repeated here.
[0096] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0097] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
Claims
1. A data processing method, characterized in that: Applicable to servers, including: Receiving a target game screen control instruction sent by a target terminal device, the target game screen control instruction including target identification information and a target timestamp of the target terminal device, the target terminal device being any one of N terminal devices connected to the server, where N is an integer greater than 1; Determine a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, wherein the target game screen control instruction queue includes at least one game screen control instruction; Inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp; Execute each game screen control instruction in the target game screen control instruction queue in chronological order; Before receiving the target game screen control instruction sent by the target terminal device, the method further includes: Get the current network delay; After receiving the target game screen control instruction sent by the target terminal device, the method further includes: If a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, a designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, wherein the designated terminal device is any one of the N terminal devices except the target terminal device, and the designated game screen control instruction includes the designated identification information of the designated terminal device and a designated timestamp; The inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp comprises: If the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp.
2. The method according to claim 1, characterized in that Before receiving the target game screen control instruction sent by the target terminal device, the method further includes: Time synchronization is performed on the N terminal devices connected to the server.
3. The method according to claim 1, characterized in that The step of determining the target game screen control instruction queue corresponding to the target terminal device according to the target identification information comprises: The target game screen control instruction queue corresponding to the target identification information and the target terminal device is determined according to a preset correspondence relationship, wherein the preset correspondence relationship is the correspondence between the identification information of the target game and the identification information of M terminal devices running the target game, wherein M is an integer greater than 1, and M is less than or equal to N.
4. The method according to claim 1, characterized in that: The game screen control instructions in the target game screen control instruction queue are arranged in order according to their respective timestamps, and inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp includes: The target game screen control instruction is inserted between the first game screen control instruction and the second game screen control instruction, wherein the first game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and before the target timestamp, and the second game screen control instruction is the game control instruction in the target game screen control instruction queue that is closest to the target timestamp and after the target timestamp.
5. A data processing device, characterized in that: Applicable to servers, including: A control instruction receiving module, used to receive a target game screen control instruction sent by a target terminal device, wherein the game screen control instruction includes target identification information and a target timestamp of the target terminal device, and the target terminal device is any one of N terminal devices connected to the server, where N is an integer greater than 1; A control instruction queue determination module, used to determine a target game screen control instruction queue corresponding to the target terminal device according to the target identification information, wherein the target game screen control instruction queue includes at least one game screen control instruction; A control instruction inserting module, used for inserting the target game screen control instruction into the target game screen control instruction queue according to the target timestamp; A control instruction execution module, used for executing each game screen control instruction in the target game screen control instruction queue in chronological order; The device also includes: The current network delay acquisition module is used to obtain the current network delay; The control instruction queue determination module is also used for: If a designated game screen control instruction sent by a designated terminal device is received within the duration corresponding to the current network delay, a designated game screen control instruction queue corresponding to the designated terminal device is determined according to the designated identification information, wherein the designated terminal device is any one of the N terminal devices except the target terminal device, and the designated game screen control instruction includes the designated identification information of the designated terminal device and a designated timestamp; The control instruction insertion module is specifically used for: If the designated game screen control instruction queue and the target game screen control instruction queue are the same queue, the target game screen control instruction and the designated game screen control instruction are respectively inserted into the target game screen control instruction queue according to the target timestamp and the designated timestamp.
6. The device according to claim 5, characterized in that The device also includes: A time synchronization module is used to synchronize the time of the N terminal devices connected to the server.
7. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one computer instruction, and the instruction is loaded and executed by the processor to implement the steps performed in the data processing method according to any one of claims 1 to 4.
8. A computer-readable storage medium, characterized in that: The storage medium stores at least one computer instruction, which is loaded and executed by the processor to implement the steps performed in the data processing method according to any one of claims 1 to 4.
