WO2017181588A1 - Method and electronic apparatus for positioning display page - Google Patents

Method and electronic apparatus for positioning display page Download PDF

Info

Publication number
WO2017181588A1
WO2017181588A1 PCT/CN2016/099937 CN2016099937W WO2017181588A1 WO 2017181588 A1 WO2017181588 A1 WO 2017181588A1 CN 2016099937 W CN2016099937 W CN 2016099937W WO 2017181588 A1 WO2017181588 A1 WO 2017181588A1
Authority
WO
WIPO (PCT)
Prior art keywords
display page
reference origin
positional relationship
control portion
origin
Prior art date
Application number
PCT/CN2016/099937
Other languages
French (fr)
Chinese (zh)
Inventor
王子涵
郑金光
Original Assignee
乐视控股(北京)有限公司
乐视致新电子科技(天津)有限公司
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 乐视控股(北京)有限公司, 乐视致新电子科技(天津)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017181588A1 publication Critical patent/WO2017181588A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/012Head tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of virtual reality technologies, and in particular, to a method and an electronic device for displaying page positioning.
  • VR virtual reality
  • the simulation environment is a computer-generated, real-time, dynamic, three-dimensional, realistic image.
  • Perception means that the ideal VR should have the perception of all people, such as the visual perception generated by computer graphics technology.
  • Natural skills refer to the rotation of the person's head, eyes, gestures, or other human behaviors.
  • the computer processes the data that is appropriate to the actions of the participants, responds to the user's input in real time, and feeds back to the user's facial features. .
  • virtual reality devices that have appeared on the market mainly include virtual reality glasses such as virtual reality glasses and virtual reality helmets, and the user can watch a video image of a 3D effect like a theater after wearing the virtual reality device, or Manage and control applications.
  • Head-mounted virtual reality devices use a display mounted on the head to bring people to the outside world
  • the visual and auditory closures guide the user to create a feeling of being in a virtual environment.
  • the display principle is that the left and right eye images are respectively displayed on the left and right eye screens, and the human eye obtains such a difference information and generates a three-dimensional feeling in the mind.
  • the head-mounted virtual reality device has the characteristics of small size and strong sealing, and has wide applications in military training, virtual driving and virtual city projects.
  • the virtual reality device After the user wears the virtual reality device for the first time, the virtual reality device itself determines the location of the initial display page according to the orientation of the head that the user first wears.
  • the inventors found that the prior art has the following technical problems:
  • the virtual reality device After the user wears the virtual reality device, when the display page is adjusted to the front of the human eye (head-up), if the user's head rotates (ie, the position of the head changes), the position of the set display page does not follow. The user's head rotates to change position, but still in its initial position, causing the user to keep the fixed position in the process of using the virtual reality device, in order to avoid the display page from being directly in front of the human eye. Said that this is a very painful user experience.
  • An object of the present invention is to provide a method and an electronic device for displaying page positioning, so as to overcome the prior art when using a virtual reality device, in order to prevent the display page from deviating from the front of the field of view, the interactive control portion can only maintain a fixed position and orientation at all times.
  • an embodiment of the present invention provides a method for displaying a page location, including: determining, after activation of the interaction interface, a reference between a first display page directly in front of a user's field of view and a first reference origin a positional relationship and a relative positional relationship between the second display page and the first display page; detecting a rotational trajectory of the interactive control portion, the root Determining a second reference origin according to the rotation trajectory of the interaction control portion and the first reference origin, wherein the rotation trajectory of the interaction control portion includes a rotation direction of the interaction control portion; and between the first display page and the second reference origin The positional relationship is adjusted to the reference positional relationship.
  • the method further includes: adjusting a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  • adjusting a positional relationship between the first display page and the second reference origin to the reference position relationship includes: calculating, according to the reference position relationship, the first display page relative to Position information of the second reference origin; adjusting the position of the first display page according to the location information of the first display page relative to the second reference origin.
  • the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
  • a method for displaying page positioning according to an embodiment of the present invention automatically repositions a display page directly in front of the field of view during initialization to the human eye according to the direction in which the interactive control portion rotates.
  • the front position of the head-up is to avoid the problem that the position of the display page is not automatically adjusted as the orientation of the user changes during the rotation of the interactive control portion, which solves the problem that the virtual reality display page cannot be rotated with the interactive control portion in the prior art.
  • the problem of inconvenience caused by position adjustment improves the user experience.
  • an embodiment of the present invention provides a system for displaying a page location, including: a location relationship determining module, configured to determine a first display page directly in front of a user's field of view after the interaction interface is activated.
  • a reference origin determining module configured to detect a rotational trajectory of the interactive control portion, according to the interactive control portion The rotation track and the first reference origin determine a second reference origin, the rotation track of the interaction control portion includes a rotation direction of the interaction control portion; and a page position adjustment module, configured to display the first display The positional relationship between the display page and the second reference origin is adjusted to the reference positional relationship.
  • system further includes: a relative position adjustment module, configured to adjust a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  • the page position adjustment module includes: a relationship calculation sub-module, configured to calculate location information of the first display page relative to the second reference origin according to the reference position relationship a position adjustment submodule, configured to adjust a position of the first display page according to position information of the first display page relative to the second reference origin.
  • the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
  • a system for displaying page positioning according to an embodiment of the present invention automatically repositions a display page directly in front of the field of view during initialization to the human eye according to the direction in which the interactive control portion rotates.
  • the front position of the head-up is to avoid the problem that the position of the display page is not automatically adjusted as the orientation of the user changes during the rotation of the interactive control portion, which solves the problem that the virtual reality display page cannot be rotated with the interactive control portion in the prior art.
  • the problem of inconvenience caused by position adjustment improves the user experience.
  • an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory is stored
  • the at least one processor executes instructions that are executed by the at least one processor to cause the at least one processor to perform the methods described in the various aspects above.
  • an electronic device automatically repositions the display page directly in front of the field of view during initialization to the front of the human eye according to the direction of the rotation of the interactive control portion.
  • Front position avoiding the rotation of the interactive control part
  • the position of the display page is not automatically adjusted according to the change of the user orientation, which solves the problem that the virtual reality display page cannot be inaccurately viewed due to the position adjustment after the interactive control part is rotated, and the user is improved.
  • an embodiment of the present invention provides a non-transitory computer readable storage medium storing computer executable instructions, the computer executable instructions Used to perform the methods described in the various aspects above.
  • a non-transitory computer readable storage medium automatically repositions a display page directly in front of the field of view during initialization according to the direction in which the interactive control portion rotates.
  • the problem is that the position of the display page does not automatically adjust with the change of the user orientation during the rotation of the interactive control part, which solves the problem that the virtual reality display page cannot be rotated with the interactive control part in the prior art.
  • the problem of inconvenience caused by position adjustment is followed, which enhances the user experience.
  • an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions
  • the program instructions When the program instructions are executed by a computer, the computer is caused to perform the methods described in the various aspects above.
  • a computer program product automatically repositions the display page directly in front of the field of view during initialization to the human eye according to the direction in which the interactive control portion rotates.
  • the position of the front position avoids the problem that the position of the display page does not automatically adjust with the change of the user orientation during the rotation of the interactive control part, and solves the problem that the virtual reality display page cannot be rotated with the interactive control part in the prior art.
  • the problem of inconvenient viewing has increased the user experience.
  • FIG. 1 is a schematic flow chart of a method for displaying page positioning according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart of step S103 of a method for displaying page positioning according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic structural diagram of a method for displaying page positioning according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device for performing a method for displaying a page location according to an embodiment of the present invention.
  • the present invention proposes a method and electronic display page positioning method. device.
  • the invention automatically repositions the display page when the interactive interface is activated to the front position of the visual field when the human eye is in a normal view, without having to make the interactive control part turn back to the orientation when the interactive interface is activated. Look at the above display page in front of the field of view.
  • a method for displaying page location is performed by an electronic device, and the electronic device may be a terminal.
  • the method includes the following steps:
  • Step S101 After the interaction interface is activated, determine a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin, and a relative positional relationship between the second display page and the first display page;
  • the virtual reality device is a VR glasses, a VR helmet, or the like
  • the following interactive control part in the embodiment of the present invention may be a user's head, but is not limited to the user's head.
  • the reference position relationship between the spatial structure of the first display page and the first reference origin and the second display page are The relative positional relationship between the first display pages, the second display page may be one or more other display pages, and when only the first display page has no other display pages, the second display page and the first display need not be determined.
  • the positional relationship between pages are the relative positional relationship between pages.
  • the virtual reality device When the user wears the virtual reality device, an activation process is required, which is loaded for a few seconds. After the user is seated, the virtual reality device records the orientation of the interactive control part (such as the user's head), and the user's head orientation is To determine the position of the virtual reality scene, reset the reference origin of the space coordinate system, and re-create the space with this reference origin.
  • the interactive control part such as the user's head
  • the reference origin can be, for example but not limited to, a midpoint position between the eyes of the user.
  • the device automatically re-detects the current orientation of the interactive control portion.
  • the first display page is located directly in front of the field of view of the human eye, and is in the direction most suitable for human eyes to view.
  • the virtual reality device records a reference position relationship between a spatial structure of the first display page and a central position between the user's eyes, and the reference position relationship includes: displaying a distance between each point on the spatial structure of the page and the reference origin, the spatial structure refers to It is the spatial structure of the display page.
  • Step S102 detecting a rotation trajectory of the interaction control part, determining a second reference origin according to the rotation trajectory of the interaction control part and the first reference origin, where the rotation trajectory of the interaction control part includes a rotation direction of the interaction control part;
  • the position of the first display page needs to be repositioned, because when the head orientation is unchanged, the first display page is always in front of the field of view when the human eye is in a head-up view.
  • the built-in gyro can be used for detection.
  • Step S103 Adjust a positional relationship between the first display page and the second reference origin as the reference position relationship.
  • the distance between each point on the spatial structure of the first display page and the first reference origin is adjusted to a corresponding distance value in the reference position relationship.
  • the method in the embodiment of the present invention is to solve the problem of repositioning the display page. Therefore, when adjusting the position of the first display page, the first display page must be located in front of the field of view when the human eye is in a normal view. The direction of the distance is adjusted.
  • the method further includes:
  • Step S104 Adjust a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  • the first reference origin and the second reference origin may be the same point on the interactive control part, and the difference is that the two are respectively the same reference datum on the interactive control part and the position of the interactive control part is different. .
  • a method for displaying page positioning automatically repositions the display page directly in front of the field of view of the initial view to the front position of the human eye in accordance with the direction of the rotation of the interactive control portion, thereby avoiding the rotation of the interactive control portion.
  • the location of the display page is not The problem of automatically adjusting with the change of the user orientation solves the problem that the virtual reality display page cannot be inaccurately viewed due to the positional adjustment of the virtual reality display page, thereby improving the user experience.
  • step S103 in Embodiment 1 is further described in detail, including the following steps:
  • Step S201 Calculate position information of the first display page relative to the second reference origin according to the reference position relationship
  • the position information of each point on the spatial structure of the first display page relative to the second reference origin is calculated, that is, the front side of the field of view when the human eye is in a normal view, and the second reference origin is used as a reference point.
  • a distance between each point on the spatial structure of the page relative to the second reference origin can be selected. For example, for the first display page of the rectangle, the position information of the four corners and the center point, that is, the four corners and the distance of the center point from the second reference origin, can be calculated.
  • Step S202 Adjust the position of the first display page according to the location information of the first display page relative to the second reference origin.
  • the second reference origin is used as a reference point, and the four corners of the first display page and the distance between the center point and the second reference origin are adjusted to the reference in front of the field of view when the human eye is in a head-up view.
  • the distance value in the positional relationship is used as a reference point, and the four corners of the first display page and the distance between the center point and the second reference origin are adjusted to the reference in front of the field of view when the human eye is in a head-up view. The distance value in the positional relationship.
  • This embodiment is a further detailed description of the step S103 in the first embodiment, and has all the beneficial technical effects of the embodiment 1, and details are not described herein again.
  • a system for displaying page location includes:
  • the location relationship determining module 31 is configured to determine, after the interaction interface is activated, a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin, and a second Displaying a relative positional relationship between the page and the first display page;
  • the reference origin determining module 32 is configured to detect a rotation trajectory of the interaction control part, determine a second reference origin according to the rotation trajectory of the interaction control part and the first reference origin, and the rotation trajectory of the interaction control part includes the rotation of the interaction control part direction;
  • the page position adjustment module 33 is configured to adjust a positional relationship between the first display page and the second reference origin as the reference position relationship.
  • system further includes:
  • the relative position adjustment module 34 is configured to adjust a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  • the page location adjustment module 33 specifically includes:
  • a relationship calculation sub-module 331, configured to calculate location information of the first display page relative to the second reference origin according to the reference position relationship
  • the position adjustment sub-module 332 is configured to adjust the position of the first display page according to the position information of the first display page relative to the second reference origin.
  • the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
  • a system for displaying page positioning automatically repositions the display page directly in front of the field of view of the initial view to the front position of the human eye in accordance with the direction of the rotation of the interactive control portion, thereby avoiding the occurrence of the interactive control portion during the rotation process.
  • the problem that the position of the display page is not automatically adjusted according to the change of the orientation of the user solves the problem that the virtual reality display page cannot be inaccurately viewed due to the position adjustment after the interactive control part is rotated, and the user experience is improved. .
  • Embodiments of the present invention provide a non-transitory (non-volatile) computer storage medium storing computer-executable instructions that can perform the method of Embodiment 1 or 2 above.
  • Embodiments of the present invention provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method of the above embodiment 1 or 2.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device for performing a method for displaying a page location according to an embodiment of the present invention.
  • the device includes one or more processors 410 and a memory 420.
  • One processor 410 is taken as an example in FIG.
  • the device may also include an input device 430 and an output device 440.
  • the processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 420 is a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules.
  • the processor 410 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory 420, that is, the processing method of the above method embodiments.
  • the memory 420 may include a storage program area and a storage data area, wherein the storage path
  • the sequence area can store an operating system, an application required for at least one function, and a storage data area can store data and the like.
  • memory 420 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • memory 420 can optionally include memory remotely located relative to processor 410, which can be connected to the processing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 430 can receive input digital or character information and generate a signal input.
  • Output device 440 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 420, and when executed by the one or more processors 410, perform: after the interaction interface is activated, determine a first display page directly in front of the user's field of view and the first Referencing a reference positional relationship between the origins and a relative positional relationship between the second display page and the first display page; detecting a rotational trajectory of the interactive control portion, determining according to the rotational trajectory of the interactive control portion and the first reference origin a second reference origin, the rotation track of the interaction control portion includes a rotation direction of the interaction control portion; and adjusting a position relationship between the first display page and the second reference origin as the reference position relationship.
  • the method further includes: adjusting a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  • adjusting a positional relationship between the first display page and the second reference origin to the reference position relationship includes: calculating, according to the reference position relationship, the first display page relative to Position information of the second reference origin; adjusting the position of the first display page according to the location information of the first display page relative to the second reference origin.
  • the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile PC devices These devices belong to the category of personal computers, have computing and processing functions, and generally have mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server A device that provides computing services.
  • the server consists of a processor, hard disk, memory, system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power, stability, and reliability. Security, scalability, manageability and other aspects are high.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • Portions may be embodied in the form of a software product, which may be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer)
  • the server, or network device, etc. performs the methods described in various embodiments or portions of the embodiments.
  • the method for displaying page positioning and the electronic device provided by the embodiment of the present invention, after activation of the interaction interface, determine a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin, and the second display page and the Determining a relative positional relationship between the first display pages; detecting a rotational trajectory of the interactive control portion, determining a second reference origin according to the rotational trajectory of the interactive control portion and the first reference origin, wherein the rotational trajectory of the interactive control portion includes an interaction a rotation direction of the control portion; adjusting a positional relationship between the first display page and the second reference origin as the reference position relationship.
  • the display page directly in front of the visual field is automatically repositioned to the front position of the human eye in the vertical direction, so as to avoid the position of the display page not automatically changing with the orientation of the user during the rotation of the interactive control part.
  • the problem of adjustment solves the problem that the virtual reality display page cannot be inaccurately viewed due to the positional adjustment of the virtual reality display page, and the user experience is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in embodiments of the present invention are a method and electronic apparatus for positioning a display page. The method comprises: after an interactive interface is activated, determining a reference position relationship of a first display page right in front of a user view with respect to a first reference origin, and a relative position relationship of a second display page with respect to the first display page; detecting a rotation trajectory of an interactive control portion, and determining, according to the rotation trajectory of the interactive control portion and the first reference origin, a second reference origin, the rotation trajectory of the interactive control portion comprising a rotation direction of the interactive control portion; and adjusting a position relationship between the first display page and the second reference origin to be the same as the reference position relationship. By automatically re-positioning, according to a rotation direction of an interactive control portion, a display page configured to be right in front of the view at initialization to a position currently right in front of a person at eye level, the present invention prevents the problem in which the position of the display page is not automatically adjusted according to a change of a facing direction of a user during rotation of the interactive control portion.

Description

一种显示页面定位的方法和电子设备Method and electronic device for displaying page positioning
交叉引用cross reference
本发明要求在2016年4月20日提交中国专利局、申请号为2016102478445、发明名称为“一种显示页面定位的方法和系统”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention claims priority to Chinese Patent Application No. 2016102478445, entitled "A Method and System for Displaying Page Positioning", filed on April 20, 2016, the entire contents of which is incorporated by reference. In the present invention.
技术领域Technical field
本发明涉及虚拟现实技术领域,特别涉及一种显示页面定位的方法和电子设备。The present invention relates to the field of virtual reality technologies, and in particular, to a method and an electronic device for displaying page positioning.
背景技术Background technique
虚拟现实(英文:virtual reality,缩写:VR)技术是仿真技术与计算机图形学人机接口技术、多媒体技术、传感技术、网络技术等多种技术的集合,是一门富有挑战性的交叉技术前沿学科和研究领域。VR主要包括模拟环境、感知、自然技能和传感设备等方面。模拟环境是由计算机生成的、实时动态的三维立体逼真图像。感知是指理想的VR应该具有一切人所具有的感知,例如计算机图形技术所生成的视觉感知等。自然技能是指人的头部转动,眼睛、手势、或其他人体行为动作,由计算机来处理与参与者的动作相适应的数据,并对用户的输入作出实时响应,并分别反馈到用户的五官。Virtual reality (English: virtual reality, abbreviation: VR) technology is a collection of various technologies such as simulation technology and computer graphics human-machine interface technology, multimedia technology, sensing technology, network technology, etc. It is a challenging cross-technology. Frontier disciplines and research areas. VR mainly includes simulation environment, perception, natural skills and sensing equipment. The simulation environment is a computer-generated, real-time, dynamic, three-dimensional, realistic image. Perception means that the ideal VR should have the perception of all people, such as the visual perception generated by computer graphics technology. Natural skills refer to the rotation of the person's head, eyes, gestures, or other human behaviors. The computer processes the data that is appropriate to the actions of the participants, responds to the user's input in real time, and feeds back to the user's facial features. .
目前,市场上已经出现的虚拟现实设备主要有:虚拟现实眼镜和虚拟现实头盔等头戴式虚拟现实设备,用户在穿戴上虚拟现实设备后,能够观看如影院般的3D效果的视频图像,或者对应用程序进行管理和控制。At present, virtual reality devices that have appeared on the market mainly include virtual reality glasses such as virtual reality glasses and virtual reality helmets, and the user can watch a video image of a 3D effect like a theater after wearing the virtual reality device, or Manage and control applications.
头戴式虚拟现实设备利用配戴在头部的显示器将人对外界的 视觉、听觉封闭,引导用户产生一种身在虚拟环境中的感觉。其显示原理是左右眼屏幕上分别显示左右眼的图像,人眼获取这种带有差异的信息后在脑海中产生立体感。头戴式虚拟现实设备作为虚拟现实的显示设备,具有小巧和封闭性强的特点,在军事训练、虚拟驾驶和虚拟城市等项目中具有广泛的应用。Head-mounted virtual reality devices use a display mounted on the head to bring people to the outside world The visual and auditory closures guide the user to create a feeling of being in a virtual environment. The display principle is that the left and right eye images are respectively displayed on the left and right eye screens, and the human eye obtains such a difference information and generates a three-dimensional feeling in the mind. As a virtual reality display device, the head-mounted virtual reality device has the characteristics of small size and strong sealing, and has wide applications in military training, virtual driving and virtual city projects.
用户在初次穿戴上虚拟现实设备后,虚拟现实设备自身会根据用户初次穿戴的头部朝向,进行初始显示页面的位置确定。发明人在实现本发明的过程中,发现现有技术存在以下技术问题:After the user wears the virtual reality device for the first time, the virtual reality device itself determines the location of the initial display page according to the orientation of the head that the user first wears. In the process of implementing the present invention, the inventors found that the prior art has the following technical problems:
用户在穿戴上虚拟现实设备后,当将显示页面调整到人眼正前方时(平视),如果用户的头部转动(即头部的位置发生变化),设置好的显示页面的位置不会随用户的头部转动变换位置,而仍会在其初始的位置,导致用户在使用虚拟现实设备的过程中,为了避免显示页面偏离人眼正前方,头部只能始终保持固定位置,对于用户来说,这是非常痛苦的用户体验。After the user wears the virtual reality device, when the display page is adjusted to the front of the human eye (head-up), if the user's head rotates (ie, the position of the head changes), the position of the set display page does not follow. The user's head rotates to change position, but still in its initial position, causing the user to keep the fixed position in the process of using the virtual reality device, in order to avoid the display page from being directly in front of the human eye. Said that this is a very painful user experience.
公开于该背景技术部分的信息仅仅旨在增加对本发明的总体背景的理解,而不应当被视为承认或以任何形式暗示该信息构成已为本领域一般技术人员所公知的现有技术。The information disclosed in this Background section is only intended to provide an understanding of the general background of the invention, and should not be construed as an admission
发明内容Summary of the invention
本发明的目的在于提供一种显示页面定位的方法和电子设备,从而克服现有技术中在使用虚拟现实设备时,为了避免显示页面偏离视野正前方,交互控制部位只能始终保持固定位置和朝向的缺点。An object of the present invention is to provide a method and an electronic device for displaying page positioning, so as to overcome the prior art when using a virtual reality device, in order to prevent the display page from deviating from the front of the field of view, the interactive control portion can only maintain a fixed position and orientation at all times. Shortcomings.
为实现上述发明目的,一方面,本发明实施例提供了一种显示页面定位的方法,包括:在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;检测交互控制部位的转动轨迹,根 据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。To achieve the above object, in an aspect, an embodiment of the present invention provides a method for displaying a page location, including: determining, after activation of the interaction interface, a reference between a first display page directly in front of a user's field of view and a first reference origin a positional relationship and a relative positional relationship between the second display page and the first display page; detecting a rotational trajectory of the interactive control portion, the root Determining a second reference origin according to the rotation trajectory of the interaction control portion and the first reference origin, wherein the rotation trajectory of the interaction control portion includes a rotation direction of the interaction control portion; and between the first display page and the second reference origin The positional relationship is adjusted to the reference positional relationship.
在一种可能的实现方式中,该方法还包括:将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。In a possible implementation manner, the method further includes: adjusting a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
在一种可能的实现方式中,将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系包括:根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。In a possible implementation manner, adjusting a positional relationship between the first display page and the second reference origin to the reference position relationship includes: calculating, according to the reference position relationship, the first display page relative to Position information of the second reference origin; adjusting the position of the first display page according to the location information of the first display page relative to the second reference origin.
在一种可能的实现方式中,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。In a possible implementation manner, the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
与现有技术相比,本发明具有如下有益效果:本发明实施例的一种显示页面定位的方法,根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动过程中,显示页面的位置没有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。Compared with the prior art, the present invention has the following beneficial effects: a method for displaying page positioning according to an embodiment of the present invention automatically repositions a display page directly in front of the field of view during initialization to the human eye according to the direction in which the interactive control portion rotates. The front position of the head-up is to avoid the problem that the position of the display page is not automatically adjusted as the orientation of the user changes during the rotation of the interactive control portion, which solves the problem that the virtual reality display page cannot be rotated with the interactive control portion in the prior art. The problem of inconvenience caused by position adjustment improves the user experience.
为实现上述发明目的,另一方面,本发明实施例提供了一种显示页面定位的系统,包括:位置关系确定模块,用于在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;参考原点确定模块,用于检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;页面位置调整模块,用于将所述第一显 示页面与第二参考原点之间的位置关系调整为所述参考位置关系。In order to achieve the above object, in another aspect, an embodiment of the present invention provides a system for displaying a page location, including: a location relationship determining module, configured to determine a first display page directly in front of a user's field of view after the interaction interface is activated. a reference positional relationship between the first reference origin and a relative positional relationship between the second display page and the first display page; a reference origin determining module, configured to detect a rotational trajectory of the interactive control portion, according to the interactive control portion The rotation track and the first reference origin determine a second reference origin, the rotation track of the interaction control portion includes a rotation direction of the interaction control portion; and a page position adjustment module, configured to display the first display The positional relationship between the display page and the second reference origin is adjusted to the reference positional relationship.
在一种可能的实现方式中,该系统还包括:相对位置调整模块,用于将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。In a possible implementation manner, the system further includes: a relative position adjustment module, configured to adjust a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
在一种可能的实现方式中,所述页面位置调整模块具体包括:关系计算子模块,用于根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;位置调整子模块,用于根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。In a possible implementation, the page position adjustment module includes: a relationship calculation sub-module, configured to calculate location information of the first display page relative to the second reference origin according to the reference position relationship a position adjustment submodule, configured to adjust a position of the first display page according to position information of the first display page relative to the second reference origin.
在一种可能的实现方式中,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。In a possible implementation manner, the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
与现有技术相比,本发明具有如下有益效果:本发明实施例的一种显示页面定位的系统,根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动过程中,显示页面的位置没有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。Compared with the prior art, the present invention has the following beneficial effects: a system for displaying page positioning according to an embodiment of the present invention automatically repositions a display page directly in front of the field of view during initialization to the human eye according to the direction in which the interactive control portion rotates. The front position of the head-up is to avoid the problem that the position of the display page is not automatically adjusted as the orientation of the user changes during the rotation of the interactive control portion, which solves the problem that the virtual reality display page cannot be rotated with the interactive control portion in the prior art. The problem of inconvenience caused by position adjustment improves the user experience.
为实现上述发明目的,再一方面,本发明实施例提供了一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行以上各个方面所述的方法。In order to achieve the above object, an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory is stored The at least one processor executes instructions that are executed by the at least one processor to cause the at least one processor to perform the methods described in the various aspects above.
与现有技术相比,本发明具有如下有益效果:本发明实施例的一种电子设备,根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动 过程中,显示页面的位置没有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。Compared with the prior art, the present invention has the following beneficial effects: an electronic device according to an embodiment of the present invention automatically repositions the display page directly in front of the field of view during initialization to the front of the human eye according to the direction of the rotation of the interactive control portion. Front position, avoiding the rotation of the interactive control part During the process, the position of the display page is not automatically adjusted according to the change of the user orientation, which solves the problem that the virtual reality display page cannot be inaccurately viewed due to the position adjustment after the interactive control part is rotated, and the user is improved. Experience.
为实现上述发明目的,再一方面,本发明实施例提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于执行以上各个方面所述的方法。In order to achieve the above object, in another aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium storing computer executable instructions, the computer executable instructions Used to perform the methods described in the various aspects above.
与现有技术相比,本发明具有如下有益效果:本发明实施例的一种非暂态计算机可读存储介质,根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动过程中,显示页面的位置没有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。Compared with the prior art, the present invention has the following beneficial effects: a non-transitory computer readable storage medium according to an embodiment of the present invention automatically repositions a display page directly in front of the field of view during initialization according to the direction in which the interactive control portion rotates. The problem is that the position of the display page does not automatically adjust with the change of the user orientation during the rotation of the interactive control part, which solves the problem that the virtual reality display page cannot be rotated with the interactive control part in the prior art. The problem of inconvenience caused by position adjustment is followed, which enhances the user experience.
为实现上述发明目的,再一方面,本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行以上各个方面所述的方法。In order to achieve the above object, in another aspect, an embodiment of the present invention provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions When the program instructions are executed by a computer, the computer is caused to perform the methods described in the various aspects above.
与现有技术相比,本发明具有如下有益效果:本发明实施例的一种计算机程序产品,根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动过程中,显示页面的位置没有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。Compared with the prior art, the present invention has the following beneficial effects: a computer program product according to an embodiment of the present invention automatically repositions the display page directly in front of the field of view during initialization to the human eye according to the direction in which the interactive control portion rotates. The position of the front position avoids the problem that the position of the display page does not automatically adjust with the change of the user orientation during the rotation of the interactive control part, and solves the problem that the virtual reality display page cannot be rotated with the interactive control part in the prior art. The problem of inconvenient viewing has increased the user experience.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数 字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, which are not to The elements of the word number are denoted by like elements, and the drawings in the drawings do not constitute a scale limitation unless specifically stated.
图1是本发明实施例1的一种显示页面定位的方法的流程示意图。1 is a schematic flow chart of a method for displaying page positioning according to Embodiment 1 of the present invention.
图2是本发明实施例2的一种显示页面定位的方法的步骤S103的流程示意图。FIG. 2 is a schematic flowchart of step S103 of a method for displaying page positioning according to Embodiment 2 of the present invention.
图3是本发明实施例3的一种显示页面定位的方法的结构示意图。FIG. 3 is a schematic structural diagram of a method for displaying page positioning according to Embodiment 3 of the present invention.
图4是本发明实施例提供的执行显示页面定位的方法的电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of a hardware structure of an electronic device for performing a method for displaying a page location according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention are described with reference to the accompanying drawings, which are intended to illustrate and illustrate the invention.
除非另有其它明确表示,否则在整个说明书和权利要求书中,术语“包括”或其变换如“包含”或“包括有”等等将被理解为包括所陈述的元件或组成部分,而并未排除其它元件或其它组成部分。The term "comprising" or variations such as "comprises" or "comprises", etc., are to be understood to include the recited elements or components, and Other components or other components are not excluded.
为了解决现有技术中在使用虚拟现实设备时,为了避免显示页面偏离视野正前方,交互控制部位只能始终保持固定位置和朝向的技术问题,本发明提出了一种显示页面定位的方法和电子设备。本发明根据交互控制部位转动的方向,自动将激活交互界面时的显示页面重新定位到人眼平视时的视野正前方位置,而不必使得交互控制部位必须转回到激活交互界面时的朝向,才能在视野正前方平视到上述显示页面。In order to solve the technical problem that the interactive control part can only maintain a fixed position and orientation at the same time when the virtual reality device is used in the prior art, the present invention proposes a method and electronic display page positioning method. device. According to the direction of the rotation of the interactive control part, the invention automatically repositions the display page when the interactive interface is activated to the front position of the visual field when the human eye is in a normal view, without having to make the interactive control part turn back to the orientation when the interactive interface is activated. Look at the above display page in front of the field of view.
实施例1Example 1
如图1所示,本发明实施例的一种显示页面定位的方法,该方法由电子设备执行,该电子设备可以是终端,该方法包括以下步骤: As shown in FIG. 1 , a method for displaying page location is performed by an electronic device, and the electronic device may be a terminal. The method includes the following steps:
步骤S101:在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;Step S101: After the interaction interface is activated, determine a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin, and a relative positional relationship between the second display page and the first display page;
在本发明实施例的方法中,如果虚拟现实设备是VR眼镜、VR头盔等,则本发明实施例下述的交互控制部位可以是用户头部,但不限于用户头部。In the method of the embodiment of the present invention, if the virtual reality device is a VR glasses, a VR helmet, or the like, the following interactive control part in the embodiment of the present invention may be a user's head, but is not limited to the user's head.
当用户初次或重新穿戴上虚拟现实设备时,记录第一显示页面在人眼视野正前方时,该第一显示页面的空间结构与第一参考原点之间的参考位置关系以及第二显示页面与第一显示页面之间的相对位置关系,第二显示页面可以是一个或多个其他显示页面,当仅有第一显示页面没有其他显示页面时,则不需要确定第二显示页面与第一显示页面之间的位置关系。When the user first or re-wears the virtual reality device, when the first display page is recorded in front of the human eye, the reference position relationship between the spatial structure of the first display page and the first reference origin and the second display page are The relative positional relationship between the first display pages, the second display page may be one or more other display pages, and when only the first display page has no other display pages, the second display page and the first display need not be determined. The positional relationship between pages.
用户穿戴上虚拟现实设备时,需要一个激活的过程,会loading几秒,当用户坐稳之后,虚拟现实设备记录交互控制部位(如用户头部)的朝向,以此时的用户头部朝向为准,确定虚拟现实场景的位置,重新设置空间坐标系的参考原点,以这个参考原点重新作出空间展示。When the user wears the virtual reality device, an activation process is required, which is loaded for a few seconds. After the user is seated, the virtual reality device records the orientation of the interactive control part (such as the user's head), and the user's head orientation is To determine the position of the virtual reality scene, reset the reference origin of the space coordinate system, and re-create the space with this reference origin.
参考原点例如可以为但不限于:用户双眼之间的中点位置。用户在初次或重新穿戴上虚拟现实设备时,设备会自动重新检测交互控制部位的当前朝向,此时第一显示页面位于人眼平视时的视野正前方,处于最适合于人眼观看的方向。虚拟现实设备记录第一显示页面的空间结构与用户双眼之间中心位置的参考位置关系,参考位置关系包括:显示页面的空间结构上的每一点与参考原点之间的距离,所述空间结构指的是显示页面的空间立体结构。The reference origin can be, for example but not limited to, a midpoint position between the eyes of the user. When the user firstly or re-wears the virtual reality device, the device automatically re-detects the current orientation of the interactive control portion. At this time, the first display page is located directly in front of the field of view of the human eye, and is in the direction most suitable for human eyes to view. The virtual reality device records a reference position relationship between a spatial structure of the first display page and a central position between the user's eyes, and the reference position relationship includes: displaying a distance between each point on the spatial structure of the page and the reference origin, the spatial structure refers to It is the spatial structure of the display page.
步骤S102:检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向; Step S102: detecting a rotation trajectory of the interaction control part, determining a second reference origin according to the rotation trajectory of the interaction control part and the first reference origin, where the rotation trajectory of the interaction control part includes a rotation direction of the interaction control part;
在本发明实施例中,仅考虑交互控制部位转动情形下视野正前方第一显示页面的重新定位,如果仅是人体其他部位转动,而交互控制部位(如用户头部)朝向没变,则不需要对第一显示页面的位置进行重新定位,因为头部朝向不变时,第一显示页面始终位于人眼平视时的视野正前方。在检测交互控制部位的转动轨迹(转动方向)时,可以采用内置陀螺仪进行检测。In the embodiment of the present invention, only the repositioning of the first display page directly in front of the field of view in the case of the rotation of the interactive control portion is considered. If only the other parts of the human body are rotated, and the orientation of the interactive control part (such as the user's head) is not changed, then The position of the first display page needs to be repositioned, because when the head orientation is unchanged, the first display page is always in front of the field of view when the human eye is in a head-up view. When detecting the rotational trajectory (rotation direction) of the interactive control portion, the built-in gyro can be used for detection.
步骤S103:将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。Step S103: Adjust a positional relationship between the first display page and the second reference origin as the reference position relationship.
在调整时,将第一显示页面的空间结构上每一点与第一参考原点之间的距离调整为参考位置关系中相应的距离值。本领域技术人员应当了解,本发明实施例的方法是为了解决显示页面重新定位的问题,因此,在调整第一显示页面的位置时,必然是按照第一显示页面位于人眼平视时视野正前方的方向进行距离调整。During the adjustment, the distance between each point on the spatial structure of the first display page and the first reference origin is adjusted to a corresponding distance value in the reference position relationship. A person skilled in the art should understand that the method in the embodiment of the present invention is to solve the problem of repositioning the display page. Therefore, when adjusting the position of the first display page, the first display page must be located in front of the field of view when the human eye is in a normal view. The direction of the distance is adjusted.
在一种可能的实现方式中,该方法还包括:In a possible implementation manner, the method further includes:
步骤S104:将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。Step S104: Adjust a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
在本发明实施例中,第一参考原点和第二参考原点可以是交互控制部位上的同一点,区别在于二者分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。In the embodiment of the present invention, the first reference origin and the second reference origin may be the same point on the interactive control part, and the difference is that the two are respectively the same reference datum on the interactive control part and the position of the interactive control part is different. .
当不存在第二显示页面时,则不需要调整第二显示页面(其他显示页面)与第一显示页面之间的位置关系;当存在第二显示页面时,需要将第二显示页面与第一显示页面之间的位置关系也调整为交互界面激活时二者之间的相对位置关系。When there is no second display page, there is no need to adjust the positional relationship between the second display page (other display page) and the first display page; when there is the second display page, the second display page needs to be the first The positional relationship between the displayed pages is also adjusted to the relative positional relationship between the two when the interactive interface is activated.
本发明实施例的一种显示页面定位的方法,根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动过程中,显示页面的位置没 有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。A method for displaying page positioning according to an embodiment of the present invention automatically repositions the display page directly in front of the field of view of the initial view to the front position of the human eye in accordance with the direction of the rotation of the interactive control portion, thereby avoiding the rotation of the interactive control portion. , the location of the display page is not The problem of automatically adjusting with the change of the user orientation solves the problem that the virtual reality display page cannot be inaccurately viewed due to the positional adjustment of the virtual reality display page, thereby improving the user experience.
实施例2Example 2
如图2所示,对实施例1中步骤S103进行进一步的详细说明,包括以下步骤:As shown in FIG. 2, step S103 in Embodiment 1 is further described in detail, including the following steps:
步骤S201:根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;Step S201: Calculate position information of the first display page relative to the second reference origin according to the reference position relationship;
具体的,即计算出第一显示页面的空间结构上的每一个点相对于第二参考原点的位置信息,即在人眼平视时的视野正前方上,以第二参考原点为参照点,第一显示页面的空间结构上的每一个点相对于第二参考原点之间的距离。为计算方便,可以选取若干具有代表性的点。例如:对于矩形的第一显示页面,可以计算4个角以及中心点的位置信息,即4个角以及中心点相对于第二参考原点的距离。Specifically, the position information of each point on the spatial structure of the first display page relative to the second reference origin is calculated, that is, the front side of the field of view when the human eye is in a normal view, and the second reference origin is used as a reference point. A distance between each point on the spatial structure of the page relative to the second reference origin. For the convenience of calculation, several representative points can be selected. For example, for the first display page of the rectangle, the position information of the four corners and the center point, that is, the four corners and the distance of the center point from the second reference origin, can be calculated.
步骤S202:根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。Step S202: Adjust the position of the first display page according to the location information of the first display page relative to the second reference origin.
例如,对于矩形而言,以第二参考原点为参照点,在人眼平视时的视野正前方,将第一显示页面的4个角和中心点与第二参考原点的距离调整为所述参考位置关系中的距离值。For example, for a rectangle, the second reference origin is used as a reference point, and the four corners of the first display page and the distance between the center point and the second reference origin are adjusted to the reference in front of the field of view when the human eye is in a head-up view. The distance value in the positional relationship.
本实施例为实施例1中步骤S103的进一步详细说明,具有实施例1的全部有益技术效果,在此不再赘述。This embodiment is a further detailed description of the step S103 in the first embodiment, and has all the beneficial technical effects of the embodiment 1, and details are not described herein again.
实施例3Example 3
如图3所示,本发明实施例的一种显示页面定位的系统,包括:As shown in FIG. 3, a system for displaying page location according to an embodiment of the present invention includes:
位置关系确定模块31,用于在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二 显示页面与所述第一显示页面之间的相对位置关系;The location relationship determining module 31 is configured to determine, after the interaction interface is activated, a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin, and a second Displaying a relative positional relationship between the page and the first display page;
参考原点确定模块32,用于检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;The reference origin determining module 32 is configured to detect a rotation trajectory of the interaction control part, determine a second reference origin according to the rotation trajectory of the interaction control part and the first reference origin, and the rotation trajectory of the interaction control part includes the rotation of the interaction control part direction;
页面位置调整模块33,用于将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。The page position adjustment module 33 is configured to adjust a positional relationship between the first display page and the second reference origin as the reference position relationship.
在一种可能的实现方式中,该系统还包括:In a possible implementation manner, the system further includes:
相对位置调整模块34,用于将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。The relative position adjustment module 34 is configured to adjust a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
在一种可能的实现方式中,所述页面位置调整模块33具体包括:In a possible implementation, the page location adjustment module 33 specifically includes:
关系计算子模块331,用于根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;a relationship calculation sub-module 331, configured to calculate location information of the first display page relative to the second reference origin according to the reference position relationship;
位置调整子模块332,用于根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。The position adjustment sub-module 332 is configured to adjust the position of the first display page according to the position information of the first display page relative to the second reference origin.
在一种可能的实现方式中,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。In a possible implementation manner, the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
本发明实施例的一种显示页面定位的系统,根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动过程中,显示页面的位置没有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。A system for displaying page positioning according to an embodiment of the present invention automatically repositions the display page directly in front of the field of view of the initial view to the front position of the human eye in accordance with the direction of the rotation of the interactive control portion, thereby avoiding the occurrence of the interactive control portion during the rotation process. The problem that the position of the display page is not automatically adjusted according to the change of the orientation of the user, solves the problem that the virtual reality display page cannot be inaccurately viewed due to the position adjustment after the interactive control part is rotated, and the user experience is improved. .
前述对本发明的具体示例性实施方案的描述是为了说明和例证的目的。这些描述并非想将本发明限定为所公开的精确形式,并且很显 然,根据上述教导,可以进行很多改变和变化。对示例性实施例进行选择和描述的目的在于解释本发明的特定原理及其实际应用,从而使得本领域的技术人员能够实现并利用本发明的各种不同的示例性实施方案以及各种不同的选择和改变。本发明的范围意在由权利要求书及其等同形式所限定。The foregoing description of the specific exemplary embodiments of the present invention has These descriptions are not intended to limit the invention to the precise forms disclosed, and However, many variations and modifications are possible in light of the above teachings. The embodiments were chosen and described in order to explain the particular embodiments of the invention Choose and change. The scope of the invention is intended to be defined by the claims and their equivalents.
实施例4Example 4
本发明实施例提供了一种非暂态(非易失性)计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述实施例1或2中的方法。Embodiments of the present invention provide a non-transitory (non-volatile) computer storage medium storing computer-executable instructions that can perform the method of Embodiment 1 or 2 above.
实施例5Example 5
本发明实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例1或2中的方法。Embodiments of the present invention provide a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform the method of the above embodiment 1 or 2.
实施例6Example 6
图4是本发明实施例提供的执行显示页面定位的方法的电子设备的硬件结构示意图,如图4所示,该设备包括一个或多个处理器410以及存储器420。图4中以一个处理器410为例。该设备还可以包括:输入装置430和输出装置440。FIG. 4 is a schematic diagram of a hardware structure of an electronic device for performing a method for displaying a page location according to an embodiment of the present invention. As shown in FIG. 4, the device includes one or more processors 410 and a memory 420. One processor 410 is taken as an example in FIG. The device may also include an input device 430 and an output device 440.
处理器410、存储器420、输入装置430和输出装置440可以通过总线或者其他方式连接,图4中以通过总线连接为例。The processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器420作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块。处理器410通过运行存储在存储器420中的非暂态软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例的处理方法。The memory 420 is a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules. The processor 410 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory 420, that is, the processing method of the above method embodiments.
存储器420可以包括存储程序区和存储数据区,其中,存储程 序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器420可选包括相对于处理器410远程设置的存储器,这些远程存储器可以通过网络连接至处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 420 may include a storage program area and a storage data area, wherein the storage path The sequence area can store an operating system, an application required for at least one function, and a storage data area can store data and the like. Moreover, memory 420 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 420 can optionally include memory remotely located relative to processor 410, which can be connected to the processing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置430可接收输入的数字或字符信息,以及产生信号输入。输出装置440可包括显示屏等显示设备。 Input device 430 can receive input digital or character information and generate a signal input. Output device 440 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器420中,当被所述一个或者多个处理器410执行时,执行:在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。The one or more modules are stored in the memory 420, and when executed by the one or more processors 410, perform: after the interaction interface is activated, determine a first display page directly in front of the user's field of view and the first Referencing a reference positional relationship between the origins and a relative positional relationship between the second display page and the first display page; detecting a rotational trajectory of the interactive control portion, determining according to the rotational trajectory of the interactive control portion and the first reference origin a second reference origin, the rotation track of the interaction control portion includes a rotation direction of the interaction control portion; and adjusting a position relationship between the first display page and the second reference origin as the reference position relationship.
在一种可能的实现方式中,该方法还包括:将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。In a possible implementation manner, the method further includes: adjusting a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
在一种可能的实现方式中,将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系包括:根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。In a possible implementation manner, adjusting a positional relationship between the first display page and the second reference origin to the reference position relationship includes: calculating, according to the reference position relationship, the first display page relative to Position information of the second reference origin; adjusting the position of the first display page according to the location information of the first display page relative to the second reference origin.
在一种可能的实现方式中,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。 In a possible implementation manner, the first reference origin and the second reference origin are respectively positions of the same reference datum on the interaction control part when the interaction control part faces different times.
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。The above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present invention.
本发明实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the invention exists in various forms, including but not limited to:
移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。Ultra-mobile PC devices: These devices belong to the category of personal computers, have computing and processing functions, and generally have mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power, stability, and reliability. Security, scalability, manageability and other aspects are high.
其他具有数据交互功能的电子装置。Other electronic devices with data interaction capabilities.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的 部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on such understanding, the above technical solutions contribute in essence or to related technologies. Portions may be embodied in the form of a software product, which may be stored in a computer readable storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer) The server, or network device, etc.) performs the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
工业实用性Industrial applicability
本发明实施例提供的显示页面定位的方法和电子设备,通过在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。实现根据交互控制部位转动的方向,自动将初始化时视野正前方的显示页面重新定位到人眼平视的正前方位置,避免出现交互控制部位转动过程中,显示页面的位置没有随用户朝向变化而自动调整的问题,解决了现有技术中虚拟现实显示页面无法随交互控制部位转动而随之进行位置调整造成的观看不便的问题,提升了用户的体验。 The method for displaying page positioning and the electronic device provided by the embodiment of the present invention, after activation of the interaction interface, determine a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin, and the second display page and the Determining a relative positional relationship between the first display pages; detecting a rotational trajectory of the interactive control portion, determining a second reference origin according to the rotational trajectory of the interactive control portion and the first reference origin, wherein the rotational trajectory of the interactive control portion includes an interaction a rotation direction of the control portion; adjusting a positional relationship between the first display page and the second reference origin as the reference position relationship. According to the direction of the rotation of the interactive control part, the display page directly in front of the visual field is automatically repositioned to the front position of the human eye in the vertical direction, so as to avoid the position of the display page not automatically changing with the orientation of the user during the rotation of the interactive control part. The problem of adjustment solves the problem that the virtual reality display page cannot be inaccurately viewed due to the positional adjustment of the virtual reality display page, and the user experience is improved.

Claims (17)

  1. 一种显示页面定位的方法,由电子设备执行,所述方法包括:A method for displaying page location is performed by an electronic device, the method comprising:
    在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;After the interaction interface is activated, determining a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin; and a relative positional relationship between the second display page and the first display page;
    检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;Detecting a rotation trajectory of the interaction control portion, determining a second reference origin according to the rotation trajectory of the interaction control portion and the first reference origin, where the rotation trajectory of the interaction control portion includes a rotation direction of the interaction control portion;
    将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。Adjusting a positional relationship between the first display page and the second reference origin as the reference position relationship.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。Adjusting a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  3. 根据权利要求1所述的方法,其特征在于,将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系包括:The method according to claim 1, wherein adjusting the positional relationship between the first display page and the second reference origin to the reference positional relationship comprises:
    根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;Calculating, according to the reference position relationship, location information of the first display page relative to the second reference origin;
    根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。Adjusting a position of the first display page according to position information of the first display page relative to the second reference origin.
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。The method according to any one of claims 1 to 3, wherein the first reference origin and the second reference origin are respectively the same reference datum point on the interactive control part when the interactive control part faces differently position.
  5. 一种显示页面定位的系统,其特征在于,包括:A system for displaying page positioning, comprising:
    位置关系确定模块,用于在交互界面激活后,确定用户视野正前方的第 一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;a position relationship determining module, configured to determine a front of the user's field of view after the interactive interface is activated a reference positional relationship between the display page and the first reference origin; and a relative positional relationship between the second display page and the first display page;
    参考原点确定模块,用于检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;a reference origin determining module, configured to detect a rotational trajectory of the interactive control portion, determine a second reference origin according to the rotational trajectory of the interactive control portion and the first reference origin, where the rotational trajectory of the interactive control portion includes a rotational direction of the interactive control portion ;
    页面位置调整模块,用于将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。And a page position adjustment module, configured to adjust a positional relationship between the first display page and the second reference origin as the reference position relationship.
  6. 根据权利要求5所述的系统,其特征在于,还包括:The system of claim 5, further comprising:
    相对位置调整模块,用于将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。And a relative position adjustment module, configured to adjust a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  7. 根据权利要求5所述的系统,其特征在于,所述页面位置调整模块具体包括:The system of claim 5, wherein the page location adjustment module comprises:
    关系计算子模块,用于根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;a relationship calculation submodule, configured to calculate location information of the first display page relative to the second reference origin according to the reference position relationship;
    位置调整子模块,用于根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。a position adjustment submodule, configured to adjust a position of the first display page according to position information of the first display page relative to the second reference origin.
  8. 根据权利要求5-7任意一项所述的系统,其特征在于,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。The system according to any one of claims 5-7, wherein the first reference origin and the second reference origin are respectively the same reference datum point on the interactive control part when the interactive control part faces differently position.
  9. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够: The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;After the interaction interface is activated, determining a reference position relationship between the first display page directly in front of the user's field of view and the first reference origin; and a relative positional relationship between the second display page and the first display page;
    检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;Detecting a rotation trajectory of the interaction control portion, determining a second reference origin according to the rotation trajectory of the interaction control portion and the first reference origin, where the rotation trajectory of the interaction control portion includes a rotation direction of the interaction control portion;
    将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。Adjusting a positional relationship between the first display page and the second reference origin as the reference position relationship.
  10. 根据权利要求9所述的电子设备,其特征在于,所述至少一个处理器还能够:The electronic device of claim 9, wherein the at least one processor is further capable of:
    将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。Adjusting a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  11. 根据权利要求9所述的电子设备,其特征在于,将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系包括:The electronic device according to claim 9, wherein the adjusting the positional relationship between the first display page and the second reference origin to the reference position relationship comprises:
    根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;Calculating, according to the reference position relationship, location information of the first display page relative to the second reference origin;
    根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。Adjusting a position of the first display page according to position information of the first display page relative to the second reference origin.
  12. 根据权利要求9-11任意一项所述的电子设备,其特征在于,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。The electronic device according to any one of claims 9 to 11, wherein the first reference origin and the second reference origin are respectively the same reference datum point on the interactive control part, and the direction of the interactive control part is different. s position.
  13. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于:A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer executable instructions for:
    在交互界面激活后,确定用户视野正前方的第一显示页面与第一参考原 点之间的参考位置关系以及第二显示页面与所述第一显示页面之间的相对位置关系;After the interactive interface is activated, determining the first display page directly in front of the user's field of view and the first reference original a reference positional relationship between the points and a relative positional relationship between the second display page and the first display page;
    检测交互控制部位的转动轨迹,根据所述交互控制部位的转动轨迹和第一参考原点确定第二参考原点,所述交互控制部位的转动轨迹包括交互控制部位的转动方向;Detecting a rotation trajectory of the interaction control portion, determining a second reference origin according to the rotation trajectory of the interaction control portion and the first reference origin, where the rotation trajectory of the interaction control portion includes a rotation direction of the interaction control portion;
    将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系。Adjusting a positional relationship between the first display page and the second reference origin as the reference position relationship.
  14. 根据权利要求13所述的非暂态计算机可读存储介质,其特征在于,所述计算机可执行指令还用于:The non-transitory computer readable storage medium according to claim 13, wherein the computer executable instructions are further configured to:
    将所述第二显示页面与调整后的第一显示页面之间的位置关系调整为所述相对位置关系。Adjusting a positional relationship between the second display page and the adjusted first display page to the relative positional relationship.
  15. 根据权利要求13所述的非暂态计算机可读存储介质,其特征在于,将所述第一显示页面与第二参考原点之间的位置关系调整为所述参考位置关系包括:The non-transitory computer readable storage medium according to claim 13, wherein the adjusting the positional relationship between the first display page and the second reference origin to the reference positional relationship comprises:
    根据所述参考位置关系,计算所述第一显示页面相对于所述第二参考原点的位置信息;Calculating, according to the reference position relationship, location information of the first display page relative to the second reference origin;
    根据所述第一显示页面相对于所述第二参考原点的位置信息,对所述第一显示页面的位置进行调整。Adjusting a position of the first display page according to position information of the first display page relative to the second reference origin.
  16. 根据权利要求13-15任意一项所述的非暂态计算机可读存储介质,其特征在于,所述第一参考原点与所述第二参考原点分别为交互控制部位上的同一参考基准点在交互控制部位朝向不同时的位置。The non-transitory computer readable storage medium according to any one of claims 13-15, wherein the first reference origin and the second reference origin are respectively the same reference datum point on the interactive control part. The interactive control points are oriented at different positions.
  17. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-4中任一项所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute A method as claimed in any one of claims 1 to 4.
PCT/CN2016/099937 2016-04-20 2016-09-23 Method and electronic apparatus for positioning display page WO2017181588A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610247844.5A CN105930044A (en) 2016-04-20 2016-04-20 Display page locating method and system
CN201610247844.5 2016-04-20

Publications (1)

Publication Number Publication Date
WO2017181588A1 true WO2017181588A1 (en) 2017-10-26

Family

ID=56839821

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099937 WO2017181588A1 (en) 2016-04-20 2016-09-23 Method and electronic apparatus for positioning display page

Country Status (2)

Country Link
CN (1) CN105930044A (en)
WO (1) WO2017181588A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333816A (en) * 2019-07-03 2019-10-15 腾讯科技(深圳)有限公司 A kind of carousel processing method and processing device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930044A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Display page locating method and system
CN107037873A (en) * 2016-10-09 2017-08-11 深圳市金立通信设备有限公司 A kind of display methods and terminal of virtual reality main interface
CN107463258A (en) * 2017-08-07 2017-12-12 北京铂石空间科技有限公司 Head-mounted display apparatus, wear-type show interactive system and display exchange method
CN107957980A (en) * 2017-11-29 2018-04-24 河海大学常州校区 A kind of associated effect analysis method between error-cognition and design
CN115113957A (en) * 2021-03-19 2022-09-27 广州视享科技有限公司 Object display method and device, smart glasses and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609085A (en) * 2010-12-27 2012-07-25 卡西欧计算机株式会社 Information processing apparatus, method, and storage medium storing program
CN105354820A (en) * 2015-09-30 2016-02-24 深圳多新哆技术有限责任公司 Method and apparatus for regulating virtual reality image
CN105930044A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Display page locating method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242888B (en) * 2014-07-10 2018-10-12 联想(北京)有限公司 A kind of system control method and electronic equipment
US20160037134A1 (en) * 2014-07-31 2016-02-04 Todd MEDEMA Methods and systems of simulating time of day and environment of remote locations
CN104581126A (en) * 2014-12-16 2015-04-29 青岛歌尔声学科技有限公司 Image display processing method and processing device for head-mounted display device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609085A (en) * 2010-12-27 2012-07-25 卡西欧计算机株式会社 Information processing apparatus, method, and storage medium storing program
CN105354820A (en) * 2015-09-30 2016-02-24 深圳多新哆技术有限责任公司 Method and apparatus for regulating virtual reality image
CN105930044A (en) * 2016-04-20 2016-09-07 乐视控股(北京)有限公司 Display page locating method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333816A (en) * 2019-07-03 2019-10-15 腾讯科技(深圳)有限公司 A kind of carousel processing method and processing device
CN110333816B (en) * 2019-07-03 2021-08-24 腾讯科技(深圳)有限公司 Carousel processing method and device

Also Published As

Publication number Publication date
CN105930044A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
WO2017181588A1 (en) Method and electronic apparatus for positioning display page
US10497175B2 (en) Augmented reality virtual monitor
CN107852573B (en) Mixed reality social interactions
US10451875B2 (en) Smart transparency for virtual objects
JP6518582B2 (en) Information processing apparatus and operation reception method
TWI571130B (en) Volumetric video presentation
ES2726349T3 (en) Methods, devices and systems for automatic zoom when an augmented reality scene is played
US10621792B2 (en) Focus control for virtual objects in augmented reality (AR) and virtual reality (VR) displays
TWI669635B (en) Method and device for displaying barrage and non-volatile computer readable storage medium
US11765335B2 (en) Synthetic stereoscopic content capture
US20190221043A1 (en) Systems and methods for using sensing of real object position, trajectory, or attitude to enable user interaction with a virtual object
JP6130478B1 (en) Program and computer
CN110506419B (en) Rendering extended video in virtual reality
US20230073750A1 (en) Augmented reality (ar) imprinting methods and systems
WO2018000630A1 (en) Method and electronic device for adjusting vr playback video progress
CN106843473B (en) AR-based children painting system and method
WO2017185608A1 (en) Multi-interface alternating method and electronic device
WO2018000606A1 (en) Virtual-reality interaction interface switching method and electronic device
JP7177606B2 (en) Method and Apparatus for Rotating a Viewer Toward a Reference Orientation When Consuming an Immersive Content Item
JP2017121082A (en) Program and computer
US10579787B1 (en) 3D challenge-response tests to distinguish human users from bots
WO2018000610A1 (en) Automatic playing method based on determination of image type, and electronic device
US11205307B2 (en) Rendering a message within a volumetric space
CN116736983A (en) Method, device and equipment for switching video blocks and readable storage medium
JP2022184702A (en) Content distribution system, content distribution method and content distribution program

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16899174

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899174

Country of ref document: EP

Kind code of ref document: A1