CN109242977B - Webpage rendering method, device and storage medium - Google Patents
Webpage rendering method, device and storage medium Download PDFInfo
- Publication number
- CN109242977B CN109242977B CN201810887137.1A CN201810887137A CN109242977B CN 109242977 B CN109242977 B CN 109242977B CN 201810887137 A CN201810887137 A CN 201810887137A CN 109242977 B CN109242977 B CN 109242977B
- Authority
- CN
- China
- Prior art keywords
- webpage
- rendering
- scene
- preset
- web page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000009877 rendering Methods 0.000 title claims abstract description 119
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000004044 response Effects 0.000 claims description 10
- 230000003190 augmentative effect Effects 0.000 claims description 7
- 238000013461 design Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a webpage rendering method, a webpage rendering device and a storage medium. The webpage rendering method comprises the following steps: receiving triggering operation acting on a preset control, wherein the preset control is positioned in an AR scene; acquiring a webpage to be rendered according to the triggering operation; rendering the web page in the AR scene. The embodiment of the invention can realize the rendering of the webpage in the AR scene.
Description
Technical Field
The embodiment of the invention relates to an information processing technology, in particular to a webpage rendering method, a webpage rendering device and a storage medium.
Background
With the continuous development of science and technology and the increasing diversity of user demands, augmented reality (Augmented Reality, abbreviated as AR) technology has been developed. The AR technology is a technology for integrating real information and virtual information in a seamless mode, and is characterized in that entity information which is difficult to experience in a certain time space range of the real world originally is simulated and simulated through scientific technologies such as a computer and then superimposed, the virtual information is applied to the real world and perceived by human senses, and therefore sense experience exceeding reality is achieved. However, since AR technology is still in an early stage of development, virtual information that can be applied to the real world is limited.
Disclosure of Invention
The embodiment of the invention provides a webpage rendering method, a webpage rendering device and a storage medium, which are used for rendering webpages in AR scenes.
In a first aspect, an embodiment of the present invention provides a web page rendering method, including:
receiving triggering operation acting on a preset control, wherein the preset control is positioned in an Augmented Reality (AR) scene;
acquiring a webpage to be rendered according to the triggering operation;
rendering the web page in the AR scene.
In a possible implementation manner, the acquiring the webpage to be rendered according to the triggering operation includes:
determining the address of the webpage to be rendered according to the triggering operation;
and acquiring the webpage according to the address.
In a possible implementation manner, the acquiring the webpage to be rendered according to the triggering operation further includes:
determining the rendering position and the webpage size of the webpage to be rendered according to the triggering operation;
accordingly, the rendering the web page in the AR scene includes:
and rendering the webpage according to the webpage size at the rendering position in the AR scene.
In a possible implementation manner, the rendering the webpage in the AR scene includes:
and in the AR scene, rendering the webpage by adopting a network view.
In one possible implementation, the web page uses a texture design.
In a possible implementation manner, the presentation state of the preset control in the AR scene is controllable, and the presentation state includes any one or more of the following:
presentation position, presentation size, presentation angle.
In one possible embodiment, the response of the preset control to a preset operation is controlled by a script, and the preset operation includes any one or more of the following:
and triggering the operation, performing webpage scrolling/sliding corresponding operation, and performing webpage zooming corresponding operation.
In one possible implementation manner, after the receiving the triggering operation for the preset control, the method further includes:
and periodically executing the triggering operation to acquire the webpage to be rendered.
In a second aspect, an embodiment of the present invention provides a web page rendering apparatus, including:
the receiving module is used for receiving triggering operation acting on a preset control, and the preset control is positioned in the augmented reality AR scene;
the acquisition module is used for acquiring the webpage to be rendered according to the triggering operation;
and the rendering module is used for rendering the webpage in the AR scene.
In one possible implementation manner, the acquiring module is specifically configured to:
determining the address of the webpage to be rendered according to the triggering operation;
and acquiring the webpage according to the address.
In a possible implementation manner, the obtaining module is further configured to determine, according to the triggering operation, a rendering position and a web page size of the web page to be rendered; correspondingly, the rendering module is specifically configured to render the webpage according to the webpage size at the rendering position in the AR scene.
In one possible implementation, the rendering module is specifically configured to:
and in the AR scene, rendering the webpage by adopting a network view.
In one possible implementation, the web page uses a texture design.
In a possible implementation manner, the presentation state of the preset control in the AR scene is controllable, and the presentation state includes any one or more of the following:
presentation position, presentation size, presentation angle.
In one possible embodiment, the response of the preset control to a preset operation is controlled by a script, and the preset operation includes any one or more of the following:
and triggering the operation, performing webpage scrolling/sliding corresponding operation, and performing webpage zooming corresponding operation.
In a possible implementation manner, the acquiring module is further configured to:
and after receiving triggering operation acting on a preset control, periodically executing the triggering operation to acquire the webpage to be rendered.
In a third aspect, an embodiment of the present invention provides a web page rendering apparatus, including: a processor and a memory; the memory stores computer-executable instructions; the processor executing the computer-executable instructions causes the processor to perform the method of webpage rendering as described in any of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having stored therein computer-executable instructions, which when executed by a processor, are configured to implement the method for rendering a web page according to any one of the first aspects.
According to the webpage rendering method, device and storage medium, trigger operation acting on the preset control is received, the preset control is located in the AR scene, a webpage to be rendered is obtained according to the trigger operation, and then the webpage is rendered in the AR scene. Through the embodiment of the invention, the rendering of the webpage in the AR scene can be realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flowchart of a method for rendering a web page according to an embodiment of the present invention;
FIG. 2 is a schematic view of a scene in a webpage rendering method according to an embodiment of the present invention;
FIG. 3A is a schematic diagram of another scenario in a webpage rendering method according to an embodiment of the present invention;
FIG. 3B is a schematic view of another scenario in the webpage rendering method according to the embodiment of the present invention;
FIG. 4 is a flowchart of a method for rendering a web page according to another embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a structure of a webpage rendering apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a web page rendering device according to another embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a webpage rendering method, a webpage rendering device and a storage medium, which are used for overcoming the defect that the prior art cannot render a webpage in an AR scene, and realizing real-time rendering of the webpage in the AR scene. The embodiment of the invention can be applied to the medical field, the military field, the network video communication field, the industrial maintenance field and the like.
Fig. 1 is a flowchart of a web page rendering method according to an embodiment of the present invention. The embodiment of the invention provides a webpage rendering method, an execution main body of which can be a webpage rendering device, and the webpage rendering device can be realized in a software/hardware mode. In practical applications, the webpage rendering device may be an independent electronic device, or the webpage rendering device may be integrated in an AR device. This embodiment will be described with the AR device as the execution subject. Among them, AR devices include, but are not limited to, AR head-mounted devices, such as AR glasses, AR helmets, and the like.
As shown in fig. 1, the webpage rendering method includes:
s101, receiving triggering operation acting on a preset control.
The preset control is located in the AR scene. At least one preset control can be set in the AR scene, wherein different preset controls have different functions. For example, the preset controls respectively correspond to a web page, and when a trigger operation acting on the preset controls is received, the web page is acquired and rendered.
It should be noted that, regarding to a specific shape of the preset control, the embodiment of the present invention is not limited thereto, and may be specifically a regular or irregular shape such as a square, a circle, or the like, or may be a borderless area, or the like. For example, the preset control is a Plane node. In addition, the preset control can also be presented as a three-dimensional shape.
Optionally, the presentation state of the preset control in the AR scene is adjustable. Wherein the presentation status may include any one or more of: presentation position, presentation size, presentation angle, etc. Illustratively, the presentation position, the presentation size and the presentation angle of the preset control are set with reference to the world coordinate system. The presentation angle is understood as an angle for rotating the preset control.
In addition, the embodiment of the invention is not limited to the type of triggering operation, and can be specifically set according to actual user requirements or historical experience. The triggering operation may be, for example, a click operation, a double click operation, a long press operation, or a continuous operation in which a long press is performed and sliding is generated on the basis of the long press operation, or the like. Correspondingly, the AR device performs S102 in response to receiving a trigger operation acting on the preset control in the AR scene.
For example, fig. 2 is a schematic view of a scene in a webpage rendering method according to an embodiment of the present invention. Referring to fig. 2, a user inputs a trigger operation for a preset control 21 in the AR scene shown in fig. 2. Accordingly, the AR device performs S102 in response to receiving the trigger operation for the preset control 21. Fig. 2 is an illustration of a manual input by a user, but embodiments of the present invention are not limited to a specific form of operation input, and the user may also perform operation input through a handheld device, such as a handle, or the like.
S102, acquiring a webpage to be rendered according to the triggering operation.
Because the preset control and the webpage have established a binding relationship, the AR device can acquire the webpage to be rendered after receiving the triggering operation acting on the preset control.
S103, rendering the webpage in the AR scene.
For example, as shown in fig. 3A and 3B, in an AR scene, a web page 22 is rendered in the vicinity of a preset control 21. The preset control and the rendered webpage can be connected in a certain explicit mode, so that the webpage is rendered after the preset control is triggered. Specifically, the explicit manner is, for example, a dotted line/solid line connecting the web page with a preset control, and so on. Fig. 3A illustrates a solid connection, but the embodiment of the invention is not limited thereto. And, when the number of preset controls is only one, the rendered web page and the preset controls may not be explicitly connected, as shown in fig. 3B.
Further, the relative positions of the preset controls 21 and the web pages 22 can be adjusted in real time by means of dragging, sliding, and the like.
In practical application, the rendered web page is similar to the display mode of the web page in the browser under the normal condition, and the upper right corner of the web page can be provided with a closing control, a minimizing control, a restoring control and the like, wherein the actions of the controls are similar to the prior art, and the detailed description is omitted herein.
Optionally, after the webpage is rendered, responses of gesture interactions such as clicking, sliding, zooming and the like can be added for corresponding preset controls through the script, so that interaction between the user and the webpage in the AR scene is realized.
In the embodiment of the invention, after the AR equipment receives the triggering operation acting on the preset control, the preset control is positioned in the AR scene, the webpage to be rendered is obtained according to the triggering operation, and the webpage is rendered in the AR scene, so that the rendering of the webpage in the AR scene is realized, and the defect that the webpage rendering cannot be performed in the AR scene at present is overcome.
In the foregoing embodiment, in a specific implementation manner, S102, acquiring, according to a triggering operation, a webpage to be rendered may include: determining the address of the webpage to be rendered according to the triggering operation; and acquiring the webpage according to the address.
Further, S102, according to the triggering operation, acquiring the webpage to be rendered may further include: and determining the rendering position and the webpage size of the webpage to be rendered according to the triggering operation. Accordingly, S103, rendering the web page in the AR scene may include: and rendering the webpage according to the webpage size at the rendering position in the AR scene.
It can be appreciated that the rendering position of the web page and the size of the web page are predetermined. When a webpage is rendered, a preset rendering position and webpage size of the webpage are obtained, and the webpage is rendered according to the rendering position and the webpage size. It should be further noted that the rendering position and the size of the web page may be adjustable, and the user may customize the rendering position and the size of the web page on the AR device.
The setting of the rendering position of the webpage and the size of the webpage can also be determined by taking a world coordinate system as a reference so as to be fit with the scene in the real world.
In a specific implementation, a message communication system is established, the message communication system can be understood as an interface, and a developer can make the message communication system transmit configuration information such as an address, a rendering position, a webpage size and the like of a webpage to be rendered to an AR rendering engine through writing a script, and the AR rendering engine is used for realizing the rendering of a 3D virtual scene and virtual-real fusion of the real-time picture acquired by a camera, wherein the rendering of the 3D virtual scene comprises the rendering of the webpage.
In some embodiments, S103, rendering a web page in an AR scene may include: in an AR scene, the web page is rendered using a web view (webview).
Alternatively, the web page uses a texture design. The textures can be used for displaying key contents of the webpage by guiding the sight of a user, so that the infectivity of the rendered webpage is enhanced.
Fig. 4 is a flowchart of a web page rendering method according to another embodiment of the present invention. As shown in fig. 4, the webpage rendering method in this embodiment may include:
s401, receiving triggering operation acting on a preset control.
S402, periodically executing the webpage to be rendered according to the triggering operation.
S403, rendering the webpage in the AR scene.
The embodiment shown in fig. 4 differs from the embodiment shown in fig. 1 in that: in the embodiment shown in fig. 4, after receiving a trigger operation for a preset control in S401, the AR device may periodically perform obtaining a webpage to be rendered according to the trigger operation in S402, and render the webpage to be rendered that is newly obtained in S403.
The periodic execution may be performed at a preset frequency and every preset time from the time when the trigger operation acting on the preset control is received as the starting point of timing S102.
Alternatively, the AR device may also perform S102 once at a preset time from receiving a trigger operation for a preset control as a starting point of timing. Here, the time intervals between the preset times may be different. For example, the preset time is 5 minutes, 20 minutes, 1 hour, … …,1 day, etc., and is specifically set according to the actual requirement.
This embodiment considers that the content of the web page may be updated continuously, in which case the web page needs to be re-rendered in the AR scene, so that the content in the web page rendered in the AR scene is updated content.
Wherein the response of the preset control to the preset operation is controlled by the script, and the preset operation can comprise any one or more of the following: the triggering operation, the operation corresponding to the scrolling/sliding of the web page, the operation corresponding to the zooming of the web page, and the like, and the embodiment of the invention is not limited thereto. The specific implementation can be realized by writing a script, so that the message communication system can control operations such as updating of the webpage through instructions.
The following are embodiments of the apparatus of the present invention, which may be used to perform the above-described method embodiments of the present invention, and achieve similar principles and technical effects.
Fig. 5 is a schematic structural diagram of a web page rendering device according to an embodiment of the invention. The embodiment of the invention provides a webpage rendering device which can be realized in a software and/or hardware mode. In practical applications, the webpage rendering device may be an independent electronic device, or the webpage rendering device may be integrated in an AR device. Among them, AR devices include, but are not limited to, AR head-mounted devices, such as AR glasses, AR helmets, and the like.
As shown in fig. 5, the web page rendering apparatus 50 includes: a receiving module 51, an obtaining module 52 and a rendering module 53. Wherein,
the receiving module 51 is configured to receive a triggering operation acting on a preset control. The preset control is located in the AR scene.
The obtaining module 52 is configured to obtain a webpage to be rendered according to the triggering operation.
The rendering module 53 is configured to render the web page obtained by the obtaining module 52 in the AR scene.
In this embodiment, after receiving a trigger operation acting on a preset control, the preset control is located in an AR scene, and according to the trigger operation, a webpage to be rendered is obtained, and then the webpage is rendered in the AR scene, so that the rendering of the webpage in the AR scene is realized.
In the above embodiment, the obtaining module 52 may be specifically configured to:
determining the address of the webpage to be rendered according to the triggering operation;
and acquiring the webpage according to the address.
Optionally, the obtaining module 52 may be further configured to determine a rendering position and a web page size of the web page to be rendered according to the triggering operation. Accordingly, the rendering module 53 may be specifically configured to render the webpage according to the webpage size at the rendering position in the AR scene.
In some embodiments, rendering module 53 may be specifically configured to: and in the AR scene, rendering the webpage by adopting a network view.
Optionally, the web page uses a texture design.
Further, the presentation state of the preset control in the AR scene is adjustable, and the presentation state may include any one or more of the following:
presentation position, presentation size and presentation angle, etc.
Optionally, the response of the preset control to the preset operation is controlled by a script, and the preset operation may include any one or more of the following:
the triggering operation, the operation corresponding to the webpage scrolling/sliding, the operation corresponding to the webpage zooming and the like.
Still further, the obtaining module 52 may be further configured to:
and after receiving triggering operation acting on a preset control, periodically executing the triggering operation to acquire the webpage to be rendered.
Fig. 6 is a schematic structural diagram of a web page rendering device according to another embodiment of the invention. As shown in fig. 6, the web page rendering apparatus 60 includes:
at least one processor 61 and a memory 62;
the memory 62 stores computer-executable instructions;
the at least one processor 61 executes computer-executable instructions stored by the memory 62 such that the at least one processor 61 performs the following operations:
receiving triggering operation acting on a preset control, wherein the preset control is positioned in an Augmented Reality (AR) scene;
acquiring a webpage to be rendered according to the triggering operation;
rendering the web page in the AR scene.
Optionally, the acquiring the webpage to be rendered according to the triggering operation may include:
determining the address of the webpage to be rendered according to the triggering operation;
and acquiring the webpage according to the address.
Further, the acquiring the webpage to be rendered according to the triggering operation may further include: and determining the rendering position and the webpage size of the webpage to be rendered according to the triggering operation. Accordingly, the rendering the web page in the AR scene may include: and rendering the webpage according to the webpage size at the rendering position in the AR scene.
In some embodiments, the rendering the web page in the AR scene may include: and in the AR scene, rendering the webpage by adopting a network view.
Wherein the web page uses texture design.
Optionally, a presentation state of the preset control in the AR scene is controllable, and the presentation state may include any one or more of the following:
presentation position, presentation size, presentation angle, etc.
Optionally, the response of the preset control to the preset operation is controlled by a script, and the preset operation may include any one or more of the following:
the triggering operation, the operation corresponding to the webpage scrolling/sliding, the operation corresponding to the webpage zooming and the like.
Further, the computer-executable instructions, when executed by the processor 61, further cause the web page rendering device 60 to: and after receiving triggering operation acting on a preset control, periodically executing the triggering operation to acquire the webpage to be rendered.
The embodiment of the invention also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and the computer execution instructions are used for realizing the webpage rendering method when being executed by a processor.
The functional modules in the embodiments of the present invention may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
It should be understood that the above processor may be a central processing unit (Central Processing Unit, abbreviated as CPU), or other general purpose processor, digital signal processor (Digital Signal Processor, abbreviated as DSP), application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.
Claims (12)
1. A web page rendering method, comprising:
receiving triggering operation acting on a preset control, wherein the preset control is positioned in an Augmented Reality (AR) scene;
acquiring a webpage to be rendered according to the triggering operation; rendering the web page in the AR scene; the preset control is connected with the rendered webpage in an explicit mode;
the step of acquiring the webpage to be rendered according to the triggering operation comprises the following steps:
determining the address of the webpage to be rendered according to the triggering operation;
acquiring the webpage according to the address;
determining the rendering position and the webpage size of the webpage to be rendered according to the triggering operation; the webpage rendering position and the webpage size are preset according to a world coordinate system;
the rendering the web page in the AR scene includes:
rendering the webpage according to the webpage size at the rendering position in the AR scene;
after receiving the triggering operation acting on the preset control, the method further comprises the following steps:
and periodically executing the triggering operation according to the preset time at preset frequency every preset time from the time when the triggering operation acting on the preset control is received as a timing starting point, and acquiring the webpage to be rendered.
2. The method of claim 1, wherein the rendering the web page in the AR scene comprises:
and in the AR scene, rendering the webpage by adopting a network view.
3. The method of claim 1, wherein the web page uses texture design.
4. The method of claim 1, wherein a presentation state of the preset control in the AR scene is adjustable, the presentation state comprising any one or more of:
presentation position, presentation size, and presentation angle.
5. The method of claim 1, wherein the response of the preset control to a preset operation is controlled by a script, the preset operation comprising any one or more of:
and triggering the operation, performing webpage scrolling/sliding corresponding operation, and performing webpage zooming corresponding operation.
6. A web page rendering apparatus, comprising:
the receiving module is used for receiving triggering operation acting on a preset control, and the preset control is positioned in the augmented reality AR scene;
the acquisition module is used for acquiring the webpage to be rendered according to the triggering operation;
a rendering module for rendering the web page in the AR scene; the preset control is connected with the rendered webpage in an explicit mode;
the acquisition module is specifically configured to:
determining the address of the webpage to be rendered according to the triggering operation;
acquiring the webpage according to the address;
determining the rendering position and the webpage size of the webpage to be rendered according to the triggering operation; the webpage rendering position and the webpage size are preset according to a world coordinate system;
correspondingly, the rendering module is specifically configured to render the webpage according to the webpage size at the rendering position in the AR scene;
the acquisition module is further configured to:
after receiving the triggering operation acting on the preset control, from the triggering operation acting on the preset control is received as a timing starting point, the webpage to be rendered is obtained by periodically executing the triggering operation according to preset time intervals at preset frequency.
7. The apparatus of claim 6, wherein the rendering module is specifically configured to:
and in the AR scene, rendering the webpage by adopting a network view.
8. The apparatus of claim 6, wherein the web page uses a texture design.
9. The apparatus of claim 6, wherein a presentation state of the preset control in the AR scene is adjustable, the presentation state comprising any one or more of:
presentation position, presentation size, presentation angle.
10. The apparatus of claim 6, wherein the response of the preset control to a preset operation is controlled by a script, the preset operation comprising any one or more of:
the triggering operation, the operation corresponding to the webpage scrolling/sliding and the operation corresponding to the webpage zooming.
11. A web page rendering apparatus, comprising:
a processor and a memory;
wherein the memory stores computer-executable instructions;
the processor executing the computer-executable instructions causes the processor to perform the web page rendering method of any one of claims 1 to 5.
12. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing a web page rendering method as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810887137.1A CN109242977B (en) | 2018-08-06 | 2018-08-06 | Webpage rendering method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810887137.1A CN109242977B (en) | 2018-08-06 | 2018-08-06 | Webpage rendering method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109242977A CN109242977A (en) | 2019-01-18 |
CN109242977B true CN109242977B (en) | 2024-01-16 |
Family
ID=65069929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810887137.1A Active CN109242977B (en) | 2018-08-06 | 2018-08-06 | Webpage rendering method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109242977B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111352243A (en) * | 2020-03-31 | 2020-06-30 | 北京塞傲时代信息技术有限公司 | AR remote rendering system and method based on 5G network |
CN112163173B (en) * | 2020-09-22 | 2024-05-03 | Oppo(重庆)智能科技有限公司 | Webpage loading method, webpage loading device, electronic equipment and computer readable storage medium |
CN115525852A (en) * | 2021-10-28 | 2022-12-27 | 北京字节跳动网络技术有限公司 | Webpage rendering method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955548A (en) * | 2014-05-23 | 2014-07-30 | 北京金山网络科技有限公司 | Method and device for rendering web page |
CN107085868A (en) * | 2017-04-27 | 2017-08-22 | 腾讯科技(深圳)有限公司 | image drawing method and device |
CN107832329A (en) * | 2017-09-26 | 2018-03-23 | 中国平安人寿保险股份有限公司 | Page resource acquisition methods and terminal device |
CN108304590A (en) * | 2018-03-09 | 2018-07-20 | 百度在线网络技术(北京)有限公司 | Web page display method, apparatus, equipment and the computer-readable medium of virtual reality |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9678929B2 (en) * | 2013-08-01 | 2017-06-13 | Equldo Limited | Stereoscopic online web content creation and rendering |
-
2018
- 2018-08-06 CN CN201810887137.1A patent/CN109242977B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103955548A (en) * | 2014-05-23 | 2014-07-30 | 北京金山网络科技有限公司 | Method and device for rendering web page |
CN107085868A (en) * | 2017-04-27 | 2017-08-22 | 腾讯科技(深圳)有限公司 | image drawing method and device |
CN107832329A (en) * | 2017-09-26 | 2018-03-23 | 中国平安人寿保险股份有限公司 | Page resource acquisition methods and terminal device |
CN108304590A (en) * | 2018-03-09 | 2018-07-20 | 百度在线网络技术(北京)有限公司 | Web page display method, apparatus, equipment and the computer-readable medium of virtual reality |
Also Published As
Publication number | Publication date |
---|---|
CN109242977A (en) | 2019-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113711175B (en) | Control display | |
US10210664B1 (en) | Capture and apply light information for augmented reality | |
US20170171592A1 (en) | Method and electronic apparatus for adjusting viewing angle of Smart Television playing panorama videos | |
CN111414225B (en) | Three-dimensional model remote display method, first terminal, electronic device and storage medium | |
CN106708452B (en) | Information sharing method and terminal | |
CN109242977B (en) | Webpage rendering method, device and storage medium | |
CN111274618B (en) | Display control method and related product | |
US10379345B2 (en) | Virtual expansion of desktop | |
US10789766B2 (en) | Three-dimensional visual effect simulation method and apparatus, storage medium, and display device | |
CN106970467B (en) | Information display method and head-mounted display equipment | |
CN111179438A (en) | AR model dynamic fixing method and device, electronic equipment and storage medium | |
CN107408186A (en) | The display of privacy content | |
CN112528107A (en) | Content data display method and device and server | |
CN107609433A (en) | Method for secret protection and electronic equipment | |
CN115967854A (en) | Photographing method and device and electronic equipment | |
US11910068B2 (en) | Panoramic render of 3D video | |
CN110312164A (en) | Method for processing video frequency, device and computer storage medium and terminal device | |
CN106375188B (en) | Method, device and system for presenting interactive expressions | |
CN115454250A (en) | Method, apparatus, device and storage medium for augmented reality interaction | |
KR101810980B1 (en) | Method for displaying contents, display device and system for executing the method | |
KR102176217B1 (en) | Method of making and providing content in 3d and apparatus therefor | |
CN110688192B (en) | Event monitoring response method, device, equipment and storage medium | |
US20230368475A1 (en) | Multi-Device Content Handoff Based on Source Device Position | |
CN118244880A (en) | Method, apparatus, device and storage medium for presenting content in virtual scene | |
CN117541756A (en) | Method, apparatus, electronic device and computer readable medium for adjusting avatar |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |