Data processing method and device
By arranging mechanisms in the offline levels of the escape room game and obtaining and executing online tasks, the problem of players being unable to participate due to geographical restrictions is solved, and the purpose of online and offline cooperation is achieved.
Patent Information
- Application Number
- CN202210232818.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-09
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2042-03-09
AI Technical Summary
When players are playing offline escape room games, due to geographical restrictions, some members may not be able to participate, and the number of people in the team needs to be group-buying, but there is a failure in group-buying and a lack of effective solutions.
By arranging the target mechanism in the target offline level, when the mechanism is triggered, the target online task corresponding to the target offline level is obtained, sent to the target client, receiving the results of the online task, and controlling the mechanism to perform operations based on the results, to achieve Complete the game online and offline cooperation.
It has been realized that during offline levels, online players participate in the leveling by performing online tasks and cross regional restrictions to play games, solving the problem that players cannot cross regional restrictions.
Smart Images

Figure CN114669058B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet, and in particular to a data processing method and device. Background Art
[0002] At present, for escape room games, due to the requirement on the number of participants, players can form teams to complete offline escape rooms by decrypting and triggering mechanism tasks offline. However, due to geographical issues such as distance, some members may not be able to participate. If the number of team members is different, they need to participate in group formation, but there is a possibility of group formation failure.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] At least some embodiments of the present invention provide a data processing method and device to at least solve the technical problem that players cannot cross geographical restrictions when playing offline games.
[0005] According to one embodiment of the present invention, a data processing method is provided, the method comprising: in response to a target mechanism arranged in a target offline level being triggered, obtaining a target online task corresponding to the target offline level; sending the target online task to a target client; receiving an online task result returned by the target client, wherein the online task result is obtained by the target client executing the target online task; and based on the online task result, controlling the target mechanism to execute a target operation.
[0006] Optionally, the online task result includes one of the following: control instructions, multimedia data, wherein, based on the online task result, controlling the target agency to perform the target operation includes: in response to the online task result including the control instruction, controlling the target agency to perform the operation corresponding to the control instruction; in response to the online task result including multimedia data, controlling the target agency to display the multimedia data, and in response to the received operation instruction, controlling the target agency to perform the operation corresponding to the operation instruction.
[0007] Optionally, the method also includes: in response to the target mechanism being triggered, controlling the target mechanism to display an offline task corresponding to the target offline level; obtaining an offline task result obtained by executing the offline task; and based on the offline task result and the online task result, controlling the target mechanism to execute the target operation.
[0008] Optionally, the method further includes: acquiring real-time video data captured by a shooting device arranged in a target offline checkpoint; and sending the real-time video data to a target client.
[0009] Optionally, obtaining real-time video data captured by a shooting device arranged in the target offline checkpoint includes: obtaining multiple video data captured by multiple video acquisition devices; and merging the multiple video data to obtain real-time video data.
[0010] Optionally, merging multiple video data to obtain real-time video data includes: parsing each video data to obtain a background image of each video data; comparing the background image of each video data with a preset environment image to determine the connection relationship between the multiple video data; and merging the multiple video data based on the connection relationship of the multiple video data to obtain real-time video data.
[0011] Optionally, after sending the target online task to the target client, the method further includes: receiving an operation interface sent by the target client, wherein the operation interface is displayed in the target client, and the target online task is displayed on the operation interface; sending the operation interface to a display device arranged in the target offline level, wherein the display device is used to display the operation interface.
[0012] Optionally, the method further includes: forwarding the first voice data sent by the target client to a playback device of the target agency; and forwarding the second voice data collected by a voice collection device arranged in the target offline checkpoint to the target client.
[0013] Optionally, the method further includes: determining identification information of a target offline checkpoint; acquiring a client corresponding to the identification information, and determining a target client.
[0014] According to one embodiment of the present invention, there is also provided a data processing device, which includes: a first acquisition module, used to obtain a target online task corresponding to a target offline level in response to a target mechanism arranged in a target offline level being triggered; a sending module, used to send the target online task to a target client; a receiving module, used to receive an online task result returned by the target client, wherein the online task result is obtained by the target client executing the target online task; and a control module, used to control the target mechanism to perform a target operation based on the online task result.
[0015] According to one embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the data processing method in the above embodiment when running.
[0016] According to one embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein the program is configured to execute the data processing method in the above embodiment when running.
[0017] According to one embodiment of the present invention, there is further provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the data processing method in the above embodiment.
[0018] In at least some embodiments of the present invention, in response to a target mechanism arranged in a target offline level being triggered, the target online task corresponding to the target offline level is obtained, the target online task is sent to the target client, and the online task result returned by the target client is received. Finally, based on the online task result, the target mechanism is controlled to perform the target operation, so that while the offline players are playing the offline levels, the online players can participate in the clearance process of the offline levels by performing the online tasks, thereby achieving the purpose of completing the game through online and offline cooperation, achieving the technical effect of players playing games across geographical restrictions, and thus solving the technical problem that players cannot cross geographical restrictions when playing offline games. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0020] Figure 1 It is a hardware structure block diagram of a mobile terminal of a data processing method according to an embodiment of the present invention;
[0021] Figure 2 is a flow chart of a data processing method according to one embodiment of the present invention;
[0022] Figure 3 is a structural block diagram of a data processing device according to one embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] According to one embodiment of the present invention, a data processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] The method embodiment can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID for short), a PAD, a game console and other terminal devices. Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a data processing method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a programmable logic device (FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the mobile terminal may also include a transmission device 106 for communication functions, an input and output device 108, and a display device 110. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0027] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the data processing method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above-mentioned data processing method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0028] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] The inputs in the input / output device 108 may come from a plurality of human interface devices (HIDs), such as keyboards and mice, game controllers, and other dedicated game controllers (such as steering wheels, fishing rods, dance mats, remote controls, etc.). In addition to providing input functions, some human interface devices may also provide output functions, such as force feedback and vibration of game controllers, audio output of controllers, etc.
[0030] The display device 110 may be, for example, a head-up display (HUD), a touch-screen liquid crystal display (LCD), and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contacts and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music, and / or web browsing, etc. The executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.
[0031] In a possible implementation, the present invention provides a data processing method. Figure 2 is a flow chart of a data processing method according to one embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0032] Step S202, in response to a target mechanism arranged in a target offline checkpoint being triggered, obtaining a target online task corresponding to the target offline checkpoint.
[0033] The above steps may be a decryption game that includes at least one offline level. In the embodiment of the present invention, a room escape game is used as an example for explanation. The game includes one or more offline levels, and each offline level is arranged with one or more organs. The organs here can be of various types, for example, mechanical organs such as password locks and electromagnetic locks, or electronic organs such as light sensors, laser sensors, and conductors, or electronic devices. The target offline level can be any offline level included in the current game, and the target organ can be any organ arranged in the target offline level. The triggering of the target organ can be directly triggered by the organ, or triggered by decryption of an electronic device, etc., but it is not limited to this, and can be set according to actual needs.
[0034] In order to achieve the purpose of online and offline cooperative games, a corresponding online task can be set for each offline level. The online task needs to be executed by online players through the client. The task content can include a variety of decryption forms, such as finding items, participating in mini-games, etc. The present invention does not make specific limitations on this and can be set according to actual needs.
[0035] In an optional embodiment, for each offline level included in the game, an online task corresponding to each offline level can be pre-set, and the task content can be stored in the cloud server. In addition, the offline level can be bound and marked with each organ arranged in the offline level. After the offline player enters the game, he will enter each offline level in the game in turn, and the offline player needs to decrypt the organ arranged in each offline level. When the offline player triggers the target organ, the cloud server can receive the offline control instruction transmitted by the target organ, so that the cloud server can determine the target offline level corresponding to the target organ based on the instruction, and read out the target online task corresponding to the target offline level.
[0036] Step S204: sending the target online task to the target client.
[0037] The target client in the above steps can be the client used by online players participating in the game, and the client can be installed on electronic devices such as smart phones (including Android phones and IOS phones), tablet computers (including Android computers and IPADs), PDAs, laptops, personal computer terminals, etc.
[0038] In an optional embodiment, the cloud server can send the acquired target online task to the target client via the Internet, and the target client will display it to the online players participating in the game for viewing, and prompt the online players to perform the target online task to obtain the corresponding online task result.
[0039] In order to ensure that offline players and online players can play games synchronously, in an optional embodiment, offline players can send the identification information of the game to online players, and online players log in to the target client based on the identification information to enter the online game. In another optional embodiment, offline players can send identification information such as the mobile phone number of online players to the cloud server, and online players log in to the target client based on the identification information to enter the online game.
[0040] Step S206: receiving an online task result returned by the target client, wherein the online task result is obtained by the target client executing the target online task.
[0041] The online task result in the above steps may be the result obtained after the online players participating in the game successfully execute the target online task. The specific form of the online task result may be a control instruction for controlling the target mechanism to perform a corresponding operation. For example, for a target online task in the form of finding an object, the online task result may be a control instruction for controlling the decryption of the target mechanism generated after the online player successfully finds the object; it may also be multimedia data that prompts the offline player to perform a corresponding operation to decrypt the target mechanism. For example, it may be a video of decrypting an electromagnetic lock, but it is not limited to this and can be set according to actual needs.
[0042] In an optional embodiment, after obtaining the online task result, the target client can return the online task result to the cloud server via the Internet, so that the cloud server can control the target agency to perform the target operation based on the online task result.
[0043] Step S208, based on the online task results, control the target agency to perform the target operation.
[0044] The target operation in the above steps can be an operation corresponding to the result of an online task, an operation of decrypting the target mechanism (such as unlocking a lock, opening a door, etc.), an operation of providing the next clue by the target mechanism, or an operation of displaying multimedia data by the target mechanism to prompt offline players to complete the operation and trigger a new mechanism.
[0045] In an optional embodiment, after receiving the online task result, the cloud server may forward the online task result to the target agency for execution. For example, when the online task result is a control instruction, the target agency may directly execute the control instruction; when the online task result is multimedia data, the target agency may display the multimedia data to offline players for viewing, and the offline players may perform operations.
[0046] Through the above-mentioned embodiments of the present invention, in response to the target mechanism arranged in the target offline level being triggered, the target online task corresponding to the target offline level is obtained, the target online task is sent to the target client, and the online task result returned by the target client is received. Finally, based on the online task result, the target mechanism is controlled to perform the target operation, so that while the offline players are playing the offline levels, the online players can participate in the clearance process of the offline levels by performing the online tasks, thereby achieving the purpose of completing the game through online and offline cooperation, achieving the technical effect of players playing games across geographical restrictions, and thus solving the technical problem that players cannot cross geographical restrictions when playing offline games.
[0047] In the above embodiment of the present invention, the online task result includes one of the following: control instructions, multimedia data, wherein, based on the online task result, controlling the target agency to perform the target operation includes: in response to the online task result including the control instruction, controlling the target agency to perform the operation corresponding to the control instruction; in response to the online task result including multimedia data, controlling the target agency to display the multimedia data, and in response to the received operation instruction, controlling the target agency to perform the operation corresponding to the operation instruction.
[0048] The control command can be a command to control the target agency to decrypt (such as opening a door, unlocking a lock, etc.), or a command to control the target agency to prompt the next clue, but not limited to this. The multimedia data can be video data, audio data, etc. of the target agency confidential by offline personnel, but not limited to this.
[0049] In an optional embodiment, based on the control instructions, the target mechanism can trigger corresponding operations, such as unlocking, opening the door, providing the next clue, etc.; based on the multimedia data, the target mechanism can display the corresponding content to offline players, and the offline players complete the corresponding operations, such as unlocking, passing through the laser, etc., to trigger new mechanisms. By setting different specific forms of offline task results, the target mechanism can be controlled to perform different operations, thereby increasing the diversity of the game and meeting the different decryption needs of players.
[0050] In the above embodiment of the present invention, the method also includes: in response to the target mechanism being triggered, controlling the target mechanism to display the offline task corresponding to the target offline level; obtaining the offline task result obtained by executing the offline task; based on the offline task result and the online task result, controlling the target mechanism to perform the target operation.
[0051] The above-mentioned offline tasks may be tasks that need to be performed by offline players, and the task content may also include a variety of decryption forms, such as finding items, finding clues for online players, etc. The present invention does not specifically limit this, and can be set according to actual needs. The offline task result may be the result obtained after the offline player successfully performs the offline task. The specific form of the offline task result may be a control instruction for controlling the target agency to perform a corresponding operation. For example, for an offline task in the form of finding an item, the online task result may be a control instruction for controlling the target agency to decrypt generated after the offline player successfully finds the item; it may also be a clue provided to the online player to complete the online task, but it is not limited to this, and can be set according to actual needs.
[0052] In an optional embodiment, in order to increase the participation of offline players, online tasks and offline tasks can be set simultaneously for the target agency, which can be executed by online players and offline players respectively, or by online players and offline players working together. In this way, the cloud server can obtain the offline task results and the online task results, and further combine the two task results to control the target agency to perform the target operation. For example, the two task results can be fused to obtain the final task result, which is sent to the target agency for execution.
[0053] In the above embodiment of the present invention, the method further includes: acquiring real-time video data captured by a shooting device arranged in a target offline checkpoint; and sending the real-time video data to a target client.
[0054] The above-mentioned shooting equipment can be a camera or other equipment set in each offline level of the game.
[0055] In an optional embodiment, after the offline player enters any offline level, the shooting device set in the offline level starts shooting and transmits the captured real-time video data to the cloud server in real time. After the online player logs in to the target client, the cloud server can forward the real-time video data to the target client, and the target client will display it to the online player for viewing. In this way, the online player can know the situation of the offline player in the game in real time, and complete the target online task quickly and accurately.
[0056] In the above embodiment of the present invention, obtaining real-time video data captured by a shooting device arranged in a target offline checkpoint includes: obtaining multiple video data captured by multiple video acquisition devices; and merging the multiple video data to obtain real-time video data.
[0057] In order to be able to more comprehensively capture the situation of offline players in the game, a video acquisition device can be set up at different locations of each offline level, and the acquisition angles of different video acquisition devices are different, so as to ensure that the acquisition area of all video acquisition devices can cover the area of the entire offline level. In an optional embodiment, after receiving multiple video data captured in real time by multiple video acquisition devices, the cloud server can determine the splicing order between the video data according to the identification information (such as number, etc.) of each video acquisition device. For example, multiple video acquisition devices are set up in sequence in the offline level, and the numbers are sorted from small to large. Therefore, it can be determined that multiple video data can be spliced in the order of numbers from small to large to obtain real-time video data. In another optional embodiment, after receiving multiple video data captured in real time by multiple video acquisition devices, the cloud server can parse the background picture in each video data and compare it with the overall background environment map of the offline level, so that different video data can be spliced according to the coherence of the background picture to obtain real-time video data.
[0058] In the above embodiment of the present invention, merging multiple video data to obtain real-time video data includes: parsing each video data to obtain a background image of each video data; comparing the background image of each video data with a preset environment image to determine the connection relationship between the multiple video data; merging the multiple video data based on the connection relationship of the multiple video data to obtain real-time video data.
[0059] The above-mentioned preset environment image may be a background environment image of the entire offline level, for example, it may be an image of the walls around the offline level, but is not limited thereto.
[0060] In order to accurately merge multiple video data, in an optional embodiment, the background image of each video data can be analyzed, and by comparing it with a preset environment image, the position of each video data corresponding to the preset environment image can be determined, and the connection relationship between the multiple video data can be further determined, so that all the video data can be merged according to the connection relationship to obtain real-time video data.
[0061] In the above embodiment of the present invention, after sending the target online task to the target client, the method further includes: receiving an operation interface sent by the target client, wherein the operation interface is displayed in the target client, and the target online task is displayed on the operation interface; sending the operation interface to a display device arranged in the target offline level, wherein the display device is used to display the operation interface.
[0062] The above-mentioned display device can be a display screen arranged in a checkpoint below the target line, or a display screen provided by the target mechanism, such as a display screen of an electronic device, but is not limited thereto.
[0063] In an optional embodiment, after the online player obtains the target online task, the target client can synchronize the operation interface displayed to the online player to the cloud server in real time, and the cloud server forwards it to the display device arranged in the target offline level in real time, so that the display device can display the operation interface to the offline player for viewing, so that the offline player can know in real time the status of the online player's execution of the target online task, and conveniently, quickly and accurately know the decryption status of the target mechanism.
[0064] In the above embodiment of the present invention, the method further includes: forwarding the first voice data sent by the target client to the playback device of the target agency; and forwarding the second voice data collected by the voice collection device arranged in the target offline checkpoint to the target client.
[0065] The above-mentioned playback device can be a speaker or sound device placed in the target offline level, or a speaker built into the target unit, such as a speaker of an electronic device, but is not limited thereto. The voice collection device can be a microphone placed in the target offline level, or a microphone built into the target unit, such as a microphone of an electronic device, but is not limited thereto.
[0066] In an optional embodiment, after the offline player enters the offline level and the online player logs in to the target client, the offline player and the online player can communicate in real-time voice through the cloud server. The cloud server can obtain the first voice data of the online player collected by the target client in real time and forward it to the playback device, which plays it to the offline player. At the same time, the second voice data of the offline player collected by the voice collection device can be forwarded to the target client, which plays it to the online player. In this way, through real-time voice communication, it is ensured that both online and offline players can participate in the entire game, share game experience with each other, and improve the game completion rate.
[0067] In the above embodiment of the present invention, the method further includes: determining identification information of a target offline checkpoint; acquiring a client corresponding to the identification information, and determining a target client.
[0068] The above identification information may be information that uniquely identifies the game, for example, it may be an order number for an offline player to purchase the game, but is not limited thereto.
[0069] In an optional embodiment, the corresponding order number can be obtained from the e-commerce platform according to the time and theme category of the game session of the offline player, and the online player can log in to the target client based on the same order number, so that the cloud server can use the client logged in by the order number as the target client. The identification information of the game allows the online player and the offline player to communicate uniquely to avoid communication errors.
[0070] A preferred embodiment of the present invention is described in detail below by taking a secret room escape game as an example. The specific steps include: presetting online tasks corresponding to offline levels, binding and marking offline levels and mechanisms; after offline players enter the secret room, the shooting device starts shooting and transmits audio and video to the cloud server in real time; the cloud server synthesizes videos shot from multiple angles (multiple devices) into a complete video; according to the time and theme category of the current player's session, the corresponding secret room order number is obtained from the e-commerce platform, and the transmitted picture is bound to the player's order number; online players can log in based on the order number and enter the online secret room game; the cloud server transmits the synthesized audio and video content of the corresponding order to the online players in real time; offline players trigger the game based on the offline level When the mechanism is activated, the equipment inside the mechanism transmits the control command to the cloud server; based on the control command, the cloud server obtains the task content corresponding to the level and transmits it to the online user end; the online user end receives and displays the corresponding content, and when the online player completes the task, he can communicate with the offline player in real time by voice; after completing the corresponding task online, the control command / audio and video stream is transmitted to the cloud server, and the cloud server sends the control command / audio and video stream to the mechanism; based on the control command, the mechanism triggers the corresponding operation (opening the door / providing the next clue, etc.); based on the audio and video stream, the mechanism displays the corresponding content to the offline player, and the offline player is required to complete the corresponding operation to trigger the new mechanism; triggered by the preset content, the cloud server continuously transmits the online and offline secret room task content, and finally completes the secret room clearance task.
[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0072] In the present embodiment, a data processing device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the terms "unit" and "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0073] Figure 3 is a structural block diagram of a data processing device according to one embodiment of the present invention. Figure 3 As shown, the device comprises:
[0074] A first acquisition module 32, configured to acquire a target online task corresponding to the target offline checkpoint in response to a target mechanism arranged in the target offline checkpoint being triggered;
[0075] A sending module 34 is used to send the target online task to the target client;
[0076] A receiving module 36 is used to receive an online task result returned by a target client, wherein the online task result is obtained by the target client executing the target online task;
[0077] The control module 38 is used to control the target agency to perform the target operation based on the online task results.
[0078] In the above embodiment of the present invention, the online task result includes one of the following: control instructions, multimedia data, wherein the control module 38 is also used to control the target agency to perform the operation corresponding to the control instruction in response to the online task result including the control instruction; control the target agency to display the multimedia data in response to the online task result including the multimedia data, and control the target agency to perform the operation corresponding to the operation instruction in response to the received operation instruction.
[0079] In the above embodiment of the present invention, the device also includes: a display module, which is used to control the target agency to display the offline task corresponding to the target offline level in response to the target agency being triggered; a second acquisition module, which is used to obtain the offline task result obtained by executing the offline task; the control module is also used to control the target agency to perform the target operation based on the offline task result and the online task result.
[0080] In the above embodiment of the present invention, the device further includes: a third acquisition module, used to acquire real-time video data captured by a shooting device arranged in a target offline checkpoint; and the sending module is also used to send the real-time video data to the target client.
[0081] In the above embodiment of the present invention, the third acquisition module includes: an acquisition unit, used to acquire multiple video data captured by multiple video acquisition devices; and a merging unit, used to merge the multiple video data to obtain real-time video data.
[0082] In the above-mentioned embodiment of the present invention, the merging unit is also used to: parse each video data to obtain a background image of each video data; compare the background image of each video data with a preset environment image to determine the connection relationship between multiple video data; merge multiple video data based on the connection relationship between the multiple video data to obtain real-time video data.
[0083] In the above embodiment of the present invention, the receiving module is also used to receive an operation interface sent by the target client, wherein the operation interface is displayed in the target client, and the target online task is displayed on the operation interface; the sending module is also used to send the operation interface to a display device arranged in the target offline level, wherein the display device is used to display the operation interface.
[0084] In the above embodiment of the present invention, the device also includes: a first forwarding module, used to forward the first voice data sent by the target client to the playback device of the target agency; a second forwarding module, used to forward the second voice data collected by the voice collection device arranged in the target offline checkpoint to the target client.
[0085] In the above embodiment of the present invention, the device further includes: a first determining module, used to determine identification information of a target offline checkpoint; and a second determining module, used to obtain a client corresponding to the identification information and determine the target client.
[0086] It should be noted that the above-mentioned units and modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned units and modules are all located in the same processor; or, the above-mentioned units and modules are located in different processors in any combination.
[0087] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0088] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0089] S1, in response to a target mechanism arranged in a target offline level being triggered, obtaining a target online task corresponding to the target offline level; and controlling the target mechanism to perform a target operation based on the online task result.
[0090] S2, sending the target online task to the target client;
[0091] S3, receiving the online task result returned by the target client, wherein the online task result is obtained by the target client executing the target online task;
[0092] S4, based on the online task results, controls the target agency to perform the target operation.
[0093] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0094] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0095] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0096] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0097] S1, in response to a target mechanism arranged in a target offline level being triggered, obtaining a target online task corresponding to the target offline level; and controlling the target mechanism to perform a target operation based on the online task result.
[0098] S2, sending the target online task to the target client;
[0099] S3, receiving the online task result returned by the target client, wherein the online task result is obtained by the target client executing the target online task;
[0100] S4, based on the online task results, controls the target agency to perform the target operation.
[0101] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0102] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0105] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0107] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data processing method, characterized in that: The method comprises: In response to a target mechanism arranged in a target offline checkpoint being triggered, obtaining a target online task corresponding to the target offline checkpoint; Sending the target online task to a target client; Receiving an online task result returned by the target client, wherein the online task result is obtained by the target client executing the target online task; Based on the online task result, controlling the target agency to perform a target operation; The method further includes: in response to the target mechanism being triggered, controlling the target mechanism to display an offline task corresponding to the target offline level; obtaining an offline task result obtained by executing the offline task; and based on the offline task result and the online task result, controlling the target mechanism to execute the target operation; The method further includes: determining identification information of the target offline level; acquiring a client corresponding to the identification information, and determining the target client.
2. The method according to claim 1, characterized in that The online task result includes one of the following: a control instruction, multimedia data, wherein, based on the online task result, controlling the target agency to perform the target operation includes: In response to the online task result including the control instruction, controlling the target agency to perform an operation corresponding to the control instruction; In response to the online task result including multimedia data, the target agency is controlled to display the multimedia data, and in response to the received operation instruction, the target agency is controlled to execute the operation corresponding to the operation instruction.
3. The method according to claim 1, characterized in that The method further comprises: Acquire real-time video data captured by a camera arranged in the target offline checkpoint; The real-time video data is sent to the target client.
4. The method according to claim 3, characterized in that: Acquiring the real-time video data captured by a shooting device arranged in the target offline checkpoint includes: Acquire multiple video data captured by multiple video acquisition devices; The multiple video data are combined to obtain the real-time video data.
5. The method according to claim 4, characterized in that Merging the multiple video data to obtain the real-time video data includes: Parsing each video data to obtain a background image of each video data; Comparing the background image of each video data with a preset environment image to determine the connection relationship between the multiple video data; The multiple video data are merged based on the connection relationship of the multiple video data to obtain the real-time video data.
6. The method according to claim 1, characterized in that After sending the target online task to the target client, the method further includes: Receiving an operation interface sent by the target client, wherein the operation interface is displayed in the target client, and the target online task is displayed on the operation interface; The operation interface is sent to a display device arranged in the target offline level, wherein the display device is used to display the operation interface.
7. The method according to claim 1, characterized in that The method further comprises: Forwarding the first voice data sent by the target client to the playback device of the target agency; The second voice data collected by the voice collection device arranged in the target offline checkpoint is forwarded to the target client.
8. A data processing device, characterized in that: The device comprises: A first acquisition module, configured to acquire a target online task corresponding to a target offline checkpoint in response to a target mechanism arranged in the target offline checkpoint being triggered; A sending module, used for sending the target online task to a target client; A receiving module, configured to receive an online task result returned by the target client, wherein the online task result is obtained by the target client executing the target online task; A control module, used for controlling the target agency to perform a target operation based on the online task result; The control module is further used to control the target agency to display the offline task corresponding to the target offline level in response to the target agency being triggered; obtain the offline task result obtained by executing the offline task; and control the target agency to execute the target operation based on the offline task result and the online task result; The sending module is further used to determine the identification information of the target offline checkpoint; obtain the client corresponding to the identification information, and determine the target client.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the data processing method described in any one of claims 1 to 7 when executed.
10. A processor, characterized in that: The processor is used to run a program, wherein the program is configured to execute the data processing method described in any one of claims 1 to 7 when running.
11. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the data processing method described in any one of claims 1 to 7.
Citation Information
Patent Citations
Interactive live broadcast method and device of offline game, computer equipment and storage medium
CN114082197A