CN111327957B - Media content switching method and related device - Google Patents

Media content switching method and related device Download PDF

Info

Publication number
CN111327957B
CN111327957B CN202010102229.1A CN202010102229A CN111327957B CN 111327957 B CN111327957 B CN 111327957B CN 202010102229 A CN202010102229 A CN 202010102229A CN 111327957 B CN111327957 B CN 111327957B
Authority
CN
China
Prior art keywords
switching
media content
signal
switching signal
media
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010102229.1A
Other languages
Chinese (zh)
Other versions
CN111327957A (en
Inventor
孔凡阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010102229.1A priority Critical patent/CN111327957B/en
Publication of CN111327957A publication Critical patent/CN111327957A/en
Application granted granted Critical
Publication of CN111327957B publication Critical patent/CN111327957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method for switching media contents and a related device, wherein a switching signal of the media contents is obtained by responding to the switching operation of the media contents on a display interface; then, calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content; and then, according to the switching times of the media content, the media content is continuously switched. Therefore, the process of switching the media contents for many times through convenient operation is realized, the convenience of user operation is improved, the method can be flexibly applied to various scenes of switching the media contents, the operation is simple, switching errors caused by long-time repeated operation are not easy to occur, and the accuracy of switching the media contents is improved.

Description

Media content switching method and related device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for switching media contents and a related apparatus.
Background
With the development of the related technologies of mobile terminals, more and more intelligent devices appear in the lives of people, wherein one of the main applications of switching media contents through the intelligent devices is, for example: and switching the video content of the intelligent television.
Generally, the switching control mode of the media content is realized by a user operating a remote controller to control a focus view in a screen; that is, the view for obtaining the focus usually displays different display elements such as a white frame and an enlargement, and then the corresponding system distributes a media content switching instruction along with the operation of the user, that is, the user presses a response switching instruction once, and the terminal switches the content once.
However, in a scenario where a large amount of content is switched, the number of operations for switching the content one by one is large, and errors in switching the media content are likely to occur, which affects the accuracy of switching the media content.
Disclosure of Invention
In view of this, the present application provides a method for media content switching, which can effectively avoid an erroneous switching operation caused by a long-time repeated operation, and improve the accuracy of the media content switching process.
A first aspect of the present application provides a method for switching media contents, which can be applied to a system or a program containing a media content switching function in a terminal device, and specifically includes: responding to the switching operation of the media content, and acquiring a switching signal of the media content acting on a display interface;
calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content, and the switching times of the media content is an integer larger than 1;
and continuously switching the media content according to the switching times of the media content.
Optionally, in some possible implementation manners of the present application, the performing continuous switching of media content according to the number of times of switching of the media content includes:
acquiring a switching interval corresponding to a switching signal of the media content;
and respectively carrying out continuous switching on the media contents corresponding to the switching times according to the switching intervals.
Optionally, in some possible implementation manners of the present application, the obtaining a switching interval corresponding to a switching signal of the media content includes:
detecting a refresh frame rate of the display interface;
and determining a switching interval corresponding to a switching signal of the media content according to the refresh frame rate.
Optionally, in some possible implementation manners of the present application, the invoking a switching parameter according to a switching signal of the media content includes:
calling a setting menu according to the switching signal of the media content;
and determining the switching parameter according to the position of a first characteristic element in the setting menu, wherein the first characteristic element carries out position updating in response to a trigger operation.
Optionally, in some possible implementations of the present application, the method further includes:
acquiring a triggering condition of a second characteristic element in the setting menu, wherein the second characteristic element is used for locking the position of the first characteristic element;
and if the second characteristic element is triggered, controlling the setting menu to disappear.
Optionally, in some possible implementations of the present application, the method further includes:
acquiring a triggering condition of a third characteristic element in the setting menu, wherein the third characteristic element is used for indicating a triggering condition of a switching signal of the media content;
and if the third characteristic element is triggered, adjusting the trigger condition of the switching signal of the media content.
Optionally, in some possible implementation manners of the present application, the displaying interface is a non-touch screen interface, and the acquiring a switching signal of media content acting on the displaying interface includes:
detecting a wireless operation instruction acting on a display interface;
and if the wireless operation instruction meets the wireless switching condition, determining a switching signal of the media content according to the wireless operation instruction.
Optionally, in some possible implementation manners of the present application, the displaying interface is a touch screen interface, and the acquiring a switching signal of media content acting on the displaying interface includes:
detecting a touch screen operation instruction acting on a display interface;
and if the touch screen operation instruction meets a gesture switching condition, determining a switching signal of the media content according to the touch screen operation instruction.
Optionally, in some possible implementation manners of the present application, the invoking a switching parameter according to a switching signal of the media content includes:
determining an action program corresponding to a switching signal of the media content;
traversing the repeated distribution instruction in the function program;
and if the repeated distribution instruction exists, calling a switching parameter indicated by the repeated distribution instruction.
Optionally, in some possible implementation manners of the present application, the invoking a switching parameter according to a switching signal of the media content includes:
sending a switching request to a server according to the switching signal of the media content, wherein the switching request is used for indicating the server to call a switching record of the terminal, and the switching record contains the switching parameter;
and receiving the switching parameters sent by the server.
Optionally, in some possible implementation manners of the present application, the invoking a switching parameter according to a switching signal of the media content includes:
determining a user identifier corresponding to the display interface;
synchronizing account information according to the user identification to acquire user information;
and calling a switching parameter in the user information according to the switching signal of the media content.
Optionally, in some possible implementation manners of the present application, the media content is video content, the display interface is a display interface including a plurality of videos, and the switching signal of the media content is used to indicate switching of the video content.
A second aspect of the present application provides an apparatus for media content switching, comprising: the device comprises an acquisition unit, a display unit and a switching unit, wherein the acquisition unit is used for responding to the switching operation of the media content and acquiring a switching signal of the media content acting on a display interface;
a calling unit, configured to call a switching parameter according to the switching signal of the media content, where the switching parameter is used to indicate a correspondence between the switching signal of the media content and the switching frequency of the media content, and the switching frequency of the media content is an integer greater than 1;
and the switching unit is used for continuously switching the media content according to the switching times of the media content.
Optionally, in some possible implementation manners of the present application, the switching unit is specifically configured to obtain a switching interval corresponding to a switching signal of the media content;
the switching unit is specifically configured to perform continuous switching of the media content corresponding to the switching times according to the switching intervals.
Optionally, in some possible implementation manners of the present application, the switching unit is specifically configured to detect a refresh frame rate of the display interface;
the switching unit is specifically configured to determine a switching interval corresponding to a switching signal of the media content according to the refresh frame rate.
Optionally, in some possible implementations of the present application, the invoking unit is specifically configured to invoke a setting menu according to the switching signal of the media content;
the calling unit is specifically configured to determine the switching parameter according to a position of a first feature element in the setting menu, where the first feature element performs position update in response to a trigger operation.
Optionally, in some possible implementation manners of the present application, the obtaining unit is further configured to obtain a trigger condition of a second feature element in the setting menu, where the second feature element is used to lock a position of the first feature element;
the obtaining unit is further configured to control the setting menu to disappear if the second feature element is triggered.
Optionally, in some possible implementations of the present application, the obtaining unit is further configured to obtain a trigger condition of a third feature element in the setting menu, where the third feature element is used to indicate a trigger condition of a switching signal of the media content;
the obtaining unit is further configured to adjust a trigger condition of a switching signal of the media content if the third feature element is triggered.
Optionally, in some possible implementation manners of the present application, the display interface is a non-touch screen interface, and the obtaining unit is specifically configured to detect a wireless operation instruction acting on the display interface;
the obtaining unit is specifically configured to determine a switching signal of the media content according to the wireless operation instruction if the wireless operation instruction satisfies a wireless switching condition.
Optionally, in some possible implementation manners of the present application, the display interface is a touch screen interface, and the obtaining unit is specifically configured to detect a touch screen operation instruction acting on the display interface;
the obtaining unit is specifically configured to determine a switching signal of the media content according to the touch screen operation instruction if the touch screen operation instruction meets a gesture switching condition.
Optionally, in some possible implementations of the present application, the invoking unit is specifically configured to determine an action program corresponding to the switching signal of the media content;
the calling unit is specifically used for traversing the repeated distribution instruction in the function program;
the calling unit is specifically configured to call a switching parameter indicated by the repeated distribution instruction if the repeated distribution instruction exists.
Optionally, in some possible implementation manners of the present application, the invoking unit is specifically configured to send a handover request to a server according to a handover signal of the media content, where the handover request is used to instruct the server to invoke a handover record of the terminal, and the handover record includes the handover parameter;
the calling unit is specifically configured to receive the handover parameter sent by the server.
Optionally, in some possible implementation manners of the present application, the invoking unit is specifically configured to determine a user identifier corresponding to the display interface;
the calling unit is specifically used for carrying out account information synchronization according to the user identification so as to acquire user information;
the invoking unit is specifically configured to invoke the switching parameter in the user information according to the switching signal of the media content.
A third aspect of the present application provides a computer device comprising: a memory, a processor, and a bus system; the memory is used for storing program codes; the processor is configured to perform the method for media content switching according to the first aspect or any one of the first aspects according to instructions in the program code.
A fourth aspect of the present application provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method for media content switching of the first aspect or any one of the first aspects.
According to the technical scheme, the embodiment of the application has the following advantages:
acquiring a switching signal of the media content acting on the display interface by responding to the switching operation of the media content; then, calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content; and then, according to the switching times of the media content, the media content is continuously switched. Therefore, the process of switching media contents for multiple times through convenient operation is realized, the convenience of user operation is improved, and the user is prevented from generating operation fatigue; and due to the adjustability of the switching parameters, the method can be flexibly applied to various scenes for switching the media contents, is simple to operate, is not easy to generate switching errors caused by long-time repeated operation, and improves the accuracy of switching the media contents.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram of a network architecture in which a media content switching system operates;
fig. 2 is a flowchart of media content switching according to an embodiment of the present application;
fig. 3 is a flowchart of a method for switching media contents according to an embodiment of the present application;
fig. 4 is a schematic scene diagram of a media content switching method according to an embodiment of the present application;
fig. 5 is a schematic view of another media content switching method according to an embodiment of the present application;
fig. 6 is a schematic view of another media content switching method according to an embodiment of the present application;
fig. 7 is a schematic view of another media content switching method according to an embodiment of the present application;
fig. 8 is a flowchart of another method for switching media contents according to an embodiment of the present application;
FIG. 9 is a flowchart illustrating execution of an instruction according to an embodiment of the present application;
FIG. 10 is a flowchart of another instruction execution provided by an embodiment of the present application;
FIG. 11 is a flowchart of another instruction execution provided by an embodiment of the present application;
FIG. 12 is a diagram illustrating a data structure provided by an embodiment of the present application;
FIG. 13 is a flowchart of another instruction execution provided by an embodiment of the present application;
fig. 14 is a flowchart of another method for switching media contents according to an embodiment of the present application;
fig. 15 is a schematic view of another media content switching method according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a media content switching apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method for switching media contents and a related device, which can be applied to a system or a program containing a media content switching function in terminal equipment, and can obtain a switching signal of the media contents acting on a display interface by responding to the switching operation of the media contents; then, calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content; and then, according to the switching times of the media content, the media content is continuously switched. Therefore, the process of switching media contents for multiple times through convenient operation is realized, the convenience of user operation is improved, and the user is prevented from generating operation fatigue; and due to the adjustability of the switching parameters, the method can be flexibly applied to various scenes for switching the media contents, is simple to operate, is not easy to generate switching errors caused by long-time repeated operation, and improves the accuracy of switching the media contents.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "corresponding" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that the media content switching method provided by the present application may be applied to a system or a program that includes a media content switching function in a terminal device, such as a video playing platform, specifically, the media content switching system may operate in a network architecture as shown in fig. 1, which is a network architecture diagram of the media content switching system, as can be seen from the diagram, the media content switching system may provide media content switching with multiple information sources, the terminal establishes a connection with a server through a network, further receives multiple media contents sent by the server, and switches between the media contents according to an operation instruction received by the terminal; it is understood that fig. 1 shows various terminal devices, in an actual scenario, there may be more or fewer types of terminal devices participating in the media content switching process, and the specific number and types depend on the actual scenario, which is not limited herein, and in addition, fig. 1 shows one server, but in an actual scenario, there may also be participation of multiple servers, especially in a scenario of multiple daily content providing application interactions, and the specific number of servers depends on the actual scenario.
It should be noted that the media content switching method provided in this embodiment may also be performed offline, that is, without the participation of a server, at this time, the terminal is connected with other terminals locally, and then the process of switching the media content between the terminals is performed.
It is understood that the media content switching system described above may be operated in a personal mobile terminal, for example: the application as a video playing platform can also be operated in a server, and can also be operated in a third-party device to provide media content switching so as to obtain a media content switching processing result of an information source; the specific media content switching system may be operated in the above-mentioned device in the form of a program, may also be operated as a system component in the above-mentioned device, and may also be used as one of cloud service programs, and a specific operation mode is determined by an actual scene, which is not limited herein.
With the development of the related technologies of mobile terminals, more and more intelligent devices appear in the lives of people, wherein one of the main applications of switching media contents through the intelligent devices is, for example: and switching the video content of the intelligent television.
Generally, the switching control mode of the media content is realized by a user operating a remote controller to control a focus view in a screen; that is, the view for obtaining the focus usually displays different display elements such as a white frame and an enlargement, and then the corresponding system distributes a media content switching instruction along with the operation of the user, that is, the user presses a response switching instruction once, and the terminal switches the content once.
However, in a scenario where a large amount of content is switched, the number of operations for switching the content one by one is large, and errors in switching the media content are likely to occur, which affects the accuracy of switching the media content.
In order to solve the above problem, the present application provides a method for switching media content, which is applied to a flow framework for switching media content shown in fig. 2, as shown in fig. 2, for a flow framework for switching media content provided in an embodiment of the present application, first, a terminal obtains an interaction instruction of a user for a media content interface, and then calls a switching parameter according to the instruction to perform fast media content switching, and in addition, the switching parameter may be set by the user or issued by a server.
It can be understood that the method provided by the present application may be a program written as a processing logic in a hardware system, or may be a media content switching device, and the processing logic is implemented in an integrated or external manner. As one implementation manner, the media content switching device acquires a switching signal of the media content acting on the display interface by responding to the switching operation of the media content; then, calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content; and then, according to the switching times of the media content, the media content is continuously switched. Therefore, the process of switching media contents for multiple times through convenient operation is realized, the convenience of user operation is improved, and the user is prevented from generating operation fatigue; and due to the adjustability of the switching parameters, the method can be flexibly applied to various scenes for switching the media contents, is simple to operate, is not easy to generate switching errors caused by long-time repeated operation, and improves the accuracy of switching the media contents.
With reference to the above flow architecture, the following describes a method for switching media contents in the present application, please refer to fig. 3, where fig. 3 is a flow chart of a method for switching media contents according to an embodiment of the present application, and the embodiment of the present application at least includes the following steps:
301. and responding to the switching operation of the media content of the display interface, and acquiring a switching signal of the media content.
In this embodiment, the display interface includes a plurality of media contents, where the media contents may be in the form of pictures, music labels, videos, and other media; the switching signal of the media content is generated corresponding to the operation of the user, specifically, the switching signal of the media content may be an operation of performing a horizontal page turning or a vertical page turning of the media content, and the switching signal of the media content may also be a cursor shifting based on a single media content, for example: the currently selected media content is highlighted, and is switched to other media for highlighting when switching is performed.
Specifically, the switching operation may be performed through a non-touch screen interface or a touch screen interface.
In a possible scenario, the display interface is a non-touch screen interface, the switching operation may be a remote controller click, a mouse click or other non-touch screen interaction mode, and the corresponding implementation process is that the process of acquiring the switching signal of the media content acting on the display interface is equivalent to detecting a wireless operation instruction acting on the display interface; and if the wireless operation instruction meets the wireless switching condition, determining a switching signal of the media content according to the wireless operation instruction. For example: the user operates through infrared rays emitted by the remote controller, and the switching signal of the media content is an infrared signal corresponding to a key on the remote controller by the user.
In another possible scenario, where the display interface is a touch screen interface, the switching operation may be a specific gesture, such as: clicking, sliding and the like, wherein the corresponding implementation process is a process of acquiring a switching signal of the media content acting on the display interface and detecting a touch screen operation instruction acting on the display interface; and if the touch screen operation instruction meets the gesture switching condition, determining a switching signal of the media content according to the touch screen operation instruction. For example: a user's gliding page-turning gesture is detected.
It can be understood that the method for switching media contents provided by the present application is also applicable to scenarios other than the above-mentioned terminal and user interaction manner, for example: based on the technologies of the air touch screen, the eyeball tracking and the like, a corresponding operation instruction is generated at the terminal based on the interaction modes, and then the process of performing operation expansion according to the switching parameters in the embodiment is performed. That is, the above scenario description is only an example, and the specific interaction manner depends on the actual scenario, which is not limited herein.
302. And invoking the switching parameter according to the switching signal of the media content.
In this embodiment, the switching parameter is used to indicate a corresponding relationship between a switching signal of the media content and the switching frequency of the media content, and the switching frequency of the media content is an integer greater than 1.
In one possible scenario, the switching signal is triggered by a touch screen operation; at this time, a switching parameter can be called, and the switching parameter is used for indicating the key triggering times corresponding to one touch screen operation, and can also be called the key distribution times, namely one key corresponds to multiple key operations; for example: and clicking 1 time of page turning, distributing the three times of page turning instructions, and further carrying out corresponding selection operation by the terminal according to the page turning instructions.
Optionally, the handover parameter may be set in the terminal system; the setting can also be real-time and can be modified, and specifically, the setting process can be performed through a setting menu, and a plurality of different feature elements can be included in the setting menu.
In one possible scenario, the setup menu may be invoked upon a switch signal of the media content; and then determining a switching parameter according to the position of a first characteristic element in the setting menu, wherein the first characteristic element carries out position updating in response to the triggering operation. I.e. the position of the first characteristic element indicates the value of the handover parameter. In addition, a second feature element for indicating menu disappearance and a third feature element indicating a trigger condition of a switching signal of the media content may be further included in the setting menu. Fig. 4 is a schematic view of a scene of a media content switching method according to an embodiment of the present application, where the view includes a key distribution number a1 (a first feature element) indicating a switching parameter, a determination key A3 (a second feature element) for indicating menu disappearance, and a trigger condition option column a2 (a third feature element) indicating a switching signal of media content, and it can be seen that in the scene shown in fig. 4, the switching parameter is 2 times, that is, each switching operation corresponds to distribution of two switching instructions; the switching condition corresponding to the switching signal of the media content is a direction key, namely, when the direction key is triggered to perform relevant operation, the switching parameter is called; and then clicking to confirm that the setting can be kept, the setting menu disappears, and the previous display interface is recovered.
Optionally, in order to reduce the number of times of updating the page as a whole and improve the smoothness of switching the screen, the setting menu may appear in the display interface as a popup, or may appear in the display interface as a floating menu pulled up by a menu key, or may be located at any position in the interface. Fig. 5 is a schematic view of a scene of another media content switching method according to an embodiment of the present application. The setting menu in the figure is a floating menu, that is, a floating menu a5 is displayed above a display interface a6 of an APP being displayed, and the floating menu may include various commonly used setting items of the APP, such as volume, brightness, account information, and the like, which are only exemplified by the volume; further, below the sound volume are the key distribution setting item a4 and the number selection a1, and the one-time distribution is selected by default. When the user sets the menu twice or three times, the floating menu disappears by clicking the lower determination key, and the APP is returned to being used.
Specifically, the Button distribution setting item a4 is composed of a text preview control (TextView), the number selection a1 is composed of an image preview control (ImageView), the switching condition a2 is composed of a check control (CheckBox), the determination key A3 is composed of a Button control (Button), and different setting items (volume, brightness, Button distribution, and the like) are vertically displayed in the form of a list composed of scroll controls (cycleview).
It can be understood that the user can select from 1, 2 and 3 times by the left and right keys of the remote controller and check the type of the key to be effective, and after the selection is completed, the user can click the confirm key to make the setting effective. If the default setting is changed back, the distribution times are only changed back to 1 time. If the decision key is not clicked after the setting, the setting made will not be effective.
In another possible scenario, the switching signal of the media content is obtained through a touch screen operation, as shown in fig. 6, which is a schematic view of a scenario of another media content switching method provided in the embodiment of the present application. The switching signal indicating the media content is obtained by a user's tap gesture B1, and a setting menu B2 is popped up in the display interface, where the setting menu includes a key distribution option indicating a switching parameter and an option box indicating a switching condition, the switching parameter indicated in the drawing is 2, and the switching condition is a direction key.
In another possible scenario, the switching signal of the media content is obtained through a non-touch screen operation, as shown in fig. 7, which is a schematic view of a scenario of another media content switching method provided in the embodiment of the present application. The switching signal indicating the media content is sent by the user in the form of a wireless signal through a remote controller key click C1, after the wireless signal is received by the display device, an instruction related to the switching signal is generated, and a setting menu C2 is popped up, the setting menu includes a key distribution option indicating a switching parameter and an option box indicating a switching condition, the switching parameter indicated in the figure is 2, and the switching condition is a direction key.
It should be noted that the number of times corresponding to the above-mentioned handover parameter is merely an example, and the specific number of times may be a larger number, which is not limited herein.
Optionally, because there may be switching of the application program in the setting or calling process of the switching parameter, in order to ensure that the action object in the media content switching process is correct, the action program corresponding to the switching signal of the media content may be determined after the switching parameter is set; if the program is the designated program, the switching process is continued. In addition, repeated distribution instructions in the traversal function program can also be realized; and if the repeated distribution instruction exists, calling the switching parameter indicated by the repeated distribution instruction. Thereby ensuring the accuracy of the switching parameter action program.
303. And continuously switching the media contents according to the switching times of the media contents.
In this embodiment, the distribution instructions corresponding to the switching times of the media contents are sequentially executed, that is, the media contents are continuously switched, for example: if the number of times of switching the media content is 3, 3 distribution instructions are distributed corresponding to 1 switching signal of the media content, that is, the media content is switched 3 times. Wherein, the distribution is a process of sending instructions one by one, and the sending is targeted sending; and the distribution instruction indicates each instruction in the distribution process.
Optionally, in the switching process of the media content, to ensure that the switching process is soft, a certain switching interval may be set, for example: the execution of each dispatch instruction is separated by 20 milliseconds.
Optionally, considering that the display performances of different display interfaces are different, that is, the refresh frequencies of the frames are different, in order to ensure that no frame loss occurs in the media content switching process. The refresh frame rate of the display interface can be detected; and then determining a switching interval corresponding to a switching signal of the media content according to the refresh frame rate. For example: the refresh frame rate interval for the android system is 16 milliseconds, which sets the switching interval to 16 milliseconds.
It is understood that different intervals may be set for different devices, and the specific switching interval duration depends on a specific scenario and is not limited herein.
With the above embodiments, it can be known that the switching signal of the media content acting on the display interface is acquired by responding to the switching operation of the media content; then, calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content; and then, according to the switching times of the media content, the media content is continuously switched. Therefore, the process of switching media contents for multiple times through convenient operation is realized, the convenience of user operation is improved, and the user is prevented from generating operation fatigue; and due to the adjustability of the switching parameters, the method can be flexibly applied to various scenes for switching the media contents, is simple to operate, is not easy to generate switching errors caused by long-time repeated operation, and improves the accuracy of switching the media contents.
In the foregoing embodiment, a process of media content switching is described, and in the following, a process of video switching of a smart television by a user through a remote controller is described as a specific scene, please refer to fig. 8, where fig. 8 is a flowchart of another method for media content switching according to an embodiment of the present application, where the embodiment of the present application at least includes the following steps:
801. users want to jump quickly between contents while using applications.
802. And long-time pressing of a menu key of the remote controller opens the floating menu.
In the embodiment, the floating menu is opened by long pressing of a menu key of the remote controller, namely, the setting menu; it will be appreciated that the hover menu may also be opened based on other interactive manners, such as a particular button on a remote control or a particular manner of operation for a particular button.
803. And judging whether to carry out single-point repeated distribution setting or not.
In this embodiment, whether a handover parameter exists is determined.
804. The number of repeated dispenses is selected.
805. Pressing the confirm key to save the setting, the floating menu automatically disappears.
In this embodiment, the keys in steps 804 and 805 may refer to the form in fig. 4, which is not described herein again.
806. And clicking a direction key.
In this embodiment, since the set switching condition is a direction key, the direction key is clicked, and specifically, the operation may be an operation of switching up, down, left, right, or other switching manners.
807. And performing instruction distribution according to the direction key and the repeated distribution times.
In this embodiment, if the direction key is down and the repeated distribution number is 3, 3 operation instructions for downward switching are distributed.
808. The program switches the contents in response to the key operation.
809. And switching the content according to the switching interval.
In this embodiment, the switching interval is determined by a specific display interface, for example, a switching interval of 16 milliseconds is adopted for the display interface of the terminal of the android system.
Through the steps, the user can perform fixed and rapid switching among a plurality of media contents through the remote controller, a large amount of repeated operations are avoided in scenes with more media contents, the fatigue is reduced, the probability of media content switching errors is also reduced, and the accuracy of media content switching is improved.
Based on the above embodiment, the instruction execution process of the terminal itself in the process of pressing the key down of the remote controller will be described below with the instruction corresponding logic of the terminal itself.
First, an instruction execution flow is described based on the system layer.
Fig. 9 is a flowchart illustrating instruction execution according to an embodiment of the present application. After a remote controller down key is clicked, the terminal hardware layer receives a down key instruction of the remote controller, then the processing system finds that a to-be-processed down key instruction exists currently through polling, the processing system sends the down key instruction to an application which is displayed on a current interface, and the application responds to execute page scrolling.
Since the switching parameter needs to be set in this embodiment, it needs to be determined whether the setting of the relevant parameter is performed in the instruction execution process, as shown in fig. 10, it is another instruction execution flowchart provided in this embodiment of the present application. After a remote controller down key is clicked, a terminal hardware layer receives a down key instruction of the remote controller, then a processing system finds that a to-be-processed down key instruction exists currently through polling, then judges whether a repeated distribution key is set for a program corresponding to the instruction, if so, the repeated distribution key is sent to an application according to the set distribution times and a switching interval, and the application responds to execute page rolling; if not, directly sending a key down instruction to the application displayed on the current page, and executing page scrolling.
Next, an instruction execution flow based on the application layer will be described.
Fig. 11 is a flowchart illustrating another instruction execution method according to an embodiment of the present disclosure. After a remote controller key is clicked, the terminal hardware layer receives a key-down instruction of the remote controller, then the processing system finds that a key-down instruction to be processed currently exists through polling, and then the system sends the key-down instruction to the current application; further judging whether a repeated distribution key is set for a program corresponding to the instruction, if so, responding the distribution times by the application to execute page rolling; if not, the application directly performs interface scrolling.
Implementing this functionality in the application layer, i.e., in an application, only the application implementing this functionality will have the ability to be redistributed. If the function is realized at the system level, the scheme is transparent to the application program, and different application programs receive the key instruction sent by the system, so the method is effective to any application program.
In addition, in the control layer of the terminal, because the control layer is responsible for all the logic parts, the media content switching method provided by this embodiment can respond to the setting of the user, change the key distribution times in the memory, write the key distribution times into the hard disk, and read the setting times saved before the hard disk when the terminal is started. For the key repeated distribution logic implemented in the system layer, before each key distribution, key distribution management (keyDispatchmager) is queried to determine whether the key type clicked by the current user needs repeated distribution and the distribution times, and multiple distribution adjustments are made according to the distribution times. Before the floating menu is opened each time, the repeated distribution setting item also obtains the current distribution times and the key type through the KeyDispatchManager to be used for initializing the interface.
Specifically, the data structure of the keydispatch manager may refer to the manner shown in fig. 12, as shown in fig. 12, it is a data structure schematic diagram provided in the embodiment of the present application, where the data structure schematic diagram includes a preset key information part 1201, that is, the time for distributing keys and triggered keys; in the response process of the control layer, the part is inquired before each key distribution to determine whether the type of the key clicked by the current user needs to be repeatedly distributed and the distribution times. In response to the data layer, the distribution data stored in the data read/write portion 1202, that is, the distribution data read into the memory, is stored in the portion, for example: distribution interval, distribution number, etc.
In addition, in the data layer, the media content switching method provided by the embodiment is mainly performed through a switching parameter, namely, data is distributed through keys, and the data is stored in the device in a file form. Fig. 13 is a flowchart illustrating another instruction execution method according to an embodiment of the present application. And reading from the file and storing in the memory when the equipment is started every time, and rewriting the change into the file for persistent storage of data when the user changes the setting every time. The data read into the memory will be saved in the keyDispatchManager for checking each time the system dispenses a key.
Through logic division in the terminal equipment, a convenient media content switching process based on switching parameters can be realized.
In a possible scenario, the switching parameter is sent by a server, which is described below, as shown in fig. 14, which is a flowchart of another method for switching media content provided in this embodiment of the present application, this embodiment includes the following steps:
1401. the terminal obtains a media content switching instruction.
In this embodiment, step 1401 is similar to step 301 in fig. 3, and the description of the relevant features may be referred to, which is not repeated herein.
1402. The terminal sends a handover request to the server.
In this embodiment, the handover request is used to instruct the server to call a handover record of the terminal, that is, a set of handover parameters for the terminal object program.
1403. And the server performs account synchronization.
In this embodiment, account synchronization is performed based on a user identifier of a terminal, that is, account information of a user, and a setting condition of a handover parameter in a specified target program is determined according to the account information.
1404. The server obtains the handover parameters.
In this embodiment, the handover parameter may be the setting of the latest handover parameter of the target program by the user, or may be the average of multiple handover parameters.
1405. The server sends the handover parameters to the terminal.
1406. And the terminal switches the media content.
In this embodiment, reference may be made to fig. 15 for a process of media content switching, and fig. 15 is a scene schematic diagram of another media content switching method provided in this embodiment of the application. The figure shows media content D1 currently showing a highlight by which switching between the contents can be done quickly.
1407. The terminal sends the actual handover parameters to the server.
In this embodiment, since the terminal may set the handover parameter by itself, the operation needs to be uploaded at this time.
1408. The server updates the handover parameters.
In this embodiment, the server records according to the switching parameter uploaded by the terminal, and marks a specific identifier, such as a date, to update the switching parameter in the history.
It can be seen from the above embodiments that, by uploading the switching parameters to the server, the operation habits of the user can be collected, the adaptability between the switching parameters and the user is ensured, the setting operation of the user is further reduced, and the fast and convenient switching process of the media content is realized.
In order to better implement the above-mentioned aspects of the embodiments of the present application, the following also provides related apparatuses for implementing the above-mentioned aspects. Referring to fig. 16, fig. 16 is a schematic structural diagram of a media content switching device according to an embodiment of the present disclosure, the media content switching device 1600 includes:
an obtaining unit 1601, configured to obtain, in response to a switching operation on media content, a switching signal of the media content acting on a display interface;
a calling unit 1602, configured to call a switching parameter according to a switching signal of the media content, where the switching parameter is used to indicate a corresponding relationship between the switching signal of the media content and a switching frequency of the media content, and the switching frequency of the media content is an integer greater than 1;
a switching unit 1603, configured to perform continuous switching of the media content according to the switching times of the media content.
Optionally, in some possible implementations of the present application, the switching unit 1603 is specifically configured to obtain a switching interval corresponding to a switching signal of the media content;
the switching unit 1603 is specifically configured to perform continuous switching of the media content corresponding to the switching times according to the switching intervals.
Optionally, in some possible implementations of the present application, the switching unit 1603 is specifically configured to detect a refresh frame rate of the display interface;
the switching unit 1603 is specifically configured to determine a switching interval corresponding to a switching signal of the media content according to the refresh frame rate.
Optionally, in some possible implementations of the present application, the invoking unit 1602 is specifically configured to invoke a setting menu according to the switching signal of the media content;
the invoking unit 1602 is specifically configured to determine the switching parameter according to a position of a first feature element in the setting menu, where the first feature element performs position updating in response to a trigger operation.
Optionally, in some possible implementations of the present application, the obtaining unit 1601 is further configured to obtain a trigger condition of a second feature element in the setting menu, where the second feature element is used to lock a position of the first feature element;
the obtaining unit 1601 is further configured to control the setting menu to disappear if the second feature element is triggered.
Optionally, in some possible implementations of the present application, the obtaining unit 1601 is further configured to obtain a trigger condition of a third feature element in the setting menu, where the third feature element is used to indicate a trigger condition of a switching signal of the media content;
the obtaining unit 1601 is further configured to adjust a trigger condition of a switching signal of the media content if the third feature element is triggered.
Optionally, in some possible implementation manners of the present application, the display interface is a non-touch screen interface, and the obtaining unit 1601 is specifically configured to detect a wireless operation instruction acting on the display interface;
the obtaining unit 1601 is specifically configured to determine a switching signal of the media content according to the wireless operation instruction if the wireless operation instruction satisfies a wireless switching condition.
Optionally, in some possible implementation manners of the present application, the display interface is a touch screen interface, and the obtaining unit 1601 is specifically configured to detect a touch screen operation instruction acting on the display interface;
the obtaining unit 1601 is specifically configured to determine a switching signal of the media content according to the touch screen operation instruction if the touch screen operation instruction meets a gesture switching condition.
Optionally, in some possible implementations of the present application, the invoking unit 1602 is specifically configured to determine an action program corresponding to the switching signal of the media content;
the calling unit 1602 is specifically configured to traverse the repeated distribution instruction in the function program;
the invoking unit 1602 is specifically configured to invoke the switching parameter indicated by the repeated distribution instruction if the repeated distribution instruction exists.
Optionally, in some possible implementations of the present application, the invoking unit 1602 is specifically configured to send a handover request to a server according to a handover signal of the media content, where the handover request is used to instruct the server to invoke a handover record of the terminal, and the handover record includes the handover parameter;
the invoking unit 1602 is specifically configured to receive the handover parameter sent by the server.
Optionally, in some possible implementation manners of the present application, the invoking unit 1602 is specifically configured to determine a user identifier corresponding to the display interface;
the invoking unit 1602 is specifically configured to perform account information synchronization according to the user identifier to obtain user information;
the invoking unit 1602 is specifically configured to invoke a switching parameter in the user information according to the switching signal of the media content.
Acquiring a switching signal of the media content acting on the display interface by responding to the switching operation of the media content; then, calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content; and then, according to the switching times of the media content, the media content is continuously switched. Therefore, the process of switching media contents for multiple times through convenient operation is realized, the convenience of user operation is improved, and the user is prevented from generating operation fatigue; and due to the adjustability of the switching parameters, the method can be flexibly applied to various scenes for switching the media contents, is simple to operate, is not easy to generate switching errors caused by long-time repeated operation, and improves the accuracy of switching the media contents.
An embodiment of the present application further provides a terminal device, as shown in fig. 17, which is a schematic structural diagram of another terminal device provided in the embodiment of the present application, and for convenience of description, only a portion related to the embodiment of the present application is shown, and details of the specific technology are not disclosed, please refer to a method portion in the embodiment of the present application. The terminal may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a point of sale (POS), a vehicle-mounted computer, and the like, taking the terminal as the mobile phone as an example:
fig. 17 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present application. Referring to fig. 17, the handset includes: radio Frequency (RF) circuitry 1710, memory 1720, input unit 1730, display unit 1740, sensor 1750, audio circuitry 1760, wireless fidelity (WiFi) module 1770, processor 1780, and power supply 1790. Those skilled in the art will appreciate that the handset configuration shown in fig. 17 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 17:
the RF circuit 1710 can be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing the received downlink information of the base station in the processor 1780; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuitry 1710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 1720 can be used for storing software programs and modules, and the processor 1780 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1720. The memory 1720 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1720 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1730 may include a touch panel 1731 and other input devices 1732. The touch panel 1731, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 1731 (e.g., operations of the user on or near the touch panel 1731 by using any suitable object or accessory such as a finger or a stylus pen, and spaced touch operations within a certain range on the touch panel 1731), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 1731 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1780, and can receive and execute commands sent from the processor 1780. In addition, the touch panel 1731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1730 may include other input devices 1732 in addition to the touch panel 1731. In particular, other input devices 1732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1740 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 1740 may include a display panel 1741, and optionally, the display panel 1741 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1731 may cover the display panel 1741, and when the touch panel 1731 detects a touch operation on or near the touch panel 1731, the touch panel is transmitted to the processor 1780 to determine the type of the touch event, and then the processor 1780 provides a corresponding visual output on the display panel 1741 according to the type of the touch event. Although in fig. 17, the touch panel 1731 and the display panel 1741 are implemented as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1731 and the display panel 1741 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1741 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1741 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1760, speaker 1761, and microphone 1762 may provide an audio interface between the user and the handset. The audio circuit 1760 may transmit the electrical signal converted from the received audio data to the speaker 1761, and the electrical signal is converted into a sound signal by the speaker 1761 and output; on the other hand, the microphone 1762 converts the collected sound signals into electrical signals, which are received by the audio circuit 1760 and converted into audio data, which are then processed by the audio data output processor 1780 and sent to, for example, another cell phone via the RF circuit 1710, or output to the memory 1720 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 1770, and provides wireless broadband Internet access for the user. Although fig. 17 shows the WiFi module 1770, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1780 is the control center of the handset, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the handset and processes data by running or executing software programs and/or modules stored in the memory 1720 and calling data stored in the memory 1720, thereby monitoring the entire handset. Optionally, processor 1780 may include one or more processing units; optionally, processor 1780 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1780.
The handset also includes a power supply 1790 (e.g., a battery) to power the various components, optionally logically connected to the processor 1780 via a power management system, to manage charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present application, the processor 1780 included in the terminal further has a function of performing the respective steps of the page processing method as described above.
Also provided in the embodiments of the present application is a computer-readable storage medium, which stores media content switching instructions, and when the computer-readable storage medium is executed on a computer, the computer is caused to perform the steps performed by the media content switching apparatus in the methods described in the foregoing embodiments shown in fig. 2 to 15.
Also provided in the embodiments of the present application is a computer program product including instructions for switching media contents, which when run on a computer, causes the computer to perform the steps performed by the media content switching apparatus in the method described in the foregoing embodiments shown in fig. 2 to 15.
The embodiment of the present application further provides a media content switching system, where the media content switching system may include the media content switching apparatus in the embodiment described in fig. 16 or the terminal device described in fig. 17.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a media content switching device, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (15)

1. A method of media content switching, comprising:
responding to the switching operation of the media content of a display interface, and acquiring a switching signal of the media content, wherein the display interface comprises a plurality of media contents;
calling a switching parameter according to the switching signal of the media content, wherein the switching parameter is used for indicating the corresponding relation between the switching signal of the media content and the switching times of the media content, and the switching times of the media content is an integer larger than 1;
and continuously switching among a plurality of media contents according to the switching times of the media contents.
2. The method according to claim 1, wherein the continuously switching the media content according to the switching times of the media content comprises:
acquiring a switching interval corresponding to a switching signal of the media content;
and respectively carrying out continuous switching on the media contents corresponding to the switching times according to the switching intervals.
3. The method of claim 2, wherein obtaining the switching interval corresponding to the switching signal of the media content comprises:
detecting a refresh frame rate of the display interface;
and determining a switching interval corresponding to a switching signal of the media content according to the refresh frame rate.
4. The method of claim 1, wherein invoking a handover parameter according to a handover signal of the media content comprises:
calling a setting menu according to the switching signal of the media content;
and determining the switching parameter according to the position of a first characteristic element in the setting menu, wherein the first characteristic element carries out position updating in response to a trigger operation.
5. The method of claim 4, further comprising:
acquiring a triggering condition of a second characteristic element in the setting menu, wherein the second characteristic element is used for locking the position of the first characteristic element;
and if the second characteristic element is triggered, controlling the setting menu to disappear from the display interface.
6. The method of claim 4, further comprising:
acquiring a triggering condition of a third characteristic element in the setting menu, wherein the third characteristic element is used for indicating a triggering condition of a switching signal of the media content;
and if the third characteristic element is triggered, adjusting the trigger condition of the switching signal of the media content.
7. The method of claim 1, wherein the display interface is a non-touch screen interface, and the obtaining the switching signal of the media content comprises:
detecting a wireless operation instruction acting on a display interface;
and if the wireless operation instruction meets the wireless switching condition, determining a switching signal of the media content according to the wireless operation instruction.
8. The method according to claim 1, wherein the display interface is a touch screen interface, and the acquiring the switching signal of the media content includes:
detecting a touch screen operation instruction acting on a display interface;
and if the touch screen operation instruction meets a gesture switching condition, determining a switching signal of the media content according to the touch screen operation instruction.
9. The method according to any one of claims 1-8, wherein said invoking a handover parameter according to a handover signal of said media content comprises:
determining an action program corresponding to a switching signal of the media content;
traversing the repeated distribution instruction in the function program;
and if the repeated distribution instruction exists, calling a switching parameter indicated by the repeated distribution instruction.
10. The method according to any one of claims 1-8, wherein said invoking a handover parameter according to a handover signal of said media content comprises:
sending a switching request to a server according to the switching signal of the media content, wherein the switching request is used for indicating the server to call a switching record of a terminal, and the switching record comprises the switching parameter;
and receiving the switching parameters sent by the server.
11. The method according to any one of claims 1-8, wherein said invoking a handover parameter according to a handover signal of said media content comprises:
determining a user identifier corresponding to the display interface;
synchronizing account information according to the user identification to acquire user information;
and calling a switching parameter in the user information according to the switching signal of the media content.
12. The method of claim 1, wherein the media content is video content, the display interface is a presentation interface comprising a plurality of videos, and the switching signal of the media content is used to indicate switching of the video content.
13. An apparatus for media content switching, comprising:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for responding to the switching operation of the media content and acquiring a switching signal of the media content acting on a display interface, and the display interface comprises a plurality of media contents;
a calling unit, configured to call a switching parameter according to the switching signal of the media content, where the switching parameter is used to indicate a correspondence between the switching signal of the media content and the switching frequency of the media content, and the switching frequency of the media content is an integer greater than 1;
and the switching unit is used for continuously switching among the media contents according to the switching times of the media contents.
14. A computer device, the computer device comprising a processor and a memory:
the memory is used for storing program codes; the processor is configured to perform the method for media content switching of any of claims 1 to 12 according to instructions in the program code.
15. A computer-readable storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the method of media content switching of any of the above claims 1 to 12.
CN202010102229.1A 2020-02-19 2020-02-19 Media content switching method and related device Active CN111327957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010102229.1A CN111327957B (en) 2020-02-19 2020-02-19 Media content switching method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010102229.1A CN111327957B (en) 2020-02-19 2020-02-19 Media content switching method and related device

Publications (2)

Publication Number Publication Date
CN111327957A CN111327957A (en) 2020-06-23
CN111327957B true CN111327957B (en) 2021-06-22

Family

ID=71165330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010102229.1A Active CN111327957B (en) 2020-02-19 2020-02-19 Media content switching method and related device

Country Status (1)

Country Link
CN (1) CN111327957B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483733A (en) * 2008-01-10 2009-07-15 北京视博数字电视科技有限公司 Digital television display interface switching method
CN101489055A (en) * 2008-12-31 2009-07-22 深圳市同洲电子股份有限公司 Television program switching method, system and digital television terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872737B (en) * 2016-04-18 2019-04-02 高创(苏州)电子有限公司 The control method and medium source equipment of media play, apparatus for media playing and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483733A (en) * 2008-01-10 2009-07-15 北京视博数字电视科技有限公司 Digital television display interface switching method
CN101489055A (en) * 2008-12-31 2009-07-22 深圳市同洲电子股份有限公司 Television program switching method, system and digital television terminal

Also Published As

Publication number Publication date
CN111327957A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN108055408B (en) Application program control method and mobile terminal
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN109543099B (en) Content recommendation method and terminal equipment
CN108763316B (en) Audio list management method and mobile terminal
CN109871174B (en) Virtual key display method and mobile terminal
CN110099296B (en) Information display method and terminal equipment
CN110659098B (en) Data updating method and device, terminal equipment and storage medium
CN109407920B (en) Status icon display method, status icon processing method and related equipment
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN111669664B (en) Video playing method, video playing device, electronic equipment and storage medium
CN108958629B (en) Split screen quitting method and device, storage medium and electronic equipment
CN109407948B (en) Interface display method and mobile terminal
CN107193451B (en) Information display method and device, computer equipment and computer readable storage medium
CN109683802B (en) Icon moving method and terminal
CN110225180B (en) Content input method and terminal equipment
CN110703972B (en) File control method and electronic equipment
CN110868633A (en) Video processing method and electronic equipment
CN108984066B (en) Application icon display method and mobile terminal
CN108984142B (en) Split screen display method and device, storage medium and electronic equipment
CN110221741B (en) Icon management method and terminal equipment
CN108628534B (en) Character display method and mobile terminal
EP4160364A1 (en) Method, device, and equipment for switching text language types, and storage medium
CN110769303A (en) Playing control method and device and mobile terminal
CN108491143B (en) Object movement control method and mobile terminal
CN111049977B (en) Alarm clock reminding method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40024349

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant