CN107908447B - Application switching method and device and virtual reality device - Google Patents

Application switching method and device and virtual reality device Download PDF

Info

Publication number
CN107908447B
CN107908447B CN201711049914.7A CN201711049914A CN107908447B CN 107908447 B CN107908447 B CN 107908447B CN 201711049914 A CN201711049914 A CN 201711049914A CN 107908447 B CN107908447 B CN 107908447B
Authority
CN
China
Prior art keywords
application
virtual reality
image
switching
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711049914.7A
Other languages
Chinese (zh)
Other versions
CN107908447A (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 Pico Technology Co Ltd
Original Assignee
Beijing Pico Technology 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 Pico Technology Co Ltd filed Critical Beijing Pico Technology Co Ltd
Priority to CN201711049914.7A priority Critical patent/CN107908447B/en
Publication of CN107908447A publication Critical patent/CN107908447A/en
Application granted granted Critical
Publication of CN107908447B publication Critical patent/CN107908447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an application switching method, application switching equipment and virtual reality equipment. The method comprises the following steps: when a trigger signal for switching from a first application to a second application which is displayed currently is acquired, a full-screen display layer is created; when the first application is switched to the second application, displaying a preset image in a virtual reality display mode on a full screen display layer; and after the display of the second application is started, deleting the full-screen display layer, and displaying the content of the second application in the application display area. According to the invention, the phenomena of screen blockage, screen blackness and the like in application switching can be avoided, smooth virtual reality visual experience is provided for users, the running performance of the application is not influenced, and the implementation is simple and efficient.

Description

Application switching method and device and virtual reality device
Technical Field
The invention relates to the technical field of virtual reality, in particular to an application switching method and device and virtual reality equipment.
Background
With the development of virtual reality technology and the popularization of virtual reality devices, virtual reality applications supporting the operation of mobile terminals (such as mobile phones) are also emerging. The user can use the virtual reality device to watch the virtual reality application running on the mobile terminal, and the virtual reality experience is obtained.
In order to view the non-virtual reality application which is originally supported to operate by the mobile terminal, most of the existing virtual reality equipment can process the application image of the non-virtual reality application which is operated by the mobile terminal to obtain an image which is correspondingly supported to be displayed by virtual reality, so that a user can view the non-virtual reality application which is operated by the mobile terminal through the virtual reality equipment to obtain virtual reality experience.
However, the running of the virtual reality application usually involves complex algorithms such as image processing and scene loading, the computation amount is large, more processing resources are occupied, and especially, when switching is performed between different virtual reality applications or between a virtual reality application and a non-virtual reality application, exiting of the running virtual reality application and starting of a new virtual reality application are involved, a large amount of computation is required, large processing resources are consumed, the processing time is long, and the phenomena of black screen, picture blocking and the like occur when a user watches through the virtual reality device, so that the user experience is influenced.
Accordingly, the inventors have determined that there is a need for improvement of the above-described problems in the prior art.
Disclosure of Invention
An object of the present invention is to provide a new technical solution for switching applications in virtual devices.
According to a first aspect of the present invention, there is provided an application switching method, including:
when a trigger signal for switching from a first application to a second application which is displayed currently is acquired, a full-screen display layer is created and arranged at the forefront of an application display area so as to cover the application display area;
displaying a preset image in a virtual reality display mode on the full screen display layer while performing the switching of the first application to the second application,
wherein the switching of the first application to the second application comprises exiting the display of the first application and launching the display of the second application;
and after the display of the second application is started, deleting the full-screen display layer, and displaying the content of the second application in the application display area.
Optionally, the method further comprises:
and generating the preset image supporting the virtual reality display mode according to the acquired image materials through the full-screen display layer.
Optionally, the step of generating the preset image includes:
constructing a virtual reality environment in the full screen display layer, fusing the image material with a preset virtual reality scene based on the virtual reality environment to generate the preset image,
the virtual reality environment is used for implementing steps of left and right eye rendering, deformation, optical processing and the like.
Alternatively,
the image material comprises a first image material obtained from the first application;
the method further comprises the following steps:
when the first application is a non-virtual reality application, acquiring an image of an end frame of the first application as the first image material,
alternatively, the first and second electrodes may be,
when the first application is a virtual reality application, acquiring an image generated by monocular data provided by the first application as the first image material;
and when the first application exits, executing the step of generating and displaying the preset image according to the first image material.
Alternatively,
the image material comprises a second image material acquired from the second application;
the method further comprises the following steps:
when the second application is a non-virtual reality application, acquiring an image of a start frame of the second application as the second image material,
alternatively, the first and second electrodes may be,
when the second application is a virtual reality application, acquiring an image generated by monocular data provided by the second application as the second image material;
and when the second application is started, the step of generating and displaying the preset image is executed according to the second image material.
Alternatively,
the image materials comprise preset third image materials;
and after the first application is finished exiting and before the second application is started, executing the step of generating and displaying the preset image according to the third image material.
Optionally, the image material is a preset default animation material.
According to a second aspect of the present invention, there is provided an application switching apparatus comprising:
the device comprises a creating unit, a display unit and a display unit, wherein the creating unit is used for creating a full-screen display layer when a trigger signal for switching from a first application to a second application which is displayed currently is acquired, and the full-screen display layer is arranged at the forefront of an application display area so as to cover the application display area;
a display unit for displaying a preset image in a virtual reality display mode on the full-screen display layer when switching of the first application to the second application is performed,
wherein the switching of the first application to the second application comprises exiting the display of the first application and launching the display of the second application;
and the switching display unit is used for deleting the full-screen display layer after the second application is started and displayed, and switching to display the content of the second application through the application display area.
Optionally, the apparatus further comprises:
and the generating unit is used for generating the preset image supporting the virtual reality display mode according to the acquired image material through the full-screen display layer.
According to a third aspect of the present invention, a virtual reality device is provided, which includes the application switching device provided in the second aspect.
The inventor of the invention finds that in the prior art, when the display application of the virtual reality device is switched, the phenomena of black screen, blocked picture and the like occur, and the user experience is influenced. Through establishing independent full-screen display layer when switching the application to the virtual reality display mode shows preset image, avoids appearing the phenomenon such as picture card pause, black screen in the application switches, provides the smooth virtual reality visual experience of user to do not influence the performance of application operation, implement simple high-efficient. Therefore, the technical task to be achieved or the technical problems to be solved by the present invention are never thought or anticipated by those skilled in the art, and therefore the present invention is a new technical solution.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram showing an example of a hardware configuration of an electronic apparatus that can be used to implement an embodiment of the present invention.
Fig. 2 shows a flowchart of an application switching method of an embodiment of the present invention.
Fig. 3 is a schematic diagram of an example of an application switching method of an embodiment of the present invention.
Fig. 4 shows a block diagram of an application switching device of an embodiment of the present invention.
FIG. 5 illustrates a block diagram of a virtual reality device of an embodiment of the invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram showing a hardware configuration of an electronic apparatus 1000 that can implement an embodiment of the present invention.
The electronic device 1000 may be a laptop, desktop, cell phone, tablet, etc. Or virtual reality products such as virtual reality glasses and virtual reality helmets can be further used. As shown in fig. 1, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 is capable of wired or wireless communication, for example, and may specifically include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the speaker 1700 and the microphone 1800.
The electronic device shown in fig. 1 is merely illustrative and is in no way meant to limit the invention, its application, or uses. In an embodiment of the present invention, the memory 1200 of the electronic device 1000 is configured to store instructions, which are used to control the processor 1100 to perform any application switching method provided in the embodiment of the present invention. It will be appreciated by those skilled in the art that although a plurality of means are shown for the electronic device 1000 in fig. 1, the present invention may relate to only some of the means therein, e.g. the electronic device 1000 relates to only the processor 1100 and the storage means 1200. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
< example >
< application switching method >
In this embodiment, an application switching method is provided, and is applied to a virtual reality device. The virtual reality equipment can provide services for users to watch virtual reality applications or obtain virtual reality experiences through non-virtual reality applications, and can be virtual reality helmets, virtual reality glasses and the like.
The application switching method, as shown in fig. 2, includes:
in step S2100, when a trigger signal for switching from the currently displayed first application to the second application is acquired, a full-screen display layer is created.
The full-screen display layer is arranged at the forefront of the application display area so as to cover the application display area.
In this embodiment, the first application and the second application are applications that support being watched by a virtual reality device to obtain a virtual reality experience, and the applications may be virtual reality applications or non-virtual reality applications (for example, native applications developed based on an Android system). It should be understood that the terms "first," "second," and the like are used merely for convenience in distinguishing between similar elements and not necessarily for describing a sequential or chronological order.
The trigger signal for switching from the currently displayed first application to the second application may be generated automatically by the virtual reality device of the embodiment having the application, or generated by triggering according to an operation performed by a user on the virtual reality device or an external device (e.g., a mobile phone) of the virtual reality device, which is not limited in this embodiment.
And displaying the running application in an application display area in a display screen of the virtual reality equipment, so that a user can watch and acquire the virtual reality experience of the application. The application display area is typically a full screen or a full field of view.
In this embodiment, the full-screen display layer created when the trigger signal for switching the application is acquired is independent of any application, can be independently operated, and has no logical association with the operation of the currently displayed first application and the second application to be switched.
The full-screen display layer is arranged at the top of the display area and covers the application display area, so that the content displayed in the full-screen display layer is visually observed by a user. In the subsequent steps in this embodiment, the full-screen display layer can be controlled to display the preset image in the application switching process in the virtual reality display mode, so that the phenomena of black screen and picture pause caused by long switching processing time between virtual reality applications or between the virtual reality applications and non-virtual reality applications are avoided, the user can obtain the virtual reality visual experience when the applications are switched, and the visual display optimization is realized. Meanwhile, the full-screen display layer is not logically associated with the running application, the running performance of the equipment is not influenced, and the realization efficiency is high.
Specifically, a full-screen display layer in this embodiment may be created by using a function of creating a layer (display layer) provided by a similar Android system, the priority of the full-screen display layer is set to be the highest, the attribute is a full screen, the full-screen display layer is controlled to be displayed in a virtual reality mode, the display content is a preset image and the time for displaying the preset image, the independent display layer may be operated at the start of application switching, and the independent display layer is deleted after the switching is successful, so that the operation performance of the application is not affected, and the visual display optimization is realized.
Step S2200, displaying a preset image in a virtual reality display mode on a full screen display layer when the switching from the first application to the second application is executed,
specifically, the switching of the first application to the second application includes exiting the display of the first application and launching the display of the second application. The display of exiting the first application may be the display of ending the exit of the first application or may be the display of exiting only the first application, which is still running in the background. The display of starting the second application may be a display of starting the second application running in the background, or may be a display of starting a second application not running.
And in the whole process of executing the switching from the first application to the second application, displaying a preset image in a virtual reality display mode through the independent display layer. The virtual reality display mode is a display mode for integrating images, audios and videos through operation processing to realize interactive three-dimensional dynamic views and entity behaviors, and virtual reality experience immersed in a simulation environment is provided.
The preset image is displayed in the virtual reality display mode, the phenomena of black screen and picture blocking caused by long switching processing time between virtual reality applications or between the virtual reality applications and non-virtual reality applications are avoided, a user can obtain the virtual reality visual experience of the flow when the applications are switched, and visual display optimization is achieved. Meanwhile, the full-screen display layer is not in logical association with the running application, the running performance of the application is not influenced, and the implementation efficiency is high.
Specifically, the application switching method provided in this embodiment further includes:
and generating the preset image supporting the virtual reality display mode according to the acquired image materials through the full-screen display layer.
The generating of the preset image may include:
constructing a virtual reality environment in a full screen display layer, fusing the pixel materials with a preset virtual reality scene based on the virtual reality environment to generate a preset image,
the virtual reality environment is used for implementing steps of left-right eye rendering, deformation, optical processing, and the like, and specifically, the purpose of constructing the virtual reality environment may be accomplished through a program code or an instruction set, which is not limited in this embodiment.
Based on the virtual reality environment, the image material can be fused with a preset virtual reality scene, the virtual reality scene can be a 3D scene model preset according to specific application requirements, for example, the virtual reality scene is limited by the operational capability of the device implementing the embodiment, and can be set as a simple scene model with less processing resource consumption, or an interface can be provided for a user to select or upload a scene model meeting visual requirements.
The preset image obtained after the image material and the virtual reality scene are fused is displayed in the virtual reality display mode through the full-screen display layer, the virtual reality visual demand of a user during application switching can be met, meanwhile, the application running performance is not influenced, and the user experience is improved.
The image material is a material that can be used to generate a preset image that supports virtual reality display mode display, and may be a static or dynamic image.
In one example, the image material includes a first image material obtained from the first application, and the application switching method further includes:
when the first application is a non-virtual reality application, acquiring an image of an end frame of the first application as a first image material, or when the first application is a virtual reality application, acquiring an image generated by monocular data provided by the first application as the first image material;
when the display of the first application is exited, the step of generating and displaying the preset image in the present embodiment is performed according to the first image material.
The method comprises the steps of obtaining a first image material according to the application type of a first application, extracting an image of an end frame of the first application as the image material when the first application is a non-virtual reality application, wherein the non-virtual reality application generally provides single-eye data of a left eye and a right eye respectively for left-eye and right-eye rendering processing to present an application image providing virtual reality experience when the first application is the non-virtual reality application, and the single-eye data provided by the first application and used for presenting the end or quitting the application can be extracted as the first image material.
When quitting from the display of first application, through full-screen display layer to the preset image that the virtual reality mode display generated according to first image material for the user can not only obtain smooth virtual reality's visual experience when the application switches, can also watch the application that confirms current display and quit, tracks application switching progress, reduces psychological wait expectation, promotes user experience.
In another example, the image material includes a second image material obtained from a second application, and the application switching method further includes:
when the second application is a non-virtual reality application, acquiring an image of a start frame of the second application as a second image material, or when the second application is a virtual reality application, acquiring an image generated by monocular data provided by the second application as a second image material;
and when the display of the second application is started, executing the step of generating and displaying the preset image according to the second image material.
The method includes the steps that a second image material is obtained according to the application type of a second application, when the second application is a non-virtual reality application, an image of a starting frame of the second application is extracted to serve as the image material, when the second application is the non-virtual reality application, the non-virtual reality application generally provides single-eye data of a left eye and a right eye respectively to conduct left-eye and right-eye rendering processing to present application images providing virtual reality, and the single-eye data provided by the second application and used for presenting starting or entering the application can be extracted to serve as the second image material.
When the display of the second application is started to enter, the preset image generated according to the second image material is displayed in the virtual reality mode through the full-screen display layer, so that a user can not only obtain smooth visual experience of virtual reality when the application is switched, but also can watch and confirm the application to be switched when the application is started to enter, the application switching progress is tracked, the psychological waiting expectation is reduced, and the user experience is improved.
In practical application, because the calculation amount of the virtual reality application is large, the processing time delay is long from the time of triggering the display of the started application to the time of starting the display of the application, and a black screen or a picture pause phenomenon may occur in the process.
In this embodiment, the image material includes a preset third image material, and the step of generating and displaying the preset image is performed according to the third image material after the display of exiting the first application is completed and before the display of entering the second application is started.
The preset third image material may be an animation material preset according to a specific application requirement, and includes static or dynamic images, videos, and the like, for example, the preset third image material is limited by the computing capability of the device implementing the embodiment, and may be set as a static image with less processing resource consumption, or may provide an interface for a user to select or upload an image meeting a visual requirement.
After the display of exiting the first application is finished and before the display of entering the second application is started, the preset image generated according to the third image material is displayed in the virtual reality mode through the full-screen display layer, and the situation that the current display application exits from the picture or the black screen when the application is started and enters the application to be switched is avoided, so that a user can obtain smooth virtual reality visual experience, and the application running performance is not influenced.
In practical applications, the processing capability of the device according to this embodiment is limited, and more processing resources may be consumed to generate the corresponding preset image by obtaining the image material from the application when the application is switched, so that processing delay is caused, and a phenomenon of short-time black screen or image blocking still cannot be avoided.
Therefore, in the present embodiment, the image material may be a preset default animation material. The default animation material comprises static or dynamic images, videos and the like, can be an animation material with small storage capacity and simple content, so that processing resources consumed in subsequent steps are reduced, the processing efficiency is further improved, the phenomenon of short black screen or picture blockage caused by processing delay is avoided, and the visual experience of the virtual reality of a user is guaranteed.
Step S2300, after the display start of the second application is completed, deleting the full-screen display layer, and displaying the content of the second application in the application display area.
In the process of executing application switching, displaying a preset image in a virtual reality display mode through a full-screen display layer, executing application switching in parallel in a background, wherein the application switching comprises quitting a first application and starting a second application, deleting the full-screen display layer after the second application is started, namely the application switching is successful, and switching to display the second application through an application display area. The phenomenon of picture blocking or screen blacking in the application switching process is avoided, so that a user can obtain smooth virtual reality visual experience in the application switching process, the running performance of background application is not influenced, and the implementation is simple and efficient.
< example >
The application switching method provided in this embodiment will be further illustrated with reference to fig. 3.
In this example, the first application is application a, the second application is application B, which may be a virtual reality application or a non-virtual reality application, and may be run in a mobile phone, and the virtual reality experience is obtained by running a virtual reality helmet viewing application.
The method comprises the following steps:
step S301, in response to the mobile phone operation of the user, triggering virtual reality equipment to switch the currently displayed application A to the application B;
step S302, when a trigger signal for switching the application is acquired, an independent full-screen display layer is created to cover the current application display area, and the background executes the quit application A and the trigger start application B in parallel;
step S303, acquiring a first image material from the application a, where the specific acquiring step is described in detail in step S2200 of fig. 2, and is not described herein again;
step S304, displaying and displaying the preset image generated by the first image material in a virtual reality display mode through the full-screen display layer, where the specific steps of generating and displaying are described in detail in step S2200 of fig. 2 and are not described herein again; simultaneously, the background executes the quit application A and the start application B in parallel;
step S305, the background finishes exiting the application a, and displays the preset image generated by the third image material in the virtual reality display mode through the full-screen display layer, where the specific steps of generating and displaying are described in detail in step S2200 of fig. 2 and are not described again here; it should be understood that the process of launching application B continues in parallel;
step S306, acquiring a second image material from the application B, where the specific acquiring step is described in detail in step S2200 of fig. 2, and is not described herein again;
step S307, displaying a preset image generated by the second image material in a virtual reality display mode through the full-screen display layer, where the specific steps of generating and displaying are described in detail in step S2200 of fig. 2 and are not described again here;
and step S308, deleting the full-screen display layer and displaying the application B after the application B is started.
In this example, in the process of executing application switching, a preset image is displayed in a virtual reality display mode through a full-screen display layer, and the preset image can reflect that the currently displayed application exits from display and starts to display the application to be switched, so that a user can have smooth virtual reality visual experience, the execution of application switching is not influenced, and the implementation is simple and efficient.
< application switching apparatus >
In this embodiment, an application switching apparatus 4000 is further provided, as shown in fig. 4, and includes a creating unit 4100, a display unit 4200, and a switching display unit 4300, and optionally further includes a generating unit 4400, which is configured to implement any one of the application switching methods provided in this embodiment, and details are not repeated here.
The application switching apparatus 4000 includes:
a creating unit 4100, configured to create a full-screen display layer when a trigger signal for switching from a currently displayed first application to a second application is acquired, where the full-screen display layer is disposed at the forefront of an application display area to cover the application display area;
a display unit 4200 for displaying a preset image in a virtual reality display mode on the full screen display layer when switching of the first application to the second application is performed,
wherein the switching of the first application to the second application comprises exiting the display of the first application and launching the display of the second application;
and the switching display unit 4300 is configured to delete the full-screen display layer after the second application is started and displayed, and switch to display the content of the second application through the application display area.
Optionally, the apparatus further comprises:
the generating unit 4400 is configured to generate the preset image supporting the virtual reality display mode according to the acquired image material through the full-screen display layer.
Optionally, the generating unit 4400 is further configured to:
constructing a virtual reality environment in the full screen display layer, fusing the image material with a preset virtual reality scene based on the virtual reality environment to generate the preset image,
the virtual reality environment is used for implementing steps of left and right eye rendering, deformation, optical processing and the like.
Alternatively,
the image material comprises a first image material obtained from the first application;
the generating unit 4400 is further configured to:
when the first application is a non-virtual reality application, acquiring an image of an end frame of the first application as the first image material,
alternatively, the first and second electrodes may be,
when the first application is a virtual reality application, acquiring an image generated by monocular data provided by the first application as the first image material;
and when the display of the first application is quitted, executing the step of generating and displaying the preset image according to the first image material.
Alternatively,
the image material comprises a second image material acquired from the second application;
the generating unit 4400 is further configured to:
when the second application is a non-virtual reality application, acquiring an image of a start frame of the second application as the second image material,
alternatively, the first and second electrodes may be,
when the second application is a virtual reality application, acquiring an image generated by monocular data provided by the second application as the second image material;
and when the display of the second application is started, the step of generating and displaying the preset image is executed according to the second image material.
Optionally, the image material includes a preset third image material;
the generating unit 4400 is further configured to:
and after the display of the first application is finished and before the display of the second application is started, executing the step of generating and displaying the preset image according to the third image material.
Optionally, the image material is a preset default animation material.
In this embodiment, the application switching device 4000 is applied to a virtual reality device, and may be a peripheral function module or a device connected to the virtual reality device, or a software or hardware device embedded or set in the virtual reality device, or a software program implemented by controlling a processor to run through an executable instruction stored in a memory in the virtual reality device, which is not limited in this embodiment.
It will be appreciated by those skilled in the art that the application switching device 4000 may be implemented in various ways. For example, application switching device 4000 may be implemented by an instruction configuration processor. For example, instructions may be stored in ROM and read from ROM into a programmable device to implement application switching device 4000 when the device is started. For example, application switching device 4000 may be cured into a dedicated device (e.g., an ASIC). The application switching apparatus 4000 may be divided into units independent of each other, or may be implemented by combining them together. The application switching device 4000 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
< virtual reality device >
In this embodiment, a virtual reality device 5000 is further provided, as shown in fig. 5, including the application switching device shown in fig. 4.
In this embodiment, the virtual reality device 5000 may be a virtual reality helmet, virtual reality glasses. In a specific example, the hardware configuration may be the electronic device 1000 shown in fig. 1.
The embodiments of the present invention have been described above with reference to the accompanying drawings and examples, and according to the embodiments, an application switching method, an application switching apparatus, and a virtual reality apparatus are provided, in which an independent full-screen display layer is created when an application is switched, and a preset image is displayed in a virtual reality display mode, so that phenomena such as screen blocking and black screen are avoided during application switching, smooth virtual reality visual experience is provided for a user, performance of application operation is not affected, and implementation is simple and efficient.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

1. An application switching method, comprising:
when a trigger signal for switching from a first application to a second application which is displayed currently is acquired, a full screen display layer is created, the full screen display layer is arranged at the forefront of an application display area to cover the application display area, and the full screen display layer is not logically associated with the operation of the first application which is displayed currently and the second application to be switched;
displaying a preset image in a virtual reality display mode on the full screen display layer while performing the switching of the first application to the second application,
wherein the switching of the first application to the second application comprises exiting the display of the first application and launching the display of the second application; and after the display of the second application is started, deleting the full-screen display layer, and displaying the content of the second application in the application display area.
2. The method of claim 1, further comprising:
and generating the preset image supporting the virtual reality display mode according to the acquired image materials through the full-screen display layer.
3. The method of claim 2, wherein the step of generating the preset image comprises:
constructing a virtual reality environment in the full screen display layer, fusing the image material with a preset virtual reality scene based on the virtual reality environment to generate the preset image,
the virtual reality environment is used for implementing left and right eye rendering, deformation and optical processing steps.
4. The method of claim 2,
the image material comprises a first image material obtained from the first application;
the method further comprises the following steps:
when the first application is a non-virtual reality application, acquiring an image of an end frame of the first application as the first image material,
alternatively, the first and second electrodes may be,
when the first application is a virtual reality application, acquiring an image generated by monocular data provided by the first application as the first image material;
and when the display of the first application is quitted, executing the step of generating and displaying the preset image according to the first image material.
5. The method of claim 2,
the image material comprises a second image material acquired from the second application;
the method further comprises the following steps:
when the second application is a non-virtual reality application, acquiring an image of a start frame of the second application as the second image material,
alternatively, the first and second electrodes may be,
when the second application is a virtual reality application, acquiring an image generated by monocular data provided by the second application as the second image material;
and when the display of the second application is started, the step of generating and displaying the preset image is executed according to the second image material.
6. The method of claim 2,
the image materials comprise preset third image materials;
and after the display of the first application is finished and before the display of the second application is started, executing the step of generating and displaying the preset image according to the third image material.
7. The method of claim 2,
the image material is a preset default animation material.
8. An application switching device, comprising:
the device comprises a creating unit, a switching unit and a switching unit, wherein the creating unit is used for creating a full screen display layer when a trigger signal for switching a currently displayed first application to a second application is acquired, the full screen display layer is arranged at the forefront of an application display area to cover the application display area, and the full screen display layer is not logically associated with the currently displayed first application and the operation of the second application to be switched;
a display unit for displaying a preset image in a virtual reality display mode on the full-screen display layer when switching of the first application to the second application is performed,
wherein the switching of the first application to the second application comprises exiting the display of the first application and launching the display of the second application;
and the switching display unit is used for deleting the full-screen display layer after the second application is started and displayed, and switching to display the content of the second application through the application display area.
9. The apparatus of claim 8, further comprising:
and the generating unit is used for generating the preset image supporting the virtual reality display mode according to the acquired image material through the full-screen display layer.
10. A virtual reality apparatus, characterized in that,
comprising an application switching device according to claim 8 or 9.
CN201711049914.7A 2017-10-31 2017-10-31 Application switching method and device and virtual reality device Active CN107908447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711049914.7A CN107908447B (en) 2017-10-31 2017-10-31 Application switching method and device and virtual reality device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711049914.7A CN107908447B (en) 2017-10-31 2017-10-31 Application switching method and device and virtual reality device

Publications (2)

Publication Number Publication Date
CN107908447A CN107908447A (en) 2018-04-13
CN107908447B true CN107908447B (en) 2021-06-11

Family

ID=61843076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711049914.7A Active CN107908447B (en) 2017-10-31 2017-10-31 Application switching method and device and virtual reality device

Country Status (1)

Country Link
CN (1) CN107908447B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359009B (en) * 2018-10-12 2022-05-17 Oppo广东移动通信有限公司 Display control method, electronic device, and computer-readable storage medium
CN109767481A (en) * 2018-12-29 2019-05-17 北京诺亦腾科技有限公司 A kind of VR method for changing scenes and device
CN112333514B (en) * 2020-07-24 2024-02-06 深圳Tcl新技术有限公司 Display mode switching method and device, intelligent television and computer readable storage medium
CN115167954A (en) * 2021-04-06 2022-10-11 Oppo广东移动通信有限公司 User interface display method, device, equipment and storage medium
CN113031781A (en) * 2021-04-16 2021-06-25 深圳市慧鲤科技有限公司 Augmented reality resource display method and device, electronic equipment and storage medium
CN113674704A (en) * 2021-08-17 2021-11-19 青岛信芯微电子科技股份有限公司 Image display control method and device and display equipment
CN115086745B (en) * 2022-06-30 2024-01-23 北京字跳网络技术有限公司 Live video processing method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650672A (en) * 2009-08-19 2010-02-17 中兴通讯股份有限公司 Switching method and device of display picture layers based on mobile phone terminal
CN103544059A (en) * 2013-07-16 2014-01-29 Tcl集团股份有限公司 Implementation method and system for awaiting and buffering effect at time of application switching
CN104346073A (en) * 2014-09-22 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7389358B1 (en) * 2000-09-13 2008-06-17 Fortinet, Inc. Distributed virtual system to support managed, network-based services
CN107239333B (en) * 2017-05-24 2020-10-09 歌尔科技有限公司 Application switching processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650672A (en) * 2009-08-19 2010-02-17 中兴通讯股份有限公司 Switching method and device of display picture layers based on mobile phone terminal
CN103544059A (en) * 2013-07-16 2014-01-29 Tcl集团股份有限公司 Implementation method and system for awaiting and buffering effect at time of application switching
CN104346073A (en) * 2014-09-22 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN107908447A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN107908447B (en) Application switching method and device and virtual reality device
CN108260018B (en) Full screen setting method and device for webpage video and webpage video setting mobile device
CN112218170B (en) Live interface interaction method and device, electronic equipment and computer readable medium
CN107168780B (en) Virtual reality scene loading method and equipment and virtual reality equipment
US20200007944A1 (en) Method and apparatus for displaying interactive attributes during multimedia playback
EP3454198A1 (en) Method and apparatus for controlling application
CN108363534B (en) Global preview method and device of editable object and electronic equipment
CN106598739B (en) video rendering method and device
CN110620954B (en) Video processing method, device and storage medium for hard solution
CN111790148B (en) Information interaction method and device in game scene and computer readable medium
CN112261226A (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN113225483B (en) Image fusion method and device, electronic equipment and storage medium
CN112165632A (en) Video processing method, device and equipment
CN107203425B (en) Switching method and device of light application and electronic device
CN106896915B (en) Input control method and device based on virtual reality
CN113076048A (en) Video display method and device, electronic equipment and storage medium
CN115543535B (en) Android container system, android container construction method and device and electronic equipment
CN110753251A (en) Video switching method and device and electronic equipment
US20170308397A1 (en) Method and apparatus for managing task of instant messaging application
CN109947506B (en) Interface switching method and device and electronic equipment
CN113010300A (en) Image effect refreshing method and device, electronic equipment and computer readable storage medium
CN107479692B (en) Virtual reality scene control method and device and virtual reality device
CN111726671A (en) Method, equipment and electronic equipment for playing media information
CN111158802A (en) Audio playing method and equipment, client device and electronic equipment
CN114779936A (en) Information display method and device, electronic equipment and storage medium

Legal Events

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