The present disclosure generally relates to the technical field of smart TVs, and in particular to an interface interaction method, apparatus, computer device and storage medium.
At present, a large amount of contents are operated by most of common smart TV homepages in a form of graphics. If videos or pictures are used as TV background, it may only be played as a screensaver when the smart TV is in standby, but the homepage content may not be operated when the screensaver is playing. In order to solve this problem, a page interaction method in which a video or picture is used as a TV background in a smart TV homepage is proposed, so that the video or picture can be viewed while operating the homepage. When operating the homepage, the TV background only exists as a background, and the TV background may not be operated by user, thus failing to meet the user's demand for page interaction.
In one aspect, the present disclosure relates to an interface interaction method, comprising:
receiving a page switching instruction of a current page, the page switching instruction carrying a page identifier of a next page, the current page comprising a background layer and a content layer located above the background layer;
executing the page switching instruction, displaying the next page; and
receiving a first preset instruction configured to operate the next page when the next page only comprises the background layer, and executing the first preset instruction.
In some embodiments, the method further comprises:
receiving a second preset instruction configured to operate the next page when the next page only comprises the content layer, and executing the second preset instruction, the content layer comprising at least one content classification module.
In some embodiments, the method further comprises:
receiving a third preset instruction configured to operate the content layer when the next page comprises the content layer and the background layer, and executing the third preset instruction, the content layer comprising at least one function classification module.
In some embodiments, when the next page only comprises the background layer, the first preset instruction comprises a background switching instruction, executing the first preset instruction comprises:
executing the background switching instruction, switching a background material in the background layer comprising at least two background materials.
In some embodiments, when the next page only comprises the background layer, the first preset instruction comprises a first control instruction, executing the first preset instruction comprises:
executing the first control instruction, and controlling the background material in the background layer.
In some embodiments, the method further comprises:
determining whether a first current active page is the current page, the first current active page being a page that is operated currently; and
receiving a return instruction when the first current active page is not the current page, and executing the return instruction configured to return the first current active page to the current page.
In some embodiments, the method further comprises:
determining whether a second current display page is a preset page, the second current display page being a page that is operated currently;
acquiring an execution time of a last operation instruction executed on the second current display page when the second current display page is the preset page; and
acquiring a current time, and when a time difference between the current time and the execution time is equal to a preset time difference, generating a first play instruction configured to play the background material, and executing the first play instruction.
In some embodiments, the background material comprises a plurality of recommending data, each of the recommending data carries at least one data tag, and each of the data tags corresponds to a function classification module.
In another aspect, the present disclosure relates to a smart TV interactive apparatus, comprising:
a switching instruction receiving module, configured to receive a page switching instruction of a current page, the page switching instruction carries a page identifier of a next page, the current page comprises a background layer and a content layer located above the background layer;
a switching instruction execution module, configured to execute the page switching instruction and display the next page; and
a first execution operation module, configured to receive a first preset instruction configured to operate the next page when the next page only comprises the background layer, and executing the first preset instruction.
In another aspect, the present disclosure relates to a computer device, comprising: a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor implements following method when executing the computer program:
receiving a page switching instruction of a current page, the page switching instruction carrying a page identifier of a next page, the current page comprising a background layer and a content layer located above the background layer;
executing the page switching instruction, and displaying the next page; and
receiving a first preset instruction configured to operate the next page when the next page only comprises the background layer, and executing the first preset instruction.
In yet another aspect, the present disclosure relates to a computer-readable storage medium with a computer program stored thereon, wherein the computer program implements following method when the computer program is executing by a processor:
receiving a page switching instruction of a current page, the page switching instruction carrying a page identifier of a next page, the current page comprising a background layer and a content layer located above the background layer;
executing the page switching instruction, and displaying the next page; and
receiving a first preset instruction configured to operate the next page when the next page only comprises the background layer, and executing the first preset instruction.
An interface interaction method, apparatus, computer device, and storage medium are disclosed, in some embodiments, the interface interaction method comprises: receiving a page switching instruction of a current page, the page switching instruction carrying a page identifier of a next page, the current page comprising a background layer and a content layer located above the background layer; executing the page switching instruction, and displaying the next page; and receiving a first preset instruction configured to operate the next page when the next page only comprises the background layer, and executing the first preset instruction. In some embodiments, by presetting the interaction instruction for executing the interaction of the background layer, after switching the page to the page where the background layer is located, when the interaction instruction for the background layer is received, the interaction instruction is executed to realize the interaction with the background layer.
The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments consistent with the present disclosure, and are used together with the specification to explain the principle of the present disclosure.
In order to more clearly explain the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required to be used in the description of the embodiments or the prior art, obviously, for those of ordinary skill in the art, in other words, other drawings can be acquired based on these drawings without creative labor.
In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, obviously, the described embodiments are a part of the embodiments of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments acquired by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
In some embodiments,
S210, a page switching instruction of a current page is received;
S220, a page switching instruction is executed, and a next page is displayed; and
S230, a first preset instruction configured to operate the next page is received when a next page only comprises a background layer, and a first preset instruction is executed.
In some embodiments, a page switching instruction is generated by pressing a virtual button or a mechanical button of the control device or sliding the virtual touch screen by a user, the control device is arranged independently of a terminal, such as a remote controller; and the control device maybe also arranged inside the terminal. Page identifier of a next page is carried by page switching instruction, current page comprises a background layer and a content layer, content layer is located above the background layer, page switching instruction comprises a switching selection instruction and an entry selection instruction, page identifier of the next page is carried by page switching instruction, page identifier comprises a page layout and a page content, and the page content corresponds to the page layout, page layout comprises: a background layer and a content layer in the first case, only a background layer in the second case, and only a content layer in the third case. Content layer is placed above background layer, content layer comprises at least one classification module, and background layer comprises at least one background material. In the first case that page content corresponds to the page layout, a background material of the background layer and a classification module of the content layer are comprised. In the second case that page content corresponds to the page layout, only a background material of the background layer is comprised. In the third case that page content corresponds to page layout, only a data information of the target classification module in the content layer is comprised.
Referring to
In some embodiments, a corresponding page switching instruction is generated through pressing different buttons of the remote controller by user. Corresponding relationship between buttons and page switching instructions may be customized according to the situation.
In some embodiments, page layout and page content of the next page are determined according to page switching instruction and page identifier of next page carried by the page switching instruction, and next page is displayed.
In some embodiments, page switching instruction is generated by pressing the UP button of the remote controller by user, which controls the display page to switch from main page to background material page. Pressing the DOWN button of remote controller may control display page to switch from main page to content expansion page. Pressing the LEFT and RIGHT buttons of the remote controller may move the focus to the right or left. Pressing the CENTER button of the remote controller may determine module selected by the focus and expand the detailed information of the module, audio-visual video will be played when the audio-visual video is selected by focus.
In some embodiments, when it is determined that only background layer is comprised according to page layout of next page, current page is switched to next page, that is, main page is switched to a page where the background material is located, that is, a background material page, when first preset instruction configured to operate background material is received in this page, first preset instruction is executed to realize the interactive operation on the background material page.
In some embodiments,
In some embodiments, when next page only comprises a content layer, that is, main page is switched to content expansion page, target function classification module is determined from function classification module of content layer in main page, and target function classification module is entered according to page switching instruction, function classification module comprises at least one content classification module, and page content of next page only comprises data information of target classification module, that is, content expansion page comprises at least one content classification module. A second preset instruction for the next page is received, the second preset instruction comprises a second switching instruction, a second entry instruction, and a second return instruction.
Referring to
In some embodiments, when next page comprises a content layer and a background layer, a third preset instruction configured to operate the content layer is received, and content layer comprises at least one function classification module, the third preset instruction is executed.
In some embodiments, when next page comprises a content layer and a background layer, that is, current page is switched to next page, only other function classification modules of content layer of main page that selected by focus is regarded as target function classification module, background material matched with the target function classification module is acquired in background layer, and background material matched with target function classification module is displayed. A third preset instruction for the next page is received, at this time, next page still stays on main page, third preset instruction comprises a third switching instruction, a fourth switching instruction, and a third entry instruction, when the third preset instruction is third switching instruction, the third switching instruction is executed, main page is switched to background material page; when the third preset instruction is the fourth switching instruction, the fourth switching instruction is executed, target function classification module of main page selected by focus is switched; and when the third preset instruction is a third entry instruction, the third entry instruction is executed, main page is switched to the content expansion page corresponding to the target function classification module selected by the focus.
Referring to
In some embodiments, when next page only comprises a background layer, the first preset instruction comprises a background switching instruction, background switching instruction is executed, background material of background layer is switched, background layer comprises at least two background materials.
In some embodiments, main page is switched to next page according to page switching instruction, and next page only comprises background layer, that is, main page is switched to background material page, background switching instruction for background material page is received, and background material selected by focus is switched, that is, background material may be selected as background of main page by user according to their preferences and needs.
In some embodiments,
In some embodiments, main page is switched to background material page, a first control instruction for the background material page is received, and background material selected by focus in the background material page is controlled, the background material is a recommending data corresponding to the function classification module, that is, background material corresponding to “Audio-visual Entertainment” comprises multiple audio-visual pictures or audio-visual videos recommended; background material corresponding to “Today” comprises news videos, weather forecasts or account usage data information recommended, etc.; background material corresponding to “Life Style” comprises bloggers video or other short videos recommended; and background material corresponding to “Application” comprises application software pictures recommended. Each of the function classification modules correspond to a data label, and each type of data carries at least one data label.
The first control instruction is executed, that is, the recommending data that carries data tag corresponding to target function classification module is controlled. For example, when target classification function module is “Audio-visual Entertainment”, when main page is switched to background material page of playing, a picture is displayed in background material page, and the first control instruction is executed, which may be to play audio-visual video corresponding to picture displayed, or to collect a picture displayed corresponding to audio-visual video; and when target classification function module is “Today”, first control instruction is executed, which may be to play today's headline video, weather forecast dynamic graph, or viewing account usage data information, etc. When target classification function module is “Application”, first control instruction is executed, which may be to view the detailed information of application software recommended, to download application software, to purchase application software, to add to shopping cart and so on.
In some embodiments,
In some embodiments, whether the first current active page is a current page is determined, and the first current active page is a page that may be operated currently; and when the first current active page is not current page, return instruction is received, and return instruction is executed, return instruction is configured to return to current page from first current active page.
In some embodiments, whether the first current active page is a main page is determined, the first current active page is a page that may be currently operated, and when the first current active page is not main page, a return instruction is received and the return instruction is executed, returning to the main page, that is, quickly returning to the main page by executing the return instruction.
In some embodiments, the third current active page is a page that may be currently operated, and when cancel instruction is received by the third currently active page, cancel instruction is executed, that is, previous page of the third current active page is returned.
In some embodiments, whether the second current display page is a preset page is determined, and the second current display page is a page that may be currently operated; when the second current display page is a preset page, execution time of last operation instruction executed in the second current display page is acquired; and current time is acquired, when time difference between current time and execution time is equal to the preset time difference, a first playing instruction configured to play the background material is generated, and the first playing instruction is executed.
In some embodiments, preset page comprises a main page, a content expansion page, and a configuration page. when the second current display page is a preset page, execution time of the last operation instruction executed on the second current display page is acquired; and current time is acquired, when time difference between current time and execution time is equal to the preset time difference, that is, retention time that the second current display page does not receive any operation instructions is acquired, when retention time reaches an preset time, the first playing instruction is generated, the first play instruction is executed, background material matched with the second current display page is played, which can be automatically played in order, randomly played in the playing order, or looped or multiple background materials.
In some embodiments, as shown in
a switching instruction receiving module 310 configured to receive a page switching instruction of a current page, page switching instruction carries a page identifier of a next page, current page comprises a background layer and a content layer, and content layer is located above the background layer;
a switching instruction execution module 320 configured to execute page switching instruction and display next page; and
a first execution operation module 330 configured to receive a first preset instruction configured to operate next page when the next page only comprises background layer, and the first preset instruction is executed.
In some embodiments, apparatus further comprises:
a second execution operation module configured to receive a second preset instruction configured to operate next page when the next page only comprises content layer, and content layer comprises at least one content classification module, second preset instruction is executed.
In some embodiments, apparatus further comprises:
a third execution operation module configured to receive a third preset instruction configured to operate content layer when next page comprises a content layer and a background layer, content layer comprises at least one function classification module, the third preset instruction is executed.
In some embodiments, when next page only comprises a background layer, the first preset instruction comprises a background switching instruction, and the first execution operation module 330 comprises:
a background switching unit configured to execute a background switching instruction, and to switch background material in background layer, background layer comprises at least two background materials.
In some embodiments, when next page only comprises a background layer, a first preset instruction comprises a first control instruction, and the first execution operation module 330 further comprises:
a playing unit configured to execute the first control instruction, and to control background material in the background layer.
In some embodiments, apparatus further comprises:
a first page determination module configured to determine whether the first current active page is the current page, and the first current active page is a page that may be currently operated; and
a return execution module configured to receive a return instruction and execute return instruction when the first current active page is not current page, return instruction is configured to return to current page from the first current active page.
In some embodiments, apparatus further comprises:
a second page determination module configured to determine whether the second current display page is a preset page, and the second current display page is a page that can be currently operated;
a time acquisition module configured to acquire execution time of last operation instruction executed on the second current display page when the second current display page is preset page; and
a background playing module configured to acquire current time, and when time difference between current time and execution time is equal to preset time difference, a first play instruction configured to play background material is generated, and the first play instruction is executed.
Those skilled in the art can understand that the structure shown in
In some embodiments, a smart TV interaction apparatus provided in the present disclosure may be implemented in form of a computer program, and computer program may be run on computer device as shown in
Page switching instruction of receiving current page may be executed through computer device shown in
In some embodiments, a computer device is provided, which comprises a memory, a processor, and a computer program stored in the memory and can be run on the processor, the computer program is executed by processor to implement the following steps: a page switching instruction of the current page is received, page identifier of the next page is carried by the page switching instruction, current page comprises a background layer and a content layer, and content layer is above the background layer; page switching instruction is executed, next page is displayed; and when the next page only comprises the background layer, a first preset instruction configured to operate the next page is received, and the first preset instruction is executed.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: when the next page only comprises a content layer, a second preset instruction configured to operate the next page is received, content layer comprises at least one content classification module, the second preset instruction is executed.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: when the next page comprises a content layer and a background layer, a third preset instruction configured to operate the content layer is received, content layer comprises at least one function classification module, the third preset instruction is executed.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: when a next page only comprises the background layer, the first preset instruction comprises a background switching instruction, background switching instruction is executed, and background material in the background layer is switched, the background layer comprises at least two background materials.
In some embodiments, following steps are further implemented when the processor is executed by the computer program: when next page only comprises the background layer, the first preset instruction comprises a first control instruction, first control instruction is executed, and background in the background layer material is controlled.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: whether the first currently active page is a current page is determined, and the first current active page is current operable page; and when the first current active page is not current page, return instruction is received, and return instruction is executed, the return instruction is configured to return to current page from the first current active page.
In some embodiments, the following steps are further implemented when processor is executed by computer program: whether the second current display page is a preset page is determined, the second current display page is a page that can be currently operated; when the second current display page is a preset page when page is arranged, execution time of the last operation instruction executed on the second current display page is acquired; and current time is acquired, when time difference between current time and execution time is equal to preset time difference, the first time configured to play background material is generated, and the first play instruction is executed.
In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored, the following steps are implemented when the processor is executed by the computer program: a page switching instruction of the current page is received, and page identifier of the next page is carried by page switching instruction, current page comprises a background layer and a content layer, the content layer is above the background layer; page switching instruction is executed, and next page is displayed; and when the next page only comprises the background layer, the first preset instruction configured to operate the next page is received, and the first preset instruction is executed.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: when the next page only comprises a content layer, a second preset instruction configured to operate the next page is received, and the content layer comprises at least one content classification module, and the second preset instruction is executed.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: when the next page comprises a content layer and a background layer, a third preset instruction configured to operate the content layer is received, the content layer comprises at least one function classification module, the third preset instruction is executed.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: when the next page only comprises a background layer, the first preset instruction comprises a background switch instruction, background switch instruction is executed, and background material in the background layer is switched, background layer comprises at least two background materials.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: when the next page only comprises the background layer, the first preset instruction comprises the first control instruction, the first control instruction is executed, and background material of background layer is controlled.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: whether the first current active page is the current page is determined, the first current active page is a page that may be currently operated; and when the first current active page is not current page, return instruction is received, and the return instruction is executed, return instruction is configured to return to current page from the first current active page.
In some embodiments, the following steps are further implemented when the processor is executed by the computer program: whether the second current display page is a preset page is determined, the second current display page is a page that can be currently operated; when the second current display page is preset page, execution time of the last operation instruction executed on the second current display page is acquired; and current time is acquired, when time difference between the current time and the execution time is equal to preset time difference, a first play instruction configured to play the background material is generated, and the first play instruction is executed.
Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by computer programs instructing relevant hardware, and the programs can be stored in a non-volatile computer readable storage medium, when the program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in the present disclosure may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may comprise random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
It should be noted that in this article, relational terms such as “first” and “second” are only used to distinguish one entity or operation from another entity or operation, and without necessarily requiring or implying any such actual relationship or order between these entities or operations. Moreover, the terms “including”, “containing” or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that comprises a series of elements comprises not only those elements, but also those that are not explicitly listed other elements of, or also include elements inherent to this process, method, article or equipment. Without more restrictions, the element defined by the sentence “including a . . . ” does not exclude the existence of other identical elements in the process, method, article, or equipment that comprises the element.
The above are only specific implementations of the present disclosure to enable those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown in this document, but should conform to the widest scope consistent with the principles and novel features disclosed in this document.
Number | Date | Country | Kind |
---|---|---|---|
202010469292.9 | May 2020 | CN | national |
The present application is a National Phase Entry of PCT/CN2021/094583, filed May 19, 2021, which claims the benefit of Chinese patent application No. 202010469292.9, filed May 28, 2020 before the China National Intellectual Property Administration of the People's Republic of China, entitled “Interface Interaction Method, Apparatus, Computer Device and Storage Medium”, which is explicitly incorporated herein by reference in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/094583 | 5/19/2021 | WO |