CN111061407B - Video program operation control method, electronic device, and storage medium - Google Patents

Video program operation control method, electronic device, and storage medium Download PDF

Info

Publication number
CN111061407B
CN111061407B CN201911360481.6A CN201911360481A CN111061407B CN 111061407 B CN111061407 B CN 111061407B CN 201911360481 A CN201911360481 A CN 201911360481A CN 111061407 B CN111061407 B CN 111061407B
Authority
CN
China
Prior art keywords
interface
video
control area
function control
target
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
CN201911360481.6A
Other languages
Chinese (zh)
Other versions
CN111061407A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911360481.6A priority Critical patent/CN111061407B/en
Publication of CN111061407A publication Critical patent/CN111061407A/en
Application granted granted Critical
Publication of CN111061407B publication Critical patent/CN111061407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the screen or tablet into independently controllable areas, e.g. virtual keyboards, menus

Abstract

The embodiment of the invention discloses an operation control method of a video program, electronic equipment and a storage medium, wherein the operation control method of the video program is applied to the electronic equipment, and comprises the following steps: under the condition that a target video interface is displayed, receiving a first input of a user to a first function control area of the target video interface; responding to the first input, and executing target control operation associated with a second function control area on a first video program corresponding to a first operation interface according to the mapping relation between the first function control area and the second function control area of the first operation interface; the target video interface is an interface with at least one function control area which is the same as the operation interface of the second video program. The embodiment of the invention can make the operation of the video programs by the user more convenient and flexible, and does not need the user to switch back and forth among the video programs.

Description

Video program operation control method, electronic device, and storage medium
Technical Field
The embodiment of the invention relates to the field of electronic equipment, in particular to an operation control method of a video program, electronic equipment and a storage medium.
Background
Currently, as the performance of electronic devices is continuously improved, more and more programs are installed on the electronic devices, wherein the programs include various types of video programs (such as short video programs, live video programs, and the like).
Since video resources on different programs have different characteristics, users need to use a plurality of video programs to view a plurality of types of videos. In this case, the user needs to switch back and forth between multiple video programs. However, it is very troublesome for the user to switch the video program.
Disclosure of Invention
The embodiment of the invention provides an operation control method of video programs, which can solve the problem of relatively trouble in switching between the video programs.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an operation control method for a video program, which is applied to an electronic device, and the method includes:
under the condition that a target video interface is displayed, receiving a first input of a user to a first function control area of the target video interface;
responding to the first input, and executing target control operation associated with a second function control area on a first video program corresponding to a first operation interface according to the mapping relation between the first function control area and the second function control area of the first operation interface; the target video interface is an interface with at least one function control area which is the same as the operation interface of the second video program.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the first input receiving module is used for receiving first input of a user to a first function control area of a target video interface under the condition that the target video interface is displayed;
the first input response module is used for responding to the first input and executing target control operation related to a second function control area on a first video program corresponding to a first operation interface according to the mapping relation between the first function control area and the second function control area of the first operation interface; the target video interface is an interface with at least one function control area which is the same as the operation interface of the second video program.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the operation control method for the video program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the operation control method for a video program.
In the embodiment of the invention, the first video program corresponding to the first operation interface is operated and controlled through the mapping relation between the function control area of the target video interface and the function control area of the first operation interface. In this case, the function control on the operation interface of the video program is mapped into the target video interface, and the user can realize the operation control on different video programs by operating the target video interface. Therefore, the user can operate the video program by using the familiar target video interface, so that the user can operate the video program more conveniently and flexibly without switching back and forth between the video programs.
Drawings
Fig. 1 is a flowchart illustrating an operation control method of a video program according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an operation interface of a second video program according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a target video interface according to one embodiment of the present invention;
FIG. 4 is a diagram illustrating an operation interface displaying whether a control area of a mapping function is turned on according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a target video interface displaying a logo indicating a video program according to one embodiment of the present invention;
FIG. 6 illustrates a schematic diagram of a target video interface displaying an indication of the identity of a video program in accordance with another embodiment of the present invention;
fig. 7 is a flowchart showing an operation control method of a video program according to another embodiment of the present invention;
FIG. 8 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 9 shows a hardware structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating an operation control method of a video program according to an embodiment of the present invention. As shown in fig. 1, the operation control method of the video program is applied to an electronic device, and includes:
step 101, the electronic device receives a first input of a user to a first function control area of a target video interface under the condition that the target video interface is displayed.
The first input may be any one of a slide input, a click input, and a voice input. The first function control area can be displayed with a control so that a user can operate the first function control area conveniently.
102, the electronic equipment responds to a first input, and executes target control operation associated with a second function control area on a first video program corresponding to a first operation interface according to a mapping relation between the first function control area and the second function control area of the first operation interface; the target video interface is an interface having at least one function control area identical to the operation interface of the second video program.
For example, the operation interfaces of the target video interface and the second video program each have at least one of a play control area, a video switching control area, a volume control area, a brightness control area, a play progress bar control area, a double speed control area, a sharing control area, and a play parameter setting control area.
Optionally, before displaying the target video interface, the method for controlling the operation of the video program may further include: under the condition that the operation interface of the second video program is displayed, the electronic equipment receives input of the operation interface of the second video program;
displaying a target video interface includes: the electronic equipment responds to the input of the operation interface of the second video program, displays the target video interface and hides the operation interface of the second video program.
Alternatively, the target video interface may be an interface that the user is accustomed to operating, that is, an interface that the user is familiar with using, and the interface of the second video program may be an interface that the user is unfamiliar with. Therefore, the user can operate through the familiar target video interface without being familiar with the operation interface using the second video program, and the operation is convenient for the user.
As an example, referring to fig. 2, in a case where the electronic device displays the operation interface 01 of the second video program, an input of the user's finger 02 to the operation interface 01, such as a slide-down input of the user's finger 02 to the operation interface 01, is received. The electronic device displays a target video interface 03 as shown in fig. 3 in response to an input to the operation interface 01 by the user's finger 02. The second video program may be a video program running in the foreground.
Optionally, after the electronic device responds to the input of the user finger 02 to the operation interface 01 and before the target video interface 03 shown in fig. 3 is displayed, the operation control method of the video program further includes: referring to fig. 4, the electronic apparatus displays a control area 04 on the operation interface 01; receiving user input to the control area 04, the electronic device displays a target video interface 03 as shown in fig. 3 in response to the input to the control area 04.
In the embodiment of the present invention, through a mapping relationship between the function control area of the target video interface and the function control area of the first operation interface, a second function control area mapped with the first function control area can be obtained on the first operation interface, and the first video program corresponding to the first operation interface is controlled according to the second function control area. In this case, the function control on the operation interface of the video program is mapped into the target video interface, and the user can realize the operation control on different video programs by operating the target video interface. Therefore, the user can operate any video program by using the familiar target video interface, so that the user can operate the video program more conveniently and flexibly without switching back and forth between the video programs. The first video program can run in the background, so that the video program running in the background can be controlled by operating the target video interface by the user. No switching back and forth of the video program is required by the user.
For example, the electronic device runs the short video a in the foreground, and the electronic device currently displays an operation interface of the short video a. In a case where the electronic device receives an input to the operation interface of the short video a, the target video interface 03 is displayed. Because the mapping relationship exists between the video switching control area of the target video interface 03 and the video switching control area of the operation interface of the short video B, the electronic device controls the short video B to operate in the background under the condition that the electronic device receives the input of the user to the video switching control area of the target video interface 03, and switches the currently displayed video to the video of the short video B.
Optionally, in one or more embodiments of the present invention, executing, according to a mapping relationship between a first function control area and a second function control area of a first operation interface, a target control operation associated with the second function control area on a first video program corresponding to the first operation interface includes:
acquiring a second function control area on the first operation interface according to the mapping relation between the first function control area and the second function control area;
and executing target control operation corresponding to the control function on the first video program according to the control function of the second function control area.
Wherein the first function control area and the second function control area may have the same function.
As an example, assume that the first functional control area of the target video interface is a volume adjustment control area. And the electronic equipment acquires a volume adjusting control area on the operation interface of the video program B according to the mapping relation between the function control area of the target video interface and the function control area of the operation interface of the video program B so as to adjust the volume of the video program B.
In the embodiment of the invention, according to the control function of the second function control area mapped by the first function control area, the target control operation corresponding to the control function is executed on the first video program. The user can conveniently realize the function of the first video program through the first function control area.
Optionally, in one or more embodiments of the invention, the control function associated with the second area comprises video switching;
executing target control operation associated with a second function control area on a first video program corresponding to a first operation interface according to the mapping relation between the first function control area and the second function control area of the first operation interface, wherein the target control operation comprises the following steps:
acquiring a target video to be switched of a first video program;
and rendering the picture of the target video in the target video interface, and controlling a first video program running in a background to play the audio of the target video.
After the electronic equipment acquires the target video, image data and audio are analyzed from the target video, and the image data are sent to a display control of a target video interface, so that the display control renders a picture of the target video in the target video interface according to the image data of the target video. The electronic equipment sends the audio of the target video to the loudspeaker so that the loudspeaker plays the audio of the target video. Therefore, synchronous playing of the picture of the target video and the audio of the target video is realized.
In the embodiment of the invention, under the condition of switching to the target video, the target video of the video program running in the background is played through the target video interface by rendering the picture of the target video in the target video interface and playing the audio of the target video by the first video program running in the background. Therefore, under the condition that the user is familiar with the target video interface, the user can flexibly control a plurality of video programs.
Optionally, in one or more embodiments of the present invention, before step 101, the method for controlling operation of a video program further includes:
the electronic equipment establishes a mapping relation between at least one function control area of a first operation interface and at least one function control area of a target video interface;
wherein, the control functions associated with the two function control areas with the mapping relation are the same.
As an example, in a case where an input for establishing a mapping relationship is received, the electronic device determines, in response to the input, a first video program for which the mapping relationship is to be established; scanning a function control area on a first operation interface of a first video program, and acquiring information of the function control area on the first operation interface; and establishing a mapping relation between at least one function control area information of the first operation interface and at least one function control area information of the target video interface according to the information of the function control area on the first operation interface.
For example, referring to fig. 4, fig. 4 shows an operation interface 01 of the second video program, and the operation interface 01 includes a control area 04. And under the condition that the electronic equipment receives the input of the user to the control area 04, establishing a mapping relation between the function control area of the target video interface and the function control area of the currently displayed operation interface 01.
For another example, with continued reference to fig. 4, the operation interface 01 includes a control area 05, and in a case where the electronic device receives an input to the control area 05 by a user, a video program list is displayed. And under the condition that a first video program in the video program list is selected, establishing a mapping relation between the function control area of the target video interface and the function control area of the operation interface of the first video program.
The mapping between the function control area of the target video interface and the function control area of the first operation interface may exist in the form of a mapping relation table. The mapping relationship table may be as shown in table 1. Wherein for each function control region in the target video interface, the operating parameter ranges for each function control region are recorded in table 1. For the operation interface of the mapped video program, the coordinates, the size, the triggering mode and the operation parameter range of the function control area on the operation interface are recorded in table 1.
TABLE 1
Target video interface Interface for operation of a mapped video program
(function, operating parameter Range) (coordinates, size of dimensions,triggering mode, operating parameter Range)
For example, the specific mapping table is shown in table 2. In table 2, since there is no parameter in the play function control area, in the target video interface, the operation parameter range of the play function control area is NULL (NULL), the coordinate of the play function control area in the operation interface of the mapped video program is (950,1000), the size of the play function control area in the operation interface is (25,30), 25 may indicate the size of the play function control area in the first direction, and 30 may indicate the size of the play function control area in the second direction. The user may click on the play function control area to trigger the play function.
Under the condition that the operating parameter ranges of the first function control area of the target video interface and the second function control area in the operating interface of the video program are not empty, the target operating amplitude can be calculated according to the proportional relation between the operating parameter range of the first function control area and the operating parameter range of the second function control area, and therefore the real purpose of user operation can be calculated. And executing target control operation associated with the second function control area on the first video program corresponding to the first operation interface according to the target operation amplitude. For example, the electronic device generates a target operation event according to the function of the second function control area, and sends the target operation event and the target operation amplitude to the first video program, so that the first video program executes the target operation event according to the target operation amplitude, thereby implementing the target control operation on the first video program.
For example, for the volume adjustment control area, the level can be adjusted to 0-10 in the target video interface, so the operation parameter range is 0-10. In the operation interface of the mapped video program, the coordinate of the volume adjustment control area is (1900,500), the size of the volume adjustment control area in the operation interface is (30,500), 30 can represent the size of the volume adjustment control area in the first direction, and 30 can represent the size of the volume adjustment control area in the second direction. The user can trigger the volume adjustment function by sliding on the volume adjustment control area, and the operation parameter range of the volume adjustment control area is 0-100 levels in the operation interface of the mapped video program.
Therefore, the operating parameter range of the volume adjusting control area in the target video interface is 0-10 levels, and the operating parameter range of the volume adjusting control area in the mapped video program operating interface is 0-100 levels. If the user operates the volume bar on the target video interface with a magnitude of 2, the magnitude corresponding to the operation of the volume bar on the operation interface of the mapped video program is 20.
TABLE 2
In the embodiment of the invention, the mapping relation between at least one function control area of the first operation interface and at least one function control area of the target video interface is established, so that the operation interfaces of different video programs can be mapped into one target video interface. Therefore, the user can operate one target video interface, and can operate and control different video programs.
Optionally, in one or more embodiments of the present invention, before receiving a first input of a user to a first function control region of a target video interface, the operation control method of the video program further includes:
the electronic equipment acquires a random character string;
the electronic equipment acquires a target character string matched with the random character string in at least one character string associated with the N video programs;
the electronic equipment determines a video program corresponding to the target character string as a first video program; wherein N is a positive integer.
Optionally, the N video programs satisfy: the function control area of the target video interface is respectively mapped with the function control area of the operation interface of each video program in the N video programs.
Optionally, before the obtaining of the random character string, the operation control method of the video program may further include: the electronic device generates a character string for each of the N video programs in advance, and thereby N character strings are generated together. After the random character string is acquired, a target character string matching the random character string is acquired in the N character strings, so that the video program corresponding to the target character string is determined as the first video program. Wherein, the target character string matched with the random character string comprises: and the target character string closest to the random character string.
For example, a character string 001 is generated for the video program a, a character string 002 is generated for the video program B, and a character string 003 is generated for the video program C. And in the case that the random character string is 002, taking the video program B corresponding to the character string 002 as the first video program to be switched.
Optionally, before the obtaining of the random character string, the operation control method of the video program may further include: in the case that the target video interface includes an identifier (the identifier may be an icon of the video program) for indicating the video program, the electronic device receives a selection input of the identifier by a user, and in response to the selection input, takes the video program indicated by the selected identifier as the N video programs. Therefore, the user can click the mark in turn, so that the video program indicated by the mark is added to the range of the random switching video.
For example, referring to fig. 5, the electronic device displays a target video interface 03, and the target video interface 03 may include a program icon 06-1 and a program icon 06-2. The electronic device establishes a mapping relationship between a function control area of an operation interface of the video program a and a function control area of the target video interface 03, and establishes a mapping relationship between a function control area of an operation interface of the video program B and a function control area of the target video interface 03.
In this case, the electronic apparatus receives user input for the program icon 06-1 and the program icon 06-2, respectively, and in response to the input, displays the indicator 07 on the program icon 06-1 and the program icon 06-2, respectively, the indicator 07 indicating that the video program a corresponding to the program icon 06-1 and the video program B corresponding to the program icon 06-2 are in the selected state, and also indicating that the range of the current video switching includes the video program a and the video program B. The video program a and the video program B are the above-mentioned N video programs. Thus, in the case where the electronic apparatus receives an input of switching video, the video can be randomly switched between the video program a and the video program B.
Optionally, with continued reference to fig. 5, the target video interface 03 may further include a control area 08, and in a case where the electronic device receives an input to the control area 08, the electronic device starts a function of randomly switching videos, so that the user may perform a selected operation on the program icon 06-1 and the program icon 06-2.
In the embodiment of the invention, the operation of the target video interface by the user can be mapped to the operation interfaces of different video programs randomly, and the videos of different video programs are rendered to the target video interface. Therefore, the user can acquire resources of a plurality of video programs in one target video interface. And the function of video random switching is realized.
Optionally, in one or more embodiments of the present invention, before receiving a first input of a user to a first function control region of a target video interface, the operation control method of the video program further includes:
displaying M identifiers on a target video interface, wherein each identifier indicates an application program;
receiving a second input of a user to a target identifier in the M identifiers;
in response to a second input, determining the video program indicated by the target identifier as the first video program; wherein M is a positive integer.
For example, referring to fig. 6, the electronic device displays a target video interface 03, and the target video interface 03 may include a program icon 06-1 and a program icon 06-2. The electronic device establishes a mapping relationship between a function control area of an operation interface of the video program a and a function control area of the target video interface 03, and establishes a mapping relationship between a function control area of an operation interface of the video program B and a function control area of the target video interface 03. Program icon 06-1 and program icon 06-2 are the M indicia described above.
In this case, the electronic device receives a second input to the program icons 06-1 by the user, respectively, and displays an indicator 07 on the program icon 06-1 in response to the second input, the indicator 07 indicating that the video program a corresponding to the program icon 06-1 is in the selected state. The video program a is the video program indicated by the target identifier. Thus, in the case where the electronic apparatus receives an input of a switch video, it switches to the video of the video program a.
In the embodiment of the invention, the user can select the video program to be played on the target video interface according to the use requirement of the user, so that the selection of the user on the video program is met.
Fig. 7 is a flowchart illustrating an operation control method of a video program according to another embodiment of the present invention. As shown in fig. 7, the operation control method of the video program is applied to an electronic device, and includes:
step 201, the electronic device establishes a mapping relationship between at least one function control area of the first operation interface and at least one function control area of the target video interface, wherein the control functions associated with the two function control areas having the mapping relationship are the same.
The method comprises the steps that when the electronic equipment determines that an operation interface of a video program to be mapped is a first operation interface, at least one function control area of the first operation interface is scanned, and information of the at least one function control area of the first operation interface is obtained, wherein the information comprises coordinates, size, triggering mode and operation parameter range. And matching the function of the function control area of the first operation interface with the function of the function control area of the target video interface, and establishing a mapping relation between the function control area of the first operation interface and the function control area of the target video interface.
Step 202, the electronic device displays a target video interface.
Optionally, before step 202, the method for controlling the operation of the video program may further include: in the case of displaying the operation interface of the second video program, the electronic device receives an input to the operation interface of the second video program, and in response to the input, displays the target video interface. The target video interface is an interface having at least one function control area identical to the operation interface of the second video program.
In step 203, the electronic device receives a first input of a user to a first function control area of the target video interface.
And step 204, in response to the first input, the electronic device acquires a second function control area mapped with the first function control area on the first operation interface according to the mapping relationship established in the step 201.
Optionally, before acquiring the second function control area mapped with the first function control area on the first operation interface according to the mapping relationship established in step 201, the operation control method of the video program may further include:
the electronic equipment acquires a random character string;
the electronic equipment acquires a target character string matched with the random character string in at least one character string associated with the N video programs;
the electronic equipment determines a video program corresponding to the target character string as a first video program; wherein N is a positive integer.
Optionally, before acquiring the second function control area mapped with the first function control area on the first operation interface according to the mapping relationship established in step 201, the operation control method of the video program may further include:
the electronic equipment displays M identifications on a target video interface, wherein each identification indicates an application program;
the electronic equipment receives second input of a user to a target identifier in the M identifiers;
the electronic equipment responds to a second input, and determines the video program indicated by the target identification as a first video program; wherein M is a positive integer.
In step 205, the electronic device executes a target control operation corresponding to the control function on the first video program according to the control function of the second function control area.
Wherein, in case that the control function associated with the second area includes video switching, step 205 includes: acquiring a target video to be switched of a first video program; and rendering the picture of the target video in the target video interface, and controlling a first video program running in a background to play the audio of the target video.
In the embodiment of the present invention, through a mapping relationship between the function control area of the target video interface and the function control area of the first operation interface, a second function control area mapped with the first function control area can be obtained on the first operation interface, and the first video program corresponding to the first operation interface is controlled according to the second function control area. In this case, the function control on the operation interface of the video program is mapped into the target video interface, and the user can realize the operation control on different video programs by operating the target video interface. Therefore, the user can operate the video program by using the familiar target video interface, so that the user can operate the video program more conveniently and flexibly without switching back and forth between the video programs. The first video program can run in the background, so that the video program running in the background can be controlled by operating the target video interface by the user. No switching back and forth of the video program is required by the user. Moreover, the operation of the user on the target video interface can be mapped to the operation interfaces of different video programs at random, and the videos of the different video programs are rendered to the target video interface. Therefore, the user can acquire resources of a plurality of video programs in one target video interface. And the function of video random switching is realized.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 8, the electronic device 300 includes:
the first input receiving module 301 is configured to receive a first input of a user to a first function control area of a target video interface when the target video interface is displayed;
a first input response module 302, configured to respond to a first input, and according to a mapping relationship between a first function control region and a second function control region of a first operation interface, execute a target control operation associated with the second function control region on a first video program corresponding to the first operation interface; the target video interface is an interface having at least one function control area identical to the operation interface of the second video program.
In the embodiment of the present invention, through a mapping relationship between the function control area of the target video interface and the function control area of the first operation interface, a second function control area mapped with the first function control area can be obtained on the first operation interface, and the first video program corresponding to the first operation interface is controlled according to the second function control area. In this case, the function control on the operation interface of the video program is mapped into the target video interface, and the user can realize the operation control on different video programs by operating the target video interface. Therefore, the user can operate the video program by using the familiar target video interface, so that the user can operate the video program more conveniently and flexibly without switching back and forth between the video programs. The first video program can run in the background, so that the video program running in the background can be controlled by operating the target video interface by the user. No switching back and forth of the video program is required by the user.
Optionally, in one or more embodiments of the invention, the first input response module 302 includes:
the function control area acquisition module is used for acquiring a second function control area on the first operation interface according to the mapping relation between the first function control area and the second function control area;
and the control operation module is used for executing target control operation corresponding to the control function on the first video program according to the control function of the second function control area.
In the embodiment of the invention, according to the control function of the second function control area mapped by the first function control area, the target control operation corresponding to the control function is executed on the first video program. The user can conveniently realize the function of the first video program through the first function control area.
Optionally, in one or more embodiments of the invention, the control function associated with the second area comprises video switching;
the first input response module 302 includes: the method comprises the following steps:
the video acquisition module is used for acquiring a target video to be switched of the first video program;
and the video playing module is used for rendering the picture of the target video in the target video interface and controlling a first video program running in the background to play the audio of the target video.
In the embodiment of the invention, under the condition of switching to the target video, the target video of the video program running in the background is played through the target video interface by rendering the picture of the target video in the target video interface and playing the audio of the target video by the first video program running in the background. Therefore, under the condition that the user is familiar with the target video interface, the user can flexibly control a plurality of video programs.
Optionally, in one or more embodiments of the present invention, the electronic device 300 further includes:
the mapping relation establishing module is used for establishing a mapping relation between at least one function control area of the first operation interface and at least one function control area of the target video interface;
wherein, the control functions associated with the two function control areas with the mapping relation are the same.
In the embodiment of the invention, the mapping relation between at least one function control area of the first operation interface and at least one function control area of the target video interface is established, so that the operation interfaces of different video programs can be mapped into one target video interface. Therefore, the user can operate one target video interface, and can operate and control different video programs.
Optionally, in one or more embodiments of the present invention, the electronic device 300 further includes:
the random character string acquisition module is used for acquiring a random character string;
the matching character string acquisition module is used for acquiring a target character string matched with the random character string in at least one character string associated with the N video programs;
the video program determining module is used for determining the video program corresponding to the target character string as a first video program;
wherein N is a positive integer.
In the embodiment of the invention, the operation of the target video interface by the user can be mapped to the operation interfaces of different video programs randomly, and the videos of different video programs are rendered to the target video interface. Therefore, the user can acquire resources of a plurality of video programs in one target video interface. And the function of video random switching is realized.
Optionally, in one or more embodiments of the present invention, the electronic device 300 further includes:
the identification display module is used for displaying M identifications on the target video interface, and each identification indicates an application program;
the second input receiving module is used for receiving second input of a user to a target identifier in the M identifiers;
the second input response module is used for responding to the second input and determining the video program indicated by the target identification as the first video program;
wherein M is a positive integer.
In the embodiment of the invention, the user can select the video program to be played on the target video interface according to the use requirement of the user, so that the selection of the user on the video program is met.
Fig. 9 shows a schematic hardware structure diagram of an electronic device according to an embodiment of the present invention, where the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 404, input unit 304, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, in the case that the display unit 406 displays the target video interface, the user input unit 407 is configured to receive a first input of a user to a first function control area of the target video interface;
the processor 410 is configured to, in response to the first input, execute, according to a mapping relationship between the first function control region and a second function control region of the first operation interface, a target control operation associated with the second function control region on the first video program corresponding to the first operation interface; the target video interface is an interface having at least one function control area identical to the operation interface of the second video program.
In the embodiment of the present invention, through a mapping relationship between the function control area of the target video interface and the function control area of the first operation interface, a second function control area mapped with the first function control area can be obtained on the first operation interface, and the first video program corresponding to the first operation interface is controlled according to the second function control area. In this case, the function control on the operation interface of the video program is mapped into the target video interface, and the user can realize the operation control on different video programs by operating the target video interface. Therefore, the user can operate the video program by using the familiar target video interface, so that the user can operate the video program more conveniently and flexibly without switching back and forth between the video programs. The first video program can run in the background, so that the video program running in the background can be controlled by operating the target video interface by the user. No switching back and forth of the video program is required by the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 404 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 404 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 404 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 3041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 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, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 9, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 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 by at least one function (such as a sound playing function, an image playing function, etc.), 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 409 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 processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
An embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the operation control method embodiment of the video program, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the operation control method embodiment of the video program, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An operation control method of a video program, applied to an electronic device, the method comprising:
under the condition that a target video interface is displayed, receiving a first input of a user to a first function control area of the target video interface;
responding to the first input, and executing target control operation associated with a second function control area on a first video program corresponding to a first operation interface according to the mapping relation between the first function control area and the second function control area of the first operation interface; the target video interface is an interface with at least one function control area which is the same as the operation interface of the second video program;
wherein, the control functions associated with the two function control areas with the mapping relation are the same.
2. The method according to claim 1, wherein the performing, according to the mapping relationship between the first function control area and the second function control area of the first operation interface, the target control operation associated with the second function control area on the first video program corresponding to the first operation interface includes:
acquiring the second function control area on the first operation interface according to the mapping relation between the first function control area and the second function control area;
and executing the target control operation corresponding to the control function on the first video program according to the control function of the second function control area.
3. The method of claim 1, wherein the second-function control-zone-associated control function comprises a video switch;
the executing, according to the mapping relationship between the first function control area and the second function control area of the first operation interface, the target control operation associated with the second function control area on the first video program corresponding to the first operation interface includes:
acquiring a target video to be switched of the first video program;
and rendering the picture of the target video in the target video interface, and controlling the first video program running in the background to play the audio of the target video.
4. The method of claim 1, wherein prior to receiving the first input from the user into the first function control region of the target video interface, the method further comprises:
and establishing a mapping relation between at least one function control area of the first operation interface and at least one function control area of the target video interface.
5. The method of any of claims 1-4, wherein prior to receiving the first input by the user into the first function control region of the target video interface, the method further comprises:
acquiring a random character string;
acquiring a target character string matched with the random character string in at least one character string associated with N video programs;
determining a video program corresponding to the target character string as the first video program;
wherein N is a positive integer.
6. The method of any of claims 1-4, wherein prior to receiving a first input by a user to a first function control region of the target video interface, the method further comprises:
displaying M identifiers on the target video interface, wherein each identifier indicates an application program;
receiving a second input of a user to a target identifier in the M identifiers;
in response to the second input, determining the video program indicated by the target identification as the first video program;
wherein M is a positive integer.
7. An electronic device, comprising:
the first input receiving module is used for receiving first input of a user to a first function control area of a target video interface under the condition that the target video interface is displayed;
the first input response module is used for responding to the first input and executing target control operation related to a second function control area on a first video program corresponding to a first operation interface according to the mapping relation between the first function control area and the second function control area of the first operation interface; the target video interface is an interface with at least one function control area which is the same as the operation interface of the second video program;
wherein, the control functions associated with the two function control areas with the mapping relation are the same.
8. The electronic device of claim 7, wherein the first input response module comprises:
a function control area obtaining module, configured to obtain the second function control area on the first operation interface according to a mapping relationship between the first function control area and the second function control area;
and the control operation module is used for executing the target control operation corresponding to the control function on the first video program according to the control function of the second function control area.
9. An electronic device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the operation control method of a video program according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the operation control method of a video program according to any one of claims 1 to 6.
CN201911360481.6A 2019-12-25 2019-12-25 Video program operation control method, electronic device, and storage medium Active CN111061407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911360481.6A CN111061407B (en) 2019-12-25 2019-12-25 Video program operation control method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911360481.6A CN111061407B (en) 2019-12-25 2019-12-25 Video program operation control method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN111061407A CN111061407A (en) 2020-04-24
CN111061407B true CN111061407B (en) 2021-08-10

Family

ID=70303638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911360481.6A Active CN111061407B (en) 2019-12-25 2019-12-25 Video program operation control method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN111061407B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112147964A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Device management method, device, electronic device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656672A (en) * 2017-09-29 2018-02-02 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN109151546A (en) * 2018-08-28 2019-01-04 维沃移动通信有限公司 A kind of method for processing video frequency, terminal and computer readable storage medium
CN110457082A (en) * 2018-05-07 2019-11-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control application program is registered

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279321A (en) * 2013-05-07 2013-09-04 青岛海信电器股份有限公司 Audio and video control device and audio and video control method
CN103686410A (en) * 2013-12-10 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and terminal for video playing
WO2018081290A1 (en) * 2016-10-25 2018-05-03 Aether, Inc. Video content switching and synchronization system and method for switching between multiple video formats
CN109040808B (en) * 2018-08-29 2021-09-14 努比亚技术有限公司 Video interaction regulation and control method, device and computer readable storage medium
CN109522060A (en) * 2018-10-16 2019-03-26 深圳壹账通智能科技有限公司 The restoring method and terminal device of business scenario
CN109618177B (en) * 2018-12-26 2020-02-28 北京微播视界科技有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN109756785A (en) * 2019-01-16 2019-05-14 上海哔哩哔哩科技有限公司 Video switches playback method, device and storage medium
CN110213661A (en) * 2019-06-26 2019-09-06 深圳市酷开网络科技有限公司 Control method, smart television and the computer readable storage medium of full video

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656672A (en) * 2017-09-29 2018-02-02 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN110457082A (en) * 2018-05-07 2019-11-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control application program is registered
CN109151546A (en) * 2018-08-28 2019-01-04 维沃移动通信有限公司 A kind of method for processing video frequency, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111061407A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109240577B (en) Screen capturing method and terminal
CN108174109B (en) Photographing method and mobile terminal
CN110209313B (en) Icon moving method and terminal equipment
CN109151367B (en) Video call method and terminal equipment
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN108196781B (en) Interface display method and mobile terminal
CN110012143B (en) Telephone receiver control method and terminal
CN110806832A (en) Parameter adjusting method and electronic equipment
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111443968A (en) Screenshot method and electronic equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111124706A (en) Application program sharing method and electronic equipment
CN111078186A (en) Playing method and electronic equipment
CN109597546B (en) Icon processing method and terminal equipment
CN109558046B (en) Information display method and terminal equipment
CN109062483B (en) Image processing method and terminal equipment
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN107734172B (en) Information display method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN111130995B (en) Image control method, electronic device, and storage medium

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
GR01 Patent grant
GR01 Patent grant