CN111324340B - Interaction method and device based on webpage copy, storage medium and computer equipment - Google Patents

Interaction method and device based on webpage copy, storage medium and computer equipment Download PDF

Info

Publication number
CN111324340B
CN111324340B CN202010106103.1A CN202010106103A CN111324340B CN 111324340 B CN111324340 B CN 111324340B CN 202010106103 A CN202010106103 A CN 202010106103A CN 111324340 B CN111324340 B CN 111324340B
Authority
CN
China
Prior art keywords
copy
webpage
virtual
target
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010106103.1A
Other languages
Chinese (zh)
Other versions
CN111324340A (en
Inventor
罗飞虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010106103.1A priority Critical patent/CN111324340B/en
Publication of CN111324340A publication Critical patent/CN111324340A/en
Application granted granted Critical
Publication of CN111324340B publication Critical patent/CN111324340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • A63F13/525Changing parameters of virtual cameras
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to an interaction method, an interaction device, a storage medium and computer equipment based on webpage copies, wherein the method comprises the following steps: when a copy jump instruction is acquired in an application page, acquiring copy data corresponding to a webpage copy in response to the copy jump instruction; skipping from the application page to a webpage page according to the copy skipping instruction, and displaying a virtual interaction scene rendered according to the copy data based on the webpage page; receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event; and when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage. The scheme provided by the application can shorten the development period of the copy and improve the expansibility and flexibility of copy interaction.

Description

Interaction method and device based on webpage copy, storage medium and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to an interaction method and apparatus based on a web page copy, a computer-readable storage medium, and a computer device.
Background
Game duplication is an important Game mode of MMOG (Massive Multiplayer Online Game) type games. The game copy is a part of the virtual world in the game, and is usually composed of a set of independent virtual scenes. Only one user or a team of users can enter the same game copy, so that interference of other users is avoided.
In a traditional mode, game copies are usually developed in game applications, all data of the game copies are coded into the game applications to be realized, the traditional game copies are long in development period, and the expansibility and flexibility of copy interaction are low.
Disclosure of Invention
Based on this, it is necessary to provide an interaction method, an apparatus, a computer-readable storage medium, and a computer device based on a webpage copy for the technical problems of low extensibility and flexibility of copy interaction.
An interaction method based on webpage copies comprises the following steps:
when a copy jump instruction is acquired in an application page, acquiring copy data corresponding to a webpage copy in response to the copy jump instruction;
skipping from the application page to a webpage page according to the copy skipping instruction, and displaying a virtual interaction scene rendered according to the copy data based on the webpage page;
receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event;
and when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage.
An interactive device based on a copy of a web page, the device comprising:
the data acquisition module is used for responding to the copy jump instruction to acquire copy data corresponding to the webpage copy when the copy jump instruction is acquired from the application page;
the scene rendering module is used for skipping from the application page to a webpage page according to the copy skipping instruction and displaying a virtual interaction scene rendered according to the copy data based on the webpage page;
the operation execution module is used for receiving an interactive event triggered based on the virtual interactive scene and executing corresponding interactive operation according to the interactive event;
and the page returning module is used for returning the application page from the webpage page when the operation result meets the end condition corresponding to the webpage copy.
A computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of:
when a copy jump instruction is acquired in an application page, acquiring copy data corresponding to a webpage copy in response to the copy jump instruction;
skipping from the application page to a webpage page according to the copy skipping instruction, and displaying a virtual interaction scene rendered according to the copy data based on the webpage page;
receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event;
and when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
when a copy jump instruction is acquired in an application page, acquiring copy data corresponding to a webpage copy in response to the copy jump instruction;
skipping from the application page to a webpage page according to the copy skipping instruction, and displaying a virtual interaction scene rendered according to the copy data based on the webpage page;
receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event;
and when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage.
According to the interaction method and device based on the webpage copy, the computer readable storage medium and the computer equipment, when the copy jump instruction is obtained in the application page, the copy data corresponding to the webpage copy is obtained in response to the copy jump instruction, the application page jumps to the webpage page according to the copy jump instruction, and the virtual interaction scene rendered according to the copy data is displayed based on the webpage page. Compared with the traditional game copy, the webpage copy which shows the virtual interaction scene through the webpage page shortens the development period of the copy. And when the operation result meets the corresponding end condition of the webpage copy, returning the application page from the webpage page. Based on the webpage copy, more interaction operations can be executed, and the expansibility and flexibility of copy interaction are effectively improved.
Drawings
FIG. 1 is a diagram of an application environment for an interaction method based on a copy of a web page in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for web page copy-based interaction in one embodiment;
FIG. 3 is an interface diagram of an application page including a copy portal in one embodiment;
FIG. 4 is a schematic diagram of an interface for validating a copy of a jumped web page in one embodiment;
FIG. 5 is a schematic diagram of an interface of a web page in one embodiment;
FIG. 6 is a flowchart illustrating a web page copy-based interaction method according to another embodiment;
FIG. 7 is a flowchart illustrating a web page copy-based interaction method according to yet another embodiment;
FIG. 8 is a block diagram of an interaction device based on a copy of a web page in one embodiment;
FIG. 9 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram of an application environment of an interaction method based on a copy of a web page in one embodiment. Referring to fig. 1, the interaction method based on the webpage copy is applied to an interaction system based on the webpage copy. The interactive system based on the webpage copy comprises a terminal 110 and a webpage server 120. The terminal 110 and the web server 120 are connected through a network. When the terminal 110 acquires the copy skip instruction from the application page, it responds to the copy skip instruction and acquires copy data corresponding to the web page copy from the web server 120. The terminal 110 jumps from the application page to the web page according to the copy jump instruction, and displays a virtual interaction scene rendered according to the copy data based on the web page. The terminal 110 receives the interaction time triggered based on the virtual interaction scene, and executes corresponding interaction operation according to the interaction time. And when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically include at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The web server 120 may be a server corresponding to a web page, and may be implemented by an independent server or a server cluster formed by a plurality of servers.
As shown in FIG. 2, in one embodiment, a method of interaction based on a copy of a web page is provided. The embodiment is mainly illustrated by applying the method to the terminal 110 in fig. 1. Referring to fig. 2, the interaction method based on the webpage copy specifically includes the following steps:
s202, when the copy jump instruction is obtained in the application page, the copy data corresponding to the webpage copy is obtained in response to the copy jump instruction.
The application page refers to a page displayed on a display interface of the terminal when the application program runs on an operating system of the terminal. The application (hereinafter, referred to as "application") may be a client application downloaded and installed locally to the terminal, and the application may specifically be a game application of a plurality of game types. For example, the application program may be an MMOG (Massive Multiplayer Online Game) application, and may specifically include an RPG (Role-playing Game) application, an FPS (First-person shooter Game) application, and the like.
When the application is running, the terminal can display an application page on a display interface, and the application page can display a virtual scene corresponding to the application. The virtual scene may include elements such as a virtual object, a virtual target, and a virtual environment. The copy is part of a virtual scene in the application, and is typically composed of a set of independent virtual scenes. Copies of a variety of different virtual scenes may be included in an application. A virtual scene can be correspondingly established with a plurality of copies for a plurality of users to enter. Only one user or a team formed by the users can enter the same copy, so that interference of other users on interaction in the virtual scene is avoided.
When the terminal acquires the copy jump instruction in the application page, the terminal can respond to the copy jump instruction to acquire copy data corresponding to the webpage copy. Specifically, the application page may include at least one copy entry, and a user may trigger a copy jump instruction corresponding to the copy entry through the copy entry. The copy entry may be a variety of types of entry controls. For example, the copy entry may be a virtual object in a virtual scene, such as a game character. The copy portal may also be a variety of types of graphical controls, such as a swirl-like pattern or a door frame-like pattern. The transcript entry may also be text type. The copy entry may specifically be static or dynamic. The user can trigger the copy entry through at least one of a plurality of operation modes, so that the user can determine to jump to the copy corresponding to the copy entry. For example, the user may trigger the copy entry by a click operation, or may trigger the copy entry by controlling the virtual object to move around the copy entry. As shown in fig. 3, fig. 3 is a schematic interface diagram corresponding to an application page including a copy entry in one embodiment. The copy entry shown in the application page is the game character 302 in the figure. Before jumping, the user can control the virtual object 304 to move to the copy entry corresponding to the game character 302 through the input device, and the game character 302 serving as the copy entry triggers to enter the webpage copy.
When a user triggers a copy entry in an application page, the terminal can generate a corresponding copy skip instruction according to the operation of triggering the copy entry. FIG. 4 is a schematic interface diagram illustrating the confirmation of the copy of the skipped web page in one embodiment, as shown in FIG. 4. After the user triggers the jump, the terminal may display a dialog prompt box as shown in fig. 4, prompt the user to determine whether to jump to the web page copy, so as to determine the jump trigger, and the terminal may jump from the application page to the web page, so as to realize entering the web page copy from the application. The terminal can respond to the copy skip instruction and acquire copy data corresponding to the webpage copy pointed by the copy skip instruction. The web page copy refers to a game copy that is presented through a web page. The web page copy may be developed based on one of a number of standard languages. For example, the web page copy may be developed based on HTML (HyperText Markup Language) or JavaScript, and specifically may be based on HTML 5. The copy data may be web page data corresponding to a copy of the web page. The terminal may specifically obtain copy data corresponding to the web page copy from the web page server through the network. The copy data may also be pre-stored in the memory when the application is downloaded, and the terminal may obtain the copy data corresponding to the pre-stored web page copy from the memory.
S204, jumping from the application page to the webpage page according to the copy jumping instruction, and displaying a virtual interaction scene rendered according to the copy data based on the webpage page.
The terminal can jump from the application page to the webpage page according to the copy jump instruction, and displays a virtual interaction scene rendered according to the copy data based on the webpage page, so that the webpage copy corresponding to the copy entrance is entered. Specifically, a webpage rendering engine is built in the application and is used for interpreting webpage syntax and rendering the webpage. When the copy skip instruction is acquired from the application page, the terminal can skip from the application page to the webpage page according to the copy skip instruction, and the webpage copy corresponding to the copy entry is displayed based on the webpage page. The webpage copy comprises at least one virtual interaction scene, and the virtual interaction scene is used for interacting with the user so as to play the game. The copy data acquired by the terminal comprises a configuration file corresponding to the webpage copy, virtual scene data corresponding to the virtual interactive scene and the like. The terminal can render the virtual interaction scene according to the copy data through the webpage rendering engine, and the rendered virtual interaction scene is displayed based on the webpage. The virtual interaction scenario may be a portion of web page content of a web page. In one embodiment, after the user confirms to jump to the webpage copy based on the application interface shown in fig. 4, the terminal may jump from the application page to the webpage corresponding to the webpage copy. As shown in fig. 5, fig. 5 is a schematic interface diagram of a web page after jumping in an embodiment. And the terminal loads the webpage copy and renders a virtual interaction scene according to the copy data.
Compared with the traditional copy which is developed based on the application, the traditional copy has higher development difficulty and longer development period. Moreover, the traditional copy is rendered based on application loading, is displayed in an application page, has huge data corresponding to the application, has high requirements on a terminal memory, a processor and the like when the application is run, and can have the phenomenon of blocking and the like. In the embodiment, the copy is developed based on the web page, so that the web page copy is low in development difficulty and short in development period. When the copy skip instruction is obtained, the terminal skips from the application page to the webpage page according to the copy skip instruction, and displays the virtual interaction scene based on the webpage page to perform game interaction, so that the requirements on performances of a terminal memory, a processor and the like are effectively reduced, and the running smoothness of the webpage copy is ensured. The extensibility and flexibility of copy interaction based on web page copies is also higher.
S206, receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event.
The terminal may receive an interaction event triggered by a user based on the virtual interaction scenario, and the triggered interaction event may be corresponding to the virtual interaction scenario. The webpage copy can be preset with at least one of a plurality of interaction modes according to actual development requirements, and the interaction modes are richer compared with those of the traditional game copy. The user can carry out game interaction according to the virtual interaction scene displayed and rendered by the webpage page, and an interaction event is triggered. Specifically, the terminal may receive, through an input device corresponding to the terminal, an interaction event triggered by a user based on the virtual interaction scenario, where the input device specifically includes at least one of a mouse, a keyboard, a touch screen, a handle, and the like corresponding to the terminal. For example, the input device may be a touch screen corresponding to the terminal, and the terminal may receive a touch screen event triggered by a user based on the virtual interaction scene through the touch screen, where the touch screen event may specifically be at least one of a single-click event, a double-click event, a sliding event, and the like.
The interaction event may include an event type and an event attribute. The event type refers to the interactive mode description corresponding to the virtual interactive scene. For example, when the virtual object is included in the virtual interaction scene, the event type may include that the user controls behavior of the virtual object in the virtual interaction scene through the input device, specifically including controlling movement of the virtual object, controlling the virtual object to perform an interactive operation on the virtual object, and the like, where the virtual object may be an NPC (Non-Player Character) in the virtual interaction scene, and the like. When a virtual object does not exist in the virtual interactive scene, the event type may include a manner in which the user interacts with respect to a scene element in the virtual interactive scene. For example, when the virtual interactive scene is a puzzle scene, the event type may be a moving puzzle element event.
The event attributes correspond to the event types, the event attributes comprise attribute parameters of attributes corresponding to the event types, the event attributes can be set according to actual requirements of the webpage copy, and the event attributes corresponding to different event types can be different. For example, when the event type is a control virtual object movement event, the corresponding event attribute may include a virtual object identification, and the current position coordinate and the target position coordinate corresponding to the virtual object. When the event type is a move tile element event, the event attributes may include a tile element pointed to by the interactive event, target location coordinates at which the tile element needs to be moved, and the like.
The terminal can execute interactive operation corresponding to the interactive event according to the interactive event triggered based on the virtual interactive scene, so that game interaction with the user in the webpage copy is realized. Specifically, the terminal may drive scene elements in the virtual interactive scene according to the event type and the event attribute corresponding to the interactive event, and execute the corresponding interactive operation. For example, when the virtual interactive scene is specifically a puzzle scene and the event type of the interactive event is a mobile puzzle element event, the terminal may move the puzzle element to the corresponding target position coordinate according to the event attribute. When the virtual interactive scene is a game scene and the event type is a click event, the terminal can place the chessmen to the target position according to the event attribute.
And S208, returning the application page from the webpage page when the operation result meets the end condition corresponding to the webpage copy.
And after the terminal executes the corresponding interactive operation according to the interactive event, the operation result corresponding to the executed interactive operation can be obtained. The terminal may read an end condition corresponding to the web page copy from the copy data, where the end condition may be a condition preset according to an actual demand of the web page copy. The end condition of the web page copy also corresponds to the virtual interaction scenario in the web page copy, and the end condition of the web page copy may be the end condition corresponding to the last virtual interaction scenario. And when the operation result meets the end condition corresponding to the webpage copy, determining that the interaction of the webpage copy is completed, and enabling the terminal to quit the webpage copy and return to the application page from the webpage. And when the operation result does not meet the end condition, the terminal can continuously maintain the virtual interaction scene so as to trigger the interaction event by the user.
For example, when the virtual interactive scene is a jigsaw scene, the ending condition corresponding to the webpage copy may be that all of the movable at least one jigsaw element is moved to the respective corresponding preset position. When the target positions of the jigsaw puzzle elements moved by the operation result are consistent with the preset positions of the end conditions, the operation result is determined to be in accordance with the end conditions corresponding to the webpage copy, and the terminal can quit the webpage copy and return to the application page from the webpage.
In one embodiment, the webpage page includes a copy exit control, and the terminal may generate a copy exit instruction when the user triggers the copy exit control. When the terminal acquires the copy quitting instruction in the webpage, the terminal can quit the webpage copy and return to the application page from the webpage, so that a user can conveniently control the webpage copy through the terminal, and the flexibility of the webpage copy is effectively improved.
In this embodiment, when the terminal acquires the copy skip instruction in the application page, the terminal may acquire copy data corresponding to the web page copy in response to the copy skip instruction, skip from the application page to the web page according to the copy skip instruction, and display a virtual interaction scene rendered according to the copy data based on the web page. Compared with the traditional game copy, the webpage copy which shows the virtual interaction scene through the webpage effectively reduces the copy development difficulty and shortens the copy development period. The terminal receives an interactive event triggered based on the virtual interactive scene, executes corresponding interactive operation according to the interactive event, and can return the application page from the webpage page when the operation result meets the end condition corresponding to the webpage copy. The terminal can execute more interactive operations based on the webpage copy, and effectively improves the expansibility and flexibility of copy interaction.
In an embodiment, the step of obtaining copy data corresponding to the web page copy in response to the copy jump instruction includes: acquiring a pointed copy inlet according to the copy jump instruction; acquiring a webpage identifier corresponding to the copy entrance; and acquiring the associated copy data according to the webpage identification.
One application can comprise one or more web page copies, and an application page displayed by the terminal running application can comprise a copy entrance corresponding to at least one web page copy. The copy entry may be a variety of types of entry controls. For example, the copy entry may be a virtual object in a virtual scene, such as a game character. The copy portal may also be a variety of types of graphical controls, such as a swirl-like pattern or a door frame-like pattern. The transcript entry may also be text type. The copy entry may specifically be static or dynamic. The user can trigger the copy jump instruction corresponding to the copy entry through the copy entry, and the user can trigger the copy entry through at least one of multiple operation modes, so as to determine to jump to the copy corresponding to the copy entry. For example, the user may trigger the copy entry by a click operation, or may trigger the copy entry by controlling the virtual object to move around the copy entry.
When the terminal acquires the copy skip instruction in the application page, the terminal can acquire the pointed copy entry according to the copy skip instruction. The copy entries correspond to web page copies, and each copy entry may be pre-associated with a web page identifier corresponding to a web page copy. The terminal may store an association relationship between the copy entry and the web page identifier, and the association relationship between the copy entry and the web page identifier may be recorded in at least one of multiple forms such as a data table and an association file. The web page identification may be identification information for uniquely marking the web page content. For example, the web page identifier may specifically be a Uniform Resource Locator (URL) corresponding to the web page copy. The terminal may obtain corresponding copy data according to a web page identifier such as a web page address or a link associated with the copy entry, where the copy data is web page data corresponding to the web page copy based on the web end.
Specifically, the terminal may obtain the associated copy data from the memory or the web server according to the web page identifier. The terminal can acquire the copy data which is stored in advance and is associated with the webpage identifier from the memory corresponding to the terminal. Copy data corresponding to the multiple web page copies can be downloaded in advance and stored in a memory corresponding to the terminal, and the copy data can be configured in the terminal in advance based on a container form. When responding to the copy skip instruction, the terminal may obtain copy data associated with the web page identifier from the local memory.
The terminal may also obtain copy data associated with the web page identification from the web page server. The terminal can access the web server through the network to obtain the copy data which is returned by the web server and is associated with the web identification. It will be appreciated that at least one copy of a web page in an application may correspond to the same web server. The terminal can obtain the corresponding copy data from the web server through web page identifications such as web page links. The plurality of web page copies can also respectively correspond to different web page servers, and the terminal can respectively obtain respective corresponding copy data from the different web page servers.
In this implementation, the terminal may respond to the copy skip instruction, and obtain the pointed copy entry according to the copy skip instruction. The terminal can obtain the webpage identification corresponding to the copy entrance, and obtain the associated copy data according to the webpage identification. The webpage copy is a copy displayed based on copy data of the web end, so that compared with the traditional application copy, the copy development period is effectively shortened, and the expansibility and flexibility of copy interaction are improved.
In one embodiment, the replica data comprises a target file. As shown in fig. 6, providing an interaction method based on a web page copy may specifically include:
s602, when a copy jump instruction is acquired from the application page, copy data corresponding to the webpage copy is acquired in response to the copy jump instruction.
And S604, jumping from the application page to the webpage page according to the copy jumping instruction.
And S606, displaying the target file based on the webpage.
And S608, monitoring the time node displayed by the target file.
S610, when the target file is displayed to the target time node, displaying a virtual interaction scene corresponding to the target time node.
And S612, receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event.
And S614, when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage.
The copy data corresponding to the webpage copy may include a target file, the terminal may read the target file from the copy data, and after jumping from the application page to the webpage page according to the copy jumping instruction, the terminal may display the target file based on the webpage page. The target file may specifically include, but is not limited to, at least one of a video file, an animation file, an image file, and the like. The animation file may specifically be a vector animation. The image file may specifically include a still image and a moving image. For example, when the target file may specifically be a video file based on HTML5, the terminal may obtain and display the video file on a webpage through an Application Programming Interface (API). The target file may be produced according to a game episode of the application, the content of the target file being associated with the game episode of the application. For example, the target file may be an image, video or animation photographed or produced based on a game scenario of the application according to actual needs. The terminal can introduce a virtual interaction scene through the target file, so that the interaction mode of the webpage copy is expanded, the interestingness of the webpage copy is increased, and the user experience is effectively improved.
The terminal may monitor the time node of the target file display after starting to display the target file. Specifically, the terminal may monitor the time node displayed by the target file in multiple ways based on the difference of the target file. For example, when the target file is a video file, the terminal may monitor the video attribute of the video file when the video file is displayed. For example, the terminal may specifically monitor a CurrentTime attribute corresponding to the video. And determining the time node of the video file display according to the video attribute. When the target file is an animation file or an image file, the terminal can start timing through the timer when the animation file or the image file is displayed, and the time node for displaying the animation file or the image file is obtained.
The copy data corresponding to the webpage copy comprises a configuration file, and interaction time nodes corresponding to at least one virtual interaction scene are recorded in the configuration file. The interactive time node is a time node which is preset according to actual requirements and displays a virtual interactive scene to play a game when a webpage copy is developed. When the target file is displayed to the interaction time node, the terminal can display the corresponding virtual interaction scene. Different interaction time nodes can show corresponding different virtual interaction scenes. The terminal can compare the monitored time node with at least one preset interaction time node. When the monitored time node is consistent with any one of the interactive time nodes, the comparison is determined to be successful, the terminal can record the successfully compared time node as a target time node, and a virtual interactive scene corresponding to the target time node is displayed. When the monitored time node is inconsistent with any one of the interactive time nodes, the comparison is determined to fail, and the terminal can continue to monitor the time node displayed by the target file until the target file is displayed to the exchange time node.
In this embodiment, the copy data includes a target file, and the terminal may display the target file based on a webpage and monitor a time node of the target file display in the process of displaying the target file. When the target file is displayed to the target time node, the terminal can display a virtual interaction scene corresponding to the target time node. The terminal can introduce a virtual interaction scene through the target file, so that the interaction mode of the webpage copy is expanded, the interestingness of the webpage copy is increased, and the user experience is effectively improved.
In an embodiment, as shown in fig. 7, an interaction method based on a web page copy is provided, which may specifically include:
s702, when a copy jump instruction is acquired in the application page, copy data corresponding to the webpage copy is acquired in response to the copy jump instruction.
S704, jumping from the application page to the webpage page according to the copy jumping instruction.
S706, displaying the target file based on the webpage.
And S708, monitoring the time node displayed by the target file.
And S710, when the target file is displayed to the target time node, acquiring virtual scene data corresponding to the target time node from the copy data.
And S712, rendering the virtual interactive scene corresponding to the target time node according to the virtual scene data.
And S714, displaying the target file and the virtual interactive scene in parallel according to the layers.
S716, receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event.
And S718, when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage.
The copy of the web page may include at least one virtual interaction scenario. Correspondingly, the copy data corresponding to the webpage copy may include virtual scene data corresponding to at least one virtual interaction scene. The copy data can also comprise a mapping relation between the interaction time node and the virtual scene data, so that the virtual interaction scene with the mapping relation is controlled to be displayed when the target file is displayed to the interaction time node. When the terminal monitors that the time node displayed by the target file is consistent with the interactive time node, the terminal can determine the time node as the target time node. The terminal can acquire the virtual scene data corresponding to the target time node from the copy data according to the mapping relation between the interactive time node and the virtual scene data.
The terminal can render a virtual interactive scene corresponding to the target time node according to the obtained virtual scene data. The virtual scene data may specifically include a virtual scene model. The virtual scene model may be a mathematical model describing the virtual scene in a standard language and data structure. The terminal can render the corresponding virtual interactive scene according to the virtual scene data. For example, when a copy of a web page is developed based on HTML5, the terminal may render an output virtual interaction scene on the web page through the Canvas element of HTML 5. The terminal can display the target file and the virtual interaction scene in parallel according to the multiple layers of the webpage. In one embodiment, the terminal may further suspend displaying the target file, and display the virtual interactive scene based on one layer.
In one embodiment, the virtual scene data may include a multi-level three-dimensional model and a model map corresponding to the virtual interactive scene. The terminal can specifically load a multi-level three-dimensional model and a model map corresponding to each object required by virtual interactive scene rendering, and the model map corresponding to the three-dimensional model meeting the projection conditions projects light and shadow data of the first target level three-dimensional model. The multi-level three-dimensional model and the multi-level model map corresponding to each object are scene materials required for rendering the virtual interactive scene respectively. An object refers to a virtual item in a virtual interactive scene. The multi-level three-dimensional model includes a multi-level monolithic model. A haplotype refers to a three-dimensional model of a single object. The light and shadow data is data that can cause the three-dimensional model to exhibit a contrast effect. The first target level is a level of a pre-specified haplotype for extracting shadow data. The projection condition is a condition for determining whether the three-dimensional model of one level needs to project the light and shadow data from the first target level model. The projection condition may specifically be that the richness of the light and shadow data included in the three-dimensional model is less than a threshold, or that the hierarchy of the three-dimensional model is lower than or equal to a preset hierarchy, or the like.
The terminal may determine the distance of each object located within the shooting range of the virtual camera from the virtual camera. A virtual camera refers to a three-dimensional model of a virtual interactive scene that is positioned around a virtual object. When the first-person perspective is employed, the virtual camera is located near or at the head of the virtual object. When the third person's perspective is adopted, the virtual camera is located behind the virtual object. The terminal can determine the display level of the corresponding object on the webpage according to the distance, determine the three-dimensional model and the model map corresponding to the display level from the multi-level three-dimensional model and the model map required by the loaded scene rendering based on the display level, render the corresponding object on the webpage based on the three-dimensional model and the corresponding model map of the display level, and obtain and display the virtual interaction scene based on the webpage.
In this embodiment, the terminal may obtain virtual scene data corresponding to the target time node from the copy data, render a virtual interactive scene corresponding to the target time node according to the virtual scene data, and display the target file and the virtual interactive scene in parallel according to the plurality of layers. The terminal renders the corresponding virtual interaction scene for display when the target file is displayed to the target time node, and interacts with the user based on the virtual interaction scene, so that the expansibility and flexibility of webpage copy interaction are effectively improved.
In one embodiment, the target file includes a target video, and the method for web page copy-based interaction further includes: when a video jump instruction is triggered in the process of displaying a target video, acquiring a current time node displayed by the target video; acquiring a target time node corresponding to a current time node according to a video frame sequence corresponding to a target video; and skipping the target video to the video frame corresponding to the target time node for displaying.
The target file may specifically include a video file, and the video file records the target video. The target video may be produced or captured based on a gameplay of the application, the video content of the target video being associated with the gameplay. The terminal can load and display the target video based on the webpage when jumping to the webpage copy. The terminal can introduce a virtual interaction scene through the target video, so that the interaction mode of the webpage copy is expanded, the interestingness of the webpage copy is increased, and the user experience is effectively improved.
In the process of showing the target video, the webpage page can also comprise a video jump control. A user can trigger a video skipping instruction through the video skipping control, and the video skipping instruction is used for indicating the terminal to control the target video skipping, so that the flexibility of webpage copy interaction is improved. When a video jump instruction is triggered in the process of displaying the target video, the terminal can acquire the current time node of the target video display. The terminal may specifically obtain the current time node of the target video display by obtaining a video attribute corresponding to the target video or by at least one of multiple modes such as a timer. The current time node is the time node corresponding to the target video when the video jump instruction is triggered.
The terminal can acquire a video frame sequence corresponding to the target video. The video frame sequence refers to an image sequence in which a plurality of frames of target images are included in a target video and are arranged according to the appearance time sequence, and each time node can correspond to one frame of video image. The configuration file corresponding to the webpage copy comprises at least one preset interaction time node. The terminal can obtain the interaction time node which is after the current time node and is closest to the current time node according to the time sequence of the target video, and the interaction time node is recorded as the target time node. The terminal can obtain the video frame corresponding to the target time node according to the video frame sequence, skip the target video to the video frame corresponding to the target time node for displaying, and skip the video frame between the current time node and the target time node.
In this embodiment, when a video jump instruction is triggered in the process of displaying the target video, the terminal may obtain a current time node of the target video display, and obtain a target time node corresponding to the current time node. The terminal can skip the video frame between the current time node and the target time node, and display the video frame corresponding to the target time node after skipping the target video, so that the flexibility of webpage copy interaction is effectively improved.
In an embodiment, after performing the corresponding interaction operation according to the interaction time, the interaction method based on the webpage copy further includes: detecting a display state corresponding to a target file; and when the display state is in the display process, continuing to display the target file until the display of the target file is finished, and returning to the application page from the webpage.
The webpage copy can comprise a plurality of virtual interaction scenes, and a plurality of interaction time nodes exist in the process of showing the target file. And the terminal can obtain a corresponding operation result after executing the corresponding interactive operation according to the interactive time. The terminal can verify the obtained operation result according to the end condition corresponding to the virtual interaction scene. And when the operation result meets the end condition corresponding to the virtual interactive scene, determining that the verification is successful, and representing that the interaction corresponding to the virtual interactive scene is ended. In one embodiment, when the operation result does not meet the end condition corresponding to the virtual interactive scene, it is determined that the verification fails, the terminal may continue to wait for receiving the interactive event triggered based on the virtual interactive scene, and repeatedly perform verification according to the operation result obtained by performing the corresponding interactive operation according to the interactive event. For example, when the virtual interaction scene is a playing scene, the ending condition of the playing scene may be to place the chess pieces to a preset position. The terminal can put the chessmen to the target position indicated by the user according to the received interaction event. And when the target position is consistent with the preset position, determining that the operation result meets the end condition corresponding to the virtual interaction scene.
The terminal can detect the display state corresponding to the target file after the interaction corresponding to the virtual interaction scene is finished. The display state corresponding to the target file may include during the display process, pause the display, and end the display. When the terminal displays the target file and the virtual interactive scene in parallel through the plurality of layers, the display state corresponding to the target file is in the display process, and the display process is switched to be finished after the display of the target file is finished. When the terminal suspends the display of the target file while displaying the virtual interactive scene, the terminal may switch the display state of the target file when starting to display the virtual interactive scene, ending to display the virtual interactive scene, and ending to display the target file.
When the interaction corresponding to the virtual interaction scene is finished, the terminal can detect the display state corresponding to the target file. When the display state is in the display process, the target file can be displayed subsequently, and the terminal can continue to display the target file. When the webpage copy comprises a plurality of virtual interaction scenes, the terminal can continue to display the subsequent virtual interaction scenes in the process of continuing to display the target file until the display of the target file is finished. The terminal may exit the web page copy and return from the web page to the application page. When the interaction corresponding to the virtual interaction scene is finished and the display state corresponding to the target file is the display finished, the terminal can directly return to the application page from the webpage page.
In this embodiment, the terminal may detect a display state corresponding to the target file, and when the display state is in the display process, continue to display the target file until the display of the target file is completed, and return to the application page from the webpage, thereby effectively improving the flexibility of exiting the webpage copy.
In an embodiment, after the operation result meets the end condition corresponding to the web page copy, the web page copy-based interaction method further includes: uploading the operation result to an application server, so that the application server performs resource allocation according to the operation result; and receiving a resource allocation result returned by the application server, and displaying the resource allocation result based on the application page.
And when the operation result meets the end condition corresponding to the webpage copy, the terminal can upload the operation result to the application server, so that the application server performs resource allocation according to the operation result. The application server refers to a server or a server cluster corresponding to an application running on the terminal. The application server may be configured to process application data of applications corresponding to the plurality of terminals, including performing resource allocation according to an operation result uploaded by the terminal. The resource refers to a virtual resource in the application, and the virtual resource may specifically include, but is not limited to, at least one of a game account number, virtual currency, virtual equipment, a virtual object experience, and the like.
The terminal may upload the operation result corresponding to each virtual interactive scene after the interaction corresponding to each virtual interactive scene is finished. The terminal can also uniformly upload the operation results corresponding to all the virtual interactive scenes to the application server after the interaction corresponding to all the virtual interactive scenes is finished. The application server can perform resource allocation according to an operation result obtained by the operation executed by the terminal in the webpage copy.
In one embodiment, the web page end corresponding to the web page copy may send the operation result to the application according to the application interface corresponding to the application. The terminal can perform resource allocation according to the operation result and the preset resource allocation rule corresponding to the application.
The terminal may receive a resource allocation result returned by the application server, where the resource allocation result may include information such as a type of allocated resource and a resource parameter. The terminal may present the received resource allocation results based on the application page. In one embodiment, the terminal may further present the resource allocation result based on the web page before returning from the web page to the application page.
In this embodiment, the terminal may upload the operation result to the application server, so that the application server performs resource allocation according to the operation result. The terminal can receive the resource allocation result returned after the resource allocation is performed by the application server, and the resource allocation result is displayed based on the application page, so that data settlement and game feedback on the operation result in the webpage copy are realized, and the effectiveness of the webpage copy is ensured.
FIGS. 2, 6, and 7 are flow diagrams illustrating methods of interaction based on copies of web pages in some embodiments. It should be understood that although the steps in the flowcharts of fig. 2, 6 and 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 6, and 7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
As shown in fig. 8, in one embodiment, an interactive apparatus 800 based on a webpage copy is provided, the apparatus includes a data obtaining module 802, a scene rendering module 804, an operation executing module 806, and a page returning module 808, wherein:
the data obtaining module 802 is configured to, when a copy skip instruction is obtained in an application page, obtain copy data corresponding to a web page copy in response to the copy skip instruction.
And the scene rendering module 804 is used for skipping from the application page to the webpage page according to the copy skipping instruction and displaying the virtual interaction scene rendered according to the copy data based on the webpage page.
And an operation executing module 806, configured to receive an interaction event triggered based on the virtual interaction scenario, and execute a corresponding interaction operation according to the interaction event.
And a page returning module 808, configured to return the application page from the webpage page when the operation result meets the end condition corresponding to the webpage copy.
In this embodiment, when the terminal acquires the copy skip instruction in the application page, the terminal may acquire copy data corresponding to the web page copy in response to the copy skip instruction, skip from the application page to the web page according to the copy skip instruction, and display a virtual interaction scene rendered according to the copy data based on the web page. Compared with the traditional game copy, the webpage copy which shows the virtual interaction scene through the webpage effectively reduces the copy development difficulty and shortens the copy development period. The terminal receives an interactive event triggered based on the virtual interactive scene, executes corresponding interactive operation according to the interactive event, and can return the application page from the webpage page when the operation result meets the end condition corresponding to the webpage copy. The terminal can execute more interactive operations based on the webpage copy, and effectively improves the expansibility and flexibility of copy interaction.
In one embodiment, the copy data includes a target file, and the scene rendering module 804 is further configured to display the target file based on a webpage; monitoring a time node displayed by a target file; and when the target file is displayed to the target time node, displaying a virtual interaction scene corresponding to the target time node.
In one embodiment, the scene rendering module 804 is further configured to obtain virtual scene data corresponding to a target time node from the copy data; rendering a virtual interactive scene corresponding to the target time node according to the virtual scene data; and displaying the target file and the virtual interactive scene in parallel according to the plurality of layers.
In one embodiment, the target file includes a target video, and the interactive device 800 based on a web page copy further includes a video skip module, configured to obtain a current time node of the target video display when a video skip instruction is triggered in a process of displaying the target video; acquiring a target time node corresponding to a current time node according to a video frame sequence corresponding to a target video; and skipping the target video to the video frame corresponding to the target time node for displaying.
In an embodiment, the data obtaining module 802 is further configured to obtain a pointed copy entry according to a copy jump instruction; acquiring a webpage identifier corresponding to the copy entrance; and acquiring the associated copy data according to the webpage identification.
In an embodiment, the page returning module 808 is further configured to detect a display state corresponding to the target file; and when the display state is in the display process, continuing to display the target file until the display of the target file is finished, and returning to the application page from the webpage.
In one embodiment, the interaction apparatus 800 based on a web page copy further includes a resource allocation module, configured to upload the operation result to the application server, so that the application server performs resource allocation according to the operation result; and receiving a resource allocation result returned by the application server, and displaying the resource allocation result based on the application page.
FIG. 9 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 9, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a method of interacting based on a copy of a web page. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a web page copy based interaction method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the interactive device based on the webpage copy provided by the application can be implemented in the form of a computer program, and the computer program can be run on a computer device as shown in fig. 9. The memory of the computer device may store various program modules constituting the web page copy-based interaction apparatus, such as a data acquisition module 802, a scene rendering module 804, an operation execution module 806, and a page return module 808 shown in fig. 8. The computer program consisting of the program modules causes the processor to execute the steps of the web page copy-based interaction method of the embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 9 may execute, by the data obtaining module 802 in the web page copy-based interaction apparatus shown in fig. 8, when obtaining the copy jump instruction in the application page, obtaining copy data corresponding to the web page copy in response to the copy jump instruction. The computer device may perform a jump from an application page to a web page according to a copy jump instruction through the scene rendering module 804, and display a virtual interaction scene rendered according to copy data based on the web page. The computer device may execute, by the operation execution module 806, receiving an interaction event triggered based on the virtual interaction scenario, and execute a corresponding interaction operation according to the interaction event. The computer device can return the application page from the webpage when the operation result meets the end condition corresponding to the webpage copy through the page return module 808.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the above-mentioned web page copy based interaction method. The steps of the web page copy-based interaction method herein may be steps in the web page copy-based interaction method of the above embodiments.
In one embodiment, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, causes the processor to carry out the steps of the above-mentioned interaction method based on a copy of a web page. The steps of the web page copy-based interaction method herein may be steps in the web page copy-based interaction method of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. An interaction method based on webpage copies comprises the following steps:
when a copy jump instruction is acquired in an application page, acquiring copy data corresponding to a webpage copy in response to the copy jump instruction; the replica data comprises a target file;
skipping from the application page to a webpage page according to the copy skipping instruction, and displaying a virtual interaction scene rendered according to the copy data based on the webpage page; the virtual interactive scene is determined according to the time node when the target file is displayed;
receiving an interactive event triggered based on the virtual interactive scene, and executing corresponding interactive operation according to the interactive event;
and when the operation result meets the end condition corresponding to the webpage copy, returning the application page from the webpage.
2. The method of claim 1, wherein the copy data comprises a target file, and wherein the presenting a virtual interaction scene rendered from the copy data based on the webpage page comprises:
displaying the target file based on the webpage;
monitoring the time node displayed by the target file;
and when the target file is displayed to a target time node, displaying a virtual interaction scene corresponding to the target time node.
3. The method of claim 2, wherein said presenting the virtual interaction scenario corresponding to the target time node comprises:
acquiring virtual scene data corresponding to the target time node from the copy data;
rendering a virtual interactive scene corresponding to the target time node according to the virtual scene data;
and displaying the target file and the virtual interaction scene in parallel according to the plurality of layers.
4. The method of claim 2, wherein the target file comprises a target video, the method further comprising:
when a video jump instruction is triggered in the process of displaying the target video, acquiring a current time node displayed by the target video;
acquiring a target time node corresponding to the current time node according to the video frame sequence corresponding to the target video;
and skipping the target video to a video frame corresponding to the target time node for displaying.
5. The method of claim 1, wherein the obtaining copy data corresponding to the webpage copy in response to the copy jump instruction comprises:
acquiring a pointed copy inlet according to the copy jump instruction;
acquiring a webpage identifier corresponding to the copy entrance;
and acquiring associated copy data according to the webpage identification.
6. The method according to claim 1 or 4, wherein after the performing the corresponding interaction operation according to the interaction event, the method further comprises:
detecting a display state corresponding to a target file;
and when the display state is in the display process, continuing to display the target file until the display of the target file is finished, and returning to the application page from the webpage.
7. The method according to claim 1, wherein after the time when the operation result meets the end condition corresponding to the web page copy, the method further comprises:
uploading the operation result to an application server, so that the application server performs resource allocation according to the operation result;
and receiving a resource allocation result returned by the application server, and displaying the resource allocation result based on the application page.
8. An interactive device based on a copy of a web page, the device comprising:
the data acquisition module is used for responding to the copy jump instruction to acquire copy data corresponding to the webpage copy when the copy jump instruction is acquired from the application page; the replica data comprises a target file;
the scene rendering module is used for skipping from the application page to a webpage page according to the copy skipping instruction and displaying a virtual interaction scene rendered according to the copy data based on the webpage page; the virtual interactive scene is determined according to the time node when the target file is displayed;
the operation execution module is used for receiving an interactive event triggered based on the virtual interactive scene and executing corresponding interactive operation according to the interactive event;
and the page returning module is used for returning the application page from the webpage page when the operation result meets the end condition corresponding to the webpage copy.
9. The apparatus of claim 8, wherein the scene rendering module is further configured to: displaying the target file based on the webpage; monitoring the time node displayed by the target file; and when the target file is displayed to a target time node, displaying a virtual interaction scene corresponding to the target time node.
10. The apparatus of claim 9, wherein the target scene rendering module is further configured to: acquiring virtual scene data corresponding to the target time node from the copy data; rendering a virtual interactive scene corresponding to the target time node according to the virtual scene data; and displaying the target file and the virtual interaction scene in parallel according to the plurality of layers.
11. The apparatus of claim 9, wherein the target file comprises a target video; the apparatus also includes a video skip module to: when a video jump instruction is triggered in the process of displaying the target video, acquiring a current time node displayed by the target video; acquiring a target time node corresponding to the current time node according to the video frame sequence corresponding to the target video; and skipping the target video to a video frame corresponding to the target time node for displaying.
12. The apparatus of claim 8, wherein the data acquisition module is further configured to: acquiring a pointed copy inlet according to the copy jump instruction; acquiring a webpage identifier corresponding to the copy entrance; and acquiring associated copy data according to the webpage identification.
13. The apparatus of claim 8 or 11, wherein the page return module is further configured to: detecting a display state corresponding to a target file; and when the display state is in the display process, continuing to display the target file until the display of the target file is finished, and returning to the application page from the webpage.
14. The apparatus of claim 8, further comprising a resource allocation module configured to: uploading the operation result to an application server, so that the application server performs resource allocation according to the operation result; and receiving a resource allocation result returned by the application server, and displaying the resource allocation result based on the application page.
15. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
16. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
CN202010106103.1A 2020-02-20 2020-02-20 Interaction method and device based on webpage copy, storage medium and computer equipment Active CN111324340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010106103.1A CN111324340B (en) 2020-02-20 2020-02-20 Interaction method and device based on webpage copy, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010106103.1A CN111324340B (en) 2020-02-20 2020-02-20 Interaction method and device based on webpage copy, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN111324340A CN111324340A (en) 2020-06-23
CN111324340B true CN111324340B (en) 2021-07-20

Family

ID=71168903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010106103.1A Active CN111324340B (en) 2020-02-20 2020-02-20 Interaction method and device based on webpage copy, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN111324340B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112156456B (en) * 2020-09-23 2021-10-15 完美世界(北京)软件科技发展有限公司 Game copy display method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037912A (en) * 2017-12-15 2018-05-15 北京小米移动软件有限公司 Show the method, apparatus of page info
US10137368B2 (en) * 2008-11-06 2018-11-27 At&T Intellectual Property I, L.P. Billing a subset of mobile devices associated with an online gaming environment rendered on the subset of mobile devices
CN110162730A (en) * 2019-04-30 2019-08-23 北京梧桐车联科技有限责任公司 Information processing method, device, computer equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130274020A1 (en) * 2012-04-11 2013-10-17 Meteor Entertainment, Inc. Computing platform for supporting massively multi-player online games
CN105354872B (en) * 2015-11-04 2018-02-27 深圳墨麟科技股份有限公司 A kind of rendering engine based on 3D web games, implementation method and tools
CN107122192B (en) * 2017-04-27 2019-04-26 北京三快在线科技有限公司 Webpage view methods of exhibiting, calculates equipment and storage medium at device
CN107670279A (en) * 2017-10-26 2018-02-09 天津科技大学 The development approach and system of 3D web games based on WebGL
CN109739471A (en) * 2017-10-27 2019-05-10 北京一骑当千网络科技股份有限公司 Computer network game development system and method based on internet B/S structure
CN108459888B (en) * 2018-01-08 2019-10-08 平安科技(深圳)有限公司 Multi-page switching method, device, terminal device and storage medium
CN109347916B (en) * 2018-09-14 2021-10-26 北京小米移动软件有限公司 Game interaction method and device and computer readable storage medium
CN109725788B (en) * 2018-12-19 2021-01-26 网易(杭州)网络有限公司 User interface interaction processing method and device, processor and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10137368B2 (en) * 2008-11-06 2018-11-27 At&T Intellectual Property I, L.P. Billing a subset of mobile devices associated with an online gaming environment rendered on the subset of mobile devices
CN108037912A (en) * 2017-12-15 2018-05-15 北京小米移动软件有限公司 Show the method, apparatus of page info
CN110162730A (en) * 2019-04-30 2019-08-23 北京梧桐车联科技有限责任公司 Information processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111324340A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN111659115B (en) Virtual role control method and device, computer equipment and storage medium
WO2020034747A1 (en) Image generation method, device and apparatus, and storage medium
CN110928791B (en) Program testing method, program testing device, computer equipment and storage medium
US8622839B1 (en) Enhancing user experience by presenting past application usage
CN108154197B (en) Method and device for realizing image annotation verification in virtual scene
CN112957730B (en) Plot interaction method and device and electronic equipment
CN110507992B (en) Technical support method, device, equipment and storage medium in virtual scene
CN111389014A (en) Game resource data monitoring method and device, computer equipment and storage medium
KR101595103B1 (en) Server and method for providing a game
US11992762B2 (en) Server-based generation of a help map in a video game
CN111324340B (en) Interaction method and device based on webpage copy, storage medium and computer equipment
CN111359220B (en) Game advertisement generation method and device and computer equipment
CN114272617A (en) Virtual resource processing method, device, equipment and storage medium in virtual scene
CN112717400B (en) Method, device, equipment and medium for displaying checkpoint picture
CN113018853B (en) Data processing method, data processing device, computer equipment and storage medium
Osborn et al. Mappyland: fast, accurate mapping for console games
CN112231220B (en) Game testing method and device
CN113360199B (en) Method, apparatus and computer readable storage medium for preloading a scenario for a game
CN114344920A (en) Data recording method, device, equipment and storage medium based on virtual scene
KR20220053021A (en) video game overlay
CN114247132B (en) Control processing method, device, equipment, medium and program product for virtual object
US20230041552A1 (en) Relevancy-based video help in a video game
WO2024060924A1 (en) Interaction processing method and apparatus for virtual scene, and electronic device and storage medium
WO2024060888A1 (en) Virtual scene interaction processing method and apparatus, and electronic device, computer-readable storage medium and computer program product
CN118267703A (en) Method, device, equipment, medium and program product for displaying checkpoint picture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024779

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant