Dynamic configuration of a computer processor based on the presence of a hypervisor
US-11500665-B2 · Nov 15, 2022 · US
US2022206790A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2022206790-A1 |
| Application number | US-202117514323-A |
| Country | US |
| Kind code | A1 |
| Filing date | Oct 29, 2021 |
| Priority date | Dec 24, 2020 |
| Publication date | Jun 30, 2022 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
This application discloses a scene switching method, device and medium. The method includes after having loaded a first Activity interface of an application development project, removing a first scene contained in the first Activity interface in response to an operation of loading a second Activity interface of the application development project loading the second Activity interface and loading the first scene in the second Activity interface, replacing the first scene with a second scene in the second Activity interface, the multiple scenes being provided by a scene development project imported into the application development project, and the first Activity interface and the second Activity interface being developed and obtained by the application development project.
Opening claim text (preview).
1 . A scene switching method for an application development project, the method comprising: after having loaded a first Activity interface of the application development project, removing a first scene contained in the first Activity interface in response to an operation of loading a second Activity interface of the application development project; loading the second Activity interface and loading the first scene in the second Activity interface; and replacing the first scene with a second scene in multiple scenes in the second Activity interface, the multiple scenes being provided by a scene development project imported into the application development project in advance, and the first Activity interface and the second Activity interface being developed and obtained by the application development project. 2 . The method as claimed in claim 1 , wherein the replacing the first scene with a second scene in multiple scenes in the second Activity interface comprises: calling an interface class object stored in the application development project; and utilizing the interface class object to interact with the scene development project, to switch the first scene in the second Activity interface to the second scene, the interface class object being obtained by inheriting an interface class defined in the scene development project when loading the first Activity interface, a life cycle of an Activity interface of the application development project having already been predefined in the interface class, the life cycle comprising a callback method for creating an Activity interface, and the callback method for creating an Activity interface comprising a customized callback function for laying out and controlling the Activity interface to be visible. 3 . The method as claimed in claim 2 , wherein the callback method for creating an Activity interface further comprises performing operations comprising: setting layouts respectively corresponding to the multiple scenes contained in an Activity interface; finding a layout corresponding to an Activity interface to be created; obtaining a scene focus to determine a scene corresponding to the Activity interface to be created; and calling a function for displaying the scene at a front end. 4 . The method as claimed in claim 2 , wherein the life cycle further comprises a callback method for restarting an Activity interface, and wherein the callback method for restarting an Activity interface comprises: removing a scene in any one Activity interface when the any one Activity interface is restarted; and re-loading a scene in the any one Activity interface. 5 . The method as claimed in claim 2 , wherein after the first Activity interface has already been loaded, the method further comprises: storing the interface class object at a global variable storage location corresponding to the application development project. 6 . The method as claimed in claim 1 , wherein loading the first Activity interface comprises: calling a callback method for creating an Activity interface, and filling the first Activity interface with a predefined layout required for an Activity interface developed by the application development project; and performing obtaining of a focus of the first scene contained in the first Activity interface and controlling displaying of the first scene contained in the first Activity interface at a front end. 7 . The method as claimed in claim 1 , wherein the first Activity interface and the second Activity interface are identical Activity interfaces, or the first Activity interface and the second Activity interface are different Activity interfaces. 8 . The method as claimed in claim 1 , wherein at least one of the first scene or the second scene is a three-dimensional scene. 9 . The method as claimed in claim 1 , wherein the application development project is an Android development project, and/or the scene development project is a Unity development project. 10 . An electronic device comprising a memory, a processor and a computer program which is stored in the memory and can be run on the processor, wherein the processor implements the method as claimed in claim 1 when executing the computer program. 11 . The electronic device as claimed in claim 10 , wherein the replacing the first scene with a second scene in multiple scenes in the second Activity interface comprises: calling an interface class object stored in the application development project; and utilizing the interface class object to interact with the scene development project, to switch the first scene in the second Activity interface to the second scene, the interface class object being obtained by inheriting an interface class defined in the scene development project when loading the first Activity interface, a life cycle of an Activity interface of the application development project having already been predefined in the interface class, the life cycle comprising a callback method for creating an Activity interface, and the callback method for creating an Activity interface comprising a customized callback function for laying out and controlling the Activity interface to be visible. 12 . The electronic device as claimed in claim 11 , wherein the callback method for creating an Activity interface further comprises performing operations comprising: setting layouts respectively corresponding to the multiple scenes contained in an Activity interface; finding a layout corresponding to an Activity interface to be created; obtaining a scene focus to determine a scene corresponding to the Activity interface to be created; and calling a function for displaying the scene at a front end. 13 . The electronic device as claimed in claim 11 , wherein the life cycle further comprises a callback method for restarting an Activity interface, and the callback method for restarting an Activity interface comprises: removing a scene in any one Activity interface when the any one Activity interface is restarted; and re-loading a scene in the any one Activity interface. 14 . The electronic device as claimed in claim 11 , wherein after the first Activity interface has already been loaded, the processor further implements operations comprising: storing the interface class object at a global variable storage location corresponding to the application development project. 15 . The electronic device as claimed in claim 10 , wherein loading the first Activity interface comprises: calling a callback method for creating an Activity interface, and filling the first Activity interface with a predefined layout required for an Activity interface developed by the application development project; and performing obtaining of a focus of the first scene contained in the first Activity interface and controlling displaying of the first scene contained in the first Activity interface at a front end. 16 . The electronic device as claimed in claim 10 , wherein the first Activity interface and the second Activity interface are identical Activity interfaces, or the first Activity interface and the second Activity interface are different Activity interfaces. 17 . The electronic device as claimed in claim 10 , wherein at least one of the first scene or the second scene is a three-dimensional scene. 18 . The electronic device as claimed in claim 10 , wherein the application development project is an Android development project, and/or the scene development project is a Unity development project. 19 . A computer readable storage medium s
Unloading · CPC title
Execution arrangements for user interfaces · CPC title
Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading · CPC title
Software metrics · CPC title
Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS] · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.