Page configuration method and device, interaction method and device, electronic equipment and storage medium
By configuring the attribute information of the focus component of the TV page, the problems of low development efficiency and high cost in the production process of the TV page are solved, efficient page configuration and update are achieved, and manpower investment is reduced.
Patent Information
- Application Number
- CN202310746172.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2024-12-24
AI Technical Summary
There are problems of low development efficiency and high development costs in the production process of TV pages, especially pages with similar structures need to be repeatedly developed, resulting in increased labor investment and long update cycles.
By displaying and configuring the focus components of the TV page, in response to their attribute information requests, the attribute information of the component is configured to determine the page configuration information, thereby achieving efficient page configuration, reducing manpower investment and improving development efficiency.
This method automatically determines the page configuration information by configuring the attribute information of the focus components of the TV page, avoiding repeated development of pages with similar structures, saving manpower, and improving development efficiency and update speed.
Smart Images

Figure CN119179478A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure belongs to the field of computer technology, and in particular, relates to a page configuration method, an interaction method, a device, an electronic device, and a storage medium. Background Art
[0002] With the development of science and technology, TVs can run a variety of applications. The pages in the applications are usually presented in the form of regular grids and nested grids. Users use the remote control to control the movement of the selection box in the page to select the target focus component. At present, TV page production is mainly implemented through Android language coding.
[0003] However, in the existing solutions, the TV-side page production process has the following aspects that need to be improved: pages with similar structures need to be developed repeatedly, which increases manpower investment and complicates the development process; and the TV-side page modification and update cycle is long. Summary of the invention
[0004] The embodiments of the present disclosure provide an implementation scheme different from the related art to solve the problems of low development efficiency and high development cost in the TV-side page production process in the related art.
[0005] In a first aspect, the present disclosure provides a page configuration method, the method comprising:
[0006] Displaying at least one first focus component to be displayed on a first page;
[0007] For each first focus component of the at least one first focus component, in response to a request to configure the first attribute information of the first focus component, configure the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated;
[0008] Configuration information of the first page is determined based on first attribute information of the at least one first focus component.
[0009] In a second aspect, the present disclosure provides an interaction method, the method comprising:
[0010] Receive an operation on a first target focus component in a first page;
[0011] Make a corresponding response based on the first attribute information of the first target focus component;
[0012] The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
[0013] In a third aspect, the present disclosure provides a page configuration device, the device comprising:
[0014] A display unit, used to display at least one first focus component to be displayed on a first page;
[0015] A first response unit is used to configure the first attribute information of each first focus component in the at least one first focus component in response to a request for configuring the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated;
[0016] A determination unit is used to determine the configuration information of the first page based on the first attribute information of the at least one first focus component.
[0017] In a fourth aspect, the present disclosure provides an interactive device, the device comprising:
[0018] A receiving unit, configured to receive an operation on a first target focus component in a first page;
[0019] A second response unit, configured to make a corresponding response based on the first attribute information of the first target focus component;
[0020] The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
[0021] In a fifth aspect, the present disclosure provides an electronic device, including:
[0022] Processor; and
[0023] A memory, configured to store executable instructions of the processor;
[0024] The processor is configured to execute the first aspect, the second aspect, any method in the possible implementations of the first aspect, or the possible implementations of the second aspect by executing the executable instructions.
[0025] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the first aspect, the second aspect, the possible implementation methods of the first aspect, or any method in the possible implementation methods of the second aspect.
[0026] In a sixth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the first aspect, the second aspect, the possible implementation methods of the first aspect, or any method in the possible implementation methods of the second aspect.
[0027] The technical solution provided by the present disclosure displays at least one first focus component to be displayed on a first page; for each first focus component in the at least one first focus component, in response to a request to configure the first attribute information of the first focus component, the first attribute information of the first focus component is configured, and the configuration information of the first page is determined based on the first attribute information of the at least one first focus component. By configuring the first attribute information for at least one first focus component to be displayed on the first page and determining the configuration information of the first page, the configuration of the first page can be efficiently implemented, reducing manpower investment and improving development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0029] Figure 1 A schematic diagram of the structure of a system provided by an embodiment of the present disclosure;
[0030] Figure 2a A schematic diagram of a flow chart of a page configuration method provided by an embodiment of the present disclosure;
[0031] Figure 2b A schematic diagram of display content on a television device side provided by an embodiment of the present disclosure;
[0032] Figure 2c A schematic diagram of a storage tree provided in one embodiment of the present disclosure;
[0033] Figure 2dA schematic diagram of a scenario of a system provided by an embodiment of the present disclosure;
[0034] Figure 2e A flowchart of an interactive method provided by an embodiment of the present disclosure;
[0035] Figure 3 A flowchart of an interaction method provided by another embodiment of the present disclosure;
[0036] Figure 4 A schematic diagram of the structure of a page configuration device provided by an embodiment of the present disclosure;
[0037] Figure 5 A schematic diagram of the structure of an interactive device provided by an embodiment of the present disclosure;
[0038] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0039] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, but should not be understood as limiting the present disclosure.
[0040] The terms "first" and "second" and the like in the specification, claims, and drawings of the disclosed embodiments are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the disclosed embodiments described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0041] First, some terms in the embodiments of the present disclosure are explained below to facilitate understanding by those skilled in the art.
[0042] A low-code platform refers to a platform software that facilitates the generation of applications. Its software development environment allows relevant personnel to write programs using a graphical interface and related configurations.
[0043] The focus component is the smallest view unit with independent logic running on the TV terminal page.
[0044] TV terminals can run a variety of applications. The pages in the applications are usually presented in the form of regular grids and nested grids. Users use the remote control to control the movement of the check box in the page to select the target focus element, but TV page production is mainly implemented through Android language coding. At present, the TV page (TV page) production process has the following two disadvantages: first, pages with similar structures need to be repeatedly developed, which increases manpower investment and complicates the development process; second, changes to the TV end page require version release, and the version release and update cycle is long.
[0045] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0046] Figure 1 A schematic diagram of a system structure provided by an exemplary embodiment of the present disclosure includes: a configuration device 10, a server 20 and a television device 30.
[0047] The configuration device 10 may be used to execute the page configuration method in the present application, and specifically, may be used to execute the following steps:
[0048] Displaying at least one first focus component to be displayed on a first page;
[0049] For each first focus component of the at least one first focus component, in response to a request to configure the first attribute information of the first focus component, configure the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated;
[0050] Configuration information of the first page is determined based on first attribute information of the at least one first focus component.
[0051] In some embodiments, the first page is a TV-side page.
[0052] In some embodiments, the configuration device 10 uploads the configured first page to the server 20 , and the server 20 may send the configured first page to the television device 30 , and the television device 30 receives and displays the configured first page.
[0053] In some embodiments, the television device 30 may receive instructions generated by a user triggering a remote control, and control the configured first page to make a corresponding response.
[0054] In other embodiments, the above system may also include only the configuration device 10 and the television device 30. In this case, the configuration device 10 may directly send the configured first page to the television device 30, so that the television device 30 receives and displays the configured first page.
[0055] The execution principle or interaction process of each component unit in the embodiment of the system, such as the configuration device 10, the server 20 and the television device 30, can be found in the description of the following method embodiments.
[0056] Figure 2a A schematic flow chart of a page configuration method provided by an exemplary embodiment of the present disclosure is provided. The method can be applied to the aforementioned configuration device 10. The method at least includes the following steps S201-S203:
[0057] S201, displaying at least one first focus component to be displayed on a first page;
[0058] In some embodiments, before displaying at least one first focus component to be displayed on the first page, it is necessary to obtain position information of at least one first focus component to be displayed on the first page, and then display at least one first focus component to be displayed on the first page according to the position information.
[0059] Among them, the position information of at least one first focus component can be preset by relevant personnel.
[0060] S202, for each first focus component in the at least one first focus component, in response to a request for configuring the first attribute information of the first focus component, configuring the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated;
[0061] In some optional embodiments, the operable properties of the first focus component include properties that the first focus component can be selected, and when the properties of the first focus component are configured to be selectable, it indicates that the first focus component on the first page can be selected.
[0062] In some optional embodiments, the first display information of the first focus component when being operated includes the display information of the first focus component when being selected or clicked, wherein the first display information may include display style, color, size, etc.
[0063] In some optional embodiments, the identification information of the first adjacent focus component of the first focus component in the first direction includes: when the control object moves from the first focus component to the first direction, the identification information of the first adjacent focus component to be operated corresponding to the first focus component.
[0064] Specifically, when the control object moves from the first focus component to the first direction, the identification information of the first adjacent focus component to be operated corresponding to the first focus component includes: when the control object moves from the first focus component to the first direction with the first focus component selected, the identification information of the first adjacent focus component to be operated corresponding to the first focus component.
[0065] The control object may be a remote control device or a cursor of the remote control device. Specifically, the position of the control object may change according to the user's operation of the direction keys on the remote control device. For example, when the user clicks the right direction key on the remote control device, the control object moves to the right. If the aforementioned first direction is the right direction, the identification information of the first adjacent focus component of the first focus component in the right direction includes: when the control object moves from the first focus component to the right direction, the identification information of the first adjacent focus component to be operated corresponding to the first focus component.
[0066] In some embodiments, the first direction may be any of the following directions: right, left, upward, or downward.
[0067] In some embodiments, the first direction may be a default direction, that is, the default direction may be upward or downward, etc.
[0068] In some embodiments, the address information of the first target page to which the first focus component jumps when the first focus component is operated includes: the address information of the first target page to which the first focus component jumps when the first focus component is clicked.
[0069] Configuring the address information of the first target page to which the first focus component jumps when the first focus component is clicked includes: associating the address information of the first target page with the click operation of the control object on the first focus component.
[0070] When the first attribute information of the first focus component includes address information of the first target page to which the first focus component jumps when the first focus component is operated, when the first focus component is operated by the controlled object, the display device will control the first page to jump to the first target page according to the address information of the first target page, wherein the display device may be a television device.
[0071] In some optional embodiments, the first attribute information of the first focus component also includes: identification information of the corresponding second focus component group when the control object moves from the first focus component to the first direction but the first focus component is not configured with identification information of the first adjacent focus component to be operated, wherein the first focus component is included in the second focus component group, so that on the television device side, when it is determined that the control object moves from the first focus component to the first direction but the first focus component is not configured with identification information of the first adjacent focus component to be operated, a corresponding response is made based on the second focus component group, specifically, a corresponding response can be made according to the attribute information of the second focus component group.
[0072] In some embodiments, multiple component groups may be nested, for example, the second focus component group may also be included in any of the aforementioned first focus component groups.
[0073] S203. Determine configuration information of the first page based on first attribute information of the at least one first focus component.
[0074] In some optional embodiments, the method further includes the following steps S01-S02:
[0075] S01, displaying at least one first focus component group to be displayed on the first page;
[0076] Among them, the first focus component group may include one or more fourth focus components.
[0077] In some embodiments, before displaying at least one first focus component group to be displayed on the first page, it is necessary to obtain position information of at least one first focus component group to be displayed on the first page, and then display at least one first focus component group to be displayed on the first page according to the position information.
[0078] Among them, the location information of at least one first focus component group can be pre-set by relevant personnel.
[0079] S02. For each first focus component group in the at least one first focus component group, in response to a request to configure the second attribute information of the first focus component group, configure the second attribute information of the first focus component group; the second attribute information of the first focus component group includes: an operable attribute of the first focus component group, second display information of the first focus component group when being operated, identification information of a first adjacent focus component group or identification information of a second adjacent focus component of the first focus component group in the second direction, and address information of a second target page to which the first focus component group jumps when being operated;
[0080] In some optional embodiments, the operable property of the first focus component group includes a property that the first focus component group as a whole can be selected, and when the property of the first focus component group is configured to be selectable, it indicates that the first focus component group as a whole on the first page can be selected. The first focus component group as a whole can be selected includes that all one or more fourth focus components included in the first focus component group are selected.
[0081] In some optional embodiments, the second display information of the first focus component group when being operated includes the outer frame of the first focus component group, or a selected display style when one or more fourth focus components included in the first focus component group are all selected or clicked, wherein the selected display style may include: display style, color, size, etc.
[0082] In some optional embodiments, the identification information of the first adjacent focus component group of the first focus component group in the second direction includes: when the control object moves from the first focus component group to the second direction, the identification information of the first adjacent focus component group to be operated corresponding to the first focus component group.
[0083] Specifically, when the control object moves from the first focus component group to the second direction, the identification information of the first adjacent focus component group to be operated corresponding to the first focus component includes: when the control object moves from the first focus component group to the second direction with the first focus component group selected, the identification information of the first adjacent focus component group to be operated corresponding to the first focus component group.
[0084] In some embodiments, the second direction may be any of the following directions: right, left, upward, or downward.
[0085] In some embodiments, the second direction may be a default direction, that is, the default direction may be upward or downward, etc.
[0086] In some optional embodiments, the identification information of the second adjacent focus component of the first focus component group in the second direction includes: when the control object moves from the first focus component group to the second direction, the identification information of the second adjacent focus component to be operated corresponding to the first focus component group.
[0087] Specifically, the identification information of the second adjacent focus component to be operated corresponding to the first focus component when the control object moves from the first focus component group to the second direction includes: the identification information of the second adjacent focus component to be operated corresponding to the first focus component group when the control object moves from the first focus component group to the second direction when the first focus component group is selected.
[0088] The control object may be a cursor of a remote control device. Specifically, the position of the control object may change according to the user's operation of the direction key on the remote control device. For example, when the user clicks the right direction key on the remote control device, the control object moves to the right. If the aforementioned second direction is the right direction, the identification information of the second adjacent focus component of the first focus component group in the right direction includes: when the control object moves from the first focus component group to the right direction, the identification information of the second adjacent focus component to be operated corresponding to the first focus component group.
[0089] In some embodiments, the address information of the second target page to which the first focus component group jumps when being operated includes: the address information of the second target page to which the first focus component group jumps when being clicked.
[0090] Configuring the address information of the second target page to which the first focus component group jumps when the first focus component group is clicked includes: associating the address information of the second target page with the click operation of the control object on the first focus component group.
[0091] When the second attribute information of the first focus component group includes address information of a second target page to which the first focus component group jumps when the first focus component group is operated, when the first focus component group is operated by the controlled object, the display device will control the first page to jump to the second target page according to the address information of the second target page, wherein the display device may be a television device.
[0092] In some optional embodiments, the second attribute information of the first focus component group further includes identification information of one or more second focus components corresponding to the first focus component group after being clicked, and identification of one or more third focus components, so that the first focus component group switches from the first display state to the second display state when being clicked, and the first focus component group displays the one or more second focus components in the first display state, and the first focus component group displays the one or more second focus components and the one or more third focus components in the second display state.
[0093] Optionally, when the first focus component group is in the first display state, the size of the control corresponding to the first focus component group is smaller than the size of the control corresponding to the first focus component group in the second display state.
[0094] In this way, when a user clicks a control corresponding to the first focus component group through a control object in a display device, a more comprehensive focus component can be viewed, thereby improving the user experience.
[0095] In some optional embodiments, the identifier of the first focus component uniquely identifies the first focus component.
[0096] In some optional embodiments, the identifier of the first focus component group uniquely identifies the first focus component group.
[0097] In some optional embodiments, when configuring the attribute information of multiple fourth focus components included in the first focus component group, the above method also includes: obtaining a preset direction; configuring the identification information of the third adjacent focus components of at least some of the multiple fourth focus components in the preset direction according to the order of adding the multiple fourth focus components, specifically, the fourth focus component currently added is the third adjacent focus component of the fourth focus component added last time in the preset direction.
[0098] In some optional embodiments, the preset direction may be any of the following directions: left, right, upward, or downward.
[0099] In some optional embodiments, the second attribute information of the first focus component group further includes: when the first focus component group is selected, a corresponding default selected focus component, so that when the control object clicks the first focus component group again under the condition that the first focus component group is selected, the default selected focus component in the first focus component group is automatically selected, or when the control object clicks to select the first focus component group, the default selected focus component in the first focus component group is automatically selected.
[0100] In some optional embodiments, the second attribute information of the first focus component group further includes:
[0101] A default direction corresponding to when the control object moves from the first focus component group to the second direction but the first focus component group is not configured with identification information of the first adjacent focus component group to be operated; so that when the control object moves from the first focus component group to the second direction but the first focus component group is not configured with identification information of the first adjacent focus component group to be operated, the television device side responds based on the identification information of the second adjacent focus component group to be operated corresponding to the configuration of the first focus component group in the default direction.
[0102] In some optional embodiments, the first page is a TV end page, and the first focus component is any of the following components: a channel component, a broadcast control component, an interactive component, and a resource component. The broadcast control component includes a component for controlling the playback of corresponding content, and the interactive component includes a component for indicating interactive user operations such as comments and likes. The interactive users may include other users and may further include the current user. The categories of resource components may include pictures, operable controls, etc.
[0103] In some optional embodiments, see further Figure 2b As shown, each first focus component group can be displayed in the form of a card, and the same first focus component group can include multiple focus components.
[0104] In the aforementioned S203, the configuration information of the first page is determined based on the first attribute information of the at least one first focus component, including: determining the configuration information of the first page based on the first attribute information of the at least one first focus component and the second attribute information of the at least one first focus component group.
[0105] In some optional embodiments, in the aforementioned S201, displaying at least one first focus component to be displayed on the first page includes: displaying at least one first focus component to be displayed on the first page on the visual interface of the low-code platform.
[0106] In some embodiments, the identification information of each first focus component and the identification information of each first focus component group involved in the present application are as follows: Figure 2c The storage tree in the low-code platform is stored in the database corresponding to the low-code platform. After the configuration information of the first page is determined, the storage tree and the configuration information of the first page can be uploaded to the server or TV device together, so that the TV device renders the first page based on the storage tree.
[0107] The technical solution provided by the present disclosure displays at least one first focus component to be displayed on a first page; for each first focus component in the at least one first focus component, in response to a request to configure the first attribute information of the first focus component, the first attribute information of the first focus component is configured, and the configuration information of the first page is determined based on the first attribute information of the at least one first focus component. By configuring the first attribute information for at least one first focus group to be displayed on the first page, the configuration information of the first page can be determined, which not only realizes the development of the first page, but also in the process of developing a page with a similar structure to the first page, the configuration information of the similar page can be determined by configuring the first attribute information for the first focus group, thereby avoiding the need for repeated development of pages with similar structures, greatly saving manpower and improving development efficiency.
[0108] Figure 3 This is a flow chart of an interactive method provided by an exemplary embodiment of the present disclosure. The method can be applied to the aforementioned television device. The method at least includes the following steps S301-S302:
[0109] S301, receiving an operation on a first target focus component in a first page;
[0110] In some optional embodiments, in the aforementioned S301, the operation on the first target focus component in the first page may include the operation of the control object on the first target focus component in the first page.
[0111] Optionally, the first target focus component is any first focus component of at least one first focus component in the first page;
[0112] S302, responding accordingly based on the first attribute information of the first target focus component;
[0113] The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
[0114] In some optional embodiments, in the aforementioned S302, a corresponding response is made based on the first attribute information of the first target focus component, including: determining whether the first attribute information of the first target focus component includes address information of a first target page to which the first target focus component jumps when the first target focus component is operated; if so, controlling the first page to jump to the first target page based on the address information of the first target page; if not, obtaining second attribute information of the first target focus component group to which the first target focus component belongs, and making a corresponding response based on the second attribute information of the first target focus component group.
[0115] In some optional embodiments, the operation on the first target focus component in at least one first focus component in the first page may be a click operation on the first target focus component in at least one first focus component in the first page.
[0116] Making a corresponding response based on the second attribute information of the first target focus component group includes any of the following:
[0117] Adjusting the display information of the first target focus component group to second display information;
[0118] Based on the address information of the second target page, the first page is controlled to be adjusted to the second target page.
[0119] In some optional embodiments, the method further includes:
[0120] In response to a click operation on a control corresponding to the first target focus component group, one or more second focus components and one or more third focus components included in the first target focus component group are displayed.
[0121] In some embodiments, the aforementioned plurality of fourth focal components include: one or more second focal components and one or more third focal components.
[0122] In some embodiments, before receiving an operation on a first target focus component in at least one first focus component in a first page, the method further includes: registering the at least one first focus component and the at least one first focus component group, so that the television device can recognize the operation of the control object on each first focus component and each first focus component group.
[0123] In some embodiments, the above method also includes: receiving an operation on a first target focus component group in a first page; and making a corresponding response based on second attribute information of the first target focus component group.
[0124] Among them, the second attribute information of the first target focus component group includes: the attributes of the first target focus component group that can be operated, the second display information of the first target focus component group when being operated, the identification information of the first adjacent focus component group of the first target focus component group in the second direction or the identification information of the second adjacent focus component, and the address information of the second target page to which the first target focus component group jumps when being operated.
[0125] In some optional embodiments of the present application, the aforementioned remote control device may include a remote controller.
[0126] Further, Figure 2d This is a scenario diagram of a system provided by the present disclosure. The specific embodiments in this application can be found in the aforementioned content and will not be repeated here.
[0127] The solution of this application is further described below in conjunction with a specific flow chart:
[0128] In some embodiments, in combination Figure 2e As shown, on the TV device side, when the user clicks the right direction key of the remote control, it is determined whether the first attribute information of the current focus component includes the identification information of the first adjacent focus component in the right direction of the current focus component. If so, the event corresponding to the right direction key is executed, that is, it is determined that the first adjacent focus component is selected. If the first attribute information of the current focus component does not include the identification information of the first adjacent focus component in the right direction of the current focus component, it is determined whether the current focus component is included in a focus component group. If so, it is determined whether the focus component group is configured with the identification information of the first adjacent focus component group in the right direction. If so, the event corresponding to the right direction key is executed, that is, it is determined that the first adjacent focus component group is selected. If it is determined that the current focus component is not included in a focus component group, it is not processed.
[0129] If it is determined that the focus component group is not configured with identification information of the first adjacent focus component group in the right direction, then determine whether the focus component group is configured with identification information of the second adjacent focus component group in the default direction, or is configured with identification information of the fourth adjacent focus component in the default direction. If it is determined that the focus component group is configured with identification information of the second adjacent focus component group in the default direction, then determine that the selected object of the control object is a focus component in the second adjacent focus component group; if it is determined that the focus component group is configured with identification information of the fourth adjacent focus component in the default direction, execute the event corresponding to the right direction key, that is, determine that the selected object of the control object is the fourth adjacent focus component. If the focus component group is not configured with identification information of the second adjacent focus component group in the default direction, and is not configured with identification information of the fourth adjacent focus component in the default direction, no processing is performed.
[0130] When the user clicks the OK button on the remote control, it is determined whether the first attribute information of the current focus component includes the address information of the first target page to which the current focus component jumps when the current focus component is operated. If so, the event corresponding to the OK button is executed, that is, the first page is controlled to jump to the first target page based on the address information of the first target page. If not, no processing is performed.
[0131] The interactive method provided by the present invention can utilize the first TV page built through the low-code platform to achieve human-computer interaction and improve the user experience.
[0132] Figure 4 A schematic diagram of the structure of a page configuration device provided by an exemplary embodiment of the present disclosure.
[0133] The device includes: a display unit 41, a first response unit 42 and a determination unit 43;
[0134] A display unit 41, used for displaying at least one first focus component to be displayed on a first page;
[0135] A first response unit 42 is used to configure the first attribute information of each first focus component in the at least one first focus component in response to a request for configuring the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated;
[0136] The determination unit 43 is used to determine the configuration information of the first page based on the first attribute information of the at least one first focus component.
[0137] In some embodiments, the identification information of the first adjacent focus component of the first focus component in the first direction includes: when the control object moves from the first focus component to the first direction, the identification information of the first adjacent focus component to be operated corresponding to the first focus component.
[0138] In some embodiments, the display unit is further used to display at least one first focus component group to be displayed on the first page;
[0139] The first response unit is further used to configure the second attribute information of the first focus component group for each first focus component group in the at least one first focus component group in response to a request to configure the second attribute information of the first focus component group; the second attribute information of the first focus component group includes: the operable attribute of the first focus component group, the second display information of the first focus component group when being operated, the identification information of the first adjacent focus component group or the identification information of the second adjacent focus component of the first focus component group in the second direction, and the address information of the second target page to which the first focus component group jumps when being operated;
[0140] The determination unit is also used to determine the configuration information of the first page based on the first attribute information of the at least one first focus component, including: determining the configuration information of the first page based on the first attribute information of the at least one first focus component and the second attribute information of the at least one first focus component group.
[0141] In some embodiments, the second display information of the first focus component group when being operated includes: a selected display style of the first focus component group when being selected.
[0142] In some embodiments, the second attribute information of the first focus component group also includes identification information of one or more second focus components corresponding to the first focus component group after being clicked, and identification of one or more third focus components, so that the first focus component group switches from the first display state to the second display state when being clicked, and the first focus component group displays the one or more second focus components in the first display state, and the first focus component group displays the one or more second focus components and the one or more third focus components in the second display state.
[0143] In some embodiments, the first page is a TV page, and the first focus component is any one of the following components: a channel component, a broadcast control component, an interactive component, and a resource component.
[0144] In some embodiments, displaying at least one first focus component to be displayed on a first page includes: displaying at least one first focus component to be displayed on the first page on a visual interface of a low-code platform.
[0145] Figure 5 A schematic diagram of the structure of an interactive device provided by an exemplary embodiment of the present disclosure;
[0146] The device comprises: a receiving unit 51 and a second responding unit 52;
[0147] A receiving unit 51 is used to receive an operation on a first target focus component in a first page;
[0148] A second response unit 52, configured to make a corresponding response based on the first attribute information of the first target focus component;
[0149] The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
[0150] In some embodiments, the second response unit is also used to determine whether the first attribute information of the first target focus component includes address information of the first target page to which the first target focus component jumps when the first target focus component is operated. If so, the first page is controlled to jump to the first target page based on the address information of the first target page. If not, the second attribute information of the first target focus component group to which the first target focus component belongs is obtained, and a corresponding response is made based on the second attribute information of the first target focus component group.
[0151] In some embodiments, the second response unit is further used to display one or more second focus components and one or more third focus components included in the first target focus component group in response to a click operation on a control corresponding to the first target focus component group.
[0152] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, no further description is given here. Specifically, the device may perform the above method embodiment, and the above and other operations or functions of each module in the device are the corresponding processes in each method in the above method embodiment, respectively, and no further description is given here for the sake of brevity.
[0153] The above describes the device of the embodiment of the present disclosure from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present disclosure can be completed by the hardware integrated logic circuit in the processor or the instructions in software form, and the steps of the method disclosed in conjunction with the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to execute, or a combination of hardware and software modules in the decoding processor to execute. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in conjunction with its hardware.
[0154] Figure 6 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure, and the electronic device may include:
[0155] The memory 601 and the processor 602, the memory 601 is used to store the computer program and transmit the program code to the processor 602. In other words, the processor 602 can call and run the computer program from the memory 601 to implement the method in the embodiment of the present disclosure.
[0156] For example, the processor 602 may be configured to execute the above method embodiments according to instructions in the computer program.
[0157] In some embodiments of the present disclosure, the processor 602 may include but is not limited to:
[0158] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0159] In some embodiments of the present disclosure, the memory 601 includes but is not limited to:
[0160] Volatile memory or non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0161] In some embodiments of the present disclosure, the computer program may be divided into one or more modules, which are stored in the memory 601 and executed by the processor 602 to complete the method provided by the present disclosure. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0162] like Figure 6 As shown, the electronic device may also include:
[0163] The transceiver 603 may be connected to the processor 602 or the memory 601 .
[0164] The processor 602 may control the transceiver 603 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 603 may include a transmitter and a receiver. The transceiver 603 may further include an antenna, and the number of antennas may be one or more.
[0165] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.
[0166] The present disclosure also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present disclosure embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.
[0167] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.
[0168] According to one or more embodiments of the present disclosure, a page configuration method is provided, the method comprising:
[0169] Displaying at least one first focus component to be displayed on a first page;
[0170] For each first focus component of the at least one first focus component, in response to a request to configure the first attribute information of the first focus component, configure the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated;
[0171] Configuration information of the first page is determined based on first attribute information of the at least one first focus component.
[0172] According to one or more embodiments of the present disclosure, the identification information of the first adjacent focus component of the first focus component in the first direction includes: when the control object moves from the first focus component to the first direction, the identification information of the first adjacent focus component to be operated corresponding to the first focus component.
[0173] According to one or more embodiments of the present disclosure, the method further includes:
[0174] Displaying at least one first focus component group to be displayed on the first page;
[0175] For each first focus component group in the at least one first focus component group, in response to a request to configure the second attribute information of the first focus component group, configure the second attribute information of the first focus component group; the second attribute information of the first focus component group includes: an attribute of the first focus component group that can be operated, second display information of the first focus component group when being operated, identification information of a first adjacent focus component group or identification information of a second adjacent focus component of the first focus component group in the second direction, and address information of a second target page to which the first focus component group jumps when being operated;
[0176] Determining the configuration information of the first page based on the first attribute information of the at least one first focus component includes: determining the configuration information of the first page based on the first attribute information of the at least one first focus component and the second attribute information of the at least one first focus component group.
[0177] According to one or more embodiments of the present disclosure, the second display information of the first focus component group when being operated includes: a selected display style of the first focus component group when being selected.
[0178] According to one or more embodiments of the present disclosure, the second attribute information of the first focus component group further includes identification information of one or more second focus components corresponding to the first focus component group after being clicked, and identification of one or more third focus components, so that the first focus component group switches from the first display state to the second display state when being clicked, and the first focus component group displays the one or more second focus components in the first display state, and the first focus component group displays the one or more second focus components and the one or more third focus components in the second display state.
[0179] According to one or more embodiments of the present disclosure, the first page is a TV page, and the first focus component is any one of the following components: a channel component, a broadcast control component, an interactive component, and a resource component.
[0180] According to one or more embodiments of the present disclosure, displaying at least one first focus component to be displayed on a first page includes: displaying at least one first focus component to be displayed on the first page on a visual interface of a low-code platform.
[0181] According to one or more embodiments of the present disclosure, an interaction method is provided, the method comprising:
[0182] Receive an operation on a first target focus component in a first page;
[0183] Make a corresponding response based on the first attribute information of the first target focus component;
[0184] The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
[0185] According to one or more embodiments of the present disclosure, performing a corresponding response based on the first attribute information of the first target focus component includes:
[0186] Determine whether the first attribute information of the first target focus component includes the address information of the first target page to which the first target focus component jumps when the first target focus component is operated; if so, control the first page to jump to the first target page based on the address information of the first target page; if not, obtain the second attribute information of the first target focus component group to which the first target focus component belongs, and make a corresponding response based on the second attribute information of the first target focus component group.
[0187] According to one or more embodiments of the present disclosure, the method further includes:
[0188] In response to a click operation on a control corresponding to the first target focus component group, one or more second focus components and one or more third focus components included in the first target focus component group are displayed.
[0189] According to one or more embodiments of the present disclosure, a page configuration device is provided, the device comprising:
[0190] A display unit, used to display at least one first focus component to be displayed on a first page;
[0191] A first response unit is used to configure the first attribute information of each first focus component in the at least one first focus component in response to a request for configuring the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated;
[0192] A determination unit is used to determine the configuration information of the first page based on the first attribute information of the at least one first focus component.
[0193] According to one or more embodiments of the present disclosure, the identification information of the first adjacent focus component of the first focus component in the first direction includes: when the control object moves from the first focus component to the first direction, the identification information of the first adjacent focus component to be operated corresponding to the first focus component.
[0194] According to one or more embodiments of the present disclosure, the display unit is further used to display at least one first focus component group to be displayed on the first page;
[0195] The first response unit is further used to configure the second attribute information of the first focus component group for each first focus component group in the at least one first focus component group in response to a request to configure the second attribute information of the first focus component group; the second attribute information of the first focus component group includes: the operable attribute of the first focus component group, the second display information of the first focus component group when being operated, the identification information of the first adjacent focus component group or the identification information of the second adjacent focus component of the first focus component group in the second direction, and the address information of the second target page to which the first focus component group jumps when being operated;
[0196] The determination unit is also used to determine the configuration information of the first page based on the first attribute information of the at least one first focus component, including: determining the configuration information of the first page based on the first attribute information of the at least one first focus component and the second attribute information of the at least one first focus component group.
[0197] According to one or more embodiments of the present disclosure, the second display information of the first focus component group when being operated includes: a selected display style of the first focus component group when being selected.
[0198] According to one or more embodiments of the present disclosure, the second attribute information of the first focus component group further includes identification information of one or more second focus components corresponding to the first focus component group after being clicked, and identification of one or more third focus components, so that the first focus component group switches from the first display state to the second display state when being clicked, and the first focus component group displays the one or more second focus components in the first display state, and the first focus component group displays the one or more second focus components and the one or more third focus components in the second display state.
[0199] According to one or more embodiments of the present disclosure, the first page is a TV page, and the first focus component is any one of the following components: a channel component, a broadcast control component, an interactive component, and a resource component.
[0200] According to one or more embodiments of the present disclosure, displaying at least one first focus component to be displayed on a first page includes: displaying at least one first focus component to be displayed on the first page on a visual interface of a low-code platform.
[0201] According to one or more embodiments of the present disclosure, an interaction device is provided, the device comprising:
[0202] A receiving unit, configured to receive an operation on a first target focus component in a first page;
[0203] A second response unit, configured to make a corresponding response based on the first attribute information of the first target focus component;
[0204] The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
[0205] According to one or more embodiments of the present disclosure, the second response unit is also used to determine whether the first attribute information of the first target focus component includes address information of the first target page to which the first target focus component jumps when the first target focus component is operated. If so, the first page is controlled to jump to the first target page based on the address information of the first target page. If not, the second attribute information of the first target focus component group to which the first target focus component belongs is obtained, and a corresponding response is made based on the second attribute information of the first target focus component group.
[0206] According to one or more embodiments of the present disclosure, the second response unit is also used to display one or more second focus components and one or more third focus components included in the first target focus component group in response to a click operation on a control corresponding to the first target focus component group.
[0207] According to one or more embodiments of the present disclosure, there is provided an electronic device, including:
[0208] Processor; and
[0209] A memory, configured to store executable instructions of the processor;
[0210] The processor is configured to execute the method described in any one of the above embodiments by executing the executable instructions.
[0211] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in any one of the above embodiments is implemented.
[0212] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0213] In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0214] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present disclosure may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0215] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A page configuration method, characterized in that: The method comprises: Displaying at least one first focus component to be displayed on a first page; For each first focus component of the at least one first focus component, in response to a request to configure the first attribute information of the first focus component, configure the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated; Configuration information of the first page is determined based on first attribute information of the at least one first focus component.
2. The method according to claim 1, characterized in that The identification information of the first adjacent focus component of the first focus component in the first direction includes: when the control object moves from the first focus component to the first direction, the identification information of the first adjacent focus component to be operated corresponding to the first focus component.
3. The method according to claim 1, characterized in that The method further comprises: Displaying at least one first focus component group to be displayed on the first page; For each first focus component group in the at least one first focus component group, in response to a request to configure the second attribute information of the first focus component group, configure the second attribute information of the first focus component group; the second attribute information of the first focus component group includes: an attribute of the first focus component group that can be operated, second display information of the first focus component group when being operated, identification information of a first adjacent focus component group or identification information of a second adjacent focus component of the first focus component group in the second direction, and address information of a second target page to which the first focus component group jumps when being operated; Determining the configuration information of the first page based on the first attribute information of the at least one first focus component includes: determining the configuration information of the first page based on the first attribute information of the at least one first focus component and the second attribute information of the at least one first focus component group.
4. The method according to claim 3, characterized in that The second display information of the first focus component group when being operated includes: a selected display style of the first focus component group when being selected.
5. The method according to claim 3, characterized in that: The second attribute information of the first focus component group also includes the identification information of one or more second focus components corresponding to the first focus component group after being clicked, and the identification of one or more third focus components, so that the first focus component group switches from the first display state to the second display state when being clicked, and the first focus component group displays the one or more second focus components in the first display state, and the first focus component group displays the one or more second focus components and the one or more third focus components in the second display state.
6. The method according to claim 1, characterized in that The first page is a TV page, and the first focus component is any one of the following components: a channel component, a broadcast control component, an interactive component, and a resource component.
7. The method according to claim 1, characterized in that Displaying at least one first focus component to be displayed on a first page includes: displaying at least one first focus component to be displayed on the first page on a visual interface of a low-code platform.
8. An interactive method, characterized in that: The method comprises: Receive an operation on a first target focus component in a first page; Make a corresponding response based on the first attribute information of the first target focus component; The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
9. The method according to claim 8, characterized in that Producing a corresponding response based on the first attribute information of the first target focus component includes: Determine whether the first attribute information of the first target focus component includes the address information of the first target page to which the first target focus component jumps when the first target focus component is operated; if so, control the first page to jump to the first target page based on the address information of the first target page; if not, obtain the second attribute information of the first target focus component group to which the first target focus component belongs, and make a corresponding response based on the second attribute information of the first target focus component group.
10. The method according to claim 8, characterized in that The method further comprises: In response to a click operation on a control corresponding to the first target focus component group, one or more second focus components and one or more third focus components included in the first target focus component group are displayed.
11. A page configuration device, characterized in that: The device comprises: A display unit, used to display at least one first focus component to be displayed on a first page; A first response unit is configured to configure, for each first focus component in the at least one first focus component, first attribute information of the first focus component in response to a request for configuring the first attribute information of the first focus component; the first attribute information of the first focus component includes at least one of the following: an operable attribute of the first focus component, first display information of the first focus component when being operated, identification information of a first adjacent focus component of the first focus component in a first direction, and address information of a first target page to which the first focus component jumps when being operated; A determination unit is used to determine the configuration information of the first page based on the first attribute information of the at least one first focus component.
12. An interactive device, characterized in that: The device comprises: A receiving unit, configured to receive an operation on a first target focus component in a first page; A second response unit, configured to make a corresponding response based on the first attribute information of the first target focus component; The first attribute information of the first target focus component includes at least one of the following: the operable attribute of the first target focus component, the first display information of the first target focus component when being operated, the identification information of the first adjacent focus component of the first target focus component in the first direction, and the address information of the first target page to which the first target focus component jumps when being operated.
13. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1-10 by executing the executable instructions.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of items 1 to 10 is implemented.
