Display device and page collection method
By obtaining page name and application information in the display device, setting target active components, and generating page collection data, the problem that the display device cannot directly access the collection page is solved, and the function of jumping to the collection page without permission is realized, improving the user experience.
Patent Information
- Application Number
- CN202410068566.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2025-07-25
AI Technical Summary
When displaying the device collects the page, due to lack of access permission, it cannot jump directly to the page outside the application, resulting in users being unable to view the pages collected, affecting the user experience.
The display device obtains page name and application information, sets target active components, generates page collection data, and uses page information and components to collect, instead of relying on URL links to achieve access to the page.
Users can jump directly to favorite pages without relying on the application's access rights, improving the user experience.
Smart Images

Figure CN120371429A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of display devices, and in particular, to a display device and a page collection method. Background Art
[0002] A display device refers to a terminal device that can output a specific display screen. The display device can implement a two-way human-computer interaction function, integrating multiple functions such as audio-visual, entertainment, and data, to meet the diverse and personalized needs of users.
[0003] A variety of applications can be configured in the display device to achieve different functions. For example, a video playback application can provide media video content, and a browser application can provide various web page contents. Users can make the display device start different applications to achieve different functions. After the display device starts a certain application, it will display the page provided by the application. Users can also collect the pages they are interested in so that they can directly jump to the page for viewing later, thus avoiding the search process in the application and meeting the usage needs of users.
[0004] When collecting a page, the display device will obtain the URL link of the page and store it. When the user instructs to open the collected page, the display device will use the corresponding URL link to jump to the page for display to the user. However, the pages of an application may not provide access permissions outside the application. That is, when the display device accesses the page according to the URL link, it does not have the permission to jump to the page, resulting in the user being unable to view the collected page, and the user experience is poor. Summary of the Invention
[0005] This application provides a display device and a page collection method to solve the problem in the related art that the URL link of the collected page does not have the permission to jump to the page when accessing the page, resulting in the user being unable to view the collected page.
[0006] In a first aspect, some embodiments of this application provide a display device, including a display and a controller. Among them, the display is configured to display the page provided by the application; the controller is configured to:
[0007] In response to an instruction to collect the current page, obtain the page name of the current page and the application information of the current application; the current application is the application that provides the current page;
[0008] Set the target activity component of the current application according to the page name and the application information;
[0009] Obtain the page information of the current page through the current application, and generate page collection data for the current page according to the page information and the target activity component; the page collection data is used to generate a page collection interface, and the page collection interface is used to display at least one page collected by the user.
[0010] In a second aspect, some embodiments of the present application provide a page collection method, which is applied to a display device and includes:
[0011] In response to an instruction to collect the current page, obtain the page name of the current page and the application information of the current application; the current application is the application that provides the current page;
[0012] Set the target activity component of the current application according to the page name and the application information;
[0013] Obtain the page information of the current page through the current application, and generate page collection data for the current page according to the page information and the target activity component; the page collection data is used to generate a page collection interface, and the page collection interface is used to display at least one page collected by the user.
[0014] It can be seen from the above technical solutions that some embodiments of the present application provide a display device and a page collection method. After the user instructs to collect the current page, the display device obtains the page name of the current page and the application information of the current application, and sets the target activity component of the current application according to the page name and the application information. Obtain the page information of the current page through the current application. Generate page collection data for the current page according to the page information and the target activity component. The page collection data can be used for the page collection interface, and the page collection interface can display the pages collected by the user. By collecting the activity component and page content used to generate the page, rather than collecting the website link, it is ensured that the user can jump to the collected page. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the present application, the drawings required for the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0016] Figure 1 Shows the usage scenario of a display device according to some embodiments;
[0017] Figure 2 Shows the hardware configuration block diagram of the control device 100 according to some embodiments;
[0018] Figure 3 Shows the hardware configuration block diagram of the display device 200 according to some embodiments;
[0019] Figure 4 Shows the software configuration diagram in the display device 200 according to some embodiments;
[0020] Figure 5 Shows a schematic diagram of the user interface in some embodiments;
[0021] Figure 6 Shows a schematic diagram of the application panel in some embodiments;
[0022] Figure 7 Shows a schematic diagram of the media asset recommendation page in some embodiments;
[0023] Figure 8 Shows a schematic diagram of the media asset recommendation page corresponding to the movie type in some embodiments;
[0024] Figure 9 Shows a schematic diagram of the media asset details page in some embodiments;
[0025] Figure 10 Shows a schematic diagram of the page provided by the browser in some embodiments;
[0026] Figure 11 Shows a schematic diagram of the confirmation information of the page content collection mode in some embodiments;
[0027] Figure 12 Shows the interaction flow chart of each component of the display device in some embodiments;
[0028] Figure 13 Shows a schematic diagram of the display device showing multiple floating windows in some embodiments;
[0029] Figure 14 Shows a schematic diagram of the display device showing multiple floating windows in some embodiments;
[0030] Figure 15 Shows a schematic diagram of the collection identifier in some embodiments;
[0031] Figure 16 Shows a schematic diagram of the page collection interface in some embodiments. Detailed implementation manners
[0032] To make the purpose and implementation manners of this application clearer, the following will clearly and completely describe the exemplary implementation manners of this application with reference to the accompanying drawings in the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only a part of the embodiments of this application, rather than all the embodiments.
[0033] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described hereinafter, rather than intending to limit the embodiments of this application. Unless otherwise specified, these terms should be understood in their ordinary and general meanings.
[0034] In this application, terms such as "first", "second", "third", etc. in the specification, claims and the above-mentioned drawings are used to distinguish similar or like objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that such terms can be interchanged under appropriate circumstances.
[0035] The terms "comprising" and "having" and any variations thereof are intended to cover but not exclusively include. For example, a product or device comprising a series of components does not necessarily have to be limited to all the components clearly listed, but may include other components not clearly listed or inherent to these products or devices.
[0036] The display device provided by the embodiments of this application can have various implementation forms. For example, it can be a television, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 is a specific implementation manner of the display device of this application.
[0037] Figure 1 is a schematic diagram of the operation scenario between the display device and the control device according to the embodiment. As Figure 1 shown, the user can operate the display device 200 through the smart device 300 or the control device 100.
[0038] In some embodiments, the control device 100 can be a remote control. The communication between the remote control and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 wirelessly or wiredly. The user can input user instructions through the buttons on the remote control, voice input, control panel input, etc. to control the display device 200.
[0039] In some embodiments, the smart device 300 (such as a mobile terminal, a tablet computer, a computer, a laptop, etc.) can also be used to control the display device 200. For example, use the application program running on the smart device to control the display device 200.
[0040] In some embodiments, the display device can receive instructions without using the above-mentioned smart device or control device, but receive user control through touch or gestures, etc.
[0041] In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, it can directly receive the user's voice commands through a module for obtaining voice commands configured inside the display device 200, or can receive the user's voice commands through a voice control device set outside the display device 200.
[0042] In some embodiments, the display device 200 also communicates with the server 400. It can be set to allow the display device 200 to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 can provide various contents and interactions to the display device 200. The server 400 can be a cluster or multiple clusters, and can include one or more types of servers.
[0043] Figure 2 An exemplary configuration block diagram of the control device 100 according to an exemplary embodiment is shown. As Figure 2 shown, 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 device 100 can receive the user's input operation instructions, convert the operation instructions into instructions recognizable and responsive by the display device 200, and act as an intermediary for interaction between the user and the display device 200.
[0044] As Figure 3 , the display device 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
[0045] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.
[0046] The display 260 includes a display screen component for presenting a picture and a driving component for driving the image display, a component for receiving the image signal output from the controller, and a component for displaying video content, image content, and a menu manipulation interface, as well as a user manipulation UI interface.
[0047] The display 260 can be a liquid crystal display, an OLED display, a projection display, or can also be a projection device and a projection screen.
[0048] 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, other network communication protocol chips such as a near-field communication protocol chip, and an infrared receiver. The display device 200 can establish the transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
[0049] The user interface can be used to receive control signals from the control device 100 (such as an infrared remote control, etc.).
[0050] The detector 230 is used to collect signals from the external environment or interact with the outside. For example, the detector 230 includes a light receiver, a sensor for collecting the ambient light intensity; or, the detector 230 includes an image collector, such as a camera, which can be used to collect the external environmental scene, the attributes of the user, or the user interaction gesture. Or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0051] The device interface 240 may include, but is not limited to, the following: a high-definition multimedia interface (HDMI), an analog or data high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, or any one or more of these interfaces. It can also be a composite input / output interface formed by the above multiple interfaces.
[0052] The tuner demodulator 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals.
[0053] In some embodiments, the controller 250 and the tuner demodulator 210 may be located in different separate devices, that is, the tuner demodulator 210 may also be in an external device of the main device where the controller 250 is located, such as an external set-top box, etc.
[0054] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0055] In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a Random Access Memory (RAM), a Read-Only Memory (ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0056] The user can input a user command in the graphical user interface (GUI) displayed on the display 260, and then the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user can input a user command by inputting a specific sound or gesture, and then the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0057] The "user interface" is a media interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The common manifestation form of the user interface is the graphical user interface (GUI), which refers to the user interface related to computer operation displayed in a graphical manner. It can be an icon, a window, a control, etc. interface element displayed on the display screen of an electronic device, where the control can include visible interface elements 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.
[0058] As Figure 4 shown, the system of the display device is divided into three layers, from top to bottom are the application layer, the middleware layer, and the hardware layer.
[0059] The application layer mainly includes common applications on the TV and an application framework. Among them, the common applications are mainly applications developed based on the browser Browser, such as HTML5 APPs; and native applications (Native APPs);
[0060] The 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 usage interfaces of these functions (toolbars, status bars, menus, dialog boxes).
[0061] Native applications (Native APPs) can support online or offline, message push, or local resource access.
[0062] The middleware layer includes middleware such as various TV protocols, multimedia protocols, and system components. The middleware can use the basic services (functions) provided by the system software to connect various parts of the application system on the network or different applications, and can achieve the purpose of resource sharing and function sharing.
[0063] The hardware layer mainly includes the HAL interface, hardware, and drivers. Among them, the HAL interface is the unified interface for all TV chips to dock, and the specific logic is implemented by each chip. The drivers mainly include: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor drivers (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0064] In some embodiments, after the user controls the display device to power on, the controller 250 can control the display 260 to display the user interface. The user interface can be a specific target image, such as various media resources obtained from the network signal source, including content such as videos and pictures. The user interface can also be some UI interfaces of the display device, such as the system main interface, various setting interfaces, and various control interfaces of application programs, etc.
[0065] Figure 5 Shows a schematic diagram of the user interface in some embodiments. As Figure 5 shown, the user interface includes a first navigation bar 500, a second navigation bar 510, a function bar 520, and a content display area 530. The function bar 520 includes multiple function controls such as "Viewing History", "My Favorites", and "My Apps", etc. The user can click on the "My Apps" control to control the entry into the application panel page.
[0066] The user can view the application programs installed on the display device 200 through the application panel, that is, the functions supported by the display device 200. It should be noted that the applications installed on the display device 200 can be system applications or third-party applications. The user controls the display device 200 to implement the corresponding functions of the application program by opening a certain application program. Figure 6 Shows a schematic diagram of the application panel in some embodiments. As Figure 6 shown, the application panel includes three controls: "Browser", "Player", and "Picture Viewer". Among them, the user can click on the "Browser" control to control the display device 200 to open the browser application to browse various web pages, etc. The user can click on the "Player" control to watch media resources using the display device 200. The user can click on the "Picture Viewer" control to view various pictures.
[0067] An application can provide various contents to a display device 200. The provided contents can be presented in the form of pages. The application can provide multiple pages, and each page can display different contents. The specific contents displayed on the page can be preset by the application. For example, a player application can provide various media contents to the display device 200, and users can select a certain piece of media for viewing. To this end, the player can provide a media recommendation page, a media details page, a media playback page, etc.
[0068] Users can start the application to browse the provided contents. After the application is started, the application main interface can be provided to the display device 200. The application main interface is the first page displayed by default after the application is started. Taking the player application as an example, users can click the "Player" control in the Figure 6 shown application panel to start the player application. The player application can provide various types of media contents, such as resources of movies, TV series, variety shows, music, etc. After the player application is started, the player home page will be displayed. The player home page can be a media recommendation page for recommending media. Users can select media for viewing.
[0069] Figure 7 Shows a schematic diagram of a media recommendation page in some embodiments. As Figure 7 shown, the media recommendation page includes media contents recommended by the player application, such as currently popular media and some recommended media. To facilitate users to select the type of media they need to view, the player application can mark multiple supported media types on the media recommendation page, and users can select the channel type they need to enter. Multiple media type controls can be set on the media recommendation page, which can be set at the top of the media recommendation page, including Recommendation, Movie, TV Series, Variety Show, Music, Game, and Animation. Among them, the Recommendation type is the first media recommendation page displayed after the player application is started, which can cover various types of media contents, such as music content, movie content, etc. The player application can make recommendations according to the current popularity situation.
[0070] Users can click on other media type controls to jump to the corresponding media recommendation page. For example, after the user clicks the Movie control, the player application can provide a media recommendation page containing multiple movie media. Figure 8 Shows a schematic diagram of a media recommendation page corresponding to the movie type in some embodiments. As Figure 8As shown, multiple media asset controls corresponding to movie media assets can be displayed on the media asset recommendation page, including controls such as "Movie A". Each control can be used to jump to play the corresponding movie content, and the user can select a certain movie media asset for viewing. After determining the media asset selected by the user, the display device 200 can obtain the media asset data of the media asset and play it. For example, the media asset data can be displayed full screen for the user to view.
[0071] After the user selects a certain media asset, the player application can provide a media asset details page for the media asset. Figure 9 The figure shows a schematic diagram of a media asset details page in some embodiments. The user can touch the play control to control the media asset to be displayed full screen on the display 260.
[0072] After the user instructs to play the media asset, the player application can provide a media asset play page for playing the media asset.
[0073] In some embodiments, the user can view various web pages through the browser application. The web pages provided by the browser can contain multiple web page contents, and the web page contents can be text contents, picture contents, or video contents. Figure 10 The figure shows a schematic diagram of a page provided by the browser in some embodiments. As Figure 10 shown, the page provided by the browser can contain video content and other web page contents. As Figure 10 The 101 control in is a video playback window for playing the video content in the web page, for example, it can play network media assets. Other web page contents such as Web page content B, Web page content C, and Web page content D can be text contents or picture contents. For example, they can be introduction information of network media assets, media pictures, etc., or other contents.
[0074] In some embodiments, during the process of the user browsing the page provided by the application, the user may be particularly interested in a certain page and has the need to view it again next time. When the user wants to view the page again, the application can be restarted and the page can be searched to view it. However, after starting the application, the path to access the page may be relatively complex, and the user needs to perform multiple operations to view the page, which is too cumbersome in operation. In addition, the user may not remember the path to access the web page, resulting in the inability to view the web page again.
[0075] For this reason, the display device 200 can be set with a page collection function. The user can collect a certain page, and the display device 200 can save the URL link of the web page. When the user wants to view the page again, the page can be directly found in the user's collected content and the user can be instructed to view it. The display device 200 can access the web page according to the URL link of the web page, so as to directly jump to the page for display, avoiding the user searching for the page again in the application, with simple operation and improved user experience.
[0076] It should be noted that when the display device 200 is on the favorite page, since the URL link of the page is saved. After the user instructs to view the favorite web page, the display device 200 needs to access the page according to the URL link. However, there are many pages available in the application, and access permissions may be set for the pages. For example, access permissions may be set only for a part of the pages, such as the first page displayed after the application starts. For most pages, the application may not provide external access permissions, and the display device 200 needs to access the page according to the page path inside the application after starting the application. Therefore, when directly accessing the application page using the URL link, the display device 200 may not have the permission to jump to the page, resulting in the inability to display the page, that is, the user cannot view the favorite page, which gives a poor user experience.
[0077] To solve the above problems, the display device 200 provided in the embodiments of the present application can have a page content favorite function, and can store parameters such as the page content of the application page, so as to access the web page according to the page content and other parameters. The display device 200 can be set with a page content favorite mode. After the user instructs to favorite the web page, the display device 200 can obtain the page content of the page and the activity component used to start the page in the application, and use these parameters as the favorite data for accessing the page. When the user instructs to view the page, the web page is accessed according to the favorite data instead of the URL link, and the web page can be accessed without the application providing access permissions, thereby meeting the user's usage requirements and improving the user experience.
[0078] In some embodiments, the user can send a page content favorite mode instruction to the display device 200 by operating a specified button on the remote control. In the actual application process, the corresponding relationship between the page content favorite mode instruction and the remote control button is pre-bound. For example, a page content favorite mode button is set on the remote control. When the user touches the button, the remote control sends a page content favorite mode instruction to the controller 250, and at this time the controller 250 controls the display device 200 to enter the page content favorite mode.
[0079] A page content favorite mode option can also be set in the system UI interface of the display device 200. When the user clicks the option, the display device 200 can be controlled to enter or exit the page content favorite mode.
[0080] In some embodiments, to prevent the user from accidentally triggering the page content favorite mode, when the controller 250 receives the page content favorite mode instruction, it can control the display 260 to display a page content favorite mode confirmation message, so that the user can make a secondary confirmation whether to control the display device 200 to enter the page content favorite mode. Figure 11Schematic diagram showing confirmation information of page content collection mode in some embodiments.
[0081] Figure 12 Shows an interaction flowchart of each component of a display device in some embodiments, including the following steps:
[0082] S101. In response to an instruction to collect the current page, obtain the page name of the current page and the application information of the current application; the current application is the application that provides the current page;
[0083] S102. Set the target activity component of the current application according to the page name and the application information;
[0084] S103. Obtain the page information of the current page through the current application, and generate page collection data of the current page according to the page information and the target activity component; the page collection data is used to generate a page collection interface, and the page collection interface is used to display at least one page collected by the user.
[0085] In some embodiments, after the user starts the application program, the application program can provide a page to the display device 200. The controller 250 can control the display 260 to display the page provided by the application, and the user operates on the displayed content to view various pages.
[0086] When the user is interested in the current page displayed on the display 260, the display device 200 can be instructed to collect the current page. The user can input an instruction to the display device 200 to indicate collecting the current page. For example, a button corresponding to the instruction to collect the current page can be preset in the remote control, and the user can press the button to indicate collecting the current page. Or, it can be set that when the user long-presses a specific button on the remote control, such as the confirmation button, it indicates collecting the current page.
[0087] In response to this instruction, the controller 250 can perform a collection process on the current page.
[0088] In some embodiments, when the display device 200 starts a certain application program, it can be default set to full-screen display the display interface corresponding to the application program. However, considering that the user may have the need to view multiple pages simultaneously, the display device 200 can have a floating window function. The application program can be displayed on the display 260 in the form of a floating window. The user can instruct the display device 200 to switch the application program currently displayed full-screen to the form of a floating window.
[0089] The display device 200 can run multiple application programs simultaneously. Multiple applications can be displayed on the screen in the form of floating windows, enabling multiple applications to share the screen and allowing the user to view the pages provided by multiple applications simultaneously.Figure 13 It shows a schematic diagram of a display device displaying multiple floating windows in some embodiments. As Figure 13 shown, floating windows corresponding to Application A and Application B are displayed on the left side of the user interface displayed by the display device 200.
[0090] For a certain application program, the display content it provides can be presented by one floating window or multiple floating windows. For example, the user can control the player to play one media asset or play multiple media assets simultaneously, and each media asset can be presented through a floating window to display multiple pages.
[0091] When the user indicates to collect the current page, if there are multiple pages displayed on the display 260, the user can select the page to be collected. The user can switch to select a certain page, and the selected page can be in a focused state. In the focused state, the boundary of the floating window corresponding to the page can be in a highlighted state. After the user confirms, the controller 250 can collect the page selected by the user.
[0092] In some embodiments, the user can adjust the size of the floating window. As the number of floating windows displayed in the display device 200 increases, since the window size and display position of each floating window may be different, inevitably, a part of the floating windows will cover the upper layer of another part of the floating windows. Figure 14 It shows a schematic diagram of a display device displaying multiple floating windows in some embodiments. As Figure 14 shown, there are three floating windows, Floating Window A, Floating Window B, and Floating Window C, displayed on the display 260, and each floating window displays a page. When the user operates on a page, the floating window corresponding to the page can be placed on the top layer so that the user can view the complete page.
[0093] When the user indicates to collect the current page, the controller 250 can collect the page that the user is currently operating on, that is, the page displayed on the top layer currently. The user can also select a specific page again for collection.
[0094] In some embodiments, a specific application program is pre - set in the display device 200, which is called the collection application in the embodiments of the present application. This application can perform collection processing on the current page displayed on the display 260. In response to the user instruction, the controller 250 can send the instruction to collect the current page to the collection application, thereby controlling the collection application to collect the current page.
[0095] In some embodiments, in response to an instruction to collect the current page, the controller 250 may perform a collection process on the current page. The controller 250 may obtain the page name of the current page, detect the current application at the same time, and obtain the application information of the current application. Wherein, the current application is the application that provides the current page.
[0096] The controller 250 may control the collection application to execute this process. The collection application may read the access path of the current page from the display device 200 system. Wherein, the access path may declare the name of the current application and the page name of the current page. The current application can be determined according to the name of the current application.
[0097] The collection application may obtain the application information of the current application according to the name of the current application. For the display device 200, after installing a certain application program, the application information of the application will also be stored in the display device 200. An application can provide multiple pages, and each page can be controlled by an activity component, including processes such as page layout and generation of page data. The application information may include the component information of the activity component corresponding to each page.
[0098] Therefore, after determining the application name of the current application, the collection application may directly search for the application information of the current application in the display device 200 system according to the application name.
[0099] In some embodiments, the controller 250 may set the target activity component of the current application according to the page name and the application information. The controller 250 may control the collection application to execute this process.
[0100] The collection application may detect the activity component corresponding to the current page according to the page name of the current page, which is referred to as the first activity component in the embodiments of the present application. Wherein, the page name is the name of the activity component corresponding to the page, that is, the page name of the current page is the name of the first activity component, so as to determine the first activity component.
[0101] Since the application information contains the component information of multiple activity components, according to the name of the first activity component, the collection application may obtain the component information of the first activity component from the application information, which is referred to as the first component information in the embodiments of the present application. The collection application may also detect the jump state of the current page based on the first component information. In the embodiments of the present application, the jump state of the page is used to characterize whether the application allows external direct access to the web page. If the application provides the access permission of the page to the outside, the jump state is support for external jump. If the application does not provide the access permission of the page to the outside, the jump state is not support for external jump.
[0102] After detecting the jump state, if the jump state of the current page supports external jumps, the favorite application can set the first active component as the target active component of the current application. In the embodiments of the present application, the target active component refers to the active component that indicates the first start of the application. The application controls a certain active component to start, thereby controlling the active component to generate the data of the corresponding page, and then can be provided to the display device 200 for page display. If the current page supports external jumps, the display device 200 can control the current application to directly start the first active component corresponding to the current page, and the current page can be provided to the display device 200 through the first active component.
[0103] If the jump state of the current page does not support external jumps, the favorite application can obtain the target active component based on multiple component information. When the current page does not support external jumps, the display device 200 cannot control the current application to directly start the first active component. Therefore, the current application needs to first start other active components (the first started active component is the target active component), that is, first start the target active component, so as to obtain the relevant data of the current page through the target active component.
[0104] In some embodiments, the jump state of the page can be detected according to the component information corresponding to the page.
[0105] For a page, its component information may include some parameters, such as an action parameter action and an environment parameter category. Among them, the action parameter action is defined as a matching action, that is, the execution action of the application, and the attribute value is a string. For example, the action parameter string is "android.intent.action.MAIN", and the meaning is the application entry. The action parameter string is "android.intent.action.VIEW", and the meaning is to display the specified data. The environment parameter category is used to specify the environment in which the current action (action) is executed, and the attribute value is also a string. For example, the environment parameter string is "android.intent.category.DEFAULT", and the meaning is the default category. The environment parameter string is "android.intent.category.LAUNCHER", and the meaning is to display the top-level program list in the Activity.
[0106] For a component information, the environment parameter is DEFAULT, and the action parameter action includes configuration information (including configuration information means that there is an action parameter, and the action parameter can be any parameter as long as it is not empty), indicating that the page corresponding to the component information supports external jumps. If the above conditions are not met, it indicates that the page corresponding to the component information does not support external jumps.
[0107] Therefore, the jump state of the current page can be detected through the above determination conditions.
[0108] The favorite application can first detect the environmental parameters.
[0109] If the environmental parameters are not the preset environmental parameters, directly mark the jump state of the current page as not supporting external jumps.
[0110] If the environmental parameters are the preset environmental parameters, the favorite application then detects the action parameters. If the action parameters include configuration information, mark the jump state of the current page as supporting external jumps; if the action parameters do not include configuration information, mark the jump state of the current page as not supporting external jumps.
[0111] In some embodiments, the fields of the action parameter action and the environmental parameter category can be filtered out through an intent filter IntentFilter. The following are examples of the obtained action parameter action and environmental parameter category:
[0112] <intent-filter>
[0113] <action android:name="android.intent.action.MAIN" / >
[0114] <action android:name="android.intent.action.SHOW_WORK_APPS" / >
[0115] <category android:name="android.intent.category.HOME" / >
[0116] <category android:name="android.intent.category.DEFAULT" / >
[0117] <category android:name="android.intent.category.MONKEY" / >
[0118] <category android:name="android.intent.category.LAUNCHER_APP" / >
[0119] According to the above content, the component information can include multiple action parameters and multiple environment parameters. The environment parameters can be detected first. Among them, there is an environment parameter string of "android.intent.category.DEFAULT", so the action parameters can be detected again. It can be seen that there are two action parameters, that is, it includes configuration information. Therefore, the page corresponding to the component information in the above example supports external jumps.
[0120] In some embodiments, if the current page does not support external jumps, the first activity component cannot be directly launched. Therefore, the favorite application can obtain the target activity component that can be directly launched in the current application.
[0121] The favorite application can detect the component information of multiple activity components to determine the activity components that can be directly launched.
[0122] Among them, each application has a default launched activity component, that is, the activity component corresponding to the page first displayed after the application is launched. In its component information, both the action parameter and the environment parameter are specific parameters. The string corresponding to the action parameter is "android.intent.action.MAIN", which is referred to as the first parameter in the embodiments of the present application; the string corresponding to the environment parameter is "android.intent.category.LAUNCHER", which is referred to as the second parameter in the embodiments of the present application.
[0123] Therefore, the favorite application can set the activity component in the component information whose action parameter is the first parameter and the environment parameter is the second parameter as the target activity component.
[0124] Alternatively, the favorite application can also set the activity component in the component information whose action parameter includes configuration information and the environment parameter is a preset environment parameter as the target activity component.
[0125] In some embodiments, the controller 250 can send an instruction indicating to obtain the page information of the current page to the current application to instruct the current application to feedback the page information. The controller 250 can control the favorite application to execute this process.
[0126] After receiving the instruction, the current application can obtain the page information of the current page. Among them, the page information includes the page content of the current page and the label information of the target activity component.
[0127] The page content is used to represent the browsing progress of the user on the current page. There may be a lot of content in the page provided by the application. Affected by factors such as the display size of the display 260, it may not be possible to display all the content of the page to the user at the same time. Therefore, only part of the content of the page can be displayed. The user can use the remote control to scroll up and down or move left and right the currently displayed page to view the content of other parts of the page.
[0128] It should be noted that when the user browses the page, there will be a browsing progress. In the embodiments of the present application, the browsing progress refers to the position information of the browsed content in the page when the user browses the page, and the playback progress of the video when the page has video content.
[0129] When the user indicates to favorite the page, the user may be interested in the content currently displayed in the page. Therefore, the user hopes to favorite this part of the content, that is, favorite the content corresponding to a specific browsing progress in the page.
[0130] To this end, the current application can obtain the page content, that is, the browsing progress of the user on the current page. The browsing progress may include browsing position information and playback progress information. Among them, the browsing position information is the position information of the top of the currently displayed content in the current page, and the currently displayed content can be marked to determine the top position of the content. The playback progress information is the playback progress of the video when there is video content in the currently displayed content.
[0131] The label information of the target activity component can be the icon information of the target activity component. For the activity components of the application, icons may be set. The current application obtains the icon of the target activity component as the label information. If the target activity component is not set with an icon, the current application can set the icon of the application as the label information of the target activity component.
[0132] The current application can feedback the page information of the current page to the favorite application.
[0133] At the same time, the current application can save the page information of the current page into the Bundle of the application as reference data for subsequent page restoration.
[0134] In some embodiments, upon receiving the page information sent by the current application, the controller 250 can generate page favorite data for the current page based on the page information and the target activity component. The controller 250 can control the favorite application to execute this process.
[0135] The favorite application can count relevant information to generate page favorite data for the current page. In the embodiments of the present application, it is set that the page favorite data includes the page name of the current page (which is also the name of the first activity component), the jump state of the current page, the target activity component parameters, the name of the current application, and the page information of the current page. Among them, the target activity component parameters include the name of the target activity component, action parameters, and environment parameters.
[0136] The display device 200 can be pre-set with a page storage module. The favorite application can store the page favorite data of the current page into the page storage module to realize the favorite of the current page.
[0137] After the current page is successfully favorited, the controller 250 can control a favorite identifier to be displayed in the current page to prompt the user that the current page has been favorited. Figure 15 Illustrates a schematic diagram of the favorite identifier in some embodiments. As Figure 15 shown, taking the Figure 10 page as an example, after the user favorites this page, the controller 250 can control the display 260 to display a preset favorite identifier in the current page, and the favorite identifier can be the star identifier 1501 in the figure.
[0138] In some embodiments, the controller 250 may generate a page collection interface according to the page collection data, and the controller 250 may control the collection application to execute this process.
[0139] The collection application may generate page controls for the pages collected by the user. Using the label information of the target activity component as the control icon and the name of the current application as the control name, the current page control is generated.
[0140] According to the current page control, a page collection interface may be generated. The page collection interface includes page controls corresponding to at least one page collected by the user.
[0141] The user may bring up the page collection interface to view all the collected pages. Figure 16 A schematic diagram of the page collection interface in some embodiments is shown. As Figure 16 shown, the page collection interface includes multiple page controls. Each page control represents a collected page, and the page control displays the label information of the target activity component and the name of the current application. The user may select a certain control to instruct the display device 200 to start the page corresponding to the control.
[0142] In some embodiments, the user may also define the name of the collected page by themselves. When the user instructs to collect the current page, the controller 250 may control the display 260 to display a name input field, and the user may define the name of the current page in the name input field by themselves. When generating the page control of the current page, the name defined by the user by themselves may be used as the control name.
[0143] In some embodiments, the user may input an instruction to start the target page.
[0144] In response to this instruction, the controller 250 may generate target activity component start information according to the page collection data of the target page. Send the target activity component start information to the target application corresponding to the target page, so that the target application generates the page data of the target page according to the target activity component.
[0145] Among them, the controller 250 may control the collection to generate target activity component start information.
[0146] The target activity component start information is used to start the target activity component and may be Intent information. Intent information is a run-time binding mechanism. It is a passive data structure based on a certain intention to be expressed. It can connect two different components during the program running process. Through Intent, the program can express a certain request or will to Android and assist in completing the communication between various components of the Android application.
[0147] The activity component "activity" needs to be activated through the Intent mechanism. The Intent information includes start information (referred to as the first data in the embodiments of the present application) and Extra additional information (referred to as the second data in the embodiments of the present application).
[0148] The favorite application can parse the page favorite data of the target page and detect the jump state of the target page.
[0149] If the target page supports external jumps, the activity component corresponding to the target page is the target activity component, and the target application can be controlled to directly start this activity component. The favorite application can generate the first data according to the target activity component parameters, and generate the second data according to the page content. That is, the favorite application adds the action parameters and environment parameters of the target activity component to the start information of the Intent information, and adds the page content of the target page to the Extra information of the Intent information, thereby generating the Intent information.
[0150] If the target page does not support external jumps, the activity component corresponding to the target page is not the target activity component. At this time, the target application can be controlled to start the target activity component, but the target application cannot be controlled to directly start the activity component corresponding to the target page.
[0151] Therefore, the favorite application can generate the first data according to the target activity component parameters, and add the action parameters and environment parameters of the target activity component to the start information of the Intent information. At the same time, the favorite application generates a jump identifier, and the jump identifier can be a character string, which is used to indicate that the target activity component jumps to other activity components. The favorite application generates jump information according to the page name and page content of the target page, and generates the second data according to the jump identifier and the jump information.
[0152] The jump information can be PendingIntent information. PendingIntent can be regarded as a delayed Intent, which is used to represent the jump requirement of the Intent and can make the currently started activity component jump to other activity components. PendingIntent also includes Extra information. The favorite application adds the page name and page content of the target page to the Extra information of PendingIntent, and generates PendingIntent according to the Extra information of PendingIntent. Among them, the page name of the target page represents the activity component corresponding to the target page, and the jump information can make the activity component corresponding to the target page generate the target page.
[0153] The favorite application can add the jump information and the jump identifier to the Extra information of the Intent information, thereby generating the Intent information.
[0154] In some embodiments, the favorite application may send the generated target activity component startup information to the controller 250. After receiving the information, the controller 250 may parse it and read the first data therein.
[0155] According to the first data, the controller 250 may obtain the target activity component of the target application.
[0156] The controller 250 may generate a target activity component startup instruction and send it to the target application. The target activity component startup instruction carries the target activity component startup information and is used to instruct the target application to start the target activity component.
[0157] An instruction forwarding module may be provided in the controller 250, which is used to receive the target activity component startup information sent by the favorite application, and generate and send the target activity component startup instruction to the target application.
[0158] In some embodiments, after receiving the target activity component startup instruction, the target application may parse the instruction to obtain the target activity component startup information. The target application may start the target activity component, and the target activity component may parse the target activity component startup information.
[0159] It should be noted that when the target page supports external jumping, the activity component corresponding to the target page is the target activity component and can be directly started. At this time, the target activity component startup information does not contain a jump identifier. Therefore, after parsing the target activity component startup information, the target activity component will not read the jump identifier. The target activity component may read the page content of the target page from the Extra information of the Intent information, and may generate the page data of the target page according to the page content.
[0160] When the target page does not support external jumping, the activity component corresponding to the target page (referred to as the second activity component in the embodiments of the present application) is not the target activity component. At this time, the target activity component startup information contains a jump identifier. Therefore, after parsing the target activity component startup information, the target activity component may read the jump identifier and jump information from the Extra information of the Intent information. The target activity component may parse the jump information to obtain the page name and page content of the target page. The page name of the target page is the name of the second activity component. The target activity component may instruct the target application to start the second activity component. After the second activity component is started, it may generate page data according to the page content of the target page.
[0161] The target application may send the page data of the target page to the controller 250.
[0162] The controller 250 may receive the page data sent by the target application and control the display 260 to display the page data to show the target web page to the user.
[0163] The embodiment of the present application also provides a page collection method, which is applied to a display device. The method includes:
[0164] Step 101, in response to an instruction indicating to collect the current page, obtain the page name of the current page and the application information of the current application; the current application is the application that provides the current page;
[0165] Step 102, set the target activity component of the current application according to the page name and the application information;
[0166] Step 103, obtain the page information of the current page through the current application, and generate page collection data of the current page according to the page information and the target activity component; the page collection data is used to generate a page collection interface, and the page collection interface is used to display at least one page collected by the user.
[0167] In some embodiments, setting the target activity component of the current application according to the page name and the application information further includes:
[0168] Detect the first activity component of the current page according to the page name. Obtain the first component information of the first activity component from the application information, and detect the jump state of the current page based on the first component information; the application information includes the component information of multiple activity components of the current application.
[0169] If the jump state of the current page is supported for external jump, set the first activity component as the target activity component of the current application. If the jump state of the current page is not supported for external jump, obtain the target activity component based on the multiple component information.
[0170] In some embodiments, the first component information includes the action parameter and the environment parameter of the first activity component. Detecting the jump state of the current page based on the first component information further includes:
[0171] Detect the environment parameter. If the environment parameter is not the preset environment parameter, mark the jump state of the current page as not supported for external jump. If the environment parameter is the preset environment parameter, detect the action parameter; if the action parameter includes the configuration information, mark the jump state of the current page as supported for external jump; if the action parameter does not include the configuration information, mark the jump state of the current page as not supported for external jump.
[0172] In some embodiments, obtaining the target activity component based on the multiple component information further includes:
[0173] Detect the component information of multiple active components. Set the active component whose action parameter in the component information is the first parameter and whose environment parameter is the second parameter as the target active component. Or, set the active component whose action parameter in the component information includes configuration information and whose environment parameter is the preset environment parameter as the target active component.
[0174] In some embodiments, the page favorite data includes a page name, a jump status, target active component parameters, the name of the current application, and page information; the target active component parameters include the name, action parameter, and environment parameter of the target active component; the page information includes the page content of the current page and the label information of the target active component, and the page content is used to represent the browsing progress of the user on the current page.
[0175] In some embodiments, it further includes:
[0176] Generate the current page control with the label information of the target active component as the control icon and the name of the current application as the control name. Generate a page favorite interface according to the current page control, and the page favorite interface includes page controls corresponding to at least one page.
[0177] In some embodiments, it further includes:
[0178] In response to an instruction indicating to start the target page, generate target active component start information according to the page favorite data of the target page. Send the target active component start information to the target application corresponding to the target page, so that the target application generates the page data of the target page according to the target active component. Receive the page data sent by the target application and control the display to display the page data.
[0179] In some embodiments, the target active component start information includes first data and second data.
[0180] Generating the target active component start information according to the page favorite data of the target page further includes:
[0181] Parse the page favorite data of the target page and detect the jump status of the target page. If the target page supports external jumps, generate the first data according to the target active component parameters and generate the second data according to the page content.
[0182] If the target page does not support external jumps, generate the first data according to the target active component parameters; generate a jump identifier, generate jump information according to the page name and page content of the target page, and generate the second data according to the jump identifier and the jump information.
[0183] In some embodiments, the target active component start information is generated by a preset favorite application. Sending the target active component start information to the target application corresponding to the target page further includes:
[0184] Receive the target activity component startup information sent by the collection application and read the first data. Obtain the target activity component of the target application according to the first data. Generate a target activity component startup instruction and send it to the target application, where the target activity component startup instruction carries the target activity component startup information.
[0185] In some embodiments, when the target page supports external jumps, the page data is generated by the target activity component of the target application according to the page content of the target page after the jump identifier is not read.
[0186] When the target page does not support external jumps, the page data is generated by the second activity component according to the page content of the target page; the second activity component is the activity component started by the target activity component according to the page name of the target page after the jump identifier is read.
[0187] The same or similar parts among the various embodiments in this specification may be referred to each other, and will not be repeated here.
[0188] Those skilled in the art can clearly understand that the technologies in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solutions in the embodiments of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods in various embodiments or some parts of the embodiments of the present invention.
[0189] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
[0190] For the sake of convenience of explanation, the above description has been made in combination with specific implementation manners. However, the above exemplary discussion is not intended to be exhaustive or to limit the implementation manners to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above implementation manners are for better explaining the principles and actual applications, so that those skilled in the art can better use the implementation manners and various different variations of the implementation manners suitable for specific use considerations.
Claims
1. A display device, characterized in that, Comprising: A display configured to display a page provided by an application; A controller configured to: In response to an instruction indicating to collect the current page, obtain the page name of the current page and the application information of the current application; The current application is the application that provides the current page; Set the target activity component of the current application according to the page name and the application information; Obtain the page information of the current page through the current application, and generate page collection data of the current page according to the page information and the target activity component; The page collection data is used to generate a page collection interface, and the page collection interface is used to display at least one page collected by a user.
2. The display device according to claim 1, wherein When the controller executes to set the target activity component of the current application according to the page name and the application information, it is further configured to: Detect a first activity component of the current page according to the page name; Obtain first component information of the first activity component from the application information, and detect the jump state of the current page based on the first component information; The application information includes component information of multiple activity components of the current application; If the jump state of the current page is external jump supported, set the first activity component as the target activity component of the current application; If the jump state of the current page is external jump not supported, obtain a target activity component based on multiple component information.
3. The display device according to claim 2, wherein, The first component information includes an action parameter and an environment parameter of the first activity component; when the controller executes to detect the jump state of the current page based on the first component information, it is further configured to: Detect the environment parameter; If the environment parameter is not a preset environment parameter, mark the jump state of the current page as external jump not supported; If the environment parameter is a preset environment parameter, detect the action parameter; if the action parameter includes configuration information, mark the jump state of the current page as external jump supported; If the action parameter does not include configuration information, mark the jump state of the current page as external jump not supported.
4. The display device according to claim 2, wherein When the controller executes to obtain a target activity component based on multiple component information, it is further configured to: Detect component information of multiple activity components; Set an activity component whose action parameter in the component information is a first parameter and whose environment parameter is a second parameter as the target activity component; Or, set an activity component whose action parameter in the component information includes configuration information and whose environment parameter is a preset environment parameter as the target activity component.
5. The display device according to claim 2, wherein The page collection data includes the page name, the jump state, target activity component parameters, the name of the current application, and the page information; the target activity component parameters include the name, action parameter, and environment parameter of the target activity component; the page information includes the page content of the current page and the label information of the target activity component, and the page content is used to characterize the browsing progress of the user on the current page; The controller is further configured to: Generate a current page control with the label information of the target activity component as a control icon and the name of the current application as a control name; Generate a page favorites interface according to the current page control, where the page favorites interface includes page controls corresponding to at least one page.
6. The display device according to claim 5, wherein The controller is further configured to: In response to an instruction indicating to start a target page, generate target activity component start information according to the page favorites data of the target page; Send the target activity component start information to the target application corresponding to the target page, so that the target application generates the page data of the target page according to the target activity component; Receive the page data sent by the target application and control the display to display the page data.
7. The display device according to claim 6, wherein The target activity component start information includes first data and second data; when the controller executes to generate the target activity component start information according to the page favorites data of the target page, it is further configured to: Parse the page favorites data of the target page and detect the jump state of the target page; If the target page supports external jumps, generate first data according to the target activity component parameters and generate second data according to the page content; If the target page does not support external jumps, generate first data according to the target activity component parameters; Generate a jump identifier, generate jump information according to the page name and page content of the target page, and generate second data according to the jump identifier and the jump information.
8. The display device according to claim 7, wherein The target activity component start information is generated by a preset favorites application; when the controller executes to send the target activity component start information to the target application corresponding to the target page, it is further configured to: Receive the target activity component start information sent by the favorites application and read the first data; Obtain the target activity component of the target application according to the first data; Generate a target activity component start instruction and send it to the target application, where the target activity component start instruction carries the target activity component start information.
9. The display device according to claim 7, wherein When the target page supports external jumps, the page data is generated by the target activity component of the target application according to the page content of the target page after the jump identifier is not read; When the target page does not support external jumps, the page data is generated by the second activity component according to the page content of the target page; The second activity component is an activity component started by the target activity component according to the page name of the target page after the jump identifier is read.
10. A page collection method, applied to a display device, characterized in that, The method includes: In response to an instruction indicating to favorite the current page, obtain the page name of the current page and the application information of the current application; the current application is the application providing the current page; Set the target activity component of the current application according to the page name and the application information; Obtain the page information of the current page through the current application, and generate the page favorites data of the current page according to the page information and the target activity component; the page favorites data is used to generate a page favorites interface, and the page favorites interface is used to display at least one page favorited by the user.