Vehicle air conditioner page control method, device and equipment and storage medium

By loading an air conditioner View into the vehicle air conditioner page and binding its lifecycle to a transparent Activity, the problems of resource release and occlusion during application switching of the air conditioner page are solved, enabling flexible control and smooth operation of the air conditioner page in different scenarios.

CN122300151APending Publication Date: 2026-06-30DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
DONGFENG MOTOR GRP
Filing Date
2026-03-05
Publication Date
2026-06-30

Smart Images

  • Figure CN122300151A_ABST
    Figure CN122300151A_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, device, and storage medium for controlling an in-vehicle air conditioning page, belonging to the field of intelligent vehicle technology. The method includes: responding to a first instruction to open the air conditioning page, loading a pre-created air conditioning View containing various interactive controls into a system window; simultaneously loading the air conditioning View into the system window, starting a pre-created Activity in a non-displaying state, and binding the air conditioning View to the Activity's lifecycle; responding to a second instruction to close the air conditioning page, removing the air conditioning View from the system window and closing the Activity. Through the technical solution of this invention, users can smoothly switch between applications, achieving the dual goals of flexible hierarchy and controllable lifecycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent vehicle technology, and in particular to a method, device, equipment, and storage medium for controlling an in-vehicle air conditioning page. Background Technology

[0002] The in-vehicle air conditioning page is an interactive page integrated into the vehicle's central control system. Its core functions are achieved through physical buttons, touch screen, and voice commands.

[0003] The in-vehicle air conditioning interface serves as the digital hub for user interaction with the air conditioning system. It replaces the purely mechanical operation of traditional knobs or buttons, visually presenting controls such as temperature, fan speed, airflow direction, and circulation mode. Currently, when switching between the air conditioning application and other applications, there may be instances where resources cannot be released or the application may obscure the view. Furthermore, when opening the air conditioning interface, it may not be able to be displayed in a full-screen format.

[0004] Therefore, there is an urgent need to propose a smoother air conditioning control strategy to meet the needs of various air conditioning control functions. Summary of the Invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art, and proposes a method, device, equipment and storage medium for controlling vehicle air conditioning page.

[0006] In a first aspect, embodiments of the present invention provide a method for controlling a vehicle air conditioning page, including:

[0007] In response to the first instruction to open the air conditioner page, a pre-created air conditioner view containing various interactive controls is loaded into the system window;

[0008] While loading the air conditioner View into the system window, a pre-created Activity that is not currently displayed is started, and the air conditioner View is bound to the Activity's lifecycle.

[0009] In response to the second instruction to close the air conditioner page, the air conditioner view is removed from the system window and the activity is closed.

[0010] In some embodiments, before loading the air conditioner View, the method further includes:

[0011] The first instruction is triggered when the air conditioner icon in the Dock is clicked;

[0012] Alternatively, the first instruction may be triggered upon receiving a voice command to turn on the air conditioner;

[0013] Alternatively, the first instruction may be triggered when the air conditioner icon is clicked in nap mode.

[0014] In some embodiments, after loading the air conditioner View, the method further includes:

[0015] Load the first display animation corresponding to the air conditioner page in a normal scene;

[0016] When a third instruction is received to switch from a normal scene to a screen-dominating scene, the second display animation corresponding to the air conditioner page in the screen-dominating scene is loaded;

[0017] When a fourth instruction is received to switch from a dominant scene to a normal scene, the first display animation corresponding to the air conditioner page in the normal scene is loaded.

[0018] In some embodiments, removing the air conditioner View from the system window and closing the Activity specifically includes:

[0019] When the user manually clicks the off button on the air conditioner View, the second instruction of the air conditioner off page is triggered;

[0020] Upon receiving the second instruction to turn off the air conditioner page, the air conditioner view is removed from the system window by calling the first callback function;

[0021] Wait to receive system information to close the Activity, and upon receiving the system information to close the Activity, call the second callback function in the Activity's lifecycle to close the Activity.

[0022] In some embodiments, the method further includes: in response to a fifth instruction to switch to another application, and when switching from the air conditioner view to another application, removing the air conditioner view from the system window and closing the activity during the lifecycle of the activity.

[0023] In some embodiments, removing the air conditioner view from the system window and closing the Activity during the Activity's lifecycle specifically includes:

[0024] In response to the fifth instruction to switch to another application, the third callback function is invoked during the Activity's lifecycle.

[0025] The third callback function is used to move the air conditioner view out of the system window, and the third callback function is used to call the second callback function to close the Activity.

[0026] In some embodiments, the method further includes: during the application switching process, if the current application has an OpenGL animation, when the current application switches to the target application, a fourth callback function is called in the lifecycle of the Activity of the current application to pause the OpenGL animation of the current application;

[0027] Furthermore, when the target application switches back to the current application, the fifth callback function is called during the lifecycle of the current application's Activity to restore the current application's OpenGL animation.

[0028] Secondly, embodiments of the present invention provide a vehicle air conditioning page control device, comprising:

[0029] The first loading unit is used to load a pre-created air conditioner view containing various interactive controls into the system window in response to the first instruction to open the air conditioner page;

[0030] The second startup unit is used to start a pre-created Activity that is not currently displayed while loading the air conditioner View into the system window, and to bind the air conditioner View to the Activity's lifecycle.

[0031] The page closing unit is used to respond to a second instruction to close the air conditioner page by removing the air conditioner view from the system window and closing the Activity.

[0032] Thirdly, embodiments of the present invention provide an electronic device, the electronic device comprising:

[0033] At least one processor; and a memory communicatively connected to the at least one processor;

[0034] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the steps of the method according to any embodiment of the present invention.

[0035] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that are used to cause a processor to execute the steps of any embodiment of the method of the present invention.

[0036] Compared with the prior art, the present invention has the following advantages:

[0037] The in-vehicle air conditioning page control method provided by this invention first responds to a first instruction to open the air conditioning page by loading a pre-created air conditioning View containing various interactive controls into the system window; then, simultaneously loading the air conditioning View into the system window, it starts a pre-created Activity that is not currently displayed, and binds the lifecycle of the air conditioning View to the Activity; finally, responding to a second instruction to close the air conditioning page, it removes the air conditioning View from the system window and closes the Activity. Through the technical solution of this invention, using the air conditioning View as the core interactive page and the Activity that is not currently displayed as the lifecycle sensing carrier, the dual goals of flexible hierarchy and controllable lifecycle can be achieved. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only preferred embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 A flowchart illustrating a method for controlling a vehicle air conditioning page according to an embodiment of the present invention;

[0040] Figure 2 A schematic diagram illustrating the process of displaying an air conditioner page animation according to an embodiment of the present invention;

[0041] Figure 3 This is a flowchart illustrating the process of closing the air conditioner page according to an embodiment of the present invention;

[0042] Figure 4 A structural block diagram of a vehicle air conditioning page control device provided in an embodiment of the present invention;

[0043] Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0045] To enable those skilled in the art to better understand the technical solutions of the present invention, exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0046] Where there is no conflict, the various embodiments of the present invention and the features thereof may be combined with each other.

[0047] As used herein, the term “and / or” includes any and all combinations of one or more related enumerated entries.

[0048] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof is not excluded. Terms such as “connected” or “linked” are not limited to physical or mechanical connections but can include electrical connections, whether direct or indirect.

[0049] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having the meaning consistent with their meaning in the context of the relevant art and the invention, and will not be interpreted as having an idealized or overly formal meaning unless expressly so defined herein.

[0050] In the technical solution of this invention, the collection, storage, use, processing, transmission, provision, and disclosure of user personal information all comply with relevant laws and regulations and do not violate public order and good morals. The use of user data in this technical solution follows relevant national laws and regulations (e.g., the "Information Security Technology - Personal Information Security Specification"). For example: appropriate measures are taken for personal information access control; restrictions are imposed on the display of personal information; the purpose of using personal information does not exceed the scope of direct or reasonable association; and explicit identity targeting is eliminated when using personal information to avoid precisely locating a specific individual.

[0051] Figure 1This is a flowchart illustrating a vehicle air conditioning page control method provided in an embodiment of the present invention. This method is particularly suitable for scenarios where the air conditioning control page is activated by clicking the dock bar entry, voice commands, etc. This method can be executed by a vehicle air conditioning page control device, which can be implemented in software and / or hardware and can be configured in an electronic device.

[0052] like Figure 1 As shown, the method specifically includes:

[0053] S1, in response to the first instruction to open the air conditioner page, loads a pre-created air conditioner view containing various interactive controls into the system window.

[0054] Interactive controls refer to the embedded interactive functions such as temperature adjustment, mode switching, and fan speed control within the air conditioning view. When a user triggers the first command to open the air conditioning page, such as clicking the air conditioning icon in the bottom dock, the vehicle system calls the WindowManager.addView(AirView, LayoutParams) method to load the air conditioning view into the current system window.

[0055] It's important to note that `WindowManager.addView` is used to add a window to the screen, allowing the window to be created outside the application's context and displayed on other applications or system interfaces. `WindowManager` is a system-provided interface for managing application windows, allowing users to add or remove views on an Activity.

[0056] In some embodiments, before loading the air conditioner View, the following are also included:

[0057] The first command is triggered when the air conditioner icon in the Dock is clicked;

[0058] Alternatively, the first command may be triggered upon receiving a voice command to turn on the air conditioner;

[0059] Alternatively, when the air conditioner icon is clicked in nap mode, the first command is triggered.

[0060] It's worth noting that the Dock allows users to quickly launch applications, access frequently used folders, view application status, display multiple application windows, and access system functions. The Dock is located at the bottom of the screen by default, and its position can be adjusted to the left or right in System Preferences. The "Nap Mode," on the other hand, is a system-level full-screen scenario. When the user actively enters it, the vehicle's infotainment system enters a low-intrusion, low-brightness, quiet, and comfortable resting state.

[0061] Figure 2This is a schematic diagram of an air conditioner page animation display provided by an embodiment of the present invention, such as... Figure 2 As shown in some embodiments, after loading the air conditioner View, the following is also included:

[0062] S101, Load the first display animation corresponding to the air conditioner page in a normal scene;

[0063] S102, when a third instruction is received to switch from a normal scene to a screen-dominating scene, the second display animation corresponding to the air conditioner page in the screen-dominating scene is loaded;

[0064] S103, when the fourth instruction to switch from the dominating scene to the normal scene is received, the first display animation corresponding to the air conditioner page in the normal scene is loaded.

[0065] The hierarchy of the air conditioner view is implemented by dynamically configuring the WindowManager.LayoutParams.type parameter. In normal scenarios, this parameter is set to TYPE_APPLICATION_OVERLAY, and in scenarios where the view dominates the screen, this parameter is set to TYPE_CUSTOM.

[0066] It's important to note that in a normal scenario, the air conditioner view appears as a floating window or a half-screen pop-up, appearing on top of the current screen without taking focus or obscuring key system areas, allowing the user to continue interacting with the interface below. In a full-screen scenario, the air conditioner view appears as a full-screen or near-full-screen display, covering the entire screen, taking focus, and blocking interactions with the lower layers. The user must interact with the air conditioner or close it before returning to the original screen. Since different scenarios require different display animations, you can set the animation for popping up from the bottom using `layoutParams.windowAnimations`.

[0067] To better understand this technical solution, the concepts of View and Activity need to be explained below. View is the basic component for building the user interface in the Android system. It is the base class for all visual controls, can be loaded independently into a window but has no lifecycle awareness. Activity, on the other hand, is the basic component of an Android application. It represents an independent user interface screen, possesses a complete lifecycle, including creation (onCreate), pausing (onStop), and closing (onDestroy), and is managed uniformly by AMS (Activity Manager Service).

[0068] It's understandable that a View is displayed as a floating window or pop-up, while an Activity represents an independent user interface. In terms of display hierarchy, the View is higher than the Activity, and the View's closing logic depends on changes to the Activity at the top of the stack. In some special cases, if a user first opens application A with Activity A at the top of the stack, then opens the air conditioner View, and subsequently uses the voice command "switch back to application A," because the Activity at the top of the stack remains A (unchanged), WindowManager.removeView cannot be triggered. The air conditioner View will continue to obscure application A, preventing the user from returning to the target application and interrupting the user experience. WindowManager.removeView is a method used to remove a View from an Activity.

[0069] In some special cases, if application A at the top of the stack is playing an OpenGL animation, such as an interactive animation related to vehicle settings, and then the air conditioning view is opened, because the view lacks lifecycle awareness, application A's Activity cannot detect that its page is obscured. Therefore, the onPause method is not triggered, causing application A's OpenGL animation to continue running, with GPU usage remaining at 30%~40%, resulting in wasted system resources. In the Android system, the animation is paused via the onPause method when an Activity loses focus. Although this problem can be mitigated by having application A send a broadcast when the air conditioning view starts, listen for the broadcast and pause the animation; and send a broadcast when the air conditioning view closes, listen for the broadcast and resume the animation, this requires all in-vehicle applications containing OpenGL animations (such as navigation, media, and vehicle settings) to develop broadcast listening logic. This not only increases the cross-module implementation complexity but also easily leads to untimely animation pausing due to broadcast transmission delays.

[0070] To address the aforementioned issues with the air conditioner view when switching to other applications, this technical solution involves launching an Activity to monitor the lifecycle of the air conditioner view while it is being loaded.

[0071] S2, while loading the air conditioner view into the system window, starts a pre-created Activity that is not currently displayed, and binds the air conditioner view to the Activity's lifecycle.

[0072] While loading the air conditioner view, an Activity with a fully transparent theme is implicitly launched via an Intent. This transparent Activity has no visible interface elements and is only used to perceive its own lifecycle changes.

[0073] The process of launching an Activity includes:

[0074] 1. Create an Intent for a transparent Activity and set Intent.setClass(context, EmptyActivity.class);

[0075] 2. Configure parameters for transparent Activities:

[0076] Theme: Set to android:style / Theme.Translucent.NoTitleBar (fully transparent with no title bar); that is, the Activity does not handle UI interaction functions, but only responds to Activity lifecycle callbacks;

[0077] Permissions: Add the android.permission.SYSTEM_ALERT_WINDOW permission (ensure the hierarchical adjustment takes effect);

[0078] 3. Calling `startActivity(intent)` launches a transparent Activity. AMS adds the transparent Activity to the task stack. At this point, the transparent Activity is in the foreground but has no visible interface. The transparent Activity can trigger the `onStop` callback through AMS without depending on the state changes of the Activity at the top of the stack.

[0079] To better understand this technical solution, the implementation of the in-vehicle air conditioning page using a pure Activity component will be explained below. Leveraging the lifecycle management capabilities of the Android System's AMS, the page startup process is as follows: When the user triggers the air conditioning turn-on command, the system implicitly starts the air conditioning Activity via an Intent. AMS adds this Activity to the system task stack and manages its display hierarchy according to the system's default rules. The page closing process is as follows: When the user actively performs an operation, such as clicking the close button on the air conditioning Activity or the system back button, the finish method is actively called to destroy the air conditioning Activity; when switching pages, such as when the user switches to other applications via the Dock or voice, AMS triggers the onStop method of the air conditioning Activity. The onStop method executes the closing logic, such as saving the air conditioning's operating state and destroying UI resources, thus automatically closing the air conditioning page.

[0080] However, the pure Activity approach cannot simultaneously meet the hierarchical requirements of both normal and over-the-screen scenarios because the air conditioner Activity level is fixed at the normal application level.

[0081] Therefore, this technical solution adopts a collaborative logic of a hybrid View and Activity framework, using the air conditioner View as the core interactive page and the Activity, which is not displayed, as the lifecycle perception carrier.

[0082] S3, in response to the second command to close the air conditioner page, removes the air conditioner view from the system window and closes the Activity.

[0083] Figure 3 This is a flowchart illustrating how to close the air conditioner page according to an embodiment of the present invention. Figure 3 As shown, in some embodiments, the process of removing the air conditioner view from the system window and closing the activity includes:

[0084] S201, When the user manually clicks the off button on the air conditioner View, the second instruction to turn off the air conditioner page is triggered;

[0085] S202, upon receiving the second instruction to turn off the air conditioner page, the air conditioner view is moved out of the system window by calling the first callback function;

[0086] S203: Wait to receive system information to close the Activity, and when the system information to close the Activity is received, call the second callback function in the Activity's lifecycle to close the Activity.

[0087] For example, firstly, the air conditioner View triggers the first callback function onDetachFromWindow to indicate that the View has been removed from the window. onDetachFromWindow is a callback method of View in Android development, used to notify that the View has been detached from the Window. Then, the system sends a system message to close the EmptyActivity page through the Handler. Finally, after the message is triggered, the second callback function finish of the transparent Activity is called to destroy the Activity and complete the closing process.

[0088] In some embodiments, the method further includes: responding to a fifth instruction to switch to another application, and, when switching from the air conditioner view to another application, removing the air conditioner view from the system window and closing the activity during the Activity's lifecycle.

[0089] The fifth command is triggered when the in-vehicle system receives a voice command to switch to another application, such as "switch back to vehicle settings" or "open media," or when another application icon in the Dock is clicked. In response to the fifth command to switch to another application, the air conditioning view is removed from the system window and the activity is closed during the Activity's lifecycle, specifically including:

[0090] In response to the fifth instruction to switch to another application, the third callback function is invoked during the Activity's lifecycle.

[0091] The third callback function removes the air conditioner view from the system window and calls the second callback function to close the Activity.

[0092] The third callback function can be onStop, and the second callback function can be finish.

[0093] In some embodiments, the method further includes: during the application switching process, if the current application has an OpenGL animation, then when the current application switches to the target application, a fourth callback function is called in the lifecycle of the current application's Activity to pause the OpenGL animation of the current application.

[0094] Furthermore, when the target application switches back to the current application, the fifth callback function is called during the lifecycle of the current application's Activity to restore the current application's OpenGL animation.

[0095] The application switching process includes switching from the air conditioning page to other applications, and switching from other applications to the air conditioning page. The fourth callback function can be `onPause`, used to pause the OpenGL animation, and the fifth callback function can be `onResume`, used to resume the OpenGL animation.

[0096] The technical solution in this invention relies on the onStop lifecycle awareness of transparent Activities. When switching or closing applications, it does not depend on changes in the top Activity of the stack. Even if the top application remains unchanged, the transparent Activity will still trigger onStop due to losing focus, thus actively removing the air conditioner View and ensuring that the user can smoothly switch back to the target application. Simultaneously, a callback function is used within the Activity's lifecycle to pause the animation of the current application, eliminating the need for additional broadcast listening logic, avoiding the complexity of cross-module development, effectively releasing GPU resources, and allowing the air conditioner View to be flexibly configured to meet the interaction needs of various scenarios, including normal and full-screen scenarios.

[0097] Based on the same inventive concept, embodiments of the present invention also provide a vehicle air conditioning page control device. Figure 4 A structural block diagram of a vehicle air conditioning page control device provided in an embodiment of the present invention is shown below. Figure 4 As shown, the device specifically includes: a first loading unit 100, a second startup unit 200, and a page closing unit 300.

[0098] The first loading unit 100 is used to load a pre-created air conditioner View containing various interactive controls into the system window in response to the first instruction to open the air conditioner page;

[0099] The second startup unit 200 is used to start a pre-created Activity that is not displayed while loading the air conditioner View into the system window, and to bind the air conditioner View to the Activity's lifecycle.

[0100] The page closing unit 300 is used to respond to the second instruction to close the air conditioner page by removing the air conditioner view from the system window and closing the Activity.

[0101] In some embodiments, the device further includes a page switching unit 400.

[0102] Page switching unit 400 is used to respond to the fifth instruction to switch to other applications, remove the air conditioner view from the system window and close the activity during the Activity's lifecycle.

[0103] Based on the same inventive concept, embodiments of the present invention also provide an electronic device. Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Figure 5 As shown, an embodiment of the present invention provides an electronic device including: one or more processors 101, a memory 102, and one or more I / O interfaces 103. The memory 102 stores one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement any of the vehicle air conditioning page control methods described in the above embodiments; the one or more I / O interfaces 103 are connected between the processor and the memory, configured to enable information interaction between the processor and the memory.

[0104] The processor 101 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 102 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read / write interface) 103 is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to a data bus (BUS).

[0105] In some embodiments, the processor 101, memory 102, and I / O interface 103 are interconnected via bus 104, and thus connected to other components of the computing device.

[0106] In some embodiments, the one or more processors 101 include a field-programmable gate array.

[0107] This invention also provides a computer-readable medium. The computer-readable medium stores a computer program, which, when executed by a processor, implements the steps of any of the vehicle air conditioning page control methods described in the above embodiments. The computer-readable storage medium may be volatile or non-volatile.

[0108] This invention also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code. When the computer-readable code is run in the processor of an electronic device, the processor in the electronic device executes the above-described vehicle air conditioning page control method.

[0109] Those skilled in the art will understand that all or some of the steps, systems, and apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software can be distributed on a computer-readable storage medium, which may include computer storage media (or non-transitory media) and communication media (or transient media).

[0110] As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable program instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technologies, portable compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, it is known to those skilled in the art that communication media typically contain computer-readable program instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0111] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.

[0112] The computer program instructions used to perform the operations of this invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the invention.

[0113] The computer program product described herein can be implemented specifically through hardware, software, or a combination thereof. In one alternative embodiment, the computer program product is specifically embodied in a computer storage medium; in another alternative embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.

[0114] Various 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 should 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.

[0115] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0116] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0117] The flowcharts and block diagrams in the accompanying drawings 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 a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0118] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in conjunction with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of the invention as set forth in the appended claims.

Claims

1. A method for controlling a vehicle air conditioning page, characterized in that, include: In response to the first instruction to open the air conditioner page, a pre-created air conditioner view containing various interactive controls is loaded into the system window; While loading the air conditioner View into the system window, a pre-created Activity that is not currently displayed is started, and the air conditioner View is bound to the Activity's lifecycle. In response to the second instruction to close the air conditioner page, the air conditioner view is removed from the system window and the activity is closed.

2. The method according to claim 1, characterized in that, Before loading the air conditioner View, the following are also included: The first instruction is triggered when the air conditioner icon in the Dock is clicked; Alternatively, the first instruction may be triggered upon receiving a voice command to turn on the air conditioner; Alternatively, the first instruction may be triggered when the air conditioner icon is clicked in nap mode.

3. The method according to claim 1, characterized in that, After loading the air conditioner View, the following is also included: Load the first display animation corresponding to the air conditioner page in a normal scene; When a third instruction is received to switch from a normal scene to a screen-dominating scene, the second display animation corresponding to the air conditioner page in the screen-dominating scene is loaded; When a fourth instruction is received to switch from a dominant scene to a normal scene, the first display animation corresponding to the air conditioner page in the normal scene is loaded.

4. The method according to claim 1, characterized in that, Moving the air conditioner view out of the system window and closing the Activity specifically includes: When the user manually clicks the off button on the air conditioner View, the second instruction of the air conditioner off page is triggered; Upon receiving the second instruction to turn off the air conditioner page, the air conditioner view is removed from the system window by calling the first callback function; Wait to receive system information to close the Activity, and upon receiving the system information to close the Activity, call the second callback function in the Activity's lifecycle to close the Activity.

5. The method according to claim 1, characterized in that, Also includes: In response to a fifth instruction to switch to another application, and when switching from the air conditioner view to another application, the air conditioner view is removed from the system window and the activity is closed during the Activity's lifecycle.

6. The method according to claim 5, characterized in that, During the Activity's lifecycle, removing the air conditioner view from the system window and closing the Activity specifically includes: In response to the fifth instruction to switch to another application, the third callback function is invoked during the Activity's lifecycle. The third callback function is used to move the air conditioner view out of the system window, and the third callback function is used to call the second callback function to close the Activity.

7. The method according to claim 5, characterized in that, Also includes: During the application switching process, if the current application has OpenGL animation, the fourth callback function is called in the lifecycle of the current application's Activity when the current application is switched to the target application to pause the OpenGL animation of the current application. Furthermore, when the target application switches back to the current application, the fifth callback function is called during the lifecycle of the current application's Activity to restore the current application's OpenGL animation.

8. A vehicle air conditioning page control device, characterized in that, The apparatus is configured to implement the method according to any one of claims 1-7, the apparatus comprising: The first loading unit is used to load a pre-created air conditioner view containing various interactive controls into the system window in response to the first instruction to open the air conditioner page; The second startup unit is used to start a pre-created Activity that is not currently displayed while loading the air conditioner View into the system window, and to bind the air conditioner View to the Activity's lifecycle. The page closing unit is used to respond to a second instruction to close the air conditioner page by removing the air conditioner view from the system window and closing the Activity.

9. An electronic device, characterized in that, The electronic device includes: At least one processor, and a memory communicatively connected to said at least one processor; The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the steps of the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to perform the steps of the method according to any one of claims 1-7.