CN116382822A - Homepage display method and display equipment - Google Patents

Homepage display method and display equipment Download PDF

Info

Publication number
CN116382822A
CN116382822A CN202310241860.3A CN202310241860A CN116382822A CN 116382822 A CN116382822 A CN 116382822A CN 202310241860 A CN202310241860 A CN 202310241860A CN 116382822 A CN116382822 A CN 116382822A
Authority
CN
China
Prior art keywords
application
homepage
preset
target application
mode
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
CN202310241860.3A
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202310241860.3A priority Critical patent/CN116382822A/en
Publication of CN116382822A publication Critical patent/CN116382822A/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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a display device and a homepage display method, the method comprising: after the system is initialized, if the current mode of the system is a preset mode and the system is provided with a target application, deleting the homepage attribute of the preset application and adding the homepage attribute to the target application, so that the system can start the target application as the homepage, and does not start the preset application as the homepage. Wherein the preset mode refers to a mode set as a replaceable homepage, the preset application refers to an application having homepage properties before system initialization, and the target application refers to an application having no homepage properties before system initialization and set as a homepage bootable. According to the method and the system, when the current mode of the system is the preset mode and the target application is installed, the target application is started as the homepage, and the target application can be the user customized application, so that the homepage can be quickly switched, the user customized homepage requirement is met, and the user use experience is improved.

Description

Homepage display method and display equipment
Technical Field
The present invention relates to the field of computer software, and in particular, to a homepage display method and a display device.
Background
The android is used as an operating system widely applied, a large number of built-in third-party application programs can be provided, and the android display device can have the functions of browsing webpages, sending and receiving mails, watching network programs and the like by means of abundant application software support of the android system. Wherein the home page application is an application program with home page attributes.
The home page attribute is an attribute for specifying the first page displayed after entering the application, i.e., an attribute for defining the interface displayed when the current application is opened. The home page is thus a type of user interface upon activation of the display device. The homepage is used as a display page of the display device, and provides resources such as application inlets, recommended content and the like for users.
The existing display device usually has only one homepage, namely, only one application usually has homepage attributes, the homepage attributes are preset in the application, and the user has no authority to change, so if the user needs to customize the homepage, the homepage needs to be changed, and the user needs to complete machine matching modification, so that the use experience of the user is poor.
Disclosure of Invention
The application provides a homepage display method and display equipment, which can realize the fast homepage switching and meet the requirement of customized homepage of users.
In a first aspect, some embodiments of the present application provide a display device, including:
a display;
a controller configured to:
after the system is initialized, mode information of a current mode of the system is obtained;
if the current mode of the system is determined to be a preset mode according to the mode information, and a target application is installed in the system, deleting the homepage attribute of the preset application, and adding the homepage attribute to the target application, wherein the preset mode refers to a mode which is set to be a replaceable homepage, the preset application refers to an application which has the homepage attribute before the system is initialized, and the target application refers to an application which does not have the homepage attribute before the system is initialized and is set to be started as the homepage;
the target application is launched as a homepage, and the preset application is not launched as a homepage.
In a second aspect, some embodiments of the present application provide a homepage display method, including:
after the system is initialized, mode information of a current mode of the system is obtained;
if the current mode of the system is determined to be a preset mode according to the mode information, and a target application is installed in the system, deleting the homepage attribute of the preset application, and adding the homepage attribute to the target application, wherein the preset mode refers to a mode which is set to be a replaceable homepage, the preset application refers to an application which has the homepage attribute before the system is initialized, and the target application refers to an application which does not have the homepage attribute before the system is initialized and is set to be started as the homepage;
The target application is launched as a homepage, and the preset application is not launched as a homepage.
According to the technical scheme, the display device and the homepage display method provided by the embodiment can judge the current mode of the system after the system is initialized. If the current mode of the system is the preset mode, then judging whether the system is provided with the target application or not. If the system installs the target application, the homepage attribute of the preset application is deleted, and the homepage attribute is added to the target application, so that the system starts the target application as the homepage and does not start the preset application as the homepage. Wherein the preset mode is a mode in which a replaceable homepage is set, the preset application refers to an application that already has homepage attributes before system initialization, and the target application refers to an application that does not have homepage attributes before system initialization and is set to be bootable as a homepage. According to the method and the system, when the current mode of the system is the preset mode and the target application is installed, the target application is started as the homepage and the preset application is not started as the homepage, and the target application can be a user customized application, so that the homepage can be quickly switched, the user customized homepage requirements are met, and the user use experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a usage scenario of a display device provided in accordance with some embodiments;
fig. 2 shows a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in a display device 200 according to some embodiments;
FIG. 5 illustrates a method flow diagram of a display device 200 performing a home page display, in accordance with some embodiments;
FIG. 6 illustrates a flow chart of a hotel display device 200 dynamically replacing a target application with a homepage, according to some embodiments;
FIG. 7 illustrates a system framework diagram of a hotel display device 200 dynamically switching homepages, according to some embodiments;
FIG. 8 illustrates a framework diagram of a PMS detection target application according to some embodiments;
FIG. 9 illustrates a method flow diagram for still another display device 200 performing a home page display, in accordance with some embodiments;
FIG. 10 illustrates a schematic diagram of a user interface according to some embodiments;
FIG. 11 illustrates a method flow diagram for yet another display device 200 to perform a home page display in accordance with some embodiments;
FIG. 12 illustrates a schematic diagram of yet another user interface in accordance with some embodiments;
FIG. 13 illustrates a schematic diagram of yet another user interface in accordance with some embodiments;
FIG. 14 illustrates a schematic diagram of yet another user interface in accordance with some embodiments;
FIG. 15 illustrates a schematic diagram of yet another user interface in accordance with some embodiments;
FIG. 16 illustrates a schematic diagram of yet another user interface in accordance with some embodiments;
FIG. 17 illustrates a schematic diagram of yet another user interface in accordance with some embodiments;
fig. 18 illustrates an interactive flow diagram of the display device 200 and the server 400, according to some embodiments.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the exemplary embodiments of the present application will be clearly and completely described below in connection with the exemplary embodiments of the present application and the corresponding drawings. It will be apparent that the exemplary embodiments described are only some, but not all, of the embodiments of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience of understanding the embodiments described below, and is not intended to limit the embodiments of some examples of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," second, "" third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for limiting a particular order or sequence, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The display device provided in the embodiment of the application may have various implementation forms, for example, may be a television, an intelligent television, a laser projection device, a display (monitor), an electronic whiteboard (electronic bulletin board), an electronic desktop (electronic table), and the like. Fig. 1 and 2 are specific embodiments of a display device of the present application.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control device in an exemplary embodiment of the present application. As shown in fig. 1, a user may operate the display device 200 through the mobile terminal 300 and the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on a smart device.
In some embodiments, the display device may receive instructions not using the smart device or control device described above, but rather receive control of the user by touch or gesture, or the like.
In some embodiments, the display device 200 may also perform control in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 device for acquiring voice commands, or the voice command control of the user may be received through a voice control device configured outside the display device 200 device.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 in accordance with an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and function as an interaction between the user and the display device 200. As shown in fig. 3, the display apparatus 200 includes at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
In some embodiments the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface. The display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, a component for receiving an image signal from the controller output, displaying video content, image content, and a menu manipulation interface, and a user manipulation UI interface. The display 260 may be a liquid crystal display, an OLED display, a projection device, or a projection screen.
The communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
A user interface, which may be used to receive control signals from the control device 100 (e.g., an infrared remote control, etc.).
The detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector such as a camera, which may be used to collect external environmental scenes, user attributes, or user interaction gestures, or alternatively, the detector 230 includes a sound collector such as a microphone, or the like, which is used to receive external sounds.
The external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, or the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
The modem 210 receives broadcast television signals through a wired or wireless reception manner, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
The controller 250 controls the operation of the display device and responds to the user's operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments the controller includes at least one of a central processing unit (Central Processing Unit, CPU), video processor, audio processor, graphics processor (Graphics Processing Unit, GPU), RAM Random AccessMemory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces for input/output, a communication Bus (Bus), and the like.
The user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
A "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user, which enables conversion between an internal form of information and a user-acceptable form. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
As shown in fig. 4, the system of the display device is divided into three layers, an application layer, a middleware layer, and a hardware layer, from top to bottom.
The application layer mainly comprises common applications on the television, and an application framework (Application Framework), wherein the common applications are mainly applications developed based on Browser, such as: HTML5 APPs; and Native applications (Native APPs).
The application framework (Application Framework) is a complete program model with all the basic functions required by standard application software, such as: file access, data exchange, and the interface for the use of these functions (toolbar, status column, menu, dialog box).
Native applications (Native APPs) may support online or offline, message pushing, or local resource access.
The middleware layer includes middleware such as various television protocols, multimedia protocols, and system components. The middleware can use basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so that the purposes of resource sharing and function sharing can be achieved.
The hardware layer mainly comprises a HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for all the television chips to be docked, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc.
In some embodiments of the present application, a user interface may be displayed on the display 260, where the user interface may be a specific target image, for example, various media materials obtained from a network signal source, including video, pictures, and so on. The user interface may also be some UI interface of the display device 200, such as a system recommendation page or the like. The user interface may also be a home page. The homepage is a user interface after the display device 200 is started, and the homepage can provide resources such as application entries, recommended content and the like for the user. In some embodiments, the homepage may be of various types, such as a homepage in a business mode or a homepage in a home mode, with the homepage presenting different display content in different modes, which may be reflected in a specific interface layout and recommended content.
The home page of the display device 200 is a page displayed by an application with a home page attribute. The home page attribute is an attribute for specifying the first page displayed after entering the application, i.e., an attribute for defining the interface displayed when the current application is opened. Only one application of the display apparatus 200 has a homepage attribute, so the display apparatus 200 has only one homepage, and the homepage attribute is an attribute preset in the application, and the user has no authority to modify. Therefore, if the user needs to customize the homepage, the homepage needs to be changed, and the whole machine is matched and modified. For example, when different hotels need to display customized homepages of hotels to users, homepages of original factory configuration of the display device 200 need to be changed, and meanwhile, the whole configuration of the display device 200 needs to be matched and modified, which is time-consuming and has poor user experience.
In order to achieve a quick switch home page and meet the user's customized home page requirements, some embodiments of the present application provide a display device 200. In order to facilitate understanding of the technical solutions in some embodiments of the present application, the following details of each step are described with reference to some specific embodiments and the accompanying drawings. Fig. 5 is a flowchart of a method for executing homepage display by the display device 200 according to some embodiments of the present application, as shown in fig. 5, where the controller 250 in some embodiments of the present application is configured to execute the following steps S1-S2, which are specifically as follows:
step S1: after the system of the display apparatus 200 is initialized, the current mode of the system is detected, if the current mode of the system is a preset mode, whether a target application is installed in the system is continuously detected, and if the target application is installed in the system, the homepage attribute of the preset application is deleted and the homepage attribute is added to the target application.
Before the system of the display device 200 is initialized, the display device 200 needs to be started, and a user input to start the display device 200 may be generated for the user by pressing a start key on the control device 100. The home page application needs to be started after the display device 200 is started so that the home page is displayed on the user interface of the display device 200. The homepage provides media information for the user to select. Wherein the system initialization may be the initiation of an AMS (activity management service). The AMS starts up in a system server process, and has the role of communicating with all four components (Activity, service, broadcastReceiver, content Provider) of an application, and the application starts up and opens up the interface of the home page, which needs to communicate with the AMS. It should be noted that, both the power-on of the display device 200 and the pressing of the home key start the process of displaying the homepage in this embodiment.
The detecting the current mode of the system may be by reading mode information of the current mode, and determining the current mode of the system according to the mode information. And reading the mode information of the current mode of the system, and if the current mode of the mode information display system is a preset mode, continuously judging whether the target application is installed in the system.
In some embodiments, the step of obtaining the mode information may include: after the display device 200 is powered on, a Boot up service (Boot) starts up the display device 200, and then the SystemServer sends the acquisition mode information to the cache. The mode information may be stored in a cache in the following manner: the mode information is information of a mode adopted by the display device 200 last time, and after the display device 200 is turned off, the mode information adopted before the shutdown is stored in a cache for being read when the display device is turned on next time. The cache transmits the fed back mode information to the system service, if the system service receives the mode information, a homepage application message is generated according to the mode information, and the homepage application message is transmitted to a desktop starter (host), and the desktop starter performs the subsequent step of starting the homepage application according to the mode information. If the mode information is not obtained from the cache (e.g., the user has not set the mode, where the setting may be the mode that the system was using the last time the display device 200 was used), then a default mode is employed to launch the default home application.
For example, the default mode may be a standard mode, and if the user does not set the mode, the system is started to the standard mode, and in the standard mode, a default home application a is started, and the home application a is used as a user interface presented to the user after the display device 200 is started. If the user sets the mode, for example, when the display device is used last time, the mode used by the system is a succinct mode, and the mode indicated by the mode information acquired by the display device is the succinct mode.
The preset mode is a mode set as a replaceable homepage, i.e., if the current mode of the system is the preset mode, it is supported to replace the application defaulted as the homepage with other applications. Illustratively, the default mode is set to replace the home page application from the default home page application a to the non-default home page application B, C …. If the current mode of the system is not the preset mode, the home page application may not be replaced from the default home page application A to the non-default home page application B, C …. The mode of setting the preset mode to the replaceable homepage may be a mode of supporting a third party application as a switch of the homepage application to be on.
After detecting that the current mode of the system is the preset mode, continuing to detect whether the target application is installed in the system. The target application of the present application is an application that does not have a homepage attribute before system initialization and is set to be bootable as a homepage.
The system may register as a homepage application by adding a homepage attribute (home attribute) to a certain application in a global profile (e.g., alives). The system will find the application registered with the homepage attribute at the first moment after the initialization of the system framework is completed, and then start it. The target application does not register the homepage attribute before the system is initialized, and the preset application registers the homepage attribute before the system is initialized, so that if the homepage attribute is not modified, the preset application is an application started by default, namely the default startup takes the page of the preset application as the homepage, and the target application refers to a third party application of a user for displaying the customized page.
In some embodiments, a method of detecting whether a target application is installed in a system may include the steps of: and scanning the installed application in the system, and determining the application added with the designated action and the starting permission as the target application, wherein the designated action is used as a replacement homepage action. That is, the added replacement homepage action and the startup right are two conditions for the application as the target application. If the application has both conditions, the application can be used as the next step of the target application to display the homepage, and if the application does not have both conditions, the application cannot be used as the target application to display the homepage. Illustratively, an application a and an application B are installed in the system, wherein the application a has added a replacement homepage action and a boot permission, and the application a can be determined as a target application. The application B does not add the boot permission although the replacement homepage action is added, or does not add the replacement homepage action although the boot permission is added, and cannot be determined as the target application. It should be noted that, all the target applications mentioned in the present application are applications that satisfy the above conditions, that is, all the target applications mentioned in the present application are applications that can be replaced by home applications, so the target applications will not be described in detail in other embodiments.
If it is detected that a target application is installed in the system, that is, an application exists in the system that can be started as a homepage application, the target application may be a user customized homepage application, homepage attributes of a preset homepage application (preset application) may be deleted, and homepage attributes may be added to the customized homepage application (target application). After the completion of the step S1, the following step S2 may be performed.
Step S2: instead of launching a preset application, a customized home application (target application) is launched. Therefore, the homepage can be quickly switched, and the requirement of a user for displaying customized homepage is met.
If the target application is not detected to be installed in the system, namely, no application which can be started as a homepage application exists in the system, namely, no user customized homepage application exists, the homepage attribute of the preset application is not deleted. After the completion of the step S1, the following step S3 may be performed.
Step S3: and starting a preset application.
In some embodiments, launching the home application (preset application or target application after adding the home attribute) may include the steps of: the desktop starter process initiates a start activity (startActivity) request to the system service process by adopting inter-process communication; after receiving the request, the system service process sends a request for creating a process to the hatching process; the hatching process derives a new subprocess, namely a homepage application process; the homepage application process initiates an additional application program request to the system service process through inter-process communication; after receiving the request, the system service process sends a request for planning to start the activity to the homepage application process through inter-process communication; an application thread of the home page application process) sends a transmission activity message to the main thread through the handler after receiving the request; after receiving the information, the main thread creates a target activity through a transmitting mechanism and calls back methods such as activity creation (onCreate (); the homepage application is formally started, starts to enter an active life cycle, executes the onCreate/onStart/onResume method, and can see the main interface of the application after the UI rendering is finished.
As can be seen from the above technical solutions, the display device 200 provided in the above embodiments determines the current mode of the system after the system is initialized. If the current mode of the system is the preset mode, then judging whether the system is provided with the target application or not. If the system installs the target application, the homepage attribute of the preset application is deleted, and the homepage attribute is added to the target application, so that the system starts the target application as the homepage and does not start the preset application as the homepage. Wherein the preset mode is a mode in which a replaceable homepage is set, the preset application refers to an application that already has homepage attributes before system initialization, and the target application refers to an application that does not have homepage attributes before system initialization and is set to be bootable as a homepage. According to the method and the system, when the current mode of the system is the preset mode and the target application is installed, the target application is started as the homepage and the preset application is not started as the homepage, and the target application can be a user customized application, so that the homepage can be quickly switched, the user customized homepage requirements are met, and the user use experience is improved.
The following is a specific application of the homepage display method provided in some embodiments of the present application in the customized homepage scene of the display device 200 for hotels:
Fig. 6 is a flowchart of dynamically replacing a homepage with a target application by the display device 200 for a hotel, and fig. 7 is a system frame diagram of dynamically switching homepages by the display device 200 for a hotel, wherein the method shown in fig. 6 can be applied to the system shown in fig. 7.
As shown in fig. 7, the system for dynamically switching home pages of the hotel display device 200 includes a third party application, a preset application, a hotel menu application, and an android frame. Wherein the third party application, if it is to be determined as the target application, is required to meet the following conditions including: the activity of the third party application needs to specify an action (the specific script is action: com. Android. Action. Replace_home); adding configuration of android standard determining the entry activity of the application (specific script is android.intent.action.MAIN) and configuration which can be implicitly started (specific script is android.intent.Default) into a manifest file (application function description file) of the third party application; boot startup authority (specific script android: directootaware= "true") is added. Since the homepage application is started earlier than other applications and needs to be started before boot complex is completed, the third party application needs to add a startup right to start as homepage.
action is an action that can be performed on the operation of the application. The action may be to uninstall the application, add a shortcut, and dial a phone number. And monitoring the unloading condition of the application program by utilizing the action, for example, the action is an unloading application program, the script corresponding to the action is android. In this embodiment, the action is to add a homepage attribute, and the script corresponding to the action is com.
The target application is replaced by a homepage application, and the hotel menu application is also required to meet the following conditions: the system is in hotel mode and the hotel menu application supports the switch of the target application as a home page in an on state. The mode information and the switch state information of the target application as the homepage are stored in the setting database.
As shown in fig. 6, the specific procedure of the hotel display device 200 to dynamically replace the homepage is:
the ASM is started, and the mode information and the switch state information of the target application serving as a homepage are read from a setting database. If the read mode information is the hotel mode and the switch state information of the target application as the homepage is on, then it is determined whether the target application has been installed in the system. If the read mode information is not hotel mode or the switch state information of the target application as homepage is off, the preset application is directly started.
If the system is in hotel mode and the switch state of the target application as homepage is on, if the target application is installed in the system, the homepage attribute of the preset application is removed, the homepage attribute is added to the target application, and then the target application is started as homepage, and the preset application is not started as homepage. The android system can pull up the homepage application after scanning is completed, and after the homepage attribute of the preset application is deleted and the homepage attribute is added to the target application, the application with the homepage attribute only has the target application, so that the interface of the target application can be pulled up at the moment to serve as a homepage entry. If the target application is installed, the whole machine analyzes the target application by adding the homepage attribute to the category in the Manifest file of the target application, so that the target application is the homepage application which can be identified by the android system. If the target application is not installed in the system, the android system can recognize that the homepage application is only a preset application, so that an interface of the preset application is pulled up to serve as a homepage entry.
Fig. 8 is a schematic diagram of a detection whether a target application is installed or not according to some embodiments of the present application, and as shown in fig. 9, whether the target application is installed or not in the detection system is detected by scanning an application installed on the whole machine through an android PMS (PackageManager Service, application program installation package management service). Specifically, the android PMS parses a manifest.xml file (global configuration file) of each application, detects whether specified action information (com.android.action. Replace_home) exists, if so, adds a category in the manifest.xml of the application of the specified action to a homepage attribute of the android standard, and deletes the homepage attribute of the preset application (deletes the homepage attribute of the category in the manifest.xml).
FIG. 9 is a flowchart illustrating yet another home page display method, as shown in FIG. 9, according to an exemplary embodiment, which may further include the following steps on the basis of the embodiment shown in FIG. 5:
in step S201, after the system is initialized, determining that the current mode of the system is a preset mode and at least two target applications are installed;
in step S202, in response to a user input selecting a first target application, deleting a homepage attribute of a preset application and adding the homepage attribute to the first target application;
in step S203, the first target application is launched as a homepage and the preset application is not launched as a homepage.
For example, after the system is initialized, it is detected that the current mode of the system is a hotel mode, and a target application a and a target application B are installed (the target application a and the target application B each satisfy the above three conditions as the specified action application), then a selection dialog box may be popped up in the user interface as shown in fig. 10. The selection dialog box comprises a target application A control and a target application B control. And if a control instruction of selecting the target application A control by the user is received, adding a homepage attribute to the target application A in response to the control instruction, and then pulling up the page of the target application A as a homepage entry. And if a control instruction of selecting the target application B control by the user is received, adding a homepage attribute to the target application B in response to the control instruction, and then pulling up the target application B to serve as a homepage entry. In this exemplary embodiment, if there are a plurality of target applications in the system, an application to which a homepage attribute needs to be added may be determined according to parameters such as the frequency of use and update time of each target application. Therefore, not only can the homepage be quickly switched, but also different homepage applications can be selectively started according to the current use condition.
In some embodiments, after deleting the home page attribute of the preset application, the preset application remains in the system as a normal application, so that the preset application can be normally used on the display device even though the interface of the target application is used as a home page portal. In some embodiments, the preset application may also be set to be hidden in the system directly after the home page attributes of the preset application are deleted. For example, if the preset application only has a function of displaying the animation when the home page is displayed, and the display of the animation when the home page is not needed, the preset application can be hidden from the home page interface, so that the home page interface is simpler.
In the above embodiment, after the system is initialized, the display device 200 first determines whether the current mode of the system is the preset mode, and if the current mode is the preset mode, continues to determine whether the target application is installed. In some embodiments, after the system is initialized, the display device 200 may first detect whether the target application is installed in the complete machine, and then determine the mode information. If the designated target application is not installed, the default home application may be launched directly in the default mode as the home page, or the preset application may be launched in the preset mode as the home page. If the target application is installed, continuing to judge the current mode of the system, if the current mode of the system presets the mode, deleting the homepage attribute of the preset application and adding the homepage attribute to the target application, and starting the target application after adding the homepage attribute as the homepage, without starting the preset application as the homepage. If the target application is not installed, the step of starting the preset application as the homepage can be directly executed, and the step of reducing judgment improves the homepage display efficiency.
In the above-described embodiment, the target application is installed in the system, but in some embodiments, the target application may not be installed in the system, but an installation package of the target application is stored in a preset storage area. FIG. 11 is a flowchart illustrating yet another home page display method, as shown in FIG. 11, according to an exemplary embodiment, which may further include the following steps on the basis of the embodiment shown in FIG. 5:
in step S301, after the system is initialized, if the current mode of the system is a preset mode and the target application is not installed, the preset storage area is scanned.
After the preset storage area is scanned in step S302, if the preset storage area stores the installation package of the target application, the target application installation package stored in the preset storage area is installed, and the installation of the target application is completed.
In step S303, deleting the homepage attribute of the preset application and adding the homepage attribute to the installed target application;
in step S304, the target application after adding the homepage attribute is launched as the homepage, and the preset application is not launched as the homepage.
The present embodiment is equivalent to that the target application may be configured in a preset storage area, and if the target application runs erroneously in the system or is deleted erroneously, the target application installation package may be reinstalled after being loaded from the preset storage area. And the target application installation package in the preset storage area can be updated at any time or replaced by the installation package of other target applications, so that the target application can be updated or replaced according to the requirements. It should be noted that the preset storage area may be integrated with the display device 200, or may be external to the display device 200. If the preset storage area is located outside the display device 200, the preset storage area may also be updated without interrupting the normal display of the display device 200, for example, the installation package of the target application in the preset storage area is updated, or the installation package of the target application in the preset storage area is cleared.
The target application a is installed in the system in advance, but the target application is not installed in the system after being deleted by mistake, and an installation package of the target application a can be obtained from a preset storage area, and the target application a is installed in the system again. Alternatively, the installation package of the target application B may be acquired from a preset storage area, so as to replace the target application a installed in the system with the target application B.
Based on the above embodiment, if the target application has been installed in the system, it may also be determined whether there is an installation package of the target application of the updated version according to the version of the target application that has been installed. If there is an installation package of the target application of the updated version, the target application may be updated according to the installation package of the target application of the updated version.
Illustratively, version 1.0 of the target application a is already installed in the system, and if an installation package of the target application a is stored in the preset storage area, the version of the installation package may be detected. If the installation package version of the target application a stored in the preset storage area is 2.0, the target application a installed in the system may be updated according to the installation package version of the target application a of 2.0. Thus, the dynamic update of the target application can be realized, and the dynamic update of the customized homepage is realized.
In consideration of the possibility that the target application is not installed successfully, it may also be determined whether the target application in the preset storage area is installed successfully. The installation log of the display device 200 (for example, the android system may be stored in/data/system/package. Xml) records identification information (for example, a unique version number and a package name) of an application installed in the display device 200, and the identification information recorded in the installation log may be cleared after the terminal device is restored to factory settings, or after a certain application is uninstalled, the identification information corresponding to the application may be cleared as well. Therefore, whether the target application corresponding to the target application installation package is installed or not can be judged according to the identification information recorded in the installation log. If the installation log records the identification information of the target application corresponding to the target application installation package, the target application installation package can be judged to be installed. If the installation log records the identification information of the target application corresponding to the target application installation package, the target application installation package can be judged not to be installed. If the target application installation package is judged not to be installed, a dialog box can be popped up for the user to select to manually install the target application installation package.
Illustratively, the installation package of the target application a in the preset storage area is marked with identification information, and if the identification information X is recorded in the installation log of the read display device 200, it is determined that the target application a is installed. If the identification information X is not read from the display apparatus 200, it is determined that the target application a is not installed or the target application a is not updated.
In some embodiments, after the system of the display device 200 is initialized, a first control corresponding to the preset mode and a first control corresponding to the non-preset mode may also be displayed on the display 260, and the user may cause the system to enter a different mode by selecting a different control. For example, in response to a user input selecting a first control corresponding to a preset mode, causing the system to enter the preset mode, or in response to a user input selecting a second control corresponding to a non-preset mode, causing the system to enter the non-preset mode. The system may be installed with different target applications in different modes.
Illustratively, as in the user interface shown in FIG. 12, after system initialization of the display device 200, an A control corresponding to the business mode and a B control corresponding to the home mode are displayed on the display 260. If the user selects the A control, then in response to user input selecting the A control, the system enters business mode, jumping from the user interface shown in FIG. 12 to the user interface shown in FIG. 13. If the user selects the B control, the system enters home mode in response to user input selecting the B control, jumping from the user interface shown in FIG. 12 to the user interface shown in FIG. 14.
Wherein both the business mode and the home mode are configured to support the target application as a homepage application launch. The business model may install a target application a, where the target application a may be configured to present the merchant's merchandise. After the system enters the business mode, the homepage attribute of the preset application is deleted and the homepage attribute is added to the target application A, so that the target application A can be started as the homepage, and the requirement of displaying the customized homepage of the business is met. The home mode may install a target application B, where the target application B may be configured to expose media assets. After the system enters the home mode, the homepage attribute of the preset application is deleted and the homepage attribute is added to the target application B, so that the target application B can be started as the homepage, and the requirement that a user can watch media resources after starting up is met. Therefore, the same display device can meet different use scenes, and the suitability of the display device is improved.
In some embodiments, a control to exit the current mode may also be configured on the current home interface of the display device 200, from which the system may exit in response to user input selecting the exit current mode control. The system exits the current mode and can return to the interface of the selection mode or automatically enter the default mode.
Illustratively, a control to exit the current mode is configured in the user interface in the business mode as shown in fig. 13, and in response to a user input selecting the control to exit the current mode, the system exits from the business mode, may jump from the user interface shown in fig. 13 back to the user interface shown in fig. 12, or jump to the user interface in the default mode shown in fig. 15 (an interface that may directly display the home application in the default mode). In response to user input selecting the exit current mode control, a mode list, including a plurality of mode options, may be displayed on the exit current mode control, as in the user interface shown in FIG. 16. The different mode options may be selected by moving the selector so that the system enters the mode selected by the selector.
In some embodiments, a plurality of applications may also be set as target applications, and if the current mode of the system is a preset mode, after deleting the homepage attribute of the preset application, the homepage attribute is added to the plurality of target applications at the same time, and then the plurality of target applications are started as homepages. Illustratively, when the current mode of the system is detected as a commercial mode (a mode of replaceable homepage) and the target application a and the target application B are installed, the homepage attribute of the preset application is deleted and then the homepage attribute is added to the target application a and the target application B at the same time. The target application A is used for displaying the development history of the merchant, and the target application B is used for displaying main products of the merchant. After the homepage attribute is added to the target application a and the target application B at the same time, as in the user interface shown in fig. 17, the interfaces of the target application a and the target application B may be simultaneously displayed on the display 260. Thus, if the user needs to modify a certain area of the homepage, only the target application where the area needs to be modified is needed to be adjusted, and all target applications do not need to be adjusted.
In some embodiments, if the system is in a preset mode but it is detected that the target application is not installed in the system, an installation package of the target application may also be obtained from the server 400. FIG. 18 illustrates a flow diagram of interactions of a display device and a server in some embodiments. After the system of the display apparatus 200 is initialized, if it is detected that the system is in a preset mode but a target application is not installed in the system, the display apparatus 200 transmits a target application acquisition request to the server 400. The server 400 here may be a system-specific server, for example, a server 400 that has established an association relationship with the current display apparatus 200.
When the display device 200 establishes an association relationship with the server 400, the server 400 may acquire the device identification of the display device 200. The device identification may be used to uniquely identify the device, thereby distinguishing between different devices. In generating the Device identification, the server 400 may acquire Device information of the display Device, which may include a Device ID of the display Device 200, such as a Device ID, and may also include a Device address of the display Device, which may be a physical address, such as a MAC address. And splicing the device ID and the MAC address of the display device to obtain a spliced character string, namely the device identifier of the display device. After the server 400 obtains the device identifier of the display device 200, the display device 200 may use the unique access token and the device identifier to obtain data from the server 400 by binding the device identifier to a unique access token, so that the display device 200 and the server 400 establish an association relationship based on the above method.
Based on the association relationship, the target application installation package acquisition request carries an access token and a device identifier. Different device identifications may correspond to different target application installation packages. After receiving the target application acquisition request, the server 400 searches whether an installation package of the target application corresponding to the device identifier exists in the server 400. If there is an installation package of the target application in the server 400, the server 400 feeds back the installation package of the target application to the display apparatus 200. After receiving the installation package of the target application, the display device 200 installs the target application according to the installation package of the target application. And deleting the homepage attribute of the preset application, and adding the homepage attribute to the installed target application. Then the home page application identified by the system only has the target application, and the interface of the target application is pulled up to serve as a home page entry, but the interface of the preset application is not pulled up to serve as the home page entry.
The present embodiment is exemplarily applied to the following scenarios: the joined hotel a needs to present a unified home interface (e.g., the hotel display device needs to uniformly install the target application B), the display device 200 is in a commercial mode after startup and the installation of the target application B is not detected in the system, and the display device 200 may send an acquisition request of the target application B to the hotel a official server 400. Since the display device 200 has established an association with the hotel a official server 400, the hotel a official server 400 can feed back the installation package of the target application B to the display device 200 according to the acquisition request. After the display apparatus 200 acquires the installation package of the target application B, the target application B is installed in the system. And deleting the homepage attribute of the preset application, adding the homepage attribute to the target application B, and pulling up the interface of the target application B to serve as a homepage portal, so that the display device 200 can display the homepage interface unified by the hotel A.
The same and similar parts of the embodiments in this specification are referred to each other, and are not described herein.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied essentially or in parts contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the embodiments or parts of the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, characterized by comprising:
a display;
a controller configured to:
after the system is initialized, mode information of a current mode of the system is obtained;
if the current mode of the system is determined to be a preset mode according to the mode information, and a target application is installed in the system, deleting the homepage attribute of the preset application, and adding the homepage attribute to the target application, wherein the preset mode refers to a mode which is set to be a replaceable homepage, the preset application refers to an application which has the homepage attribute before the system is initialized, and the target application refers to an application which does not have the homepage attribute before the system is initialized and is set to be started as the homepage;
The target application is launched as a homepage, and the preset application is not launched as a homepage.
2. The display device of claim 1, wherein the controller is further configured to:
if the current mode of the system is determined to be a preset mode according to the mode information and a target application is not installed in the system, not deleting the homepage attribute of the preset application;
and starting the preset application as a homepage.
3. The display device of claim 1, wherein the controller performs detecting whether the target application is installed, further configured to:
acquiring application information of an installed application in a system, and if the application information of a first application simultaneously comprises a designated action and a starting permission, determining the first application as a target application, wherein the designated action is a replacement homepage action;
and if the application information of the second application does not simultaneously comprise the appointed action and the starting permission, determining that the second application is not the target application.
4. The display device of claim 1, wherein the controller is further configured to:
if the current mode of the system is determined to be a preset mode according to the mode information, and a target application is not installed in the system, and meanwhile, an installation package of the target application is stored in a preset storage area, loading the installation package from the preset storage area;
Installing the target application in a system according to the installation package;
deleting homepage attributes of a preset application, and adding homepage attributes to the target application;
the target application is launched as a homepage, and the preset application is not launched as a homepage.
5. The display device of claim 1, wherein the controller is further configured to:
and deleting the homepage attribute of the preset application, and simultaneously, after adding the homepage attribute to the target application, keeping the preset application as a non-homepage application in the system.
6. The display device of claim 1, wherein the controller executing the set system mode is further configured to:
displaying a first control and a second control on the display after system initialization, wherein the first control corresponds to the preset mode, and the second control corresponds to a non-preset mode;
in response to a user input selecting the first control, a mode of the display device is switched to the preset mode without being switched to the non-preset mode.
7. A home page display method, applied to a display device, comprising:
After the system is initialized, mode information of a current mode of the system is obtained;
if the current mode of the system is determined to be a preset mode according to the mode information, and a target application is installed in the system, deleting the homepage attribute of the preset application, and adding the homepage attribute to the target application, wherein the preset mode refers to a mode which is set to be a replaceable homepage, the preset application refers to an application which has the homepage attribute before the system is initialized, and the target application refers to an application which does not have the homepage attribute before the system is initialized and is set to be started as the homepage;
the target application is launched as a homepage, and the preset application is not launched as a homepage.
8. The home page display method as in claim 7, further comprising:
if the current mode of the system is determined to be a preset mode according to the mode information and a target application is not installed in the system, not deleting the homepage attribute of the preset application;
and starting the preset application as a homepage.
9. The home page display method as claimed in claim 7, wherein detecting whether the target application is installed, the method further comprising:
Acquiring application information of an installed application in a system, and if the application information of a first application simultaneously comprises a designated action and a starting permission, determining the first application as a target application, wherein the designated action is a replacement homepage action;
and if the application information of the second application does not simultaneously comprise the appointed action and the starting permission, determining that the second application is not the target application.
10. The home page display method as in claim 7, further comprising:
if the current mode of the system is determined to be a preset mode according to the mode information, and a target application is not installed in the system, and meanwhile, an installation package of the target application is stored in a preset storage area, loading the installation package from the preset storage area;
installing the target application in a system according to the installation package;
deleting homepage attributes of a preset application, and adding homepage attributes to the target application;
the target application is launched as a homepage, and the preset application is not launched as a homepage.
CN202310241860.3A 2023-03-13 2023-03-13 Homepage display method and display equipment Pending CN116382822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310241860.3A CN116382822A (en) 2023-03-13 2023-03-13 Homepage display method and display equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310241860.3A CN116382822A (en) 2023-03-13 2023-03-13 Homepage display method and display equipment

Publications (1)

Publication Number Publication Date
CN116382822A true CN116382822A (en) 2023-07-04

Family

ID=86963928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310241860.3A Pending CN116382822A (en) 2023-03-13 2023-03-13 Homepage display method and display equipment

Country Status (1)

Country Link
CN (1) CN116382822A (en)

Similar Documents

Publication Publication Date Title
CN111447498B (en) Awakening method of display equipment and display equipment
WO2021189697A1 (en) Video display method, terminal, and server
WO2021164177A1 (en) Method for playing media resource, display device, and mobile terminal
CN112165642B (en) Display device
CN112217671B (en) Method and equipment for performing interface display on front-end micro-service based on split deployment
CN113784200B (en) Communication terminal, display device and screen projection connection method
CN114302201B (en) Method for automatically switching on and off screen in sound box mode, intelligent terminal and display device
CN111479144A (en) Display device and application interaction method
CN114928760B (en) Key setting method of control device and display equipment
CN113573149B (en) Channel searching method and display device
CN116382822A (en) Homepage display method and display equipment
CN112911359B (en) Resource display method, display equipment and remote controller
CN112584210B (en) Display device, video recording method and recorded file display method
CN115150645A (en) Display device and display method of screen projection function page
CN114116622A (en) Display device and file display method
CN113641423B (en) Display device and system starting method
US12022148B2 (en) Display apparatus
CN115514998B (en) Display equipment and network media resource switching method
CN117812302A (en) Display equipment, terminal and display equipment service configuration method
CN117827136A (en) Display equipment, server and browser configuration method
CN116775173A (en) Display device and management method of third party application
CN117812398A (en) Display equipment and full-system channel switching method
CN117097951A (en) Display equipment, mobile terminal and system upgrading method
CN116527971A (en) Display device and audio playing method
CN116233528A (en) Display device, audio control method, and storage medium

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