CN116149768A - Application icon display method and device, storage medium and vehicle platform - Google Patents

Application icon display method and device, storage medium and vehicle platform Download PDF

Info

Publication number
CN116149768A
CN116149768A CN202310000928.9A CN202310000928A CN116149768A CN 116149768 A CN116149768 A CN 116149768A CN 202310000928 A CN202310000928 A CN 202310000928A CN 116149768 A CN116149768 A CN 116149768A
Authority
CN
China
Prior art keywords
package
local
desktop
version information
cloud
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
CN202310000928.9A
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.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202310000928.9A priority Critical patent/CN116149768A/en
Publication of CN116149768A publication Critical patent/CN116149768A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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
    • G06F3/04817Interaction 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 using icons

Abstract

The invention relates to the technical field of information identification, and particularly provides a display method and device of application icons, a storage medium and a vehicle-to-machine platform, wherein the method comprises the following steps: packaging the software corresponding to the target icon into an AAR file or a Bundle format package; when the desktop starter compiles local AAR operation to successfully acquire an AAR file, or when the desktop starter scans local Bundle content, downloading a Bundle format package; and judging and installing version information of the AAR file or the Bundle format package and system preset application version information based on the local information. The desktop component can be uniformly managed, so that a third party application can be better accessed, and the component style is consistent with the system style; the method can also be used for global display, and the high-priority information is displayed first.

Description

Application icon display method and device, storage medium and vehicle platform
Technical Field
The invention belongs to the technical field of information identification, and particularly relates to a display method and device of application icons, a storage medium and a vehicle-to-machine platform.
Background
With the popularization of smart phones and the continuous updating iteration sent by the Android system. The Android desktop application component is formally supported in Android 12 published by Google, so that the application scene of the desktop component becomes wider. In general, a desktop AppWidget is provided by a third party APP, and can be displayed on an Android system desktop to realize functions such as information display and page skip.
The patent of a method for applying an Android widget on a smart television (application number: CN201811168735. X) mentions that a method for applying an Android widget on a smart television is provided, and the method firstly solves the problem of how to simulate and realize the process of manually adding the Android widget by a user, thereby realizing automatic loading of the Android widget; the method manages the automatically loaded Android widget secondarily, including removal, subsequent loading and the like; and finally, the problem that the inner focus and the outer focus cannot be communicated when the intelligent television is operated by using the remote controller is solved. The scheme can realize automatic loading of the desktop small component, but is only limited to the television end, the working principle of the vehicle and the television is different, the vehicle and the television cannot have frequent scenes such as full-screen video playing and the like, and more cases are used for information display, so the desktop component needs global display.
In the patent 'method, device and mobile terminal for adding icons in an interface' (application number CN 201510028091.4), a method for displaying widgets on a single screen of a mobile phone desktop in a full screen manner is disclosed, so as to solve the problem that the existing android widget control cannot achieve the display effect, firstly, a view layout file which needs to be displayed on the mobile phone desktop is established and named, the full screen widget is dragged to any screen of the desktop manually, a view which needs to be integrated in the full screen is obtained, the view is loaded to a window carrier, gaps on four sides are removed, resident application bars at the bottom of the mobile phone desktop are removed, window attributes are set, and the window widgets of other third-party apps are not allowed to be added. The technical scheme can enable the gadget to be displayed in a full-screen global mode, but cannot coexist with other three-party components, and has high limitation.
Disclosure of Invention
The purpose of the invention is that: the utility model aims to provide a display method, a device, a storage medium and a vehicle platform of application icons, which are used for solving the problems that the current Android system does not have a desktop component display scheme aiming at a vehicle airport scene and the management of partial vehicle preset desktop components is disordered.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
in a first aspect, the present application provides a method for displaying an application icon, including the following steps:
s1, packaging software corresponding to a target icon into a local editing package or a cloud downloading package;
s2, when the desktop starter compiles local AAR operation and successfully acquires the local editing package, or when the desktop starter scans local Bundle content, downloading the cloud downloading package;
s3, judging version information of the local editing package or the cloud downloading package and system preset application version information based on the local information, and loading the desktop component.
With reference to the first aspect, in some optional embodiments, the method further includes:
and when the target icon is loaded, searching whether an application corresponding to the software exists locally or not based on a desktop starter.
With reference to the first aspect, in some optional embodiments, the method further includes:
and adjusting the size of a window, and reserving the target icon display area.
With reference to the first aspect, in some optional embodiments, the local editing package is packaged based on custom View, and the cloud download package is packaged based on front-end act.
With reference to the first aspect, in some optional embodiments, when the desktop host determines that version information and system preset application version information in the acquired local editing package or cloud download package are higher than version information of corresponding software and system preset application version information in the local file, the acquired local editing package or cloud download package is installed.
In a second aspect, the present application provides a display device for application icons, including:
the processing module packages the software corresponding to the target icon into a local editing package or a cloud downloading package;
the transmission module is used for successfully acquiring the local editing package when the desktop starter compiles local AAR operation or downloading the cloud download package when the desktop starter scans local Bundle content;
and the installation module is used for judging and installing the version information of the local editing package or the cloud download package and the preset application version information of the system based on the local information.
With reference to the second aspect, in some optional embodiments, the processing module, the transmission module, and the implementation installation module are electrically connected in sequence.
In a third aspect, the present application provides a computer storage medium having stored therein a computer program capable of executing the display method as described above when the computer program is run on a computer.
In a fourth aspect, the present application provides a vehicle-mounted platform, where the vehicle-mounted platform includes a vehicle-mounted body and the display device for application icons.
The invention adopting the technical scheme has the following advantages:
the desktop module can be uniformly managed, so that a third party application can be better accessed, and the module style is consistent with the system style; finally, the information can be globally displayed, and the high-priority information is displayed first. The global display gadget on the intelligent Android vehicle can enable the vehicle to display more application related data; and enabling functions such as vehicle control, sound control, navigation control and the like for the Android vehicle.
Drawings
The invention can be further illustrated by means of non-limiting examples given in the accompanying drawings;
FIG. 1 is a schematic diagram of the principle of the display method in the embodiment of the application;
FIG. 2 is a flowchart of icon loading in an embodiment of the present application;
FIG. 3 is a schematic diagram of connection of electronic components according to an embodiment of the present application;
fig. 4 is a flowchart of a method according to an embodiment of the present application.
The main reference numerals are as follows:
10: a processing module; 20: a transmission module; 30: and (5) installing a module.
Detailed Description
The present invention will be described in detail below with reference to the drawings and the specific embodiments, wherein like or similar parts are designated by the same reference numerals throughout the drawings or the description, and implementations not shown or described in the drawings are in a form well known to those of ordinary skill in the art. In addition, directional terms such as "upper", "lower", "top", "bottom", "left", "right", "front", "rear", etc. in the embodiments are merely directions with reference to the drawings, and are not intended to limit the scope of the present invention.
With reference to fig. 1 and fig. 4, an embodiment of the present application provides a method for displaying an application icon, where the method includes the following steps:
s1, packaging software corresponding to a target icon into a local editing package or a cloud downloading package;
s2, when the desktop starter compiles local AAR operation and successfully acquires the local editing package, or when the desktop starter scans local Bundle content, downloading the cloud downloading package;
and S3, judging version information of the local editing package or the cloud downloading package and system preset application version information based on the local information, and loading the desktop component.
In step S1, the software corresponding to the target icon is packaged into an AAR file or Bundle format package. And packaging the Android widget to be loaded into an AAR file in a custom View mode or writing and packaging the Android widget into a Bundle format package in a front-end act mode. The AAR file is sent to the vehicle end in a local integrated mode, and the Bundle format package is uploaded to the cloud management platform for dynamic issuing or correction.
In step S2, when the desktop initiator compiles the local AAR operation to successfully obtain the AAR file, or when the desktop initiator scans the local Bundle content, the Bundle format package is downloaded. The desktop Launcher compiles local AAR to run successfully and loads AAR software in a local integration mode, or downloads a corresponding Bundle format package from the cloud after scanning local Bundle content. The cloud is mainly used for issuing Bundle packet data corresponding to the target icon, and no other special logic exists. The main flow is consistent with the general cloud issuing flow. The desktop starter is electrically connected to the local persistent memory and used for downloading the template from the cloud under the normal network by the APP end and storing the template in a local style database of the mobile phone for later use.
In step S3, version information of the AAR file or the format package and system preset application version information are judged and installed based on the local information. With reference to fig. 2, the desktop Launcher loads the AAR file or Bundle format package software based on the local information by comparing the version information in the acquired AAR file or Bundle format package with the system preset application version information. When the desktop host judges that the version information and the system preset application version information in the acquired AAR file or Bundle format package are higher than the version information and the system preset application version information of corresponding software in the local file, loading and installing the acquired AAR file or Bundle format package; when the desktop host judges that the version information and the system preset application version information in the acquired AAR file or Bundle format package are lower than the version information and the system preset application version information of the corresponding software in the local file, the acquired AAR file or Bundle format package is not loaded and installed. The AAR file is installed based on a three-party APP, specifically, as shown in fig. 1, the three-party APP draws and creates the component icon by means of a custom View. And outputting data between the three-party APP and the desktop Launcher through Native. Based on the mode, the constraint is small, the editing and creation can be randomly attempted according to the application condition of the mode, and finally the editing and creation is transmitted to the desktop end in an AAR mode for integrated compiling. The Bundle format package is generated by the three-party App and then sent to the cloud based on the front-end compact, and when the Bundle format package needs to be downloaded, the Bundle format package is downloaded to the local from the cloud by the desktop host. Wherein: the reaction and Native modules are derivative products of JS framework reaction of the Facebook which is opened earlier in the original mobile application platform, and support two large platforms, i.e. iOS and android. The RN develops mobile applications using Javascript language, JSX like HTML, and CSS. The display principle of the target icon is that the view construction technology can be referred to: each UI component at the APP end creates a special parser, identified using a separate name for each style, and each component referenced in the style corresponds one-to-one to a field Type to indicate what Type of control is used. When the APP terminal acquires the style file, the Type of each element in the style is used for controlling which view or control is displayed.
The method further comprises the steps of: and when the target icon is loaded, searching whether an application corresponding to the software exists locally or not based on a desktop starter. When the system starts the desktop client, the desktop host preferentially searches the AAR file and the Bundle format package corresponding to the local target icon, and searches whether an application with a package name corresponding to the target icon exists in the current system. If yes, loading the desktop component; and if not, acquiring the corresponding AAR file and the Bundle format package. The acquisition mode is described in detail above, and will not be described in detail here.
And when loading the software corresponding to the target icon, adjusting the size of a window, and reserving the display area of the target icon. And adjusting the application window size to a preset size, and reserving a target icon display area. A link is established to the system application and the target icon for APP hopping. Wherein, window Size: to support as much screen size as possible, the adaptive layout provides an optimized user experience (regardless of screen size), enabling the application to adapt to vertical or horizontal screen orientation and to a resized configuration.
The embodiment of the application icon display device comprises at least one software functional module which is stored in a storage module in the form of software or Firmware (Firmware) or is solidified in an Operating System (OS) in control equipment. Each function module is used for executing executable modules stored in the storage module, such as a software function module, a computer program module and the like included in the display device of the application icon.
As shown in fig. 3, the display device of the application icon includes a processing module 10, a transmission module 20, and an installation module 30 electrically connected in sequence. The functions of the components may be as follows:
the processing module 10 packages the software corresponding to the target icon into a local editing package or a cloud downloading package;
the transmission module 20 is used for successfully acquiring the local editing package when the desktop starter compiles the local AAR operation or downloading the cloud download package when the desktop starter scans the local Bundle content;
the installation module 30 judges version information of the local editing package or the cloud download package and system preset application version information based on the local information to load the desktop component.
In this embodiment, the memory module may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc. In this embodiment, the storage module may be used to store the transmission mode instruction and the like in the transmission module 20. Of course, the storage module may also be used to store a program, and the processing module executes the program after receiving the execution instruction. The processing, transmitting and installing processes of the data can refer to the above display method, and will not be repeated here.
The embodiment of the application further provides a computer storage medium, in which a computer program is stored, which when run on a computer causes the computer to execute the route detection script generation method as described in the above embodiment.
The embodiment of the application provides a vehicle-mounted platform, which comprises a vehicle-mounted body and the display device of the application icon. The vehicle body supports editing of local icon display style packages and downloading of cloud icon style packages. The interfaces are opened to all APP applications, so that APP display interfaces are unified and are not messy.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented in hardware, or by means of software plus a necessary general hardware platform, and based on this understanding, the technical solution of the present application may be embodied in the form of a software product, where the software product may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disc, a mobile hard disk, etc.), and includes several instructions to cause a computer device (may be a personal computer, an electronic device, or a network device, etc.) to perform the methods described in the respective implementation scenarios of the present application.
In summary, the application icon display method, device, storage medium and vehicle-mounted platform can uniformly manage desktop components, so that third party applications can be better accessed, and component styles are consistent with system styles; finally, the information can be globally displayed, and the high-priority information is displayed first. The global display gadget on the intelligent Android vehicle can enable the vehicle to display more application related data; and enabling functions such as vehicle control, sound control, navigation control and the like for the Android vehicle.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, system, and method may be implemented in other manners as well. The above-described apparatus, systems, and method embodiments are merely illustrative, for example, flow charts 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 application. 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 will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. In addition, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The method, the device, the storage medium and the vehicle platform for displaying the application icons are described in detail. The description of the specific embodiments is only intended to aid in understanding the method of the present invention and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.

Claims (9)

1. The display method of the application icon is characterized by comprising the following steps of:
s1, packaging software corresponding to a target icon into a local editing package or a cloud downloading package;
s2, when the desktop starter compiles local editing software and runs successfully to obtain the local editing package, or when the desktop starter scans local Bundle content, downloading the cloud download package;
s3, judging version information of the local editing package or the cloud downloading package and system preset application version information based on the local information, and loading the desktop component.
2. The display method according to claim 1, characterized in that the method further comprises:
and when the target icon is loaded, searching whether an application corresponding to the software exists locally or not based on a desktop starter.
3. The display method according to claim 1 or 2, characterized in that the method further comprises:
and adjusting the size of a window, and reserving the target icon display area.
4. The display method of claim 1, wherein the local editing package is packaged based on custom View and the cloud download package is packaged based on front-end act.
5. The display method according to claim 4, wherein the acquired local editing package or cloud download package is installed when the desktop host recognizes that version information and system preset application version information in the acquired local editing package or cloud download package are higher than version information and system preset application version information of corresponding software in the local file.
6. A display device for application icons, comprising:
the processing module (10) packages the software corresponding to the target icon into a local editing package or a cloud downloading package;
the transmission module (20) is used for successfully acquiring the local editing package when the desktop starter compiles local AAR operation or downloading the cloud downloading package when the desktop starter scans local Bundle content;
and the installation module (30) is used for judging version information of the local editing package or the cloud download package and system preset application version information based on the local information and loading the desktop component.
7. The display device of application icons according to claim 6, wherein the processing module (10), the transmission module (20) and the implementation installation module (30) are electrically connected in sequence.
8. A computer storage medium, wherein a computer program is stored in the computer storage medium, which, when run on a computer, is capable of performing the display method according to any one of claims 1-5.
9. A vehicle platform comprising a platform body and the display device of application icons according to claim 6.
CN202310000928.9A 2023-01-03 2023-01-03 Application icon display method and device, storage medium and vehicle platform Pending CN116149768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310000928.9A CN116149768A (en) 2023-01-03 2023-01-03 Application icon display method and device, storage medium and vehicle platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310000928.9A CN116149768A (en) 2023-01-03 2023-01-03 Application icon display method and device, storage medium and vehicle platform

Publications (1)

Publication Number Publication Date
CN116149768A true CN116149768A (en) 2023-05-23

Family

ID=86359375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310000928.9A Pending CN116149768A (en) 2023-01-03 2023-01-03 Application icon display method and device, storage medium and vehicle platform

Country Status (1)

Country Link
CN (1) CN116149768A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116679852A (en) * 2023-08-03 2023-09-01 民航成都信息技术有限公司 Project icon quotation method and device, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116679852A (en) * 2023-08-03 2023-09-01 民航成都信息技术有限公司 Project icon quotation method and device, electronic equipment and medium
CN116679852B (en) * 2023-08-03 2023-10-27 民航成都信息技术有限公司 Project icon quotation method and device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN105867947B (en) Data processing method and device after preset application program updating
CN107741844B (en) Method and device for generating application installation package
CN105335183A (en) Software upgrade method and system
US20180373544A1 (en) Application activation method and apparatus
CN105573787A (en) Software upgrade method and device based on vehicular T-Box
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
EP2492821A1 (en) Method and device for updating data card
CN104965723B (en) The operation method and device of application program
US9361710B2 (en) Defining a midlet region space
CN112256296A (en) Express delivery service APP updating method, device, equipment and storage medium based on Weex
CN116149768A (en) Application icon display method and device, storage medium and vehicle platform
CN113127361A (en) Application program development method and device, electronic equipment and storage medium
CN111367518B (en) Page layout method, page layout device, computing equipment and computer storage medium
CN105700903A (en) User terminal upgrading method and user terminal
CN103297516B (en) The polymorphic type of a kind of application provides method, system and device
CN114490103A (en) Operating system interface calling method and device and electronic equipment
CN107092472B (en) Dynamic publishing method and device
CN104598281A (en) Method for upgrading system of electronic device
CN107704279B (en) Data loading method and device
CN115129444A (en) Application program display method and device and computer readable storage medium
CN113590179A (en) Plug-in detection method and device, electronic equipment and storage medium
CN103678411A (en) Picture information processing method, operation processing method and electronic equipment
CN115437551A (en) Data cloning method, device, storage medium and computer program product
CN113282363A (en) Method and device for optimizing hybrid APP
CN115033193A (en) Screen rotation processing method, screen rotation processing device, screen rotation processing medium 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