Application program running method and device, storage medium and electronic equipment
By building multiple application environments in virtual reality space, users can run different applications in different virtual reality spaces, solving the problem of low application usage efficiency in virtual reality space, achieving the effect of fast switching and efficient use .
Patent Information
- Application Number
- CN202310493902.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-11-05
AI Technical Summary
Using applications in virtual reality spaces is less efficient and requires frequent shutdown and startup of applications to switch usage.
By building multiple virtual reality spaces and running different applications in each space, users can quickly switch to different applications by switching to virtual reality spaces.
Improves the efficiency of using applications in virtual reality spaces, and users can quickly switch to different applications without having to frequently close and start applications.
Smart Images

Figure CN118897719A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and in particular, relates to an application running method, device, computer-readable storage medium and electronic device. Background Art
[0002] With the development of Extended Reality (XR) technology, XR devices are gradually being used in various industries, such as the film and television industry, education industry, and electronics industry. Among them, XR devices refer to a combination of real and virtual environments that can interact with humans and machines, which are generated by computer technology and wearable devices. It is a general term for various forms such as augmented reality (AR), virtual reality (VR), and mixed reality (MR).
[0003] In the related art, a user can start a corresponding application in a virtual reality space, so that the user can immersively use the application in the virtual reality space. However, in the related art, the efficiency of using the application in the virtual reality space is low. Summary of the invention
[0004] The embodiments of the present application provide an application running method, device, storage medium and electronic device, which can improve the efficiency of using the application in a virtual reality space.
[0005] In a first aspect, an embodiment of the present application provides a method for running an application program, including:
[0006] Build multiple VR spaces;
[0007] Different applications are run in each of the virtual reality spaces.
[0008] In a second aspect, an embodiment of the present application provides an application program running device, including:
[0009] Space construction module, used to build multiple virtual reality spaces;
[0010] The application running module is used to run different application programs in each of the virtual reality spaces.
[0011] In a third aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the application program running method provided by the embodiment of the present application.
[0012] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the processor is used to execute the application running method provided in the embodiment of the present application by calling a computer program stored in the memory.
[0013] In the embodiment of the present application, by constructing multiple virtual reality spaces and running different applications in each of the virtual reality spaces, different applications can be run in different virtual reality spaces at the same time, so that the user only needs to switch the virtual reality space in which he is located to immersively use different applications. Compared with the solution in the related art that still requires the user to close the currently running application in the virtual reality space and then start the application he wants to use in the virtual reality space, the use efficiency of using applications in the virtual space is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The technical solution and beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0015] Figure 1 This is a first flow chart of the application running method provided in the embodiment of the present application.
[0016] Figure 2 It is a scenario diagram for selecting an application scenario provided in an embodiment of the present application.
[0017] Figure 3 It is a scene schematic diagram of the divided space provided in an embodiment of the present application.
[0018] Figure 4 This is a second flow chart of the application running method provided in the embodiment of the present application.
[0019] Figure 5 It is a structural diagram of an application running device provided in an embodiment of the present application.
[0020] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] It should be noted that the terms "first", "second" and "third" in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules inherent to these processes, methods, products or devices.
[0022] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0023] The embodiments of the present application provide an application running method, an application running device, a storage medium, and an electronic device. The execution subject of the application running method can be the application running device provided in the embodiments of the present application, or an electronic device integrated with the application running device, wherein the application running device can be implemented in hardware or software. Among them, the electronic device can be a smart phone, a tablet computer, a PDA, a laptop computer, etc., which is equipped with a processor and has the ability to run applications.
[0024] In order to facilitate understanding of the embodiments of the present application, before describing each embodiment of the present application, some concepts involved in all embodiments of the present application are first appropriately explained, as follows:
[0025] (1) Virtual Reality (VR), also known as virtual technology or virtual environment, is a three-dimensional virtual world created by computer simulation, which provides users with simulation of visual and other senses, allowing users to feel as if they are in the real world and observe things in the three-dimensional space instantly and without restrictions. When the user moves, the computer can immediately perform complex calculations and transmit accurate three-dimensional world images back to create a sense of presence. This technology integrates the latest developments in computer graphics, computer simulation, artificial intelligence, sensing, display and network parallel processing. It is a high-tech simulation system generated with the assistance of computer technology, which allows users to immerse themselves in a simulated virtual reality environment and realize applications in a variety of virtual reality environments such as maps, games, videos, education, medical treatment, simulation, collaborative training, sales, assisted manufacturing, maintenance and repair.
[0026] (2) Augmented Reality (AR) is a technology that uses the position and angle of camera images and image analysis technology to enable the virtual world on the screen to be combined and interact with the real world scene. In other words, it is a technology that calculates the camera's posture parameters in the real world (or three-dimensional world, real world) in real time during the process of the camera capturing images, and adds virtual elements to the image captured by the camera based on the camera posture parameters. Virtual elements include but are not limited to: images, videos and three-dimensional models. The goal of AR technology is to integrate the virtual world with the real world on the screen for interaction.
[0027] (3) Mixed Reality (MR) mixes the real world and the virtual world to create a new visualization environment that contains both real world information and virtual world information. The real world and the virtual world can interact in real time. That is, a simulated setting that integrates computer-created sensory input (virtual objects) with sensory input from a physical setting or its representation. In some MR settings, the computer-created sensory input can adapt to changes in sensory input from the physical setting. In addition, some electronic systems used to run MR settings can monitor the orientation and / or position relative to the physical setting so that virtual objects can interact with real objects (i.e., physical elements from the physical setting or their representations). For example, the system can monitor movement so that virtual plants appear stationary relative to physical buildings.
[0028] (4) Extended Reality (XR) refers to all real and virtual combined environments and human-computer interactions generated by computer technology and wearable devices, which includes virtual reality (VR), augmented reality (AR) and mixed reality (MR) and other forms.
[0029] (5) Extended reality devices, such as virtual reality devices (VR devices), are terminals for realizing virtual reality effects. They can usually be provided in the form of glasses, head mount displays (HMDs), or contact lenses to realize visual perception and other forms of perception. Of course, the form of virtual reality devices is not limited to this and can be further miniaturized or enlarged according to actual needs.
[0030] Optionally, the virtual reality devices described in the embodiments of the present application may include but are not limited to the following types:
[0031] (5.1) PC VR devices use the PC to perform relevant calculations and data output for VR functions. External PC VR devices use the data output by the PC to achieve VR effects.
[0032] (5.2) Mobile virtual reality devices support the configuration of mobile terminals (such as smart phones) in various ways (such as head-mounted displays with dedicated card slots). Through wired or wireless connection with the mobile terminal, the mobile terminal performs relevant calculations for virtual reality functions and outputs data to the mobile virtual reality device, such as watching virtual reality videos through the mobile terminal's APP.
[0033] (5.3) All-in-one virtual reality devices have a processor for performing relevant calculations for virtual functions, and thus have independent virtual reality input and output functions. They do not need to be connected to a PC or mobile terminal and have a high degree of freedom in use.
[0034] (6) A virtual scene is a virtual scene displayed (or provided) when an application is running on an electronic device. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictional virtual scene, or a purely fictional virtual scene. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiments of the present application do not limit the dimensions of the virtual scene. For example, a virtual scene can include the sky, land, ocean, etc. The land can include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.
[0035] (7) Virtual objects are objects that interact in virtual scenes and are controlled by users or robot programs (e.g., robot programs based on artificial intelligence). They are objects that can be stationary, move, and perform various behaviors in virtual scenes, such as various characters in games.
[0036] The following is a detailed description of an application running method provided in an embodiment of the present application in conjunction with the accompanying drawings.
[0037] See also Figure 1 , Figure 1 This is a schematic diagram of a first process flow of the application program running method provided in an embodiment of the present application. The process flow may include:
[0038] In 101, multiple virtual reality spaces are constructed.
[0039] In this embodiment, multiple virtual reality spaces may be constructed first.
[0040] The number of virtual reality spaces can be determined according to the number of applications that need to be run simultaneously. For example, if the user wants to run five applications simultaneously, five virtual reality spaces can be constructed.
[0041] In an optional embodiment, customized services can be provided according to the personalized needs of users, allowing users to configure elements and resources in different virtual reality spaces, including layout, color, background, etc., to meet the personalized needs of users.
[0042] At 102, different applications are run in each virtual reality space.
[0043] Among them, application (Application, APP) refers to a computer program for completing one or more specific tasks. Applications may include XR applications and non-XR applications. Among them, XR applications can be applications that can be used immersively after the user wears an XR device, such as XR game applications, XR video applications, XR video conferencing applications, etc. Non-XR applications can be applications other than XR applications.
[0044] In this embodiment, after multiple virtual reality spaces are constructed, different applications can be run in each virtual reality space.
[0045] The application program running in each virtual reality space can be started and run by the user in each virtual reality space, or can be automatically started and run by the electronic device in each virtual reality space.
[0046] For example, three virtual reality spaces can be constructed, namely virtual reality spaces S1, S2 and S3. An XR game application can be run in virtual reality space S1, an XR video application can be run in virtual reality space S2, and an XR video conferencing application can be run in virtual reality space S3. Therefore, after putting on the XR device, the user can enter any virtual reality space among S1, S2 and S3 to immersively use the application running in any of S1, S2 and S3.
[0047] For example, the user can enter the virtual reality space S1, so that the user can use the VR game application to immersively play games in the virtual reality space S1. The user can also enter the virtual reality space S3, so that the user can use the video conferencing application to immersively hold a meeting in the virtual reality space S3. For example, the video conferencing application can generate a virtual conference table and a virtual image corresponding to each participant. After entering the virtual reality space S3, the user can see the virtual conference table and the virtual image corresponding to each participant, thereby experiencing a feeling similar to that of an offline meeting.
[0048] In this embodiment, by constructing multiple virtual reality spaces and running different applications in each virtual reality space, different applications can be run in different virtual reality spaces at the same time, so that users only need to switch the virtual reality space they are in to immersively use different applications. Compared with the solution in the related art that still requires the user to close the currently running application in the virtual reality space and then start the application he wants to use in the virtual reality space, the use efficiency of using applications in the virtual space is higher.
[0049] In an optional embodiment, before constructing multiple virtual reality spaces, the method further includes:
[0050] In response to a scene selection operation, determining an application scene selected by the scene selection operation;
[0051] Determine multiple applications corresponding to the application scenario;
[0052] Build multiple VR spaces, including:
[0053] Determining a target number of virtual reality spaces to be constructed based on the number of the plurality of applications;
[0054] Construct a target number of virtual reality spaces;
[0055] Run different applications in each VR space, including:
[0056] Run each application corresponding to the application scenario in each virtual reality space.
[0057] For example, different application scenarios and multiple application programs corresponding to each application scenario may be preset to obtain a preset mapping relationship between the application scenarios and the application programs.
[0058] For example, you can set a game + conference application scenario, and set multiple applications corresponding to the application scenario to be an XR game application and an XR video conferencing application. You can also set a browsing + writing scenario, and set multiple applications corresponding to the application scenario to be an XR video application and a non-XR writing application, and so on, so that you can get a preset mapping relationship between application scenarios and applications.
[0059] It should be noted that the embodiments of the present application do not limit the number of application scenarios, nor do they limit the number of application programs corresponding to each application scenario, which is subject to actual needs.
[0060] For example, Figure 2As shown, after putting on the XR device, the user can choose to enter the virtual reality space CS for the user to select a scene, so that the electronic device can show the user the virtual reality space CS for the user to select a scene, and then the user can see the virtual reality space CS for the user to select a scene through the XR device. Multiple virtual elements can be presented in the virtual reality space CS, and different virtual elements are used to represent different application scenarios, such as application scenarios C1, C2, C3, C4, C5 and C6.
[0061] The user can perform a scene selection operation in the virtual reality space CS to select the application scene he wants to select, so that the electronic device receives the scene selection operation of the user. In response to the scene selection operation, the electronic device can determine the application scene selected by the scene selection operation. For example, assuming that the application scene selected by the scene selection operation of the user is application scene C2, the electronic device can determine that the application scene selected by the scene selection operation is application scene C2.
[0062] Among them, the scene selection operation can be triggered by speaking the corresponding voice, making the corresponding gesture or touching the corresponding button on the handle.
[0063] For example, assuming that the user wants to select application scenario C2, the user can say "I select application scenario C2", so that the electronic device receives the user's scenario selection operation.
[0064] For another example, assuming that the user wants to select application scene C3, and application scene C3 corresponds to a certain gesture, the user can make the gesture, so that the electronic device receives the user's scene selection operation.
[0065] For another example, assuming that the user wants to select application scene C6, and application scene C6 corresponds to a button on the handle, the user can touch the button on the handle, so that the electronic device receives the user's scene selection operation.
[0066] After the application scenario selected by the scenario selection operation is determined, multiple application programs corresponding to the application scenario may be determined according to a preset mapping relationship between the application scenario and the application program.
[0067] For example, assuming that the application scenario selected by the scenario selection operation is application scenario C2, and the applications corresponding to application scenario C2 are applications A1 and A2, it can be determined that the multiple applications corresponding to application scenario C2 are applications A1 and A2.
[0068] After determining the multiple applications corresponding to the application scenario, the target number of virtual reality spaces to be constructed can be determined according to the number of the multiple applications, and then the target number of virtual reality spaces can be constructed. The target number can be the same as the number of applications.
[0069] For example, assuming that the multiple applications corresponding to the application scenario are applications A1 and A2, application A1 is a VR game application, and application A2 is a VR video conferencing application, then two virtual reality spaces can be constructed, such as virtual reality spaces S4 and S5, and the VR game application is run in virtual reality space S4, and the VR video conferencing application is run in the virtual reality space.
[0070] In an optional embodiment, in response to the scene selection operation, before determining the application scene selected by the scene selection operation, the method further includes:
[0071] In response to the scene setting operation, determining the application scene set by the scene setting operation and the multiple application programs corresponding thereto, and obtaining a preset mapping relationship between the application scene and the application program;
[0072] Identify multiple applications corresponding to the application scenario, including:
[0073] According to the preset mapping relationship, multiple application programs corresponding to the application scenario are determined.
[0074] In this embodiment, the user may also set different application scenarios and their corresponding application programs.
[0075] It should be noted that the embodiments of the present application do not limit the number of application scenarios set by the user, nor do they limit the types and numbers of applications corresponding to the application scenarios set by the user. Users can set the corresponding application scenarios and their corresponding applications according to their actual needs. After the user completes the settings, the electronic device can obtain the preset mapping relationship between the application scenarios and the applications based on the above settings.
[0076] In an optional embodiment, the electronic device will also pre-store a preset mapping relationship between application scenarios and applications. Then, after the user sets the application scenario and its corresponding application, the preset mapping relationship between the application scenario and the application stored before can be updated based on the user settings, such as adding a mapping relationship between the application scenario set by the user and its corresponding application, to obtain an updated preset mapping relationship between the application scenario and the application.
[0077] It can be understood that through the above settings, it is possible to implement a preset mapping relationship between application scenarios and applications based on user settings, determine the application corresponding to the application scenario selected by the user, and construct multiple virtual reality spaces accordingly, and then run the application corresponding to the application scenario selected by the user in each virtual reality space.
[0078] In an optional embodiment, multiple virtual reality spaces are constructed, including:
[0079] In response to a space division operation received in the virtual reality space to be divided, dividing the virtual reality space to be divided into a plurality of virtual reality spaces;
[0080] Run different applications in each VR space, including:
[0081] In response to the application execution operation received in each virtual reality space, a different application is executed in each virtual reality space.
[0082] In this embodiment, if the user wants to run multiple applications through multiple virtual reality spaces, the user can turn on the space splitting mode function, so that after the user wears the XR device, the electronic device can show the user the virtual reality space to be split. The user can perform a space splitting operation in the virtual reality space to be split, so that the electronic device receives the space splitting operation. In response to the space splitting operation, the virtual reality space to be split can be split into multiple virtual reality spaces.
[0083] In an optional embodiment, the space division operation may further indicate the number of virtual reality spaces after division. Then, in response to the space division operation, the virtual reality space to be divided may be divided into the number of virtual reality spaces.
[0084] Among them, the space division operation can be triggered by speaking the corresponding voice, making the corresponding gesture or touching the corresponding button on the handle.
[0085] For example, assuming that the user wants to run 5 applications through 5 virtual reality spaces, the user can say "Please divide 5 virtual reality spaces", so that the electronic device receives the user's space division operation.
[0086] For example, Figure 3 As shown, assuming that the user wants to run two applications through two virtual reality spaces, the user can make corresponding gestures, such as holding the handles with both hands together and drawing a "1" in the air, so that the electronic device receives the user's space division operation. In response to the space division operation, the virtual reality space to be divided can be divided into two independent virtual reality spaces on the left and right; the user can also hold the handles with both hands together and draw a "1" in the air, so that the electronic device receives the user's space division operation. In response to the space division operation, the virtual reality space to be divided can be divided into two independent virtual reality spaces on the top and bottom.
[0087] For another example, assuming that the user wants to run three applications through three virtual reality spaces, the user can touch a button on the handle, so that the electronic device receives the user's space division operation.
[0088] In an optional embodiment, the segmentation of the virtual reality space to be segmented may be parallel cutting in the horizontal or vertical direction, or may be free segmentation in any angle or shape.
[0089] In an optional embodiment, the user may also adjust the size, position or shape of each virtual reality space through gestures or voice.
[0090] In an optional embodiment, after running different applications in each virtual reality space, the method further includes:
[0091] Determine a virtual reality space to be displayed from multiple virtual reality spaces;
[0092] Display the application running in the virtual reality space to be displayed.
[0093] It is understandable that in order to avoid the confusion caused by displaying multiple virtual reality spaces to users at the same time, any one of the multiple virtual reality spaces can be determined as the virtual reality space to be displayed, and the virtual reality space to be displayed can be displayed, so that users wearing XR devices can directly immersively use the applications running in the virtual reality space to be displayed.
[0094] In an optional embodiment, the virtual reality space corresponding to the most frequently used application may be determined as the virtual reality space to be displayed, and the virtual reality space to be displayed may be displayed, so that users wearing XR devices can directly immersively use the application running in the virtual reality space to be displayed.
[0095] In an optional embodiment, if the application running in each virtual reality space is started by the user wearing the XR device entering each virtual reality space and then runs in each virtual reality space, then the virtual reality space entered by the user for the last time is the virtual reality space to be displayed, so that the user wearing the XR device can directly immersively use the application running in the virtual reality space to be displayed.
[0096] In an optional embodiment, after displaying the virtual reality space to be displayed, the method further includes:
[0097] In response to the space switching operation, the virtual reality space to be displayed is canceled, and the virtual reality space to be switched as indicated by the space switching operation is displayed.
[0098] It is understandable that when a user wearing an XR device wants to use an application other than the application running in the virtual reality space to be displayed, he or she can perform a space switching operation to cause the electronic device to switch the displayed virtual reality space, so that the user wearing the XR device can immersively use the application running in another virtual reality space.
[0099] Among them, the space switching operation can be triggered by speaking the corresponding voice, making the corresponding gesture (such as shaking the head, blinking or gesturing, etc.) or pressing the corresponding button on the touch handle.
[0100] For example, when there are only two virtual reality spaces, the user can say "switch space" so that the electronic device receives the space switching operation, thereby canceling the display of the virtual reality space to be displayed and displaying another virtual reality space. When there are multiple virtual reality spaces, the electronic device can set a corresponding number for each virtual reality space, and the user can say "switch to the space numbered XX" so that the electronic device receives the space switching operation, thereby canceling the display of the application running in the virtual reality space to be displayed and displaying the application running in the virtual reality space numbered XX.
[0101] For another example, multiple virtual reality spaces can be set around the user, so that the user can make a shaking head gesture, so that the electronic device receives a space switching operation. In response to the space switching operation, the electronic device cancels the display of the application running in the virtual reality space to be displayed, and displays the application running in the virtual reality space currently facing the user.
[0102] For another example, assuming that different buttons on the handle correspond to different virtual reality spaces, the user can touch the corresponding button on the handle, so that the electronic device receives the user's control switching operation. In response to the space switching operation, the electronic device can cancel the display of the application running in the virtual reality space to be displayed, and display the application running in the virtual reality space corresponding to the button.
[0103] In an optional embodiment, after displaying the application running in the virtual reality space to be displayed, the method further includes:
[0104] In response to a resource movement operation received in the virtual reality space to be displayed, application resources corresponding to the application running in the virtual reality space to be displayed are moved to the virtual reality space indicated by the resource movement operation.
[0105] The application resources corresponding to the application may include the resources displayed by the application, such as text, files, videos or pictures, etc. The application resources corresponding to the application may also include resources related to the application, such as screenshots obtained by taking screenshots of the application interface of the application, etc.
[0106] In this embodiment, when a user wants to move resources in a certain virtual reality space to another virtual reality space, for example, assuming that the application running in the virtual reality space S1 is a video conferencing application, and the application running in the other virtual reality space S2 is a file editing application, and the content edited by the file editing application needs to be moved to the virtual reality space S1, the content can be moved to the virtual reality space S1 through the resource moving operation.
[0107] The resource movement operation can be triggered by speaking a corresponding voice, making a corresponding gesture, or pressing a corresponding button on the touch controller.
[0108] See also Figure 4 , Figure 4 This is a second flow chart of the application program running method provided in the embodiment of the present application, and the flow chart may include:
[0109] In 201, in response to a space division operation received in the virtual reality space to be divided, the virtual reality space to be divided is divided into a plurality of virtual reality spaces.
[0110] In 202, in response to an application execution operation received in each virtual reality space, a different application is executed in each virtual reality space.
[0111] In 203, a virtual reality space to be displayed is determined from a plurality of virtual reality spaces.
[0112] In 204, the application running in the virtual reality space to be displayed is displayed.
[0113] In 205 , in response to the space switching operation, the application running in the to-be-displayed virtual reality space is canceled, and the application running in the virtual reality space indicated by the space switching operation is displayed.
[0114] In 206, in response to a resource movement operation received in the virtual reality space indicated by the space switching operation, application resources corresponding to the application running in the virtual reality space indicated by the space switching operation are moved to the virtual reality space indicated by the resource movement operation.
[0115] It should be noted that the specific implementation of steps 201 to 206 can refer to the previous embodiments and will not be repeated here.
[0116] See also Figure 5 , Figure 5 The schematic diagram of the structure of the application program running device provided in the embodiment of the present application is as follows: The application program running device 300 comprises: a space construction module 301 and an application running module 302 .
[0117] The space construction module 301 is used to construct multiple virtual reality spaces.
[0118] The application running module 302 is used to run different application programs in each of the virtual reality spaces.
[0119] In an optional embodiment, the application running device 300 may further include an application determination module, which may be used to: determine the application scenario selected by the scenario selection operation in response to the scenario selection operation; determine multiple applications corresponding to the application scenario;
[0120] The space creation module 301 may be used to: determine a target number of virtual reality spaces to be constructed according to the number of the plurality of applications; and construct the target number of virtual reality spaces;
[0121] The application running module 302 may be used to run each application corresponding to the application scenario in each virtual reality space.
[0122] In an optional embodiment, the application determination module can be used to: in response to a scene setting operation, determine the application scene set by the scene setting operation and its corresponding multiple applications, and obtain a preset mapping relationship between the application scene and the application; and determine the multiple applications corresponding to the application scene based on the preset mapping relationship.
[0123] In an optional embodiment, the space creation module 301 may be used to: in response to a space segmentation operation received in the virtual reality space to be segmented, segment the virtual reality space to be segmented into a plurality of virtual reality spaces;
[0124] The application running module 302 may be configured to run different applications in each virtual reality space in response to an application running operation received in each virtual reality space.
[0125] In an optional embodiment, the application running device 300 may further include an application display module, which may be used to: determine a virtual reality space to be displayed from a plurality of virtual reality spaces; and display an application running in the virtual reality space to be displayed.
[0126] In an optional embodiment, the application display module may be used to: in response to a space switching operation, cancel the display of the application running in the virtual reality space to be displayed, and display the application running in the virtual reality space indicated by the space switching operation.
[0127] In an optional embodiment, the application running device 300 may also include a resource moving module, which may be used to: in response to a resource moving operation received in the virtual reality space to be displayed, move the application resources corresponding to the application running in the virtual reality space to be displayed to the virtual reality space indicated by the resource moving operation.
[0128] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the application program running method provided in this embodiment.
[0129] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the processor is used to execute the application running method provided in the present embodiment by calling a computer program stored in the memory.
[0130] See also Figure 6 , Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0131] The electronic device 400 may include components such as a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the electronic device 400 may also include a screen.
[0132] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing applications stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the electronic device as a whole.
[0133] The memory 402 may be used to store applications and data. The applications stored in the memory 402 include executable codes. The applications may be composed of various functional modules. The processor 401 executes various functional applications and data processing by running the applications stored in the memory 402.
[0134] In this embodiment, the processor 401 in the electronic device will load the executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application program stored in the memory 402, thereby achieving:
[0135] Build multiple VR spaces;
[0136] Different applications are run in each of the virtual reality spaces.
[0137] In an optional embodiment, before the processor 401 executes the construction of multiple virtual reality spaces, it may also execute: in response to a scene selection operation, determining an application scene selected by the scene selection operation; determining multiple applications corresponding to the application scene; when the processor 401 executes the construction of multiple virtual reality spaces, it may execute: based on the number of the multiple applications, determining a target number of virtual reality spaces to be constructed; and constructing the target number of virtual reality spaces; when the processor 401 executes the running of different applications in each of the virtual reality spaces, it may execute: running each application corresponding to the application scene in each of the virtual reality spaces.
[0138] In an optional embodiment, before the processor 401 executes the step of determining the application scene selected by the scene selection operation in response to the scene selection operation, it may also execute: determining the application scene set by the scene setting operation and its corresponding multiple applications in response to the scene setting operation, and obtaining a preset mapping relationship between the application scene and the application; when the processor 401 executes the step of determining the multiple applications corresponding to the application scene, it may execute: determining the multiple applications corresponding to the application scene according to the preset mapping relationship.
[0139] In an optional embodiment, when the processor 401 executes the construction of multiple virtual reality spaces, it can execute: in response to a space division operation received in the virtual reality space to be divided, dividing the virtual reality space to be divided into multiple virtual reality spaces; when the processor 401 executes the running of different applications in each of the virtual reality spaces, it can execute: in response to an application running operation received in each of the virtual reality spaces, running a different application in each of the virtual reality spaces.
[0140] In an optional embodiment, after executing the step of running different applications in each of the virtual reality spaces, the processor 401 may further execute: determining a virtual reality space to be displayed from the plurality of virtual reality spaces; and displaying the application running in the virtual reality space to be displayed.
[0141] In an optional embodiment, after the processor 401 executes the display of the application running in the virtual reality space to be displayed, it may also execute: in response to a space switching operation, cancel the display of the application running in the virtual reality space to be displayed, and display the application running in the virtual reality space indicated by the space switching operation.
[0142] In an optional embodiment, after executing the display of the application running in the virtual reality space to be displayed, the processor 401 may also execute: in response to a resource movement operation received in the virtual reality space to be displayed, moving the application resources corresponding to the application running in the virtual reality space to be displayed to the virtual reality space indicated by the resource movement operation.
[0143] In the above embodiments, the description of each embodiment has its own focus. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the application running method above, which will not be repeated here.
[0144] The application running device provided in the embodiment of the present application belongs to the same concept as the application running method in the above embodiment. Any method provided in the application running method embodiment can be run on the application running device. The specific implementation process is detailed in the application running method embodiment, which will not be repeated here.
[0145] It should be noted that, for the application program running method of the embodiment of the present application, a person of ordinary skill in the art can understand that all or part of the process of implementing the application program running method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and the execution process may include the process of the embodiment of the application program running method. Among them, the computer-readable storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), etc.
[0146] It is understandable that in the specific implementation of this application, user information is involved, such as application usage behavior data, logs and other related data. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0147] For the application program running device of the embodiment of the present application, each functional module can be integrated into a processing chip, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk.
[0148] The above is a detailed introduction to an application running method, device, storage medium and electronic device provided in an embodiment of the present application. The principle and implementation mode of the present application are explained by using specific examples in this article. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation mode and the scope of the application. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for running an application program, It is characterized in that include: Build multiple VR spaces; Different applications are run in each of the virtual reality spaces.
2. The application program running method according to claim 1, It is characterized in that Before constructing the multiple virtual reality spaces, the method further includes: In response to a scene selection operation, determining an application scene selected by the scene selection operation; Determining multiple application programs corresponding to the application scenario; The constructing of multiple virtual reality spaces includes: Determining a target number of virtual reality spaces to be constructed according to the number of the plurality of applications; Constructing the target number of virtual reality spaces; Running different applications in each virtual reality space includes: Each application corresponding to the application scenario is run in each of the virtual reality spaces.
3. The application program running method according to claim 2, It is characterized in that Before the step of determining the application scene selected by the scene selection operation in response to the scene selection operation, the method further comprises: In response to the scene setting operation, determining the application scene set by the scene setting operation and a plurality of corresponding application programs, and obtaining a preset mapping relationship between the application scene and the application program; The determining of the multiple application programs corresponding to the application scenario includes: According to the preset mapping relationship, multiple application programs corresponding to the application scenario are determined.
4. The application program running method according to claim 1, It is characterized in that The constructing of multiple virtual reality spaces includes: In response to a space division operation received in the virtual reality space to be divided, dividing the virtual reality space to be divided into a plurality of virtual reality spaces; Running different applications in each virtual reality space includes: In response to the application execution operation received in each of the virtual reality spaces, a different application is executed in each of the virtual reality spaces.
5. The application program running method according to claim 1, It is characterized in that After running different applications in each virtual reality space, the method further includes: Determining a virtual reality space to be displayed from the plurality of virtual reality spaces; The application program running in the virtual reality space to be displayed is displayed.
6. The application program running method according to claim 5, It is characterized in that After displaying the application running in the virtual reality space to be displayed, the method further includes: In response to the space switching operation, the application running in the to-be-displayed virtual reality space is canceled from being displayed, and the application running in the virtual reality space indicated by the space switching operation is displayed.
7. The application program running method according to claim 5, It is characterized in that After displaying the application running in the virtual reality space to be displayed, the method further includes: In response to a resource movement operation received in the virtual reality space to be displayed, application resources corresponding to the application running in the virtual reality space to be displayed are moved to the virtual reality space indicated by the resource movement operation.
8. An application program running device, It is characterized in that include: Space construction module, used to build multiple virtual reality spaces; The application running module is used to run different application programs in each of the virtual reality spaces.
9. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and when the computer program is executed on a computer, the computer executes the application program running method according to any one of claims 1 to 7.
10. An electronic device, It is characterized in that The electronic device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor is used to execute the application running method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
