CN115033134A - Window display control method and device for vehicle, vehicle and storage medium - Google Patents

Window display control method and device for vehicle, vehicle and storage medium Download PDF

Info

Publication number
CN115033134A
CN115033134A CN202210624380.0A CN202210624380A CN115033134A CN 115033134 A CN115033134 A CN 115033134A CN 202210624380 A CN202210624380 A CN 202210624380A CN 115033134 A CN115033134 A CN 115033134A
Authority
CN
China
Prior art keywords
window
display
target application
application program
attribute information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210624380.0A
Other languages
Chinese (zh)
Inventor
张红亮
刘朝阳
蔡旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210624380.0A priority Critical patent/CN115033134A/en
Publication of CN115033134A publication Critical patent/CN115033134A/en
Priority to PCT/CN2023/094103 priority patent/WO2023231750A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a window display control method and device for a vehicle, the vehicle and a storage medium, wherein the method comprises the following steps: receiving a window display instruction sent by a target application program in a plurality of application programs; acquiring display attribute information of a window corresponding to a target application program; determining a display priority of the window based on the display attribute information of the window; invoking the window management interface displays the window based on the display priority. According to the embodiment of the invention, the display priority of the corresponding window can be determined according to the received window display instruction of the target application program, and then the window management interface is called to display the window based on the display priority, which is equivalent to increasing the windows of the target application programs of a plurality of application programs which are managed by the window control module in a centralized manner, so that the purpose of managing the windows of the target application programs of the plurality of application programs in the centralized manner is realized, the window display control efficiency of the vehicle is improved, and better use experience can be brought to users.

Description

Window display control method and device for vehicle, vehicle and storage medium
Technical Field
The present invention relates to vehicle control technologies, and in particular, to a method and an apparatus for controlling window display of a vehicle, and a storage medium.
Background
Generally, an operating system of a vehicle instrument provides a single window application function of an application program, and the single window application function refers to that a window of one application program is displayed at a front end and interacts with a user.
Currently, a single-window application function is realized by mainly directly calling a window management interface control window of an operating system through each application program and displaying the single window at the front end.
However, a plurality of windows in the meter all have corresponding window display attributes, and if a plurality of application programs call a window management interface of the operating system to perform window display, management confusion of the window management system may be caused because more window display attributes corresponding to windows that need to be displayed.
Disclosure of Invention
The invention provides a window display control method and device for a vehicle, the vehicle and a storage medium, solves the problem of management confusion of a window management system caused by a plurality of application programs calling a window management interface of an operating system to display a window, achieves the aim of intensively managing the window of a target application program of the plurality of application programs, improves the window display control efficiency of the vehicle, and further can bring better use experience to a user.
According to an aspect of the present invention, there is provided a window display control method, apparatus, vehicle, and storage medium for a vehicle on which a plurality of applications are installed, the method comprising:
receiving a window display instruction sent by a target application program in the plurality of application programs;
acquiring display attribute information of a window corresponding to the target application program;
determining a display priority of the window based on the display attribute information of the window;
and calling a window management interface to display the window based on the display priority.
According to another aspect of the present invention, there is provided a window display control apparatus of a vehicle on which a plurality of applications are installed, the apparatus comprising:
the window display instruction receiving module is used for receiving a window display instruction sent by a target application program in the plurality of application programs;
the display attribute information acquisition module is used for acquiring the display attribute information of the window corresponding to the target application program;
the display priority determining module is used for determining the display priority of the window based on the display attribute information of the window;
and the window display module is used for calling a window management interface to display the window based on the display priority.
According to another aspect of the present invention, there is provided a vehicle including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a window display control method of a vehicle according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a window display control method of a vehicle according to any one of the embodiments of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the window display instruction sent by the target application program in the plurality of application programs is received; acquiring display attribute information of a window corresponding to a target application program; determining a display priority of the window based on the display attribute information of the window; invoking the window management interface displays the window based on the display priority. According to the embodiment of the invention, the display priority of the corresponding window can be determined according to the received window display instruction of the target application program, and then the window management interface is called to display the window based on the display priority, which is equivalent to increasing the window of the target application program of a plurality of application programs which are managed by the window control module in a centralized manner, so that the problem of management confusion of the window management system caused by the fact that the plurality of application programs call the window management interface of the operating system to display the window is solved, the purpose of managing the windows of the target application programs of the plurality of application programs in a centralized manner is realized, the window display control efficiency of the vehicle is improved, and better use experience can be brought to a user.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a window display control method for a vehicle according to an embodiment of the present invention;
fig. 2 is a schematic view of a window display control method of a vehicle according to an embodiment of the present invention;
fig. 3 is another flowchart illustrating a window display control method for a vehicle according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an interaction between a target application and a window control module in a plurality of applications according to an embodiment of the present invention;
fig. 5 is a schematic structural view of a window display control apparatus of a vehicle according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a vehicle according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic flow chart of a vehicle window display control method according to an embodiment of the present invention, which may be implemented by a vehicle window display control apparatus according to an embodiment of the present invention, and the apparatus may be implemented in software and/or hardware. In a specific embodiment, the apparatus may be integrated in a vehicle, the vehicle may have a plurality of applications installed thereon, the vehicle may further include an application interface, a window control module, and a window management interface, the window control module may monitor and receive messages of the plurality of applications through the application interface, and the window control module may further call the window management interface to display a window. The following embodiments will be described by taking as an example that the apparatus is integrated in a vehicle, and referring to fig. 1, the method may specifically include the following steps:
step 101, receiving a window display instruction sent by a target application program in a plurality of application programs.
The target application program can be understood as an application program which needs to be displayed with a window in a plurality of application programs; the window display instruction may be understood as a request for window display sent by the target application.
Specifically, fig. 2 is a schematic diagram of a window display control method for a vehicle according to an embodiment of the present invention, as shown in fig. 2, a target application program in a plurality of application programs may send a window display instruction to a window control module through an application interface; the window control module can receive a window display instruction sent by a target application program in the plurality of application programs through the application interface. An application interface is understood to be a message transmission interface for a plurality of applications and window control modules.
For example, suppose that there are an application a, an application B, and an application C, the application C needs to perform window display, and at this time, the application C is a target application; the target application program C can send a window display instruction to the window control module through the application interface; the window control module may receive a window display instruction sent by the target application program C through the application interface.
And 102, acquiring display attribute information of a window corresponding to the target application program.
The display attribute information may be understood as default display setting information of the window, and may include display position information, size information, hidden information, and display level information of the window corresponding to the target application program.
Specifically, as shown in fig. 2, the window control module may obtain display attribute information of a window stored in the window profile from the window profile. The window configuration file may be understood as a set of environment settings and files of the window to be loaded by the terminal device, and may include display attribute information of the window.
For example, the window control module may obtain the stored display attribute information of the window corresponding to the target application program C from the configuration file.
Step 103, determining the display priority of the window based on the display attribute information of the window.
The display priority may be understood as a display level of the window.
Specifically, the window control module may obtain the display level information of the window from the display attribute information, and may further determine the display priority of the window according to the display level information of the window.
For example, assuming that the display level information of the window corresponding to the target application program C is level 1, the window control module may obtain the display level information of the window corresponding to the target application program C from the display attribute information, and may determine the display priority (level 1) of the window according to the display level information of the window.
And 104, calling a window management interface to display the window based on the display priority.
Wherein a window management interface may be understood as an interface providing a window management service.
Specifically, as shown in fig. 2, the display priority of the window may be determined by the window control module, and the window control module may call the window management interface to display the window based on the display priority.
For example, assuming that the display priority of the window corresponding to the target application program C is level 1, the display priority (level 1) of the window corresponding to the target application program C may be determined by the window control module, and then the window control module may call the window management interface to display the window corresponding to the target application program C based on the display priority (level 1).
In the embodiment of the invention, a window display instruction sent by a target application program in a plurality of application programs is received; acquiring display attribute information of a window corresponding to a target application program; determining a display priority of the window based on the display attribute information of the window; invoking the window management interface displays the window based on the display priority. The embodiment of the invention can determine the display priority of the corresponding window according to the received window display instruction of the target application program, and then call the window management interface to display the window based on the display priority, which is equivalent to increasing the window of the target application program of which the window control module manages a plurality of application programs in a centralized way, thereby solving the problem of management confusion of the window management system caused by the window management interface of which the window control module calls the operating system to display the window, realizing the purpose of managing the windows of the target application programs of the plurality of application programs in a centralized way, improving the efficiency of window display control of the vehicle, and further bringing better use experience to users.
In some embodiments, before receiving a window display instruction sent by a target application program in the plurality of application programs, the method further comprises: receiving a window adding request sent by a target application program, wherein the window adding request comprises a window, and adding the window to a preset window list.
The window adding request can be understood as a window creating request sent by a target application program; the preset window list may be understood as a preset window storage table.
Specifically, a window addition request may be sent to the window control module by the target application; the window control module can receive a window adding request sent by a target application program; the window may be added to the preset window list through the window control module.
Continuing the example above, assuming that target application C needs to create window X, a request for creating window X may be sent to the window control module by target application C; the window control module may receive a creation request of the window X transmitted by the target application C, and then may add the window X to a preset window list.
In the embodiment of the invention, the window can be added to the preset window list by receiving the window adding request sent by the target application program, so that the purpose of intensively processing the window adding request by the window control module can be realized, and the time for controlling the window display of the vehicle is reduced.
In some embodiments, after the window is displayed based on the display priority by calling the window management interface, a window hiding instruction sent by the target application program can be further received; and calling a window management interface to set the state of the window to be a hidden state.
Wherein, the window hiding instruction can be understood as a request instruction sent by the target application program to set the window to be invisible.
Specifically, the window control module can receive a window hiding instruction sent by the target application program, and then the window management interface is called to set the state of the window to be a hidden state, so that the window hiding instruction can be processed in a centralized manner through the window control module, the state of the window can be set to be the hidden state more quickly, and the time for window display control is saved.
The following further describes a window display control method for a vehicle according to an embodiment of the present invention, and fig. 3 is another schematic flow chart of the window display control method for a vehicle according to an embodiment of the present invention. As shown in fig. 3, the method for controlling window display of a vehicle according to the embodiment may specifically include the following steps:
step 301, receiving a window display instruction sent by a target application program in a plurality of application programs.
Specifically, before receiving a window display instruction sent by a target application program in the plurality of application programs, the window control module may register a control authority of the window to a window management module of the operating system through a window management interface, where the control authority may include monitoring and receiving a message between the target application program and the window management interface, and may further include processing a window request message sent by the target application program; after registering the control authority of the control window, the window management module can monitor and receive a window display instruction sent by a target application program in the plurality of application programs, and process the received window display instruction.
For example, fig. 4 is an interaction diagram of a target application and a window control module in a plurality of applications, as shown in fig. 4, the target application 41 may be a target application C, and the target application 41 may send a window display instruction of a window X to be displayed to the window control module 42; the window control module 42 may receive a window display instruction of the window X sent by the target application 41.
Step 302, determining whether a preset window list comprises a window; if the preset window list does not include a window, step 303 is executed, and if the preset window list includes a window, step 304 is executed.
For example, as shown in fig. 4, whether a window is included in the preset window list may be determined by the window control module querying whether a window name of the window exists in the preset window list.
Step 303, determining that the window is an unknown window, and setting the visible state of the window to be a hidden state.
For example, assuming that the window control module 42 queries the preset window list for a window name of an absent window X, and determines that the preset window list does not include the window X, the window display instruction of the window X sent by the target application 41 may be omitted, the window X is determined to be an unknown window, and the visible state of the window X is set to be the hidden state.
Alternatively, when the window is determined to be an unknown window, the window size may be set to be minimized and the display priority of the window may be set to the lowest level by the window control module 42.
And 304, loading default attribute information of the window from the window configuration file to obtain display attribute information of the window.
The default attribute information may be understood as attribute information of each window stored in the loading system according to the configuration of the window configuration file.
Specifically, when the window control module is initialized, the window configuration file can be read, the default attribute information of each window stored in the system is loaded according to the window name in the window configuration file, and the default attribute information of each window is stored in the window configuration file; after determining that the preset window list includes windows, the window control module may load default attribute information of each window stored in the window configuration file, and determine the loaded default attribute information of each window as display attribute information of the window.
For example, as shown in fig. 4, assuming that the window X is included in the preset window list by querying the preset window list for the window name of the existing window X, default attribute information of the window X may be loaded from the window configuration file, and the loaded default attribute information of the window X may be determined as display attribute information of the window X.
In the embodiment of the invention, whether the preset window list comprises the window or not can be determined; when the preset window list comprises the window, the default attribute information of the window is loaded from the window configuration file to obtain the display attribute information of the window, so that the unknown window which does not exist in the preset window list can be hidden, the safety problem of the unknown window is solved, the time for loading the default attribute information of the window is saved, and the control speed of window display control is improved.
Step 305, determining the display priority of the window based on the display attribute information of the window.
For example, assuming that the display level information of the window X corresponding to the target application 41 is level 1, the window control module 42 may obtain the display level information of the window X corresponding to the target application 41 from the display attribute information, and further may determine the display priority (level 1) of the window X according to the display level information of the window X.
Step 306, determining whether the display priority is the current highest priority; if the display priority is not the current highest priority, go to step 307, and if the display priority is the current highest priority, go to step 308.
The current highest priority may be understood as the highest display level of the display priorities of the windows transmitted by the plurality of target applications at the current time.
Specifically, by comparing the sizes of the level values corresponding to the display priorities of the plurality of windows, the display priority of the window corresponding to the smallest level value may be the currently highest priority.
Step 307, waiting for the window higher than the display priority to be displayed.
For example, if the display priority of the window X is not the currently highest priority, it is necessary to wait for the completion of the display of the window higher than the display priority of the window X.
After step 307 is performed, step 308 is performed.
Step 308, call the window management interface to set the state of the window to a visible state.
For example, if the display priority of window X is the currently highest priority, the window control module 42 may call the window management interface to set the state of window X to the visible state.
As shown in fig. 4, after invoking the window management interface to set the state of the window to the visible state, the window management interface may send a window display success message to the window control module 42; the window control module 42 may transmit a window display success message to the corresponding target application 41; the target application 41 may modify the window size, the window position, and the like among the display attribute information of the window after receiving the window display success message, and the target application may transmit the attribute update information of the window to the window control module 42 after the target application 41 modifies the display attribute information of the window.
In the embodiment of the invention, whether the display priority is the current highest priority or not can be determined; when the display priority is the current highest priority, the window management interface is called to set the state of the window to be a visible state, so that the time for determining whether the display priority of the window is the current highest by the window management interface is reduced, and the window management interface can set the state of the window based on the display priority of the window more quickly.
Step 309, receiving the attribute update information of the window sent by the target application program.
The attribute update information may be understood as attribute modification information of a window sent by the target application program.
Specifically, after the target application program sends the attribute update information of the window to the window control module; the window control module may receive attribute update information for a window sent by a target application.
For example, as shown in fig. 4, the target application 41 may send the attribute update information of the window X to the window control module 42 after modifying the attribute information of the window X; the window control module 42 may receive the attribute update information of the window X transmitted by the target application 41.
Step 310, determining whether the attribute updating information is legal; if the attribute updating information is not legal, go to step 311, and if the attribute updating information is legal, go to step 312.
Specifically, whether the modification attribute of the window corresponding to the target application program in the plurality of application programs is legal or not can be determined through the window control module.
Step 311, updating the display attribute information of the window to default attribute information.
For example, suppose that application a needs to display window X1, application B needs to display window X2, and application C needs to display window X3, at this time, application a, application B, and application C are all target applications, the display priorities corresponding to window X1, window X2, and window X3 are respectively 4, 3, and 2, and the display orders of window X1, window X2, and window X3 are window X3, window X2, and window X1 in sequence; before each target application program sends a window display instruction, the target application program a modifies the display priority 3 of the window X1 to 1, and then the display order of the window X1, the window X2 and the window X3 is changed to window X1, window X3 and window X2 in sequence, that is, the window X1 corresponding to the target application program a is not displayed according to the correct display priority, the window control module 42 may determine that the attribute update information of the window X1 is illegal by querying the window configuration file after receiving the attribute update information of the window X1, the window control module 42 may update the display attribute information of the window X1 to the default attribute information, and the window control module 42 may update the visible state of the window X1 to the hidden state.
Step 312, updating the display attribute information of the window based on the attribute update information.
Specifically, if the window control module determines that the attribute update information is valid, the window control module may update the display attribute information of the window based on the attribute update information.
By way of example, suppose that application a needs to display window X1, application B needs to display window X2, and application C needs to display window X3, at which time application a, application B, and application C are all target applications, the display priorities of the window X1, the window X2 and the window X3 are respectively 3, 2 and 1, the display sequence of the window X1, the window X2 and the window X3 is sequentially a window X3, a window X2 and a window X1, that is, the target application 41 modifies the hidden state of the window X3 to the visible state, after the display of the window X3 is completed and the target application 41 modifies the visible state of the window X3 to the hidden state, the target application program B modifies the hidden state of the window X2 into a visible state, and after the display of the window X2 is completed and the target application program B modifies the visible state of the window X2 into a hidden state, the target application program A modifies the hidden state of the window X1 into a visible state; that is, the display order of the window X1, the window X2, and the window X3 matches the corresponding display priority, the window control module 42 may determine that the operation of the window X1 to modify the hidden state into the visible state is legal, and the window control module 42 may update the hidden state in the display attribute information of the window X1 into the visible state based on the attribute update information (modify the hidden state into the visible state).
In the embodiment of the invention, the attribute updating information of the window sent by the target application program can be received; determining whether the attribute updating information is legal; when the attribute updating information is legal, the display attribute information of the window is updated based on the attribute updating information, so that the problem of window management confusion caused by illegal window attribute updating operation of a target application program is solved, the time required by window display control is reduced, the control efficiency of the window display control of the vehicle is improved, and better use experience can be brought to a user.
Optionally, after the display attribute information of the window is updated based on the attribute update information, a message event in the window may also be acquired through the window management interface; the message event is fed back to the target application program, so that the target application program can timely determine whether the display attribute information of the corresponding window is updated successfully, and the problem that the cost of window control time is increased due to the fact that the target application program sends the attribute updating information again is solved.
Wherein, the message event can be understood as an attribute information update success event of the window.
Specifically, the message event in the window may be obtained by the window control module, and the message event may be fed back to the target application program through the application interface.
For example, assuming that the message event is that the visible state of the window X1 is successfully updated to the hidden state, the message event in the window may be obtained by the window control module and fed back to the target application program a through the application interface.
In the embodiment of the invention, a window can be added to a preset window list by receiving a window adding request sent by a target application program, wherein the window adding request comprises a window, a window display instruction sent by the target application program in a plurality of application programs is received, and whether the preset window list comprises the window or not is determined; if the preset window list does not comprise windows, ignoring window display instructions sent by a target application program in the plurality of application programs, if the preset window list comprises windows, loading default attribute information of the windows from a window configuration file to obtain display attribute information of the windows, and determining the display priority of the windows based on the display attribute information of the windows; determining whether the display priority is the current highest priority; if the display priority is not the current highest priority, waiting for the completion of the display of the window higher than the display priority, and if the display priority is the current highest priority, calling a window management interface to set the state of the window to be a visible state; receiving attribute updating information of a window sent by a target application program, and determining whether the attribute updating information is legal or not; and if the attribute updating information is not legal, modifying the attribute information of the window into default attribute information, and if the attribute updating information is legal, updating the display attribute information of the window based on the attribute updating information. The embodiment of the invention can determine the display priority of the corresponding window according to the received window display instruction of the target application program, and then call the window management interface to display the window based on the display priority, which is equivalent to increasing the window of the target application program of which the window control module manages a plurality of application programs in a centralized way, thereby solving the problem of management confusion of the window management system caused by the window management interface of which the window control module calls the operating system to display the window, realizing the purpose of managing the windows of the target application programs of the plurality of application programs in a centralized way, improving the efficiency of window display control of the vehicle, and further bringing better use experience to users.
Fig. 5 is a schematic structural diagram of a vehicle window display control apparatus according to an embodiment of the present invention, which is adapted to execute the vehicle window display control method according to the embodiment of the present invention. As shown in fig. 5, the apparatus may specifically include:
a window display instruction receiving module 501, configured to receive a window display instruction sent by a target application program in the multiple application programs;
a display attribute information obtaining module 502, configured to obtain display attribute information of a window corresponding to the target application program;
a display priority determining module 503, configured to determine a display priority of the window based on the display attribute information of the window;
a window display module 504, configured to invoke a window management interface to display the window based on the display priority.
Optionally, the window display module 504 is specifically configured to:
determining whether the display priority is a current highest priority;
and when the display priority is the current highest priority, calling the window management interface to set the state of the window to be a visible state.
Further, the apparatus further comprises a message event feedback module configured to:
acquiring a message event in the window through the window management interface;
and feeding back the message event to the target application program.
Further, the apparatus further includes a window hiding instruction receiving module, configured to:
receiving a window hiding instruction sent by the target application program;
and calling the window management interface to set the state of the window to be a hidden state.
Further, the apparatus further includes a window adding module configured to:
receiving a window adding request sent by the target application program, wherein the window adding request comprises the window;
and adding the window to a preset window list.
Optionally, the display attribute information obtaining module 502 is specifically configured to:
determining whether the window is included in the preset window list;
and when the preset window list comprises the window, loading default attribute information of the window from a window configuration file to obtain display attribute information of the window.
Further, the apparatus further includes a display attribute information updating module, configured to:
receiving attribute updating information of the window sent by the target application program;
determining whether the attribute update information is legal;
and when the attribute updating information is legal, updating the display attribute information of the window based on the attribute updating information.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the functional module, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
The device of the embodiment of the invention receives a window display instruction sent by a target application program in a plurality of application programs; acquiring display attribute information of a window corresponding to a target application program; determining a display priority of the window based on the display attribute information of the window; invoking the window management interface displays the window based on the display priority. The embodiment of the invention can determine the display priority of the corresponding window according to the received window display instruction of the target application program, and then call the window management interface to display the window based on the display priority, which is equivalent to increasing the window of the target application program of which the window control module manages a plurality of application programs in a centralized manner, solves the problem of management confusion of the window management system caused by the window management interface of an operating system called by the plurality of application programs to display the window, achieves the purpose of managing the windows of the target application programs of the plurality of application programs in a centralized manner, improves the efficiency of window display control of a vehicle, and further can bring better use experience to a user.
The embodiment of the invention also provides a vehicle, which comprises at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to implement the method for controlling display of a window of a vehicle as provided in any of the embodiments above.
Embodiments of the present invention further provide a computer-readable storage medium, on which computer instructions are stored, and when executed by a processor, the computer instructions implement the method for controlling window display of a vehicle provided in any of the embodiments described above.
Referring now to FIG. 6, a schematic illustration of a vehicle 600 suitable for use in implementing embodiments of the present invention is shown. The vehicle in the embodiment of the present invention may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The vehicle shown in fig. 6 is only an example, and should not bring any limitation to the function and the range of use of the embodiment of the present invention.
As shown in fig. 6, the vehicle 600 may include a processing device (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage device 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the vehicle 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, or the like; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the vehicle 600 to perform wireless or wired communication with other devices to exchange data. While fig. 6 illustrates a vehicle 600 having various devices, it is to be understood that not all illustrated devices are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, an embodiment of the invention includes a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or installed from the storage means 608, or installed from the ROM 602. The computer program, when executed by the processing means 601, performs the above-described functions defined in the method of an embodiment of the invention. It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and/or units described in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware. The described modules and/or units may also be provided in a processor, which may be described as: a processor comprises a window display instruction receiving module, a display attribute information obtaining module, a display priority determining module and a window display module. Wherein the names of the modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving a window display instruction sent by a target application program in a plurality of application programs; acquiring display attribute information of a window corresponding to a target application program; determining a display priority of the window based on the display attribute information of the window; invoking the window management interface displays the window based on the display priority.
According to the technical scheme of the embodiment of the invention, the window display instruction sent by the target application program in the plurality of application programs is received; acquiring display attribute information of a window corresponding to a target application program; determining a display priority of the window based on the display attribute information of the window; invoking the window management interface displays the window based on the display priority. The embodiment of the invention can determine the display priority of the corresponding window according to the received window display instruction of the target application program, and then call the window management interface to display the window based on the display priority, which is equivalent to increasing the window of the target application program of which the window control module manages a plurality of application programs in a centralized way, thereby solving the problem of management confusion of the window management system caused by the window management interface of which the window control module calls the operating system to display the window, realizing the purpose of managing the windows of the target application programs of the plurality of application programs in a centralized way, improving the efficiency of window display control of the vehicle, and further bringing better use experience to users.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A window display control method of a vehicle on which a plurality of application programs are installed, the method comprising:
receiving a window display instruction sent by a target application program in the plurality of application programs;
acquiring display attribute information of a window corresponding to the target application program;
determining a display priority of the window based on the display attribute information of the window;
and calling a window management interface to display the window based on the display priority.
2. The method of claim 1, wherein invoking the window management interface to display the window based on the display priority comprises:
determining whether the display priority is a current highest priority;
and when the display priority is the current highest priority, calling the window management interface to set the state of the window to be a visible state.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring a message event in the window through the window management interface;
and feeding back the message event to the target application program.
4. The method of claim 1, further comprising:
receiving a window hiding instruction sent by the target application program;
and calling the window management interface to set the state of the window to be a hidden state.
5. The method of claim 1, prior to receiving a window display instruction sent by a target application of the plurality of applications, further comprising:
receiving a window adding request sent by the target application program, wherein the window adding request comprises the window;
and adding the window to a preset window list.
6. The method according to claim 5, wherein the obtaining of the display attribute information of the window corresponding to the target application program comprises:
determining whether the window is included in the preset window list;
and when the preset window list comprises the window, loading default attribute information of the window from a window configuration file to obtain display attribute information of the window.
7. The method of claim 1, further comprising:
receiving attribute updating information of the window sent by the target application program;
determining whether the attribute update information is legitimate;
and when the attribute updating information is legal, updating the display attribute information of the window based on the attribute updating information.
8. A window display control apparatus of a vehicle on which a plurality of application programs are installed, the apparatus comprising:
the window display instruction receiving module is used for receiving a window display instruction sent by a target application program in the plurality of application programs;
the display attribute information acquisition module is used for acquiring the display attribute information of the window corresponding to the target application program;
the display priority determining module is used for determining the display priority of the window based on the display attribute information of the window;
and the window display module is used for calling a window management interface to display the window based on the display priority.
9. A vehicle, characterized in that the vehicle comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the window display control method of the vehicle of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the window display control method of the vehicle according to any one of claims 1 to 7 when executed.
CN202210624380.0A 2022-06-02 2022-06-02 Window display control method and device for vehicle, vehicle and storage medium Pending CN115033134A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210624380.0A CN115033134A (en) 2022-06-02 2022-06-02 Window display control method and device for vehicle, vehicle and storage medium
PCT/CN2023/094103 WO2023231750A1 (en) 2022-06-02 2023-05-15 Vehicle window display control method and apparatus, vehicle, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210624380.0A CN115033134A (en) 2022-06-02 2022-06-02 Window display control method and device for vehicle, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN115033134A true CN115033134A (en) 2022-09-09

Family

ID=83123458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210624380.0A Pending CN115033134A (en) 2022-06-02 2022-06-02 Window display control method and device for vehicle, vehicle and storage medium

Country Status (2)

Country Link
CN (1) CN115033134A (en)
WO (1) WO2023231750A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204093A (en) * 2023-04-28 2023-06-02 荣耀终端有限公司 Page display method and electronic equipment
WO2023231750A1 (en) * 2022-06-02 2023-12-07 中国第一汽车股份有限公司 Vehicle window display control method and apparatus, vehicle, and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102015221383A1 (en) * 2015-11-02 2017-05-04 Volkswagen Aktiengesellschaft Method for operating a computer system
CN108021420B (en) * 2016-12-23 2021-04-23 北京车和家信息技术有限责任公司 Message display method and device, central control display system and vehicle
CN110275748B (en) * 2019-06-18 2022-08-16 广州小鹏汽车科技有限公司 Popup display method and device for vehicle-mounted application and intelligent automobile
CN113821142B (en) * 2021-11-24 2022-03-25 腾讯科技(深圳)有限公司 Interface window management method and related device
CN115033134A (en) * 2022-06-02 2022-09-09 中国第一汽车股份有限公司 Window display control method and device for vehicle, vehicle and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023231750A1 (en) * 2022-06-02 2023-12-07 中国第一汽车股份有限公司 Vehicle window display control method and apparatus, vehicle, and storage medium
CN116204093A (en) * 2023-04-28 2023-06-02 荣耀终端有限公司 Page display method and electronic equipment
CN116204093B (en) * 2023-04-28 2023-10-20 荣耀终端有限公司 Page display method and electronic equipment

Also Published As

Publication number Publication date
WO2023231750A1 (en) 2023-12-07

Similar Documents

Publication Publication Date Title
CN113938456B (en) Session message overhead processing method and device
WO2020135185A1 (en) Method and device for notifying read receipt status of message, and electronic device
CN110209315B (en) Method and device for displaying characters in user interface, electronic equipment and storage medium
CN110851863B (en) Application program authority control method and device and electronic equipment
CN115033134A (en) Window display control method and device for vehicle, vehicle and storage medium
US20230024650A1 (en) Method and apparatus for selecting menu items, readable medium and electronic device
WO2023040948A1 (en) Information processing method and apparatus, and terminal and storage medium
CN103294335A (en) Apparatus and method for creating a shortcut menu
CN109491742B (en) Page table rendering method and device
CN112035030B (en) Information display method and device and electronic equipment
US20220408143A1 (en) Control setting method and apparatus, electronic device and interaction system
CN111290861B (en) Message processing method and device and electronic equipment
CN110147283B (en) Display content switching display method, device, equipment and medium
CN107463395B (en) Component calling method and device
CN110134905B (en) Page update display method, device, equipment and storage medium
CN110619101B (en) Method and apparatus for processing information
CN116880990A (en) Task execution method, device, electronic equipment and computer readable storage medium
CN111596992A (en) Navigation bar display method and device and electronic equipment
WO2022184012A1 (en) Document creation method and apparatus, and device and storage medium
CN111767062A (en) Application configuration data updating method, device, equipment and storage medium
CN115470754A (en) Data analysis method and device, computer readable medium and electronic equipment
CN112507385B (en) Information display method and device and electronic equipment
CN113296771A (en) Page display method, device, equipment and computer readable medium
CN112685075A (en) Gray scale distribution method and device, electronic equipment and computer readable medium
CN111193717A (en) FTP black and white list control method and device and electronic equipment

Legal Events

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