Disclosure of Invention
An object of the present disclosure is to provide a new tab page control method, system, device, and computer-readable storage medium.
The purpose of the present disclosure is achieved by the following technical means. The label sheet control method provided according to the present disclosure includes the steps of: receiving a close request for a first status tab page, the first status tab page being a tab page displayed in a view; responding to the closing request of the first state label page, judging whether the first state label page has the audio in playing or not, obtaining a judgment result, and processing according to the judgment result: and if the audio in the playing process exists, hiding the first state tab page to enable the first state tab page to become a second state tab page, keeping the playing state of the audio, and supervising the second state tab page.
The object of the present disclosure can be further achieved by the following technical measures.
In the tab page control method, hiding the first state tab page so that the first state tab page becomes a second state tab page includes: ending the display of the first state tab page without destroying the first state tab page such that the first state tab page becomes the second state tab page.
In the foregoing method for controlling tab pages, the monitoring the second status tab page further includes: providing a graphical indication associated with the second status tab page; receiving an operation on the graphical indication; and controlling the second status tab page and/or the audio in response to the operation of the graphical indication.
In an embodiment, the providing a graphic indication associated with the second status tab page includes: providing one or more first control positions in a notification bar; said controlling said second status tab page and/or said audio responsive to said manipulating said graphical indication comprises: in response to an operation on the first control position, performing the resume display on the second status tab page so that the second status tab page becomes a third status tab page; and continuing to supervise the third state tab page.
In an embodiment, the providing a graphic indication associated with the second status tab page includes: providing one or more second control positions in the notification bar; said controlling said second status tab page and/or said audio responsive to said manipulating said graphical indication comprises: controlling the audio in response to operation of the second control location.
In the foregoing method for controlling tab pages, the monitoring the second status tab page and the continuing monitoring the third status tab page include: and simultaneously storing a plurality of hidden tab pages to supervise the plurality of hidden tab pages, wherein the hidden tab pages comprise the second state tab page and/or the third state tab page.
In the foregoing method for controlling tab pages, the monitoring the second status tab page and the continuing monitoring the third status tab page further include: and detecting the second state label page and/or the third state label page, and determining whether to destroy the second state label page and/or the third state label page according to a detection result, so that only one label page at most is the second state label page at the same time.
In the foregoing method for controlling label pages, the detecting the second status label page and/or the third status label page, and determining whether to destroy the second status label page and/or the third status label page according to the detection result includes: detecting whether the third state tab page has audio in play or not when a closing request of the third state tab page is received; if the audio frequency in playing does not exist, destroying the third state label page; and if the audio frequency in playing exists, hiding the third state label page, so that the third state label page becomes a second state label page, and the playing state of the audio frequency is kept.
In the foregoing method for controlling label pages, the detecting the second status label page and/or the third status label page, and determining whether to destroy the second status label page and/or the third status label page according to the detection result includes: and when another label page is hidden, detecting whether the second state label page exists currently, and if so, destroying the current second state label page.
In an embodiment of the method for controlling a tab page, the determining whether the first status tab page has a playing audio in response to the request for closing the first status tab page includes: in response to the closing request for the first state tab page, ending the display of the first state tab page and waiting for receiving a withdrawal request for the closing request; and if the revocation request is not received within the preset time, the operation of judging whether the first state label page has the audio in playing is carried out.
In the foregoing method for controlling a tab page, the processing according to the determination result further includes: and if the first state label page does not have the audio in playing, destroying the first state label page.
In the foregoing method for controlling a tab page, the determining whether the first status tab page has a playing audio includes: judging whether the first state label page has media in playing, judging whether the media can be controlled, and judging the type of the media; the processing according to the judgment result comprises the following steps: if the first state label page has audio which is playing and can be controlled, the first state label page is hidden and supervised, and if the first state label page does not have media which is playing, or the media can not be controlled, or the media is video, the first state label page is closed and destroyed.
The purpose of the present disclosure is also achieved by the following technical solutions. A tab sheet control system according to the present disclosure includes: the system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a closing request of a first state tab page, and the first state tab page is a tab page displayed in a view; a control module, configured to respond to the close request for the first status tab page, determine whether the first status tab page has a playing audio, obtain a determination result, and perform processing according to the determination result: and if the audio in the playing process exists, hiding the first state label page to enable the first state label page to become a second state label page, keeping the playing state of the audio, and supervising the second state label page.
The object of the present disclosure can be further achieved by the following technical measures.
In an embodiment, the control module includes a hiding submodule configured to end the displaying of the first status tab page but not destroy the first status tab page, so that the first status tab page becomes the second status tab page.
In the above-mentioned label page control system, the control module includes a supervision submodule for supervising and controlling the entire life cycle of the second-state label page, and the supervision submodule includes one or more of a storage unit, a destruction unit, a recovery display unit, or a detection unit.
The label sheet control system described above, wherein the control module further includes a graphic indication control sub-module, configured to: providing a graphical indication associated with the second status tab page; receiving an operation on the graphical indication; and controlling the second state tab page and/or the audio in response to the operation of the graphical indication.
In an embodiment, the graphic indication control submodule includes a first notification bar control unit, configured to: providing one or more first control positions in a notification bar, and in response to the operation of the first control positions, notifying the recovery display unit of the operation of recovering the display of the second state tab page so that the second state tab page becomes a third state tab page; the supervision sub-module is further configured to: and continuing to supervise the third state tab page.
In an embodiment, the graphic indication control sub-module includes a second notification bar control unit, configured to: and providing one or more second control positions in the notification bar, and controlling the audio in response to the operation of the second control positions.
In the above tab page control system, the storage unit is specifically configured to: and simultaneously storing a plurality of hidden tab pages to supervise the plurality of hidden tab pages, wherein the hidden tab pages comprise the second state tab page and/or the third state tab page.
In an embodiment of the label sheet control system, the detection unit is specifically configured to: and detecting the second state label page and/or the third state label page, and determining whether to destroy the second state label page and/or the third state label page according to a detection result, so that at most one label page is the second state label page at the same time.
In an embodiment, the detection unit includes a second detection subunit configured to: when a closing request for the third state label page is received, detecting whether the third state label page has a playing audio, and if the third state label page does not have the playing audio, notifying the destroying unit to destroy the third state label page; and if the audio in playing exists, the hiding sub-module is informed to hide the third state label page, so that the third state label page becomes a second state label page, and the playing state of the audio is kept.
In an embodiment, the detection unit includes a first detection subunit configured to: when another tab page is hidden, whether the second state tab page exists currently is detected, and if the second state tab page exists, the destroying unit is notified to destroy the current second state tab page.
In the foregoing tab page control system, the control module is specifically configured to: and responding to the closing request of the first state tab page, finishing the display of the first state tab page, waiting for receiving a canceling request of the closing request, and if the canceling request is not received within preset time, judging whether the first state tab page has the audio in playing.
The foregoing tab sheet control system, wherein the control module is further configured to: if the first status tab page does not have audio in play, destroying the first status tab page.
In the foregoing tab page control system, the control module is specifically configured to: judging whether the first state label page has media in playing, judging whether the media can be controlled, judging the type of the media, if the first state label page has audio in playing and can be controlled, hiding and monitoring the first state label page, and if the first state label page does not have the media in playing, or the media can not be controlled, or the media is video, closing and destroying the first state label page.
The purpose of the present disclosure is also achieved by the following technical solutions. An apparatus in accordance with the present disclosure includes: a memory for storing non-transitory computer readable instructions; and a processor for executing the computer readable instructions, such that the processor implements any of the aforementioned label sheet control methods when executed.
The purpose of the present disclosure is also achieved by the following technical solutions. A computer-readable storage medium according to the present disclosure is provided for storing non-transitory computer-readable instructions which, when executed by a computer, cause the computer to perform any one of the aforementioned tab page control methods.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical aspects of the present disclosure, the present disclosure may be implemented in accordance with the following description, and the foregoing and other objects, features, and advantages of the present disclosure will be apparent from the following detailed description of preferred embodiments, which is to be read in connection with the accompanying drawings.
Detailed Description
To further explain the technical means and effects of the present disclosure adopted to achieve the intended purpose, the following detailed description will be given of specific embodiments, structures, features and effects of a label sheet control method, system, device and computer readable storage medium according to the present disclosure with reference to the accompanying drawings and preferred embodiments.
Fig. 1 is a schematic flow chart diagram of one embodiment of a tab page control method of the present disclosure. Referring to fig. 1, the method for controlling a tab page according to the present disclosure mainly includes the following steps:
in step S11, a close request for a first status tab page (or normal display tab page) is received, where the first status tab page is a tab page displayed in view (or in a browser, in an interface). Thereafter, the process proceeds to step S12.
Step S12, in response to the close request for the first status tab, determining whether the first status tab has the audio being played, and obtaining a determination result, and performing processing according to the determination result: if the first state label page has audio in playing, hiding the first state label page to make the first state label page become a second state label page (or hidden label page), keeping the playing state of the audio, and supervising the second state label page. Optionally, the aforementioned processing according to the determination result further includes: if the judgment result is that the first state label page does not have the audio in playing, the first state label page is destroyed.
It should be noted that the aforementioned "having audio in play" is, in some embodiments, having audio in a playing state. In other embodiments, "having audio in play" may be having audio in a playing state, or may be having audio in a paused playing but not turned off (or referred to as paused playing but not stopped) state. In yet other embodiments, if the first status tab page has audio in a now playing state or has audio in a paused but not closed state, a graphical indication of that audio is displayed in the notification bar of the operating system (otherwise known as the notification center) so that "having audio in play" is having audio displayed in the notification bar of the operating system. Thus, for the case of having the audio in the playing state, the aforementioned "playing state of holding the audio" is the state of holding the audio in the playing state, and for the case of having the audio in the paused playing but not turned off state, the aforementioned "playing state of holding the audio" is the state of holding the paused playing but not turned off of the audio, so that the audio can continue to play.
In some embodiments of the present disclosure, the hiding the tab page specifically includes: the display of the tabbed panel in view (or, in a browser, in an interface) is terminated, but the tabbed panel is not destroyed, so that the tabbed panel becomes a hidden tabbed panel. At the same time, the hidden tab page is stored for further control of the hidden tab page. Note that the hidden tab page cannot be seen in the view. It should be noted that the normally displayed tab page may be hidden by using the present embodiment, and the tab page that is restored to be displayed after being hidden may also be hidden.
Optionally, a corresponding hidden flag is set for the second status tab page to distinguish from the first status tab page.
It should be noted that, in some examples, in response to the close request, the displaying of the first status tab page may be terminated, and then it is determined whether the first status tab page has the audio in play, and if the first status tab page has the audio in play, the first status tab page is not destroyed.
According to the label page control method, the label page is hidden and supervised, so that the audio can be continuously played after the label page for playing the audio is closed, and the user experience is improved.
In some embodiments of the present disclosure, the tab page control method of the present disclosure may be performed by an operating system such as an Android (Android) operating system and derivatives thereof.
After the tab page is hidden, the whole life cycle of the tab page needs to be monitored and controlled. Specifically, the supervision of the second status tab page includes: storing and/or destroying and/or resuming display and/or detection.
Storing
When the label page is hidden, the label page is stored, so that the label page can be supervised, and the condition that the control on the label page is lost after the label page is hidden is prevented. As an alternative embodiment, a plurality of hidden tab pages are stored simultaneously to supervise the plurality of hidden tab pages. In particular, the hidden tab pages may be stored by an array. The hidden tab page includes a hidden tab page (i.e., the aforementioned second state tab page) and/or a recovery display tab page (alternatively referred to as a third state tab page) that is changed from the hidden tab page due to the recovery display. The reason for storing the plurality of tab pages is that not all tab pages are killed after being closed, but the hidden tab pages are redisplayed in order to cancel the hiding of the tab pages, so that the plurality of hidden tab pages need to be supervised at the same time. It should be noted that in one embodiment, at most one tab page is a hidden tab page at a time.
Destroy the material
All second state tab pages will be destroyed when exiting the browser to prevent memory leaks. As an optional embodiment, in the android system, in response to an operation of closing the browser, a destroy function is called to destroy all the tab pages displayed in the browser, so that by adding destruction to the second-state tab page in the destroy function, destruction to all the second-state tab pages when the browser is exited can be realized.
In addition, the second state tab page may be destroyed by a method of destroying the first state tab page without closing the browser. As an alternative embodiment, in the android system, in response to a close operation to a tab page displayed in the browser, the tab page's associated resources and processes will be cleaned up using the finalizeTabClosure method to destroy the tab page, and thus the second status tab page can be destroyed by calling the finalizeTabClosure method to the second status tab page.
Resume display (alternatively referred to as un-hiding)
In some embodiments of the present disclosure, a resume request for the second state tab page is received, and in response to the resume request, the second state tab page is resumed displayed such that the second state tab page is returned to the browser to be a third state tab page (alternatively referred to as a resume display tab page). Specifically, the restoration display includes: the hidden identification of the second status tab page is changed while the second status tab page is added back to the browser (or, alternatively, to the view) for display and to inform the relevant viewer that the tab page is restored. It should be noted that the third status tab page should be continuously supervised. Optionally, a corresponding identifier is also set for the third status tab page to distinguish the first status tab page, the second status tab page, and the third status tab page.
It should be noted that, in some examples, the first status tab page is distinguished from the third status tab page, and although the first status tab page and the third status tab page are both displayed tab pages, the third status tab page is supervised, for example, as can be appreciated from the foregoing, the third status tab page is stored in the related array for supervision.
Detection of
The label pages under the current condition should be detected in time, and the label pages which do not need to continuously exist are destroyed according to the detection result, so that only one label page at most is the second-state label page at the same time, and the situation that a plurality of hidden label pages appear at the same time and a plurality of audios are played at the same time to occupy excessive resources is prevented. It should be noted that multiple third status tab pages may exist simultaneously.
Detection of a tab page may be triggered in a variety of situations. For example, in one embodiment of the present disclosure, when another tab page is hidden, it is detected whether a second status tab page currently exists, and if so, the current second status tab page is destroyed, where the another tab page may be another first status tab page or another third status tab page. By destroying the current second state tab page when a new second state tab page is generated, the second state tab page has at most one. In another embodiment of the present disclosure, a close request for a third status tab page is received, and in response to the close request, whether the third status tab page has a playing audio is detected, and if the third status tab page does not have the playing audio, the third status tab page is destroyed.
In some embodiments of the present disclosure, the administration of the tab pages further comprises: providing a graphical indication associated with the second status tab page, receiving an operation on the graphical indication, and controlling the second status tab page and/or audio in the second status tab page in response to the operation. Optionally, the graphical indication is provided in a notification bar (alternatively referred to as a notification center) of the operating system.
Taking the android system as an example, in the android system, the MediaSession (or referred to as media session) framework is utilized to control the interaction between the interface and the service during media playing, for example, the interaction between the notification bar and the audio playing service is realized through MediaSession, so that the playing, pausing, switching audio and the like of the audio can be controlled through the operation on the notification bar.
In some embodiments of the present disclosure, if a tab page normally displayed in the browser has audio in play, a graphical indication to control the audio is provided in the notification bar of the operating system, and MediaSession interacts with the notification bar in the background; during and after the tab page is hidden, a graphical indication is continuously provided in the notification bar and MediaSession continuously interacts with the notification bar in the background.
Specifically, in one embodiment of the present disclosure, a first control location and/or a second control location is provided at the notification bar, wherein the first control location is associated with the second status tab page and the second control location is associated with audio in the second status tab page. Receiving the operation of the first control position, responding to the operation of the first control position, restoring and displaying a second state tab page (namely the hidden tab page), opening the second state tab page to the browser foreground, so that the second state tab page becomes a third state tab page (namely the restored and displayed tab page), and continuing to monitor the third state tab page. And receiving an operation on the second control position, controlling the audio in the second state tab page in response to the operation on the second control position, for example, the second control position can be a key for pausing, continuing playing, stopping playing, a previous key or a next key, and executing a corresponding control instruction on the audio in response to the clicking operation on the keys. The number of the first control positions and the second control positions is not limited, and may be one or more. In addition, the first control position and the second control position may generally be provided simultaneously, but the provision of only the first control position or only the second control position is not excluded either.
Fig. 2 is a schematic diagram of a notification bar provided with a first control position and a second control position according to an embodiment of the present disclosure. As shown in fig. 2, in a layout example of one notification bar of the present disclosure, the pause, previous, next, and the like keys are the second control positions. And responding to the click operation of the second control position, and executing corresponding control instructions of pause, previous, next and the like on the audio in the second state tab page. Note that graphical style pause, previous, next keys may be used instead of the text style keys in fig. 2. And the positions of the non-key at A, B, C and D in the media playing related notice are the first control positions. And if the user clicks the non-key position of the media in the notification bar, the second state tab page is restored and displayed and is immediately opened to the foreground.
According to the tab page control method, the control position associated with the hidden tab page is provided, and the hidden tab page is controlled to be restored to display or to control the playing of music in the hidden tab page through the operation aiming at the control position, so that the interaction between the MediaSession and the notification bar is improved, a user can better control the audio in the hidden tab page and the hidden tab page, and the user experience is improved.
In some embodiments of the present disclosure, there is a function of canceling the closing behavior after closing the first status tab page, where the aforementioned step S12 includes: in response to a close request, ending display of a first status tab page on the view and waiting for receipt of a undo request for the close request; if the cancel request is received within the preset time, canceling the closing of the first state tab page, and recovering the display of the first state tab page; if the revocation request is not received within the predetermined time, it is determined to close the first status tabbed panel, and then the method shown in step S12 is performed to determine whether there is audio playing in the first status tabbed panel and the subsequent process.
Fig. 3 is a schematic flow chart diagram of one embodiment of a tab page control method of the present disclosure. Referring to fig. 3, in an embodiment of the present disclosure, a method for controlling a tab page of the present disclosure specifically includes:
in step S21, for a first status tab page normally displayed on the view (corresponding to the aforementioned normally displayed tab page), in response to the received close request for the first status tab page, the graphic display of the first status tab page on the view is ended. Thereafter, the process proceeds to step S22.
Step S22, providing a withdrawal prompt for the close request, and waiting for receiving a withdrawal request for the close request; if the cancel request is received within a preset time (e.g., within 3 seconds), canceling the close request and resuming the display of the first status tab page; if the revocation request is not received within the preset time, it is confirmed that the first status tab page is closed, and the process proceeds to step S23.
Step S23, determining whether the first status tab has audio in progress, if so, processing proceeds to step S24; if there is no audio in play, the process proceeds to step S25.
Step S24, the first status tab is hidden to make the first status tab become a second status tab (corresponding to the hidden tab), and the second status tab is monitored, so that the MediaSession is resident in the background and the audio can be played continuously. While presenting the information and play status of the audio in the notification bar and providing a first control location for controlling the second status tab and a second control location for controlling the audio in the notification bar. It is noted that the second status tab page will exist for a period of time, for example, in the case where the audio is playing, or in the case where the audio is stopped but no other tab pages are hidden (or no new hidden tab pages appear), the second status tab page will persist. Thereafter, the processing of step S26 or step S27 is performed in response to a corresponding request or situation.
In step S25, the tab sheet is destroyed.
Step S26, when another tab is hidden, that is, when there is another tab and the determination result obtained in step S23 is yes, so that step S24 needs to be performed on the another tab, it is detected whether a second state tab currently exists, and if so, step S25 is performed on the current second state tab to destroy the current second state tab. The other tab page may be the first status tab page or the third status tab page (corresponding to the resume display tab page).
In step S27, in response to a request for restoring the second status tab (for example, a click operation to a non-button position in the notification bar in the foregoing example), the second status tab is restored and displayed, and the tab is jumped to, so that the second status tab is returned to the browser to be the third status tab (corresponding to the foregoing restoration display tab). Optionally, the third status tab page continues to be supervised. Thereafter, the process proceeds to step S28.
Step S28, when receiving a close request for the third status tab page, ending the graphical display of the third status tab page on the view, but not executing step S22 to provide an opportunity to cancel the close request, but directly proceeding to step S23 to detect whether the third status tab page has the audio in play, if not, executing step S25 to destroy the third status tab page, and if so, executing step S24 to make the third status tab page become the second status tab page, and keeping the playing status of the audio.
According to the label page control method, the label page is hidden, stored, destroyed, restored, displayed, detected and the like, so that the audio can be continuously played after the label page playing the audio is closed, and the user experience is improved.
In some embodiments of the present disclosure, the tab page control method of the present disclosure can also identify videos. Specifically, the tab page control method of the present disclosure includes: in response to the closing request, determining whether the first status tab page has media in play, determining whether the media can be controlled, and determining the type of the media (e.g., whether the media is audio or video), if the media has audio in play and can be controlled, continuing to control the first status tab page according to the method shown in step S12, if the media does not have media in play, or the media cannot be controlled, or the media has video in play, closing and destroying the first status tab page, so that if the video in play in the tab page is also normally closed. The method for normally closing the label page for playing the video without changing the label page into the hidden label page is in accordance with the use habit of the user.
It should be noted that the foregoing embodiments of the tab page control method proposed by the present disclosure are particularly applicable to control of a Web page tab of a terminal device such as a mobile phone.
Fig. 4 is a schematic block diagram of one embodiment of a tab sheet control system 1000 of the present disclosure. Referring to fig. 4, a tab sheet control system 1000 according to an example of the present disclosure mainly includes a receiving module 1100 and a control module 1200.
The receiving module 1100 is configured to receive a close request for a first status tab page (or referred to as a normal display tab page), where the first status tab page is a tab page displayed in a view (or in a browser, in an interface).
The control module 1200 is configured to respond to the close request for the first status tab, determine whether the tab has a playing audio, obtain a determination result, and perform processing according to the determination result: if the first state tab page has audio in the playing process, hiding the first state tab page to enable the first state tab page to become a second state tab page (or called a hidden tab page), keeping the playing state of the audio, and supervising the second state tab page. Optionally, the control module 1200 is further configured to: if the first status tab page does not have audio in play, the first status tab page is destroyed.
Fig. 5 is a schematic block diagram of a control module 1200 according to an embodiment of the present disclosure. Referring to fig. 5, in some embodiments of the present disclosure, the control module 1200 includes a concealment submodule 1210 and a supervision submodule 1220.
The hiding sub-module 1210 is configured to end the display of the tab page without destroying the tab page, so that the tab page becomes a hidden tab page. It should be noted that the hiding sub-module 1210 may be configured to hide a first status tab page, and may also hide a third status tab page.
The supervision sub-module 1220 is used to supervise and control the entire life cycle of the hidden tab page. Fig. 6 is a schematic structural diagram of a supervision sub-module 1220 according to an embodiment of the present disclosure. Referring to fig. 6, in some embodiments of the present disclosure, the supervision submodule 1220 includes one or more of a storage unit 1221, a destruction unit 1222, a restoration display unit 1223, or a detection unit 1224. Note that, not limited to the case of including the storage unit 1221, the destruction unit 1222, the recovery display unit 1223, and the detection unit 1224 at the same time as illustrated in fig. 6, only one or more of these units may be included.
The storage unit 1221 is configured to store a hidden tab page, so that the tab page can be supervised to prevent losing control over the tab page after being hidden. As an alternative embodiment, the storage unit 1221 is specifically configured to store multiple hidden tab pages simultaneously, so as to supervise the multiple hidden tab pages. The hidden tab page includes a second status tab page and/or a third status tab page (or referred to as a resume display tab page) caused by being resumed to be displayed.
The destruction unit 1222 is used to destroy the tab pages, for example, the destruction unit 1222 will destroy all the tab pages in the second state when exiting the browser, so as to prevent the memory leak.
The restoration display unit 1223 is configured to: and receiving a recovery request for the second state tab page, and responding to the recovery request, and recovering and displaying the second state tab page to be a third state tab page so as to enable the second state tab page to return to the browser. Specifically, the restoration display performed by the restoration display unit 1223 includes: and changing the hidden mark of the second state tab page, adding the second state tab page back to the browser for displaying, and informing the related observer that the second state tab page is recovered.
The detecting unit 1224 is configured to detect a second status tab page and/or a third status tab page, and determine whether to destroy the second status tab page and/or the third status tab page according to a detection result, so that at most one tab page is a hidden tab page at the same time. In one embodiment of the present disclosure, the detecting unit 1224 includes a first detecting subunit (not shown in the figures) for: when another tab page is hidden, whether a second status tab page exists currently is detected, and if the second status tab page exists, the destruction unit 1222 is notified to destroy the current second status tab page. In one embodiment of the present disclosure, the detecting unit 1224 includes a second detecting subunit (not shown in the figures) for: when receiving a closing request for the third status tab page, detecting whether the third status tab page has a playing audio, and if the third status tab page does not have the playing audio, notifying the destroying unit 1222 to destroy the third status tab page; if the audio is in the playing state, the hiding sub-module 1210 is notified to hide the third status tab page, so that the third status tab page becomes the second status tab page, and the playing state of the audio is maintained.
In some embodiments of the present disclosure, the control module 1200 further comprises a graphical indication control sub-module (not shown) for providing a graphical indication associated with the second status tab page; receiving an operation on the graphical indication; the second status tab and/or audio in the second status tab is controlled in response to operating on the graphical indication.
In some embodiments of the present disclosure, the graphical indication control submodule includes a first notification bar control unit (not shown in the figures) and/or a second notification bar control unit (not shown in the figures). Wherein the first notification bar control unit is configured to: one or more first control positions are provided in the notification bar, and in response to an operation to the first control positions, the notification restoration display unit 1223 performs an operation to restore the display of the second status tab page so that the second status tab page becomes a third status tab page. The supervision sub-module 1220 is further configured to: and continuing to supervise the third state tab page. The second notification bar control unit is configured to: one or more second control positions are provided in the notification bar, and the audio in the second status tab page is controlled in response to manipulation of the second control positions.
In some embodiments of the present disclosure, the control module 1200 is specifically configured to: and responding to a closing request, ending the display of the first state label page, waiting for receiving a cancellation request of the closing request, and judging whether the first state label page has the audio in the playing process if the cancellation request of the closing request is not received within preset time.
In some embodiments of the present disclosure, the tab sheet control system 1000 of the present disclosure is also capable of identifying videos. Specifically, the control module 1200 is specifically configured to: judging whether a first state label page has media in play, judging whether the media can be controlled, and judging the type of the media, if the first state label page has audio in play and can be controlled, hiding and monitoring the first state label page, and if the first state label page does not have the media in play, or the media cannot be controlled, or the media is video, closing and destroying the first state label page.
Various embodiments of the tab sheet control method presented in the present disclosure may be implemented using a computer-readable medium, such as computer software, hardware, or any combination thereof. For a hardware implementation, various embodiments of the tag page control method proposed by the present disclosure may be implemented by using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, various embodiments of the tag page control method proposed by the present disclosure may be implemented in a controller. For software implementation, various embodiments of the tab page control method presented in the present disclosure may be implemented with a separate software module that allows at least one function or operation to be performed. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in memory and executed by the controller.
Fig. 7 is a hardware block diagram illustrating an apparatus according to one embodiment of the present disclosure. As shown in fig. 7, an apparatus 2000 according to an embodiment of the disclosure includes a memory 2001 and a processor 2002. The components in the device 2000 are interconnected by a bus system and/or other form of connection mechanism (not shown). The device 2000 of the present disclosure may be implemented in various forms including, but not limited to, a server or a mobile terminal device such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, etc., and a fixed terminal device such as a digital TV, a desktop computer, etc.
The memory 2001 is used to store non-transitory computer readable instructions. In particular, memory 2001 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc.
The processor 2002 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the device 2000 to perform desired functions. In one embodiment of the present disclosure, the processor 2002 is configured to execute the computer readable instructions stored in the memory 2001, so that the apparatus 2000 executes all or part of the aforementioned steps of the tab page control method of the embodiments of the present disclosure.
Fig. 8 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. As shown in fig. 8, a computer-readable storage medium 3000 according to embodiments of the present disclosure has non-transitory computer-readable instructions 3001 stored thereon. The non-transitory computer readable instructions 3001, when executed by a processor, perform all or a portion of the steps of the aforementioned tab page control method of embodiments of the present disclosure.
Fig. 9 is a diagram illustrating a hardware structure of a terminal device according to an embodiment of the present disclosure. The terminal device may be implemented in various forms, and the terminal device in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
As shown in fig. 9, the terminal device 4100 may include a wireless communication unit 4110, an a/V (audio/video) input unit 4120, a user input unit 4130, a sensing unit 4140, an output unit 4150, a memory 4160, an interface unit 4170, a controller 4180, and a power supply unit 4190, and the like. Fig. 9 shows a terminal device having various components, but it is to be understood that not all of the shown components are required to be implemented. More or fewer components may alternatively be implemented.
The wireless communication unit 4110 allows radio communication between the terminal device 4100 and a wireless communication system or a network, among others. The a/V input unit 4120 is used to receive an audio or video signal. The user input unit 4130 may generate key input data to control various operations of the terminal device according to a command input by the user. The sensing unit 4140 detects the current state of the terminal device 4100, the position of the terminal device 4100, the presence or absence of a touch input by the user to the terminal device 4100, the orientation of the terminal device 4100, the acceleration or deceleration movement and direction of the terminal device 4100, and the like, and generates a command or signal for controlling the operation of the terminal device 4100. The interface unit 4170 serves as an interface through which at least one external device can be connected to the terminal apparatus 4100. The output unit 4150 is configured to provide an output signal in a visual, audio, and/or tactile manner. The memory 4160 may store software programs or the like for processing and controlling operations performed by the controller 4180, or may temporarily store data that has been output or is to be output. The memory 4160 may include at least one type of storage medium. Also, the terminal apparatus 4100 may cooperate with a network storage device that performs a storage function of the memory 4160 by network connection. The controller 4180 generally controls the overall operation of the terminal device. In addition, the controller 4180 may include a multimedia module for reproducing or playing back multimedia data. The controller 4180 may perform a mode recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. The power supply unit 4190 receives external power or internal power and supplies appropriate power required to operate the respective elements and components under the control of the controller 4180.
In some cases, various embodiments of the tab sheet control method proposed by the present disclosure may be implemented in the controller 4180. For software implementation, various embodiments of the tab page control method presented in the present disclosure may be implemented with a separate software module that allows at least one function or operation to be performed. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 4160 and executed by the controller 4180.
In the foregoing, according to the tab page control method, system, device, and computer readable storage medium of the embodiments of the present disclosure, by hiding and supervising the tab page, the audio can continue to be played after the tab page playing the audio is closed, further, by providing a control position associated with the hidden tab page and by operating the control position, the hidden tab page is controlled to resume displaying or control playing of music in the hidden tab page, so that a user can control the audio in the hidden tab page and the hidden tab page, thereby greatly improving user experience.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not necessarily limited to the specific details set forth.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. The devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
In addition, as used herein, "or" as used in a list of items containing "at least one," "one or more" indicates a separate list, such that, for example, a list of "at least one of A, B or C" or "A, B or one or more of C" means a or B or C, or AB or AC or BC, or ABC (i.e., a and B and C). Furthermore, the word "exemplary" does not mean that the described example is preferred or better than other examples.
It is also noted that in the systems and methods of the present disclosure, components or steps may be decomposed and/or re-combined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
Various changes, substitutions and alterations to the techniques described herein may be made without departing from the techniques of the teachings as defined by the appended claims. Moreover, the scope of the claims of the present disclosure is not limited to the particular aspects of the process, machine, manufacture, composition of matter, means, methods and acts described above. Processes, machines, manufacture, compositions of matter, means, methods, or acts, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or acts.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of exemplary aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.