CN112527444A - User-defined page implementation method applied to virtual reality client user interface - Google Patents

User-defined page implementation method applied to virtual reality client user interface Download PDF

Info

Publication number
CN112527444A
CN112527444A CN202011590921.XA CN202011590921A CN112527444A CN 112527444 A CN112527444 A CN 112527444A CN 202011590921 A CN202011590921 A CN 202011590921A CN 112527444 A CN112527444 A CN 112527444A
Authority
CN
China
Prior art keywords
virtual reality
attribute
page
component
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011590921.XA
Other languages
Chinese (zh)
Inventor
张潇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
E Surfing Reading Culture Communications Co Ltd
Original Assignee
E Surfing Reading Culture Communications 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 E Surfing Reading Culture Communications Co Ltd filed Critical E Surfing Reading Culture Communications Co Ltd
Priority to CN202011590921.XA priority Critical patent/CN112527444A/en
Publication of CN112527444A publication Critical patent/CN112527444A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/81Indexing, e.g. XML tags; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention belongs to the field of virtual reality interface development technology and Internet product operation, and relates to a custom page implementation method applied to a virtual reality client user interface, wherein a Json file format is adopted to compile and record a basic data structure of a virtual reality custom page, and multimedia information related to the custom page is pre-stored in an FTP file system and is recorded in a Json file in a mode of generating a URL address; storing and recording the Json file of each user-defined page in a unique id form at a server corresponding to the virtual reality client, and performing cloud configuration through the server; and finally, the client requests to acquire the Json file of the corresponding page and performs analysis loading. The invention solves the problems that the traditional custom page based on HTML is not suitable for a virtual reality client and lacks a domain page configuration scheme for Internet content operation, and the virtual reality client software can realize flexible page custom configuration and strengthen the operation capability of a virtual reality client product.

Description

User-defined page implementation method applied to virtual reality client user interface
Technical Field
The invention belongs to the field of virtual reality interface development technology and Internet product operation, and relates to a custom page implementation method applied to a user interface of a virtual reality client.
Background
Related configuration methods for high-flexibility user-defined pages of mobile phone, PC and Web client products exist in the current market, but practice for virtual reality client products is extremely rare.
The traditional HTML page cannot be directly applied to the virtual reality client, so that the current virtual reality client product does not have flexible operation capacity similar to that of a mobile phone client, and the long-term development of Internet services based on content operation as a main body on a virtual reality terminal platform is not facilitated.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a custom page implementation method applied to a user interface of a virtual reality client, and the specific technical scheme is as follows.
A self-defined page implementation method applied to a virtual reality client user interface is characterized by firstly setting a data structure rule of a virtual reality self-defined page, and writing and recording a basic data structure of the virtual reality self-defined page by adopting a Json file format; then, multimedia information related to the virtual reality custom page is pre-stored in an FTP file system and is recorded in a Json file in a URL address generating mode; storing and recording the Json file of each virtual reality user-defined page in a unique id form at a server corresponding to the virtual reality client, and performing cloud configuration through the server; and finally, the virtual reality client requests to acquire the Json file of the corresponding page and performs analysis loading.
Further, the basic data structure of the virtual reality custom page is composed of a root node component and a child node component, and the root node component and the child node component record node data in an order from top to bottom.
Further, when the virtual reality custom page is loaded, the components are sequentially loaded from the bottom layer to the top layer, namely from the root node component to the child node components according to the top-down sequence of the node data in the obtained Json file.
Further, the number of the single pages of the root node component is 1, and the root node component comprises a world positioning attribute, a content attribute and an expansion attribute; the world positioning attribute comprises world anchor point coordinates (x 0, y0, z 0) and a space occupying size (w 0, h 0), and the coordinate system in the virtual reality system and the central point of the space occupying rectangle are taken as references for determining the positioning information of the root node component in the virtual reality space interface; the content attribute is a text and URL one-dimensional array and is used for determining the content information of the component; and the expansion attributes are preset multiple groups of variables and are used for recording special element display effects agreed with the client.
Furthermore, the number of the single pages of the child node components is not limited, and the child node components comprise relative positioning attributes, content attributes, link attributes and expansion attributes; the relative positioning attribute comprises relative coordinates (x 1, y1, z 1) and a space occupying size (w 1, h 1), the upper left corner of the root node component is a relative reference point and the upper left corner of the space occupying rectangle is a benchmark, and the relative positioning attribute is used for determining positioning information of the sub node component in the virtual reality space interface; the content attribute is a text and URL one-dimensional array and is used for determining the content information of the component; the link attribute is type option plus link id and is used for recording component hyperlink direction appointed with the client; and the expansion attributes are preset multiple groups of variables and are used for displaying the effect with special elements in the child node assembly.
Further, according to the analysis convention of the client and the server, rendering component effects meeting the requirements of a world positioning attribute, a relative positioning attribute, a content attribute, a link attribute and an expansion attribute in the data structure rule of the virtual reality custom page; according to the setting of the link attribute, the component of the link attribute supports the interactive operation of a virtual reality user interface, and performs pointing skip based on an event, including pointing to a video or a secondary user-defined page; according to the setting of the expansion attribute, the component with the expansion attribute performs special response when executing specified operation, including that the component pops up when the fixation point falls into focus to the component area.
Further, the virtual reality client downloads URL resources mentioned in all content attributes in the Json file in advance before page loading
The invention has the advantages and effects that:
1. the invention is a self-defined interface technology appointed by the space basic characteristics based on the virtual reality user interface, the existing related research practice aiming at the virtual reality interface is rare, a set of self-defined rules is set by self, and on the basis of aligning the analysis rules of a client and a server, the problems that the traditional self-defined page based on HTML is not suitable for the virtual reality client and lacks the field page configuration scheme of internet content operation are solved, so that the virtual reality client software can also realize flexible page self-defined configuration, and the operation capability of the virtual reality internet content product is strengthened;
2. by distinguishing the component elements into two types of root node components and child node components, the problem of appointed description of space world coordinate positioning and component relative coordinate positioning in the generation process of a user-defined interface is solved respectively, functions of page element space positioning, page content jumping, page function expansion and the like are achieved, and reliable practice is provided for enhancing the operation capacity of a virtual reality client product.
3. The Json file is used as a storage format, so that the method has iterability and strong cross-version compatibility, and particularly has great significance in the later function expansion process of attribute expansion.
Drawings
FIG. 1 is a schematic diagram of the data structure of a virtual reality custom page of the present invention;
FIG. 2 is a block diagram of the data structure of a virtual reality custom page of the present invention;
FIG. 3 is a loading schematic of a virtual reality custom page of the present invention.
Detailed Description
In order to make the objects, technical solutions and technical effects of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings.
As shown in fig. 1-3, the method for implementing the custom page applied to the virtual reality client user interface of the present invention includes firstly setting a data structure rule of the virtual reality custom page, and compiling and recording a basic data structure of the virtual reality custom page by adopting a Json file format, so that the data structure of the virtual reality custom page has a feature that the Json file can be used for parsing and parameter expansion; then, multimedia information related to the virtual reality custom page is pre-stored in an FTP file system and is recorded in a Json file in a URL address generating mode; storing and recording the Json file of each virtual reality user-defined page in a unique id form at a server corresponding to the virtual reality client, and performing cloud configuration through the server; and finally, the virtual reality client requests to acquire the Json file of the corresponding page and performs analysis loading.
Before the interface is loaded, in order to improve loading efficiency, the virtual reality client downloads URL resources mentioned in all content attributes in the Json file in advance so as to improve loading efficiency.
The basic data structure of the virtual reality custom page is composed of components, the components are divided into root node components and child node components, and the node data is recorded in the sequence from top to bottom.
The number of single pages of the root node component is 1, and the root node component comprises a world positioning attribute, a content attribute and an expansion attribute; the world positioning attribute comprises world anchor point coordinates (x 0, y0, z 0) and a space occupying size (w 0, h 0), and the coordinate system in the virtual reality system and the central point of the space occupying rectangle are taken as references for determining the positioning information of the root node component in the virtual reality space interface; the content attribute is a text and URL one-dimensional array and is used for determining the content information of the component; the expansion attributes are preset multiple groups of variables, and are used for recording special element display effects agreed with the client in the root node component.
The number of the single pages of the child node components is not limited, and the child node components comprise relative positioning attributes, content attributes, link attributes and expansion attributes; the relative positioning attribute comprises relative coordinates (x 1, y1, z 1) and a space occupying size (w 1, h 1), the upper left corner of the root node component is a relative reference point and the upper left corner of the space occupying rectangle is a benchmark, and the relative positioning attribute is used for determining positioning information of the sub node component in the virtual reality space interface; the content attribute is a text and URL one-dimensional array and is used for determining the content information of the component; the link attribute is type option + link id and is used for recording component hyperlink direction appointed with the client; and expanding the attributes into preset multiple groups of variables, and displaying the effect of general and special elements in the child node assembly.
And when the user interface loads the user-defined interface, sequentially loading components from the bottom layer to the top layer, namely from the root node component to the child node component, according to the top-down sequence of the node data in the obtained Json file.
According to the analysis agreement of the client and the server, namely, the specified variable type is defined at the client, and the variable type is known at the server, so that the data of the variable type can be input at the server and then sent to the client to realize the function of the variable type; and rendering the component effects which meet the world positioning attribute, the relative positioning attribute, the content attribute, the link attribute and the expansion attribute in the custom rule. According to the setting of the link attribute, part of the components can support the interactive operation of a virtual reality user interface, and point jumping is carried out based on an event, such as point video or a secondary self-defined page; and moreover, the method has the setting of expansion attributes, and special response can be carried out on part of the components when specified operation is carried out, such as the effect that the components pop up when a fixation point falls into focus to a component area, and the like.
The virtual reality head-mounted device used in the embodiment of the invention can be: the full anzhi VR9 or higher performance SoC comprises basic hardware such as an electronic compass, a gyroscope, a microphone, a display and the like.
According to the method, a set of custom rules is set by self, and on the basis of aligning the analysis rules of the client and the server, the problems that a traditional custom page based on HTML is not suitable for a virtual reality client and lacks a domain page configuration scheme for Internet content operation are solved, so that the flexible page custom configuration can be realized by virtual reality client software, and the operation capacity of a virtual reality Internet content product is enhanced; the method has the advantages that the root node component and the child node components are provided, two kinds of mutually dependent pages which respectively serve as the content type are provided, the functions of page element space positioning, page content jumping, page function expansion and the like are realized through the client and server convention of the data structure, and reliable practice is provided for enhancing the operation capacity of a virtual reality client product.

Claims (7)

1. The method is characterized in that a data structure rule of a virtual reality custom page is set at first, and a Json file format is adopted to compile and record a basic data structure of the virtual reality custom page; then, multimedia information related to the virtual reality custom page is pre-stored in an FTP file system and is recorded in a Json file in a URL address generating mode; storing and recording the Json file of each virtual reality user-defined page in a unique id form at a server corresponding to the virtual reality client, and performing cloud configuration through the server; and finally, the virtual reality client requests to acquire the Json file of the corresponding page and performs analysis loading.
2. The method of claim 1, wherein the basic data structure of the virtual reality custom page comprises a root node component and a child node component, and the root node component and the child node component record the node data in a top-down order.
3. The method for implementing the custom page applied to the virtual reality client user interface of claim 2, wherein when the virtual reality custom page is loaded, the components are sequentially loaded from the bottom layer to the top layer, namely from the root node component to the child node components, according to the top-down sequence of the node data in the obtained Json file.
4. The method of claim 2, wherein the number of the single pages of the root node component is 1, and the root node component comprises a world positioning attribute, a content attribute and an expansion attribute; the world positioning attribute comprises world anchor point coordinates (x 0, y0, z 0) and a space occupying size (w 0, h 0), and the coordinate system in the virtual reality system and the central point of the space occupying rectangle are taken as references for determining the positioning information of the root node component in the virtual reality space interface; the content attribute is a text and URL one-dimensional array and is used for determining the content information of the component; and the expansion attributes are preset multiple groups of variables and are used for recording special element display effects agreed with the client.
5. The method of claim 4, wherein the number of the single pages of the child node component is not limited, and the child node component comprises a relative positioning attribute, a content attribute, a link attribute, and an expansion attribute; the relative positioning attribute comprises relative coordinates (x 1, y1, z 1) and a space occupying size (w 1, h 1), the upper left corner of the root node component is a relative reference point and the upper left corner of the space occupying rectangle is a benchmark, and the relative positioning attribute is used for determining positioning information of the sub node component in the virtual reality space interface; the content attribute is a text and URL one-dimensional array and is used for determining the content information of the component; the link attribute is type option plus link id and is used for recording component hyperlink direction appointed with the client; and the expansion attributes are preset multiple groups of variables and are used for displaying the effect with special elements in the child node assembly.
6. The method of claim 5, wherein the method comprises rendering a set of elements that satisfy the world positioning attribute, the relative positioning attribute, the content attribute, the link attribute, and the extension attribute in the data structure rule of the virtual reality custom page according to the parsing convention between the client and the server; according to the setting of the link attribute, the component of the link attribute supports the interactive operation of a virtual reality user interface, and performs pointing skip based on an event, including pointing to a video or a secondary user-defined page; according to the setting of the expansion attribute, the component with the expansion attribute performs special response when executing specified operation, including that the component pops up when the fixation point falls into focus to the component area.
7. The method for implementing the custom page as applied to the user interface of the virtual reality client as claimed in claim 1, wherein the virtual reality client downloads URL resources mentioned in all content attributes in the Json file in advance before page loading.
CN202011590921.XA 2020-12-29 2020-12-29 User-defined page implementation method applied to virtual reality client user interface Pending CN112527444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011590921.XA CN112527444A (en) 2020-12-29 2020-12-29 User-defined page implementation method applied to virtual reality client user interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011590921.XA CN112527444A (en) 2020-12-29 2020-12-29 User-defined page implementation method applied to virtual reality client user interface

Publications (1)

Publication Number Publication Date
CN112527444A true CN112527444A (en) 2021-03-19

Family

ID=74976852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011590921.XA Pending CN112527444A (en) 2020-12-29 2020-12-29 User-defined page implementation method applied to virtual reality client user interface

Country Status (1)

Country Link
CN (1) CN112527444A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458693A (en) * 2007-12-13 2009-06-17 鸿富锦精密工业(深圳)有限公司 Web page download parsing system and method
US20110078124A1 (en) * 2009-09-28 2011-03-31 Brother Kogyo Kabushiki Kaisha Information creating apparatus, recording medium in which an information creating program is recorded, information creating method, node apparatus, recording medium in which a node program is recorded, and retrieval method
US20150143302A1 (en) * 2013-11-15 2015-05-21 Korea Advanced Institute Of Science And Technology Method of providing virtual reality based three-dimensional interface for web object searches and real-time metadata representations and web search system using the three-dimensional interface
CN104915373A (en) * 2015-04-27 2015-09-16 北京大学深圳研究生院 Three-dimensional webpage design method and device
CN104965877A (en) * 2015-06-12 2015-10-07 郑州悉知信息技术有限公司 Webpage picture acquisition method, picture cache server, coordination server and system
CN105468606A (en) * 2014-08-25 2016-04-06 小米科技有限责任公司 Webpage saving method and device
CN105574049A (en) * 2014-10-30 2016-05-11 阿里巴巴集团控股有限公司 Page processing method, device and system of mobile applications
CN105930378A (en) * 2016-04-13 2016-09-07 北京思特奇信息技术股份有限公司 Method and system for processing HTML page nesting at background servers
CN106502669A (en) * 2016-10-20 2017-03-15 北京航空航天大学 A kind of three-dimensional coordinate model building method of complex software network
CN106886398A (en) * 2016-06-20 2017-06-23 阿里巴巴集团控股有限公司 The extracting method and equipment of a kind of CSS
CN107085868A (en) * 2017-04-27 2017-08-22 腾讯科技(深圳)有限公司 image drawing method and device
CN107170050A (en) * 2017-06-05 2017-09-15 北京寰和通创科技有限公司 The 3D scenes method for building up and system of Internet of Things pel
CN107451296A (en) * 2017-08-21 2017-12-08 南京焦点领动云计算技术有限公司 A kind of Website Module rendering intent based on component
CN108021614A (en) * 2017-08-18 2018-05-11 口碑(上海)信息技术有限公司 A kind of method and system for page dynamic load
CN112100550A (en) * 2019-06-17 2020-12-18 北京京东尚科信息技术有限公司 Page construction method and device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458693A (en) * 2007-12-13 2009-06-17 鸿富锦精密工业(深圳)有限公司 Web page download parsing system and method
US20110078124A1 (en) * 2009-09-28 2011-03-31 Brother Kogyo Kabushiki Kaisha Information creating apparatus, recording medium in which an information creating program is recorded, information creating method, node apparatus, recording medium in which a node program is recorded, and retrieval method
US20150143302A1 (en) * 2013-11-15 2015-05-21 Korea Advanced Institute Of Science And Technology Method of providing virtual reality based three-dimensional interface for web object searches and real-time metadata representations and web search system using the three-dimensional interface
CN105468606A (en) * 2014-08-25 2016-04-06 小米科技有限责任公司 Webpage saving method and device
CN105574049A (en) * 2014-10-30 2016-05-11 阿里巴巴集团控股有限公司 Page processing method, device and system of mobile applications
CN104915373A (en) * 2015-04-27 2015-09-16 北京大学深圳研究生院 Three-dimensional webpage design method and device
CN104965877A (en) * 2015-06-12 2015-10-07 郑州悉知信息技术有限公司 Webpage picture acquisition method, picture cache server, coordination server and system
CN105930378A (en) * 2016-04-13 2016-09-07 北京思特奇信息技术股份有限公司 Method and system for processing HTML page nesting at background servers
CN106886398A (en) * 2016-06-20 2017-06-23 阿里巴巴集团控股有限公司 The extracting method and equipment of a kind of CSS
CN106502669A (en) * 2016-10-20 2017-03-15 北京航空航天大学 A kind of three-dimensional coordinate model building method of complex software network
CN107085868A (en) * 2017-04-27 2017-08-22 腾讯科技(深圳)有限公司 image drawing method and device
CN107170050A (en) * 2017-06-05 2017-09-15 北京寰和通创科技有限公司 The 3D scenes method for building up and system of Internet of Things pel
CN108021614A (en) * 2017-08-18 2018-05-11 口碑(上海)信息技术有限公司 A kind of method and system for page dynamic load
CN107451296A (en) * 2017-08-21 2017-12-08 南京焦点领动云计算技术有限公司 A kind of Website Module rendering intent based on component
CN112100550A (en) * 2019-06-17 2020-12-18 北京京东尚科信息技术有限公司 Page construction method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
夏侯建兵: "《虚拟现实建模语言及其工程实践》", 31 July 2016, 厦门大学出版社 *

Similar Documents

Publication Publication Date Title
CN110750741B (en) Webpage link skipping processing method, computer device and storage medium
US9420034B2 (en) Providing services to multiple tenants of an application
CN109614162B (en) Front-end loading optimization method based on component development mode and storage medium
JP2020526851A (en) Game rendering method, game resource file generation method, devices and devices that realize the method
CN110020388A (en) A kind of page display method and system
US9009674B1 (en) Flash testing framework
CN104102545A (en) Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser
CN109445784B (en) Method and device for processing structure data, storage medium and electronic equipment
CN106445508A (en) Game engine
CN110381135A (en) Interface creation method, service request method, device, computer equipment and medium
CN103838558B (en) Website build a station system and method, access website method and webpage adaptation system
CN103150154B (en) The implementation method and device of a kind of application plug
CN110532495A (en) A kind of methods of exhibiting and device of webpage information
CN111538774A (en) Data storage and display method, system, equipment and storage medium
CN105573967A (en) Multi-format file online browsing method and system
JP2023537767A (en) Image processing method and apparatus, and computer-readable storage medium
CN110727825A (en) Animation playing control method, device, server and storage medium
CN103559194A (en) Searching method, server and system
CN115510347A (en) Presentation file conversion method and device, electronic equipment and storage medium
CN105204832A (en) System and method for achieving script engine
US20070234318A1 (en) Method, system, and program product for generating source code for a function
CN110443880A (en) Image rendering method, device, storage medium and electronic equipment
CN110209974A (en) A kind of method and apparatus browsing threedimensional model
CN112527444A (en) User-defined page implementation method applied to virtual reality client user interface
WO2023143545A1 (en) Resource processing method and apparatus, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319