CN107272896A - The method and device switched between VR patterns and non-VR patterns - Google Patents

The method and device switched between VR patterns and non-VR patterns Download PDF

Info

Publication number
CN107272896A
CN107272896A CN201710444455.6A CN201710444455A CN107272896A CN 107272896 A CN107272896 A CN 107272896A CN 201710444455 A CN201710444455 A CN 201710444455A CN 107272896 A CN107272896 A CN 107272896A
Authority
CN
China
Prior art keywords
interface
interfaces
patterns
identification
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710444455.6A
Other languages
Chinese (zh)
Other versions
CN107272896B (en
Inventor
林形省
汪轩然
冯智勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710444455.6A priority Critical patent/CN107272896B/en
Publication of CN107272896A publication Critical patent/CN107272896A/en
Application granted granted Critical
Publication of CN107272896B publication Critical patent/CN107272896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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/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
    • 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

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

The disclosure is directed to the method and device switched between a kind of VR patterns and non-VR patterns, it is related to VR technical fields, this method includes:When detecting switching command, the interface identification at the interface currently shown is obtained;Target interface mark is obtained based on the interface identification at the interface currently shown, in the corresponding relation between the VR interface identifications and non-VR interface identifications of storage;Pattern switching is carried out based on target scene mark.In the disclosed embodiments, due to target interface mark can be obtained according to the corresponding relation between VR interface identifications and non-VR interface identifications, therefore, when carrying out pattern switching according to target interface mark, the interface of the corresponding another pattern in the interface currently shown can be switched to, it that is to say, after pattern switching is carried out, continue to show in the interface that display before switching can be continued, the problem of switching front interface information that specified page causes is lost is jumped to when avoiding pattern switching in correlation technique, it is ensured that the continuity of interface display.

Description

The method and device switched between VR patterns and non-VR patterns
Technical field
This disclosure relates to VR (Virtual Reality, virtual reality) technical field, more particularly to a kind of VR patterns with it is non- The method and device switched between VR patterns.
Background technology
VR technologies are that user can be by wearing VR equipment, will using terminal generation real-time dynamic three-dimensional simulation environment The VR equipment is attached with terminal, to be immersed in the three-dimensional simulation environment, and can be done according to the three-dimensional simulation environment Go out the various actions such as head rotation, gesture operation, the behavioral parameters of VR equipment detection behavior operation, by behavior parameter Send to terminal, by terminal processes behavior parameter, and make real-time response.When terminal is interacted by VR technologies with user When, that is, determine that terminal is in VR patterns, on the contrary, determining that terminal is in the non-VR moulds such as such as 2D (2-Dimensional, plane) Formula.In actual applications, for the ease of operation, terminal generally requires to switch between VR patterns and non-VR patterns.
In correlation technique, when terminal carries out the switching between VR patterns and non-VR patterns, it can refer to detecting switching When making, jump to a specified interface from the interface currently shown and shown, then specify interface selection from this by user again Corresponding content with continue display.For example, terminal is currently at 2D patterns, and the interface currently shown is interface 1, when detecting During switching command, the specified interface that terminal can be jumped under VR patterns from interface 1 is shown, is then existed again by user This is specified is operated in interface, and terminal continues to show the interface 1 under VR patterns according to the operation of user.
The content of the invention
To overcome when VR patterns and non-VR pattern switchings in correlation technique, switching mode is stiff and is easily lost context letter The problem of breath, the disclosure provides the method and device switched between a kind of VR patterns and non-VR patterns.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method switched between VR patterns and non-VR patterns, institute The method of stating includes:
When detecting switching command, the interface identification at the interface currently shown is obtained;
Based on the interface identification at the interface currently shown, between the VR interface identifications and non-VR interface identifications of storage Corresponding relation in obtain target interface mark;
Pattern switching is carried out based on target interface mark.
Alternatively, the interface identification based on the interface currently shown, from VR interface identifications and the non-VR of storage In corresponding relation between interface identification before acquisition target interface mark, in addition to:
Obtain interface identification and the multiple VR the interfaces correspondence under non-VR patterns at multiple VR interfaces under VR patterns Multiple non-VR interfaces interface identification;
The interface identification at the multiple VR interfaces and the interface identification at the multiple non-VR interfaces are corresponded into storage, obtained Corresponding relation between the VR interface identifications and non-VR interface identifications.
Alternatively, it is described that pattern switching is carried out based on target interface mark, including:
When the target interface is designated the interface identification under non-VR patterns, the target interface mark is obtained corresponding Non- VR interfaces;
Obtain and apply the content shown in corresponding VR interfaces belonging to the non-VR interfaces;
The content got is included at the non-VR interfaces.
Alternatively, it is described that pattern switching is carried out based on target interface mark, including:
When the target interface is designated the interface identification under VR patterns, obtains the target interface and identify corresponding VR Interface;
Obtain and apply the content shown in corresponding non-VR interfaces belonging to the VR interfaces;
The content got is included at the VR interfaces.
According to the second aspect of the embodiment of the present disclosure, there is provided the device switched between a kind of VR patterns and non-VR patterns, institute Stating device includes:
First acquisition module, for when detecting switching command, obtaining the interface identification at the interface currently shown;
Second acquisition module, for the interface identification based on the interface currently shown, from the VR interface identifications of storage Target interface mark is obtained in corresponding relation between non-VR interface identifications;
Handover module, for carrying out pattern switching based on target interface mark.
Alternatively, described device also includes:
3rd acquisition module, for the interface identification for obtaining multiple VR interfaces under VR patterns and the multiple VR interfaces The interface identification at corresponding multiple non-VR interfaces under non-VR patterns;
Memory module, for by the interface identification one of the interface identification at the multiple VR interfaces and the multiple non-VR interfaces One correspondence storage, obtains the corresponding relation between the VR interface identifications and non-VR interface identifications.
Alternatively, the handover module includes:
First acquisition submodule, for be designated when the target interface under non-VR patterns interface identification when, obtain institute State target interface and identify corresponding non-VR interfaces;
Second acquisition submodule, for obtaining in applying belonging to the non-VR interfaces show in corresponding VR interfaces Hold;
First display sub-module, for the content got to be included at the non-VR interfaces.
Alternatively, the handover module includes:
3rd acquisition submodule, for be designated when the target interface under VR patterns interface identification when, obtain described Target interface identifies corresponding VR interfaces;
4th acquisition submodule, for obtaining in applying belonging to the VR interfaces show in corresponding non-VR interfaces Hold;
Second display sub-module, for the content got to be included at the VR interfaces.
According to the third aspect of the embodiment of the present disclosure, there is provided the device switched between a kind of VR patterns and non-VR patterns, institute Stating device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the step of processor is configured as any one method described in above-mentioned first aspect.
It is described computer-readable according to the fourth aspect of the embodiment of the present disclosure there is provided a kind of computer-readable recording medium Be stored with instruction on storage medium, and any one method described in above-mentioned first aspect is realized in the instruction when being executed by processor Step.
The technical scheme provided by this disclosed embodiment can include the following benefits:When detecting switching command, According in corresponding relation of the interface identification at the interface currently shown between the VR interface identifications and non-VR interface identifications of storage Target interface mark is obtained, and pattern switching is carried out according to target interface mark.So, when from VR pattern switchings to non-VR moulds After formula is either from VR pattern switchings to VR patterns, it is possible to continue the interface shown before switching and proceed display, keep away The problem of switching front interface information that specified page causes is lost is exempted to jump to during pattern switching in correlation technique, it is ensured that aobvious Show the continuity at interface.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is the system of the method switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Organization Chart.
Fig. 2 is the flow of the method switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Figure.
Fig. 3 is the flow of the method switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Figure.
Fig. 4 A are the frames of the device switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Figure.
Fig. 4 B are the devices switched between another VR patterns according to an exemplary embodiment and non-VR patterns Block diagram.
Fig. 4 C are a kind of block diagrams of handover module according to an exemplary embodiment.
Fig. 4 D are the block diagrams of another handover module according to an exemplary embodiment.
Fig. 5 is the frame of the device switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Figure.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Before detailed explanation is carried out to the embodiment of the present invention, first the application scenarios of the embodiment of the present invention are given Introduce.With the development of VR technologies, increasing application starts to support VR patterns.When user under VR patterns in application When interface is operated, user may need to be switched under non-VR patterns because of operation inconvenience to be operated, or in order to More preferable experience effect is obtained, when user may be needed from non-VR pattern switchings to VR patterns, in this case, terminal is often Need to be switched between VR patterns and non-VR patterns according to the handover operation of user.
In correlation technique, when terminal switches between VR patterns and non-VR patterns, can when detecting switching command, Shown from the changing interface currently shown to a specified interface, afterwards, terminal needs aobvious according to the selection operation of user Show corresponding content.It that is to say, if the interface that terminal is currently shown is the interface of the application under non-VR patterns, then, work as end End will be switched to a specified interface under VR patterns when detecting switching command, and this is specified under interface is not VR patterns The interface of the application, therefore, user, which needs to specify interface to select corresponding application to continue to be shown under VR patterns from this, to be shown Show the interface of the application.Understand that in the related art, terminal is cut between VR patterns and non-VR patterns based on foregoing description When changing, due to needing to first switch to specified interface, it is thus impossible to which the interface before continuing switching proceeds display, cause Interface display it is discontinuous, also, be switched to behind specified interface, the loss of the interface information of display before switching can be caused, be The use of user brings very big inconvenience.
In order to solve the above problems, the embodiment of the present disclosure provides the side switched between a kind of VR patterns and non-VR patterns Method, in the method, terminal when detecting switching command, can obtain the interface identification at the interface currently shown, afterwards, eventually End can obtain target according to the interface identification in the corresponding relation between the VR interface identifications and non-VR interface identifications of storage Interface identification, and pattern switching is carried out according to target interface mark.So, when VR patterns and non-VR patterns switch over it Afterwards, terminal can continue the interface that shows before display switching, it is to avoid jump to specific page during pattern switching in correlation technique The problem of switching front interface information that face is caused is lost, it is ensured that the continuity of display interface.
Fig. 1 is the system architecture of a kind of method switched between the VR patterns and non-VR patterns of embodiment of the present disclosure offer Figure.As shown in figure 1, the system includes terminal 101, VR equipment 102 and server 103.Wherein, terminal 101 and VR equipment 102 It is attached, server 103 and terminal 101 are attached.User can be interacted by VR equipment 102 with terminal 101, eventually End 101 is received after the behavioral parameters for operating generation by user of the transmission of VR equipment 102, can be made based on behavior parameter Response.In addition, terminal 101 is when detecting switching command, the interface identification at the interface currently shown can be obtained, and according to this Interface identification obtains target interface mark from the corresponding relation of storage.After target interface mark is got, terminal 101 can To obtain corresponding interface from server 103 and content is shown according to target interface mark.
It should be noted that terminal 101 can be the mobile terminals such as smart mobile phone, Intelligent flat, or platform The terminals such as formula machine, portable computer.VR equipment 102 is the equipment that can realize VR functions, such as the VR helmets, VR glasses equipment. Server 103 can be individual server, or a server cluster.
Fig. 2 is the flow of the method switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Figure, as shown in Fig. 2 the method switched between the VR patterns and non-VR patterns is used in terminal, comprises the following steps.
In step 201, when detecting switching command, the interface identification at the interface currently shown is obtained.
In step 202., the interface identification based on the interface currently shown, from VR interface identifications and the non-VR interfaces of storage Target interface mark is obtained in corresponding relation between mark.
In step 203, pattern switching is carried out based on target interface mark.
In the disclosed embodiments, terminal when detecting switching command, can obtain the interface at the interface currently shown Mark, afterwards, terminal can be closed according to the interface identification from the correspondence between the VR interface identifications and non-VR interface identifications of storage Target interface mark is obtained in system, and pattern switching is carried out according to target interface mark.So, when VR patterns and non-VR patterns After switching over, terminal can continue the interface that shows before display switching, it is to avoid be jumped in correlation technique during pattern switching Go to the problem of switching front interface information that specified page causes is lost, it is ensured that the continuity of display interface.
Alternatively, the interface identification based on the interface currently shown, from VR interface identifications and the non-VR interface identifications of storage Between corresponding relation in obtain target interface mark before, in addition to:
The interface identification at multiple VR interfaces under acquisition VR patterns and multiple VR interfaces are corresponding more under non-VR patterns The interface identification at individual non-VR interfaces;
The interface identification at multiple VR interfaces and the interface identification at multiple non-VR interfaces are corresponded into storage, VR interfaces are obtained Corresponding relation between mark and non-VR interface identifications.
Alternatively, pattern switching is carried out based on target interface mark, including:
When target interface is designated the interface identification under non-VR patterns, obtains target interface and identify corresponding non-VR circle Face;
Obtain and apply the content shown in corresponding VR interfaces belonging to non-VR interfaces;
The content got is included at non-VR interfaces.
Alternatively, pattern switching is carried out based on target interface mark, including:
When target interface is designated the interface identification under VR patterns, obtains target interface and identify corresponding VR interfaces;
Obtain and apply the content shown in corresponding non-VR interfaces belonging to VR interfaces;
The content got is included at VR interfaces.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real Example is applied no longer to repeat this one by one.
Fig. 3 is the flow of the method switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Figure, this method is used in terminal, comprises the following steps:
In step 301, the interface identification at multiple VR interfaces under acquisition VR patterns and the plurality of VR interfaces are in non-VR The interface identification at corresponding multiple non-VR interfaces under pattern.
Generally, the application run in terminal can include multiple interfaces, wherein, each interface in the plurality of interface can With to that should have corresponding interface identification.When VR patterns are supported in the application, this applies the multiple interfaces shown under VR patterns can To be referred to as VR interfaces, the multiple interfaces shown under non-VR patterns are referred to as non-VR interfaces, also, the non-VR interfaces can have correspondence Non- VR interface identifications, and the VR interfaces can also have corresponding VR interface identifications.
Wherein, terminal can obtain VR moulds when detecting application support VR patterns from the application data of the application The boundary at multiple VR interface identifications of the application and the plurality of VR interfaces corresponding multiple non-VR interfaces under non-VR patterns under formula Face is identified.Certainly, terminal can also according to the application identities of the application, from this apply corresponding server in obtain the application The interface identification at multiple VR interfaces and the interface identification at non-VR interfaces.
It should be noted that interface identification can carry out the word of unique mark for the title at the interface etc. to the interface Symbol, for example, the interface identification at VR interfaces can be spliced by the title and VR characters at the interface, the interface identification at non-VR interfaces The title and 2D characters that can then have the interface are spliced.
The system resource of required occupancy when further, in order to reduce follow-up storage corresponding relation, for supporting VR patterns Application, terminal can only obtain that this applies VR application identities under VR patterns and corresponding non-VR should under non-VR patterns With mark.
In step 302, the interface identification at multiple VR interfaces and the interface identification at multiple non-VR interfaces are corresponded and deposited Storage, obtains the corresponding relation between VR interface identifications and non-VR interface identifications.
When terminal get multiple VR interfaces of application interface identification and multiple non-VR interfaces interface identification after, eventually The interface identification at multiple VR interfaces of the application and the interface identification at multiple non-VR interfaces can be corresponded and stored by end, so that Obtain the corresponding relation between VR interface identifications and non-VR interface identifications.
Wherein, the corresponding relation can be stored directly in the application data of the application by terminal, and certainly, terminal can also Multiple corresponding relations of multiple applications of VR patterns will be supported to unify to be stored.When carrying out unified storage, for follow-up energy It is enough fast, easily to obtain desired interface identification from the corresponding relation, terminal can by the application identities of each application and Corresponding corresponding relation carries out correspondence storage.
Further, what is got when terminal is that this applies VR application identities and non-VR application identities under VR patterns When, the VR application identities of the application and non-VR application identities can be corresponded and stored by terminal, so as to obtain VR application identities Corresponding relation between non-VR application identities.
By step 301 and step 302, terminal can obtain the correspondence pass between VR interface identifications and non-VR interface identifications System, afterwards, when terminal, which starts this, to be applied, terminal the application can be carried out in the following manner VR patterns and non-VR patterns it Between switching.
In step 303, when detecting switching command, the interface identification at the interface currently shown is obtained.
Application for supporting VR patterns, after terminal starts the application, terminal can detect whether to receive in real time The switching command triggered by the handover operation of user.When terminal detects switching command, terminal can obtain current display Interface interface identification.Wherein, the handover operation of user can disconnect the connection between VR equipment and terminal, can also It is that user removes the VR helmets and mobile terminal that bundle.
In addition, terminal can obtain the interface mark at the interface currently shown from the interface data at the interface currently shown Know.Certainly, if by step 301 and step 302 obtain be between VR application identities and non-VR application identities correspondence close System, then, in this step, terminal can also obtain the application identities of the application under present mode.
For example, it is assumed that terminal is started in 2 d mode supports the application of VR patterns for social networking application, and currently show Interface be good friend's chat interface, then, after terminal starts the social networking application, can detect whether to receive switching in real time Instruction, after switching command is received, terminal can obtain the social networking application in 2D from the interface data of the chat interface The interface identification of chat interface under pattern.Certainly, terminal can also directly obtain the application of the social networking application under 2D patterns Mark.
Further, after the interface identification at the interface currently shown is got, terminal will can also currently be shown Display content or display progress in interface are stored, and during so as to follow-up progress pattern switching, terminal can be according to storage Display content or display progress, proceed display in pattern after handover.
In step 304, the interface identification based on the interface currently shown, from VR interface identifications and the non-VR interfaces of storage Target interface mark is obtained in corresponding relation between mark.
After the interface identification at the interface currently shown is got, terminal can be from the VR interface identifications of storage and non-VR Target interface mark is obtained in corresponding relation between interface identification.Wherein, target interface is designated the interface that currently shows The corresponding interface identification of interface identification.If the interface identification at the interface currently shown is the VR interface identifications under VR patterns, So, the non-VR interface identifications corresponding to the VR interface identifications at the interface that target interface mark is as currently shown.If worked as The interface identification at the interface of preceding display is the non-VR interface identifications under non-VR patterns, then, target interface mark is to work as VR interface identifications corresponding to the non-VR interface identifications at the interface of preceding display.
It should be noted that being understood based on described above, the corresponding relation between VR interface identifications and non-VR interface identifications It can be stored in the application data of application, unified storage can also be carried out.Therefore, if VR interface identifications are marked with non-VR interfaces Corresponding relation between knowledge is stored in the application data of application, then, terminal can be according to the interface at the interface currently shown Mark, obtains target interface mark from the application data of the application belonging to the interface currently shown.If VR interface identifications with Corresponding relation between non-VR interface identifications is unified storage, then, terminal can be obtained belonging to the interface currently shown The application identities of application, afterwards, according to the application identities and the interface identification at the interface currently shown, from the corresponding relation of storage Middle acquisition target interface mark.
Further, if terminal storage be application VR application identities and non-VR application identities between correspondence pass System, then, terminal can be by the application identities of the application belonging to the interface of the current display got in step 303, from depositing Correspondingly intended application mark is obtained in corresponding relation between the VR application identities and non-VR application identities of the application of storage.
In step 305, pattern switching is carried out based on target interface mark.
After target interface mark is got, terminal can carry out VR patterns and non-VR moulds based on target interface mark Switching between formula.May be the interface identification under VR patterns because the target interface is identified, it is also possible to under non-VR patterns Interface identification, that is to say, be currently likely to be from non-VR pattern switchings to VR patterns, it is also possible to be from VR pattern switchings to Non- VR patterns, therefore, terminal can complete pattern switching by following two modes.
First way:When the target interface is designated the interface identification under non-VR patterns, terminal can obtain the mesh The corresponding non-VR interfaces of interface identification are marked, afterwards, terminal can obtain applying at corresponding VR interfaces belonging to the non-VR interfaces The content of middle display, and the content got is included in the non-VR interfaces.
Wherein, if target interface is designated the interface identification under non-VR patterns, it that is to say, the switching currently carried out is From VR pattern switchings to non-VR patterns, now, terminal can be according to the interface identification under the non-VR patterns got, from storage The target interface is obtained in application data and identifies corresponding non-VR interfaces.Certainly, in order to save system resource, terminal may also not have There is the corresponding application data of storage, in this case, terminal can identify the affiliated corresponding clothes of application from the target interface The target interface, which is obtained, in business device identifies corresponding non-VR interfaces.
After terminal, which gets the target interface, identifies corresponding non-VR interfaces, due to simply having got interface, and The content shown in interface is not got, therefore, terminal is wanted before being switched to and can continue to switching after non-VR patterns The content of display is shown that terminal can also obtain from the application belonging to the non-VR interfaces and be currently displayed at corresponding VR circle Content in face, or, terminal can record the display progress for the content being currently displayed in corresponding VR interfaces.When getting After the content or display progress that are shown in corresponding VR interfaces, terminal is that the content that can get this is included in non-VR In interface, or, terminal can obtain corresponding content according to the display progress from the server of the application, be obtained with being shown in In the non-VR interfaces got, so as to complete VR patterns to the switching of non-VR patterns.
For example, it is assumed that the interface currently shown be social networking application chat interface, and user by terminal in chat circle Face, which have input, to be replied message, but this replies message and not sent, now, if terminal have received switching command, then, Display content in the interface currently shown can be stored in the application data of the social networking application by terminal, further, eventually End, which can also reply message this, saves as rough draft, and afterwards, terminal can be according to the chat interface of the social networking application in VR patterns Under corresponding interface identification obtain the social networking application under target interface mark, i.e., non-VR patterns chat interface interface mark Know.After target interface mark is got, terminal can obtain the social networking application in non-VR moulds according to target interface mark Chat interface under formula, and the last display content stored of acquisition and rough draft from the application data of the social networking application. Afterwards, the display content got and rough draft can be included the chat interface under the non-VR patterns of the social networking application by terminal In, so as to complete the switching from VR patterns to non-VR patterns.
If for another example the interface currently shown is the broadcast interface of Video Applications, then, when detecting switching command Afterwards, terminal can be stored the relevant informations such as the playing progress rate in currently playing interface, afterwards, when terminal gets target During interface identification, the broadcast interface of the Video Applications under non-VR patterns can be obtained, and the phase such as the playing progress rate according to storage Information is closed, the broadcasting content under the corresponding non-VR patterns of the playing progress rate is obtained from the corresponding server of the Video Applications, from And continue to play out in the broadcast interface under non-VR patterns.
Further, described based on abovementioned steps, if what is obtained is not target interface mark, but intended application mark Know, then, terminal can be identified according to the intended application, and the application is started under non-VR patterns, and afterwards, terminal can obtain this The last display content under VR patterns is applied, and according in the application of the display content got under non-VR patterns Proceed display.
The second way:When the target interface is designated the interface identification under VR patterns, terminal can obtain the target The corresponding VR interfaces of interface identification, afterwards, terminal can obtain applying belonging to the VR interfaces and show in corresponding non-VR interfaces The content shown, and the content got is included in VR interfaces.
If target interface is designated the interface identification under VR patterns, it that is to say, the switching currently carried out is from non-VR Pattern switching is to VR patterns, and now, terminal can be according to the interface identification under the VR patterns got, from the application data of storage Middle acquisition target interface identifies corresponding VR interfaces.Or, if terminal does not store corresponding application data, terminal also may be used Corresponding VR interfaces are identified to obtain the target interface in identifying the affiliated corresponding server of application from the target interface.
After VR interfaces are got, due to simply having got interface, the content shown in interface is not got, Therefore, terminal can also be obtained in the display being currently displayed in corresponding non-VR interfaces from the application belonging to the VR interfaces Hold, or, terminal can record the display progress for the content being currently displayed in corresponding non-VR interfaces.It is corresponding when getting After the content or display progress that are shown in non-VR interfaces, terminal is that the content that can get this is included at VR interfaces In, or, terminal can obtain corresponding content according to the display progress from the server of the application, be got with being shown in VR interfaces in, so as to complete non-VR patterns to the switching of VR patterns.
In the disclosed embodiments, terminal when detecting switching command, can obtain the interface at the interface currently shown Mark, afterwards, terminal can be closed according to the interface identification from the correspondence between the VR interface identifications and non-VR interface identifications of storage Target interface mark is obtained in system, and pattern switching is carried out according to target interface mark.So, when VR patterns and non-VR patterns After switching over, terminal can continue the interface that shows before display switching, it is to avoid be jumped in correlation technique during pattern switching Go to the problem of switching front interface information that specified page causes is lost, it is ensured that the continuity of display interface.
Fig. 4 A are the frames of device 400 switched between a kind of VR patterns according to an exemplary embodiment and non-VR patterns Figure.Reference picture 4A, the device includes the first acquisition module 401, the second acquisition module 402 and handover module 403.
First acquisition module 401, for when detecting switching command, obtaining the interface identification at the interface currently shown;
Second acquisition module 402, for the interface identification based on the interface currently shown, from the VR interface identifications of storage with Target interface mark is obtained in corresponding relation between non-VR interface identifications;
Handover module 403, for carrying out pattern switching based on target interface mark.
Alternatively, referring to Fig. 4 B, the device 400 also includes:
3rd acquisition module 404, for the interface identification for obtaining multiple VR interfaces under VR patterns and multiple VR interfaces The interface identification at corresponding multiple non-VR interfaces under non-VR patterns;
Memory module 405, for by a pair of the interface identification at multiple VR interfaces and the interface identification one at multiple non-VR interfaces It should store, obtain the corresponding relation between VR interface identifications and non-VR interface identifications.
Alternatively, referring to Fig. 4 C, handover module 403 includes:
First acquisition submodule 4031, for be designated when target interface under non-VR patterns interface identification when, obtain mesh Mark the corresponding non-VR interfaces of interface identification;
Second acquisition submodule 4032, for obtaining in applying belonging to non-VR interfaces show in corresponding VR interfaces Hold;
First display sub-module 4033, for the content got to be included at non-VR interfaces.
Alternatively, referring to Fig. 4 D, handover module 403 includes:
3rd acquisition submodule 4034, for be designated when target interface under VR patterns interface identification when, obtain target The corresponding VR interfaces of interface identification;
4th acquisition submodule 4035, for obtaining in applying belonging to VR interfaces show in corresponding non-VR interfaces Hold;
Second display sub-module 4036, for the content got to be included at VR interfaces.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In the disclosed embodiments, terminal when detecting switching command, can obtain the interface at the interface currently shown Mark, afterwards, terminal can be closed according to the interface identification from the correspondence between the VR interface identifications and non-VR interface identifications of storage Target interface mark is obtained in system, and pattern switching is carried out according to target interface mark.So, when VR patterns and non-VR patterns After switching over, terminal can continue the interface that shows before display switching, it is to avoid be jumped in correlation technique during pattern switching Go to the problem of switching front interface information that specified page causes is lost, it is ensured that the continuity of display interface.
Fig. 5 is a kind of device for switching between VR patterns and non-VR patterns according to an exemplary embodiment 500 block diagram.For example, the device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game Console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 5, the device 500 can include following one or more assemblies:Processing assembly 502, memory 504, electricity Source component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, with And communication component 516.
The integrated operation of the usual control device 500 of processing assembly 502, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 502 can refer to including one or more processors 520 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 502 can include one or more modules, just Interaction between processing assembly 502 and other assemblies.For example, processing assembly 502 can include multi-media module, it is many to facilitate Interaction between media component 508 and processing assembly 502.
Memory 504 is configured as storing various types of data supporting the operation in device 500.These data are shown Example includes the instruction of any application program or method for operating on device 500, and contact data, telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides power supply for the various assemblies of device 500.Power supply module 506 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing power supply for device 500.
Multimedia groupware 508 is included in the screen of one output interface of offer between described device 500 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers Body component 508 includes a front camera and/or rear camera.When device 500 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 500 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 504 or via communication set Part 516 is sent.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 is provide interface between processing assembly 502 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor cluster 514 can detect opening/closed mode of device 500, the relative positioning of component is for example described Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device Position change, the existence or non-existence that user contacts with device 500, the orientation of device 500 or acceleration/deceleration and device 500 Temperature change.Sensor cluster 514 can include proximity transducer, be configured to detect in not any physical contact The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 500.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device is performed so that mobile terminal is able to carry out a kind of method switched between VR patterns and non-VR patterns, and methods described includes:
When detecting switching command, the interface identification at the interface currently shown is obtained;
Based on the interface identification at the interface currently shown, between the VR interface identifications and non-VR interface identifications of storage Corresponding relation in obtain target interface mark;
Pattern switching is carried out based on target interface mark.
Alternatively, the interface identification based on the interface currently shown, from VR interface identifications and the non-VR of storage In corresponding relation between interface identification before acquisition target interface mark, in addition to:
Obtain interface identification and the multiple VR the interfaces correspondence under non-VR patterns at multiple VR interfaces under VR patterns Multiple non-VR interfaces interface identification;
The interface identification at the multiple VR interfaces and the interface identification at the multiple non-VR interfaces are corresponded into storage, obtained Corresponding relation between the VR interface identifications and non-VR interface identifications.
Alternatively, it is described that pattern switching is carried out based on target interface mark, including:
When the target interface is designated the interface identification under non-VR patterns, the target interface mark is obtained corresponding Non- VR interfaces;
Obtain and apply the content shown in corresponding VR interfaces belonging to the non-VR interfaces;
The content got is included at the non-VR interfaces.
Alternatively, it is described that pattern switching is carried out based on target interface mark, including:
When the target interface is designated the interface identification under VR patterns, obtains the target interface and identify corresponding VR Interface;
Obtain and apply the content shown in corresponding non-VR interfaces belonging to the VR interfaces;
The content got is included at the VR interfaces.
In the disclosed embodiments, terminal when detecting switching command, can obtain the interface at the interface currently shown Mark, afterwards, terminal can be closed according to the interface identification from the correspondence between the VR interface identifications and non-VR interface identifications of storage Target interface mark is obtained in system, and pattern switching is carried out according to target interface mark.So, when VR patterns and non-VR patterns After switching over, terminal can continue the interface that shows before display switching, it is to avoid be jumped in correlation technique during pattern switching Go to the problem of switching front interface information that specified page causes is lost, it is ensured that the continuity of display interface.
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. a kind of method switched between Virtual Reality pattern and non-VR patterns, it is characterised in that methods described includes:
When detecting switching command, the interface identification at the interface currently shown is obtained;
Based on the interface identification at the interface currently shown, pair between the VR interface identifications and non-VR interface identifications of storage Middle acquisition target interface mark should be related to;
Pattern switching is carried out based on target scene mark.
2. the method as described in claim 1, it is characterised in that the interface identification based on the interface currently shown, In corresponding relation between the VR interface identifications and non-VR interface identifications of storage before acquisition target interface mark, in addition to:
The interface identification at multiple VR interfaces under acquisition VR patterns and the multiple VR interfaces are corresponding more under non-VR patterns The interface identification at individual non-VR interfaces;
The interface identification at the multiple VR interfaces and the interface identification at the multiple non-VR interfaces are corresponded into storage, institute is obtained State the corresponding relation between VR interface identifications and non-VR interface identifications.
3. according to the method described in claim 1, it is characterised in that described identified based on the target interface is cut into row mode Change, including:
When the target interface is designated the interface identification under non-VR patterns, obtains the target interface and identify corresponding non-VR Interface;
Obtain and apply the content shown in corresponding VR interfaces belonging to the non-VR interfaces;
The content got is included at the non-VR interfaces.
4. according to the method described in claim 1, it is characterised in that described identified based on the target interface is cut into row mode Change, including:
When the target interface is designated the interface identification under VR patterns, obtains the target interface and identify corresponding VR circle Face;
Obtain and apply the content shown in corresponding non-VR interfaces belonging to the VR interfaces;
The content got is included at the VR interfaces.
5. the device switched between a kind of VR patterns and non-VR patterns, it is characterised in that described device includes:
First acquisition module, for when detecting switching command, obtaining the interface identification at the interface currently shown;
Second acquisition module, for the interface identification based on the interface currently shown, from the VR interface identifications of storage with it is non- Target interface mark is obtained in corresponding relation between VR interface identifications;
Handover module, for carrying out pattern switching based on target scene mark.
6. device as claimed in claim 5, it is characterised in that described device also includes:
3rd acquisition module, for obtain multiple VR interfaces under VR patterns interface identification and the multiple VR interfaces non- The interface identification at corresponding multiple non-VR interfaces under VR patterns;
Memory module, for by a pair of the interface identification at the multiple VR interfaces and the interface identification one at the multiple non-VR interfaces It should store, obtain the corresponding relation between the VR interface identifications and non-VR interface identifications.
7. device according to claim 5, it is characterised in that the handover module includes:
First acquisition submodule, for be designated when the target interface under non-VR patterns interface identification when, obtain the mesh Mark the corresponding non-VR interfaces of interface identification;
Second acquisition submodule, the content shown in corresponding VR interfaces is applied for obtaining belonging to the non-VR interfaces;
First display sub-module, for the content got to be included at the non-VR interfaces.
8. device according to claim 5, it is characterised in that the handover module includes:
3rd acquisition submodule, for be designated when the target interface under VR patterns interface identification when, obtain the target The corresponding VR interfaces of interface identification;
4th acquisition submodule, the content shown in corresponding non-VR interfaces is applied for obtaining belonging to the VR interfaces;
Second display sub-module, for the content got to be included at the VR interfaces.
9. the device switched between a kind of VR patterns and non-VR patterns, it is characterised in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the step of processor is configured as any one method described in claim 1-4.
10. be stored with instruction on a kind of computer-readable recording medium, the computer-readable recording medium, it is characterised in that The step of instruction realizes any one method described in claim 1-4 when being executed by processor.
CN201710444455.6A 2017-06-13 2017-06-13 Method and device for switching between VR mode and non-VR mode Active CN107272896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710444455.6A CN107272896B (en) 2017-06-13 2017-06-13 Method and device for switching between VR mode and non-VR mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710444455.6A CN107272896B (en) 2017-06-13 2017-06-13 Method and device for switching between VR mode and non-VR mode

Publications (2)

Publication Number Publication Date
CN107272896A true CN107272896A (en) 2017-10-20
CN107272896B CN107272896B (en) 2020-06-02

Family

ID=60066757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710444455.6A Active CN107272896B (en) 2017-06-13 2017-06-13 Method and device for switching between VR mode and non-VR mode

Country Status (1)

Country Link
CN (1) CN107272896B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976889A (en) * 2019-03-26 2019-07-05 孙涛 A kind of multitask coordinated processing method based on intelligent glasses
CN114612635A (en) * 2022-02-28 2022-06-10 北京行者无疆科技有限公司 Method and device capable of switching between augmented reality mode and virtual reality mode
CN115550886A (en) * 2022-11-29 2022-12-30 蔚来汽车科技(安徽)有限公司 Vehicle-mounted augmented reality equipment control method and system and vehicle-mounted interaction system
KR20230009128A (en) * 2021-07-08 2023-01-17 리모캐스트 주식회사 Method and apparatus for providing game contents using augmented reality view

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3062280A1 (en) * 2015-02-26 2016-08-31 Staging Design Inc. Method and system of management for switching virtual-reality mode and augmented-reality mode
CN106406907A (en) * 2016-10-11 2017-02-15 传线网络科技(上海)有限公司 Application program flow execution control method and device
CN106598514A (en) * 2016-12-01 2017-04-26 惠州Tcl移动通信有限公司 Method and system for switching virtual reality mode in terminal device
CN106791779A (en) * 2016-12-13 2017-05-31 深圳市潘多拉虚拟与现实科技有限公司 A kind of video player and image display method, system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3062280A1 (en) * 2015-02-26 2016-08-31 Staging Design Inc. Method and system of management for switching virtual-reality mode and augmented-reality mode
CN106406907A (en) * 2016-10-11 2017-02-15 传线网络科技(上海)有限公司 Application program flow execution control method and device
CN106598514A (en) * 2016-12-01 2017-04-26 惠州Tcl移动通信有限公司 Method and system for switching virtual reality mode in terminal device
CN106791779A (en) * 2016-12-13 2017-05-31 深圳市潘多拉虚拟与现实科技有限公司 A kind of video player and image display method, system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976889A (en) * 2019-03-26 2019-07-05 孙涛 A kind of multitask coordinated processing method based on intelligent glasses
CN109976889B (en) * 2019-03-26 2024-01-23 孙涛 Multitasking collaborative processing method based on intelligent glasses
KR20230009128A (en) * 2021-07-08 2023-01-17 리모캐스트 주식회사 Method and apparatus for providing game contents using augmented reality view
CN114612635A (en) * 2022-02-28 2022-06-10 北京行者无疆科技有限公司 Method and device capable of switching between augmented reality mode and virtual reality mode
CN115550886A (en) * 2022-11-29 2022-12-30 蔚来汽车科技(安徽)有限公司 Vehicle-mounted augmented reality equipment control method and system and vehicle-mounted interaction system
CN115550886B (en) * 2022-11-29 2023-03-28 蔚来汽车科技(安徽)有限公司 Vehicle-mounted augmented reality equipment control method and system and vehicle-mounted interaction system

Also Published As

Publication number Publication date
CN107272896B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN105828201B (en) Method for processing video frequency and device
CN107145800A (en) Method for protecting privacy and device, terminal and storage medium
CN105516508A (en) Method and device for activating virtual SIM card
CN105204846A (en) Method for displaying video picture in multi-user video, device and terminal equipment
CN105263196A (en) Connection state prompting method and device
CN107608561A (en) Touch-screen control method and device
CN107730847A (en) Sharing articles finding method and device
CN107272896A (en) The method and device switched between VR patterns and non-VR patterns
CN104636453A (en) Illegal user data identification method and device
CN105975156A (en) Application interface display method and device
CN105654533A (en) Picture editing method and picture editing device
CN105530167A (en) Method and device for setting group name card
CN104516647A (en) Notification message processing method and device
CN105872573A (en) Video playing method and apparatus
CN105677023A (en) Information presenting method and device
CN105511739A (en) Message prompting method and device
CN106604230A (en) Region configuration method and region configuration device
CN105554087A (en) Information setting method and device
CN105468281A (en) Setup interface display method and device
CN104881342A (en) Terminal testing method and device
CN105677215A (en) Application control method and apparatus
CN104539497A (en) Network connecting method and device
CN105682187B (en) Icon display method and device
CN106506808A (en) The method and device pointed out by communication message
CN106775240A (en) The triggering method of application program, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant