CN107277602B - Information acquisition method and electronic equipment - Google Patents
Information acquisition method and electronic equipment Download PDFInfo
- Publication number
- CN107277602B CN107277602B CN201710618976.9A CN201710618976A CN107277602B CN 107277602 B CN107277602 B CN 107277602B CN 201710618976 A CN201710618976 A CN 201710618976A CN 107277602 B CN107277602 B CN 107277602B
- Authority
- CN
- China
- Prior art keywords
- video
- information
- video playing
- condition
- playing
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4316—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
- H04N21/47205—End-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 for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4826—End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8173—End-user applications, e.g. Web browser, game
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides an information display method and electronic equipment, wherein if a user needs to acquire first information from a video played by a video playing interface, at least one operation meeting a condition needs to be executed on the video playing interface. In response to the at least one operation satisfying the condition, the user is enabled to copy the first information. The user does not need to capture the first information or manually input the first information, so that the time for acquiring the first information is saved, and the efficiency for acquiring the first information is improved.
Description
Technical Field
The present application relates to the field of video playing technologies, and in particular, to an information obtaining method and an electronic device.
Background
The user may need to view and acquire information shown in the video while watching the video, for example, the user may need to acquire text shown in the teaching video while watching the teaching video.
Disclosure of Invention
In view of this, the present invention provides an information obtaining method and an electronic device, so as to overcome the problem in the prior art that a user needs to obtain information shown in a video and only can manually obtain the information (for example, manually input the information shown in the video or a screenshot), which results in low information obtaining efficiency.
In order to achieve the purpose, the invention provides the following technical scheme:
an information acquisition method, comprising:
playing videos in at least partial areas of a video playing interface;
detecting at least one operation of the video playing interface, wherein the operation meets the condition;
copying the first information in response to the at least one operation satisfying the condition;
wherein the first information matches content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame.
Optionally, the playing the video in at least a partial region of the video playing interface includes: the video playing application plays a video in a playing mode;
the detecting at least one operation on the video playing interface which meets the condition; in response to the at least one operation satisfying the condition, copying the first information comprises:
detecting a mode switching operation meeting a first condition, and switching the video playing application to a copy mode, wherein in the copy mode, target information including first information can be displayed;
and copying the first information when a copying operation meeting a second condition is detected.
Optionally, the detecting a mode switching operation that meets the first condition, and switching the video playing application to the copy mode includes:
when detecting that the mode switching operation meets a first condition, acquiring the image content of at least one frame in the video played by the video playing application;
analyzing the image content to form an analysis result, wherein the analysis result is target information comprising the first information;
and displaying the target information.
Optionally, when the mode switching operation meeting the first condition is detected, the obtaining of the image content included in the video played by the video playing application includes:
when the operation on the selected area of the video playing interface is detected, the image content of the video in the selected area is obtained;
or the like, or, alternatively,
and when the mode switching operation meeting the first condition is detected, acquiring the image content corresponding to at least one frame of the video playing.
Optionally, the analyzing the image content to form an analysis result includes:
and identifying the image content to obtain target information of which the non-image information comprises first information.
Optionally, the analyzing the image content to form an analysis result includes:
and calling an auxiliary file corresponding to the image content, wherein the auxiliary file is target information including the first information.
Optionally, the displaying the target information includes:
switching a video playing area for playing the video contained in the video playing interface to a reproducible area contained in the video playing interface;
displaying the target information in the reproducible area;
or the like, or, alternatively,
displaying a reproducible information display window on the video playing interface;
and displaying the target information in the reproducible information display window.
An electronic device, comprising:
the playing module is used for playing videos in at least partial areas of the video playing interface;
the detection module is used for detecting at least one operation which meets the condition on the video playing interface;
a response module for copying the first information in response to the at least one operation satisfying the condition;
wherein the first information matches content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame.
An electronic device, comprising:
a memory for storing a program;
a display for playing a video;
a processor configured to execute the program, the program specifically configured to:
controlling the display to play videos in at least partial area of a video playing interface;
detecting at least one operation of the video playing interface, wherein the operation meets the condition;
copying the first information in response to the at least one operation satisfying the condition;
wherein the first information matches content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame.
Optionally, when the processor executes the video playing in at least a partial region of the video playing interface, the processor is specifically configured to:
the video playing application plays a video in a playing mode;
the processor is executing operation of detecting at least one condition which is met on the video playing interface; in response to the at least one operation satisfying the condition, when copying the first information, the method is specifically configured to:
detecting a mode switching operation meeting a first condition, and switching the video playing application to a copy mode, wherein in the copy mode, target information including first information can be displayed;
and copying the first information when a copying operation meeting a second condition is detected.
As can be seen from the foregoing technical solutions, compared with the prior art, the embodiment of the present invention provides an information display method, where if a user needs to obtain first information from a video played on a video playing interface, the user needs to perform at least one operation that satisfies a condition on the video playing interface, but the operation is not a screenshot operation; in response to the at least one operation satisfying the condition, the user is enabled to copy the first information. The user does not need to capture the first information or manually input the first information, so that the time for acquiring the first information is saved, and the efficiency for acquiring the first information is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an information obtaining method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a playback interface of a video playback application;
fig. 3 is a diagram illustrating a process of switching a video playing area and a displayable area by a scroll bar according to an embodiment of the present application;
fig. 4 is a flowchart of an implementation manner for switching the video playback application to the copy mode when detecting that the mode switching operation that satisfies the first condition is performed according to the embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is an internal structure diagram of an electronic device according to an embodiment of the present application.
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In the process of playing a video by using a video playing application program, a user may need to acquire a certain picture or a certain code or a certain text from the video; for example, in the process of viewing a code and explaining a video, a video playing application program plays an operation result of a certain section of code; if the user needs to run the segment of code in the computer of the user, the video needs to be paused, then the segment of code is manually input, and then the segment of code can be run; for another example, in the process of watching a video, a user needs to obtain a certain picture in the video, and the user can obtain the picture through a screenshot mode, but the picture obtained through the screenshot mode may only include a part of the picture or include other pictures besides the picture, if the user needs to only include the screenshot of the picture, the user needs to accurately intercept the picture, and the picture obtained through the screenshot is only a pattern in the picture and cannot obtain an original object of the picture, preferably, by using the information obtaining method provided by the present application, information copied from the video can be an original object for the user to copy; i.e., the information copied by the user can be viewed and edited in the application program corresponding to it, such as the application that generated this information when the original video was created. For example, the picture may be a layer object of a photoshop, and after the user copies the picture, the layer object may be edited in a photoshop application program; for another example, the picture may be a Visio image, and after the user copies the picture, the Visio image may be edited in a Visio application program, for example, to change the thickness of lines or characters in the Visio image.
At present, if a user needs to acquire information from a video, the information cannot be directly copied from the video, and only can be input by other methods, such as screenshot or manual input. Therefore, the embodiment of the application provides an information acquisition method, and the information acquisition method can enable a user to copy information required by the user through a video.
The information acquisition method provided by the embodiment of the application can be integrated in the video playing application program and can also be independently used as a plug-in of the video playing application program. The steps of the information acquisition method are specifically shown in fig. 1.
Step S101: and playing the video in at least partial area of the video playing interface.
The playing interfaces displayed in the terminal device by different video playing applications may be different, for example, the layouts of the interfaces are different; for example, it is assumed that the playing interface displayed by the video playing application includes: a video playing window 21, a video playing list 22, and a video recommendation window 23, as shown in fig. 2. Of course, the playing interface can also include only: a video playing window 21 and a video playing list 22, because there may be no video recommendation window 23 in the process of playing the video offline; or, the playing interface may also include only: the video play window 21 is not limited in comparison in the embodiment of the present application, and fig. 2 is only an example, because the video play list 22 can also be configured to be displayed or not displayed.
The video playing window 21 is used for playing a video; the video play list 22 is used for displaying information such as playable sets of videos played by the video play window 21; the video recommendation window 23 is used for showing videos which may be interesting to the user or popular videos; if the user selects a video from the video recommendation window 23, the video can be played in the video playing window 21.
The video playing interface provided by the embodiment of the present application may be an interface (for example, a playing interface) including the video playing window 21, or the video playing window 21.
If the video playing interface is an interface including the video playing window 21, the phrase "playing video in at least a partial region" refers to that the video playing window 21 plays video, or at least a partial region (for example, a video playing region) in the video playing window 21 plays video.
If the video playing interface is the video playing window 21, "playing video in at least partial region" means that video is played in at least partial region, such as video playing region, in the video playing window 21).
Step S102: detecting at least one operation of the video playing interface which meets the condition.
If the user finds the first information which needs to be copied in the process of watching the video, the user needs to execute at least one operation meeting the condition on the video playing interface.
The "at least one operation satisfying the condition" may include: and showing the operation of copying target information including the first information, which can be copied by the user, and the operation of copying the first information.
Step S103: in response to the at least one operation satisfying a condition, the first information is copied.
Wherein the first information matches content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame.
It is understood that video is made up of a plurality of static video frames. The first information matches content of at least one video frame in the video. The first information is not image information or partial image information of at least one video frame, and means that the first information is not a partial or full screenshot of at least one video frame.
The first information may be an image or information such as text or codes, but the image is not obtained by means of a screenshot.
In a preferred embodiment, the video is generated or recorded during use of a target application in the recording device; the copied first information can be pasted in at least the target application program or the application program of the same type in the local electronic device executing step S101 to step S103.
The same type of application refers to the same type of application as the target application, for example, a word application, a txt application, and a WPS application are the same type of application.
The following description will be given by way of example of a process in which "a video is generated or recorded during use of a target application in a recording apparatus".
The video may comprise an edited video of the image, for example, a video edited by photoshop and/or a video edited by an image editing application such as Visio/ai (adobe electroluminescence editor); the video may also include code-run video, such as video running code using Visual C + +.
If the video is a recorded photoshop teaching process video, the first information may be a layer object of the photoshop, namely, the target application program is a photoshop application program; the first information copied by the user is not a screenshot, but a layer object which can be pasted to the photoshop application program and edited in the photoshop application program; if the video is a teaching video of a recorded image editing application program such as Visio/ai (adobeillustrator illustrator), the first information may be an object of the image editing application program such as Visio/ai (adobeillustrator); the first information copied by the user in the electronic device is an object that can be pasted to an image editing application program such as Visio/ai (adobe enterprise editor).
The recording device is an electronic device for video generation or recording.
In summary, the first information copied by the embodiment of the present application is an editable original object.
The video referred to in the embodiments of the present application may be entertainment video, such as a movie, or a tv show, or a variety program, or music, or an advertisement, etc.; the teaching video can also be teaching video, such as photoshop teaching video, or teaching video of image editing application program such as Visio/AI (Adobelldustor illustrator), or teaching video of video generation application program, or programming teaching video.
In the information obtaining method provided by the embodiment of the application, if a user needs to obtain first information from a video played by a video playing interface, at least one operation meeting a condition needs to be executed on the video playing interface, but the operation is not a screenshot operation. So that the user may copy the first information in response to the at least one operation satisfying the condition. The user does not need to capture the first information or manually input the first information, so that the time for acquiring the first information is saved, and the efficiency for acquiring the first information is improved.
The following operation of detecting that at least one condition is met on the video playing interface; copying the first information "in response to the at least one operation satisfying the condition.
The "at least one operation satisfying the condition" may include a mode switching operation satisfying a first condition; and a copy operation satisfying a second condition.
And when detecting a mode switching operation meeting a first condition, switching the video playing application to a copy mode, wherein in the copy mode, target information comprising first information can be displayed.
And copying the first information when a copying operation meeting a second condition is detected.
The mode switching operation that satisfies the first condition may have a plurality of implementation manners, and the embodiments of the present application provide, but are not limited to, the following:
firstly, when detecting that a mode switching button is touched and pressed, determining that the mode switching operation meeting a first condition is detected.
The video playing interface may include a mode switching button, and the user may perform a mode switching operation satisfying the first condition by touching and pressing the mode switching button.
Optionally, a mode switching function may be added to a button included in the current video playing interface, so that the existing button has the mode switching function. For example, a mode switching function may be added to the pause and play key, for example, double clicking the pause and play key is to perform a mode switching operation satisfying the first condition, and clicking the pause and play key may be a play operation or a pause operation.
Or, a new mode switching button is added in the video playing interface.
For example, when a video playing window 21 in the video playing interface currently plays a video, and a user clicks a mode switching button, the content in the video frame displayed by the video playing window 21 in the video playing interface is reproducible information. That is, the user can directly select the content from the video frame and copy the content; or, a video playing window 21 in the video playing interface is switched from a video playing area to a reproducible area, the video playing area is used for playing a video, and the reproducible area is used for displaying target information including first information, which can be copied by a user; or, other areas in the video playing interface show the reproducible area; or, a new reproducible information display window is popped up in the video playing interface, and the new reproducible information display window can display the target information including the first information.
Secondly, when the preset mode switching gesture is detected, the mode switching operation meeting the first condition is determined to be detected.
For example, a video playing window 21 in the video playing interface is currently playing a video, and after the user performs the preset mode switching gesture, the content in the video frame displayed by the video playing window 21 in the video playing interface is the reproducible information. That is, the user can directly select the content from the video frame and copy the content; or, a video playing window 21 in the video playing interface is switched from a video playing area to a reproducible area, the video playing area is used for playing a video, and the reproducible area is used for displaying target information including first information, which can be copied by a user; or, other areas in the video playing interface show the reproducible area; or, a new reproducible information display window is popped up in the video playing interface, and the new reproducible information display window can display the target information including the first information.
Thirdly, when the scroll bar is detected to be scrolled, the mode switching operation meeting the first condition is determined to be detected.
The video playing interface or the video playing window 21 may have a scroll bar that scrolls up and down or left and right, and the user may perform the mode switching operation that satisfies the first condition by scrolling the scroll bar.
The video playing area and the displayable area are located in the same canvas, that is, the video playing area can be scrolled to the displayable area by means of scrolling the scroll bar.
Preferably, the video playing area and the displayable area are located in the video playing window 21.
Fig. 3 is a diagram illustrating a process of switching between a video playing area and a displayable area by a scroll bar according to an embodiment of the present application.
Fig. 3 illustrates an example in which the video playing area and the displayable area are located in the video playing window 21.
Assuming that the scroll bar is scrolled up and down, a partial image of the video play area 31 and a partial information of the displayable area 32 can be displayed at the current position of the scroll bar. If the target information including the first information in the displayable region 32 needs to be displayed in its entirety, the scroll bar may be slid down.
The copy operation satisfying the second condition may mean that the user selects the first information that the user needs to copy from the exposable area and performs the copy operation. The copy operation may refer to clicking a copy button or clicking a shortcut key or a preset gesture.
And fourthly, when the operation on the selected area of the video playing interface is detected, determining that the mode switching operation meeting the first condition is detected.
Still taking fig. 2 as an example, if the first information that the user needs to obtain is a code displayed in a projection screen of the projector, the user may define the selected area in the video playing interface. The shape of the selected area may be arbitrary and is shown in fig. 2 by a rectangular dashed box.
Based on the above four modes, "copy operation satisfying the second condition" will be described.
The copy operation satisfying the second condition may be a click of a copy button or a click of a copy shortcut or a preset copy gesture.
Optionally, in the fourth implementation, the operation of the user delineating the selected area includes: the method comprises the operation of indicating that the first information is located in the area of the video playing interface, and the operation of indicating that the user has the copying requirement, namely the process of the user defining the selected area, the mode switching operation meeting the first condition and the copying operation meeting the second condition can be simultaneously realized.
In the above four methods, after detecting the mode switching operation satisfying the first condition, the video playback application may be switched to the copy mode. The video may or may not be paused during the handoff.
In an application scenario, if a user needs to acquire first information in a video frame in a video. For example, the code in fig. 2, in order to avoid that the video no longer shows the code during the process of continuing playing, it is preferable that the video playing is paused, so that the video playing interface shows the video frame containing the first information.
Preferably, the mode switching operation satisfying the first condition includes: an operation of switching to the copy mode by the video playback application, and an operation of pausing the video playback. Namely, when the mode switching operation meeting the first condition is detected, the video playing application is switched to the copy mode, and the video playing is paused.
Or the user firstly pauses the video playing and then executes the mode switching operation meeting the first condition.
In another application scenario, if a user needs to obtain first information corresponding to at least two video frames in a video, the video may not be paused, for example, if the user needs to view reproducible information corresponding to a part of or the entire video, the video may not be paused, so that the video playing application is always switched to a copy mode, and the reproducible target information is always viewed in the copy mode.
In another application scenario, in order not to affect the user to continue watching the video, the target information corresponding to the playing content at the switching time may be displayed in an additional window, so that the video playing is not affected.
After the mode switching operation is performed, the target information including the first information may be displayed, and a manner of displaying the target information is described below.
The first method comprises the following steps: the video playing interface comprises a reproducible area, and the target information is displayed in the reproducible area.
The video playing interface may further include a reproducible region in addition to the video playing window 21, the video playing list 22 and the video recommendation window 23, and the reproducible region may be a reproducible information display window in the video playing interface.
Preferably, the reproducible information displaying window can call an application program corresponding to the target information, open the application program in the reproducible information displaying window, and display the target information on the application program. For example, if the target information is an image layer object of a photoshop, the reproducible information presentation window may call a photoshop application program, and present the image layer object in the photoshop application program.
The triggering of the reproducible information presentation window may be performed in a first manner, a second manner, a third manner, or a fourth manner of mode switching operation.
And the second method comprises the following steps: the video playback window 21 includes a video playback area where a video is played back and a reproducible area where target information is displayed.
The video playing area and the reproducible area in the video playing window 21 can be switched by the first mode, the second mode, or the third mode in the mode switching operation.
And the third is that: and calling a new reproducible information display window on the video playing interface, wherein the reproducible information display window can be called in a first mode, a second mode, a third mode or a fourth mode in mode switching operation.
Preferably, the user can move the position of the reproducible information presentation window.
Preferably, the reproducible information displaying window can call an application program corresponding to the target information, open the application program in the reproducible information displaying window, and display the target information on the application program. For example, if the target information is an image layer object of a photoshop, the reproducible information presentation window may call a photoshop application program, and present the image layer object in the photoshop application program.
With reference to the above, an implementation manner of switching the video playback application to the copy mode by detecting that the mode switching operation satisfies the first condition, which is provided in the embodiment of the present application, is described below, and is specifically shown in fig. 4.
Step S401: and when the mode switching operation meeting the first condition is detected, acquiring the image content of at least one frame in the video played by the video playing application.
If the current video is paused, optionally, acquiring the image content of the currently displayed video frame;
if the current video is not paused, optionally, the image content of the video frame included from the time of the mode switching operation of the first condition to the second time is acquired.
The second time may be a time when the user switches from the copy mode to the video playback mode, or a second time when the time of the mode switching operation in which the first condition is detected is delayed by a preset time.
If the current video is not paused, optionally, image content corresponding to the video at the moment when the video playing application is switched to the copy mode is obtained.
Step S402: and analyzing the image content to form an analysis result, wherein the analysis result is target information comprising the first information.
The following describes in detail a specific implementation manner of step S402, and the embodiments of the present application provide, but are not limited to, the following:
the first method comprises the following steps: if the "mode switching operation satisfying the first condition" is the first implementation manner, the second implementation manner, or the third implementation manner, the "analyzing the image content to form an analysis result" may include: and calling an auxiliary file corresponding to the image content, wherein the auxiliary file is target information including the first information.
Specifically, the corresponding auxiliary file may be called by using a time identifier that the image content is located in the video (for example, located in the minutes and seconds of the video or located in the video frame), specifically:
and acquiring the auxiliary file corresponding to the time identifier of the image content in the video according to the preset corresponding relation between the time identifier and the auxiliary file.
The video may include one or more auxiliary files.
And the second method comprises the following steps: if the "mode switching operation satisfying the first condition" is the fourth implementation manner, the "analyzing the image content to form an analysis result" may include: and acquiring the image content of the video in the selected area.
If the video is in a pause state, the image content in the selected area is the image content of a video frame in the selected area; if the video is in the playing state, the image content of the selected area is the image content of the selected area where the plurality of video frames are located, and although the position of the selected area on the video playing interface is the same, the content of different video frames in the selected area is different, so that when the video is in the playing state, the image content may be multiple. Taking fig. 2 as an example, assuming that the position shown by the dashed line box in fig. 2 is always the position of the projection screen of the projector, and the user needs to copy all the codes displayed on the projection screen, the user may select the area of the projection screen instead of pausing the video.
Optionally, the time identifier of the video frame and the identifier of the file in which the content contained in the video frame is located (the identifier of the file may be a storage path or a file name of the file) may be preset, and the content contained in each position of the video frame is in a specific position of the corresponding file. At this time, "analyzing the image content to form an analysis result" includes:
determining the position information of the selected area in a video frame and the time identification of the video frame (for distinguishing from the time identification, the time identification can be called as a first time identification); wherein the first time identifier is used for indicating an identifier of a first file in which content contained in the video frame is located, and the position information is used for indicating a first position of first information contained in the image content defined by the selected area in the first file;
and acquiring the first information from the first position in the first file based on the time identification and the position information.
And the third is that: if the mode switching operation satisfying the first condition "is the first implementation manner, the second implementation manner, the third implementation manner, or the fourth implementation manner," analyzing the image content, and forming an analysis result "may further include:
and identifying the image content to obtain target information of which the non-image information comprises first information.
After the selected area is defined, the defined image can be analyzed and identified, an application program to which the image belongs is obtained according to the analysis and identification result, the application program is started, and an editable object corresponding to the image is created in the application program.
The "creation of an editable object corresponding to the image in the application" means that an object including content in the image is created in the application, and a user of the content in the image can perform editing operations such as copying, changing fonts, and changing line thickness.
For example, if the image includes text such as characters and/or numbers and/or words, the text in the image can be obtained after the image is analyzed and recognized; since the analysis Recognition result includes text, the application program to which the image belongs may be an OCR (optical character Recognition) text Recognition application program, the OCR text Recognition application program is started, and a text object corresponding to the image is created in the OCR text Recognition application program, and the user can edit the text in the OCR text Recognition application program.
For another example, the image includes a flow chart or a signaling chart or a block diagram or a picture, and the application program to which the image belongs can be determined according to the type of the image; if the image comprises the flow chart or the signaling chart or the block diagram, the application program to which the image belongs can be a Visio application program, at this time, the Visio application program can be started, the flow chart or the signaling chart or the block diagram can be created in the Visio application program, and a user can edit the flow chart or the signaling chart or the block diagram in the Visio application program; if the image comprises a picture, the application program to which the image belongs can be a photoshop application program; at this time, a photoshop application program can be started, and an image layer object corresponding to the picture is created in the photoshop application program.
Preferably, the application program to which the image belongs refers to a target application program used by a recording device in the recording generation process of the image.
Optionally, the application to which the image belongs may be determined by a user, for example, after the image is analyzed and identified, one or more applications that can create the image are displayed so that the user can select the application, the application selected by the user is started, and an object corresponding to the image is created in the application.
Optionally, if the video frame to which the image belongs includes a short name or a full name of a target application program used by the recording device in the recording generation process of the image or a mark capable of identifying the target application program; the application program to which the image belongs can be determined according to the analysis and identification results of the image and the video frame to which the image belongs.
In the first and second implementation manners of "analyzing the image content to form an analysis result", a video and a file need to be bound together, and if a user downloads the video, the corresponding file is downloaded at the same time; if the user watches the video online, the file is also buffered while the video is buffered.
By adopting the first and second implementation modes, not only the first information displayed in the video frame can be acquired, but also the target information of the file where the first information is located can be acquired. For example, only a part of codes (the part of codes are first information) are displayed in a video, and in the process that a user runs the codes in a computer of the user, all the codes (all the codes can be target information contained in a first file where the first information is located) can be run. Otherwise, even if the user can manually input a part of the code shown in the video by himself, the code cannot be run due to the lack of other codes.
Step S403: and displaying the target information.
Target information can be displayed in a new reproducible information display window popped up in a video playing interface; target information can also be displayed in a reproducible area contained in the video playing interface.
An embodiment of the present application further provides an electronic device including a virtual device corresponding to the information acquisition method, as shown in fig. 5, which is a structural diagram of the electronic device provided in the embodiment of the present application, and the electronic device includes:
the playing module 51 is configured to play a video in at least a partial region of a video playing interface;
a detection module 52, configured to detect at least one operation on the video playing interface that satisfies a condition;
a response module 53, configured to copy the first information in response to the at least one operation satisfying the condition;
wherein the first information matches content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame.
Optionally, the playing module includes:
the playing unit is used for playing the video by the video playing application in a playing mode;
a detection module comprising: a first detection unit configured to detect a mode switching operation that satisfies a first condition; and a second detection unit configured to detect a copy operation satisfying a second condition;
accordingly, a response module, comprising: the switching unit is used for switching the video playing application to a copy mode when the first detection unit detects that the mode switching operation meeting the first condition is met, wherein in the copy mode, target information comprising first information can be displayed; a copying unit configured to copy the first information when the second detecting unit detects a copying operation satisfying a second condition.
Optionally, the switching unit includes:
the acquisition subunit is configured to acquire image content of at least one frame in a video played by the video playing application when the first detection unit detects that the mode switching operation satisfies the first condition;
the analysis subunit is used for analyzing the image content to form an analysis result, wherein the analysis result is target information including the first information;
and the display subunit is used for displaying the target information.
Optionally, the obtaining subunit includes:
the first obtaining submodule is used for obtaining the image content of the video in the selected area when the operation on the selected area of the video playing interface is detected;
or the like, or, alternatively,
and the second obtaining submodule is used for obtaining image content corresponding to at least one frame of the video playing when the mode switching operation meeting the first condition is detected.
Optionally, the analysis subunit includes:
and the third acquisition submodule is used for identifying the image content and acquiring target information of which the non-image information comprises the first information.
Optionally, the analysis subunit includes:
and the calling submodule is used for calling an auxiliary file corresponding to the image content, wherein the auxiliary file is target information including the first information.
Optionally, the display subunit includes:
the switching submodule is used for switching a video playing area, contained in the video playing interface, for playing the video to a reproducible area contained in the video playing interface;
the first display submodule is used for displaying the target information in the reproducible area;
or the like, or, alternatively,
the second display submodule is used for displaying a reproducible information display window on the video playing interface;
and the third display sub-module is used for displaying the target information in the reproducible information display window.
An embodiment of the present application further provides an internal structure of an electronic device, as shown in fig. 6, which is an internal structure diagram of the electronic device provided in the embodiment of the present application, and the electronic device includes:
a memory 61 for storing a program;
the program may include program code including computer operating instructions.
The memory 61 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
A display 62 for playing video;
a processor 63 configured to execute the program, the program being specifically configured to:
controlling the display to play videos in at least partial area of a video playing interface;
detecting at least one operation of the video playing interface, wherein the operation meets the condition;
copying the first information in response to the at least one operation satisfying the condition;
wherein the first information matches content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame.
The processor 63 may be a central processing unit CPU or an application specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention.
The electronic device may further comprise a communication interface 64 and a communication bus 65, wherein the memory 61, the display 62, the processor 63 and the communication interface 64 are in communication with each other via the communication bus 65.
Optionally, when the processor executes the video playing in at least a partial region of the video playing interface, the processor is specifically configured to:
the video playing application plays a video in a playing mode;
the processor is executing operation of detecting at least one condition which is met on the video playing interface; in response to the at least one operation satisfying the condition, when copying the first information, the method is specifically configured to:
detecting a mode switching operation meeting a first condition, and switching the video playing application to a copy mode, wherein in the copy mode, target information including first information can be displayed;
and copying the first information when a copying operation meeting a second condition is detected.
Optionally, the processor, when executing a mode switching operation that detects that a first condition is satisfied and switching the video playing application to the copy mode, is specifically configured to:
when detecting that the mode switching operation meets a first condition, acquiring the image content of at least one frame in the video played by the video playing application;
analyzing the image content to form an analysis result, wherein the analysis result is target information comprising the first information;
and displaying the target information.
Optionally, when the processor executes a mode switching operation that detects that the first condition is satisfied, and acquires image content included in a video played by the video playing application, the processor is specifically configured to:
when the operation on the selected area of the video playing interface is detected, the image content of the video in the selected area is obtained;
or the like, or, alternatively,
and when the mode switching operation meeting the first condition is detected, acquiring the image content corresponding to at least one frame of the video playing.
Optionally, the processor is specifically configured to, when performing analysis on the image content to form an analysis result:
and identifying the image content to obtain target information of which the non-image information comprises first information.
Optionally, the processor is specifically configured to, when performing analysis on the image content to form an analysis result:
and calling an auxiliary file corresponding to the image content, wherein the auxiliary file is target information including the first information.
Optionally, when the processor performs displaying the target information, the processor is specifically configured to:
switching a video playing area for playing the video contained in the video playing interface to a reproducible area contained in the video playing interface;
displaying the target information in the reproducible area;
or the like, or, alternatively,
displaying a reproducible information display window on the video playing interface;
and displaying the target information in the reproducible information display window.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (9)
1. An information acquisition method, comprising:
playing videos in at least partial areas of a video playing interface;
detecting at least one operation of the video playing interface, wherein the operation meets the condition;
copying the first information in response to the at least one operation satisfying the condition;
wherein the first information matches the content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame;
the detecting at least one operation on the video playing interface which meets the condition; in response to the at least one operation satisfying the condition, copying the first information comprises:
detecting a mode switching operation meeting a first condition, and switching a video playing application to a copy mode, wherein in the copy mode, target information including first information can be displayed;
detecting a copy operation meeting a second condition, and copying the first information;
wherein the displaying the target information comprises:
the content in the video frame displayed by the video playing window in the video playing interface is reproducible target information so as to directly select and copy the content from the video frame;
or, switching a video playing area for playing the video contained in the video playing interface to a reproducible area contained in the video playing interface;
and displaying the target information in the reproducible area.
2. The information acquisition method according to claim 1,
the playing the video in at least a partial area of the video playing interface comprises: the video playing application plays the video in a play mode.
3. The information acquisition method according to claim 1, wherein the detecting of the mode switching operation that satisfies the first condition, the switching the video playback application to the copy mode includes:
when detecting that the mode switching operation meets a first condition, acquiring the image content of at least one frame in the video played by the video playing application;
analyzing the image content to form an analysis result, wherein the analysis result is target information comprising the first information;
and displaying the target information.
4. The information acquisition method according to claim 3, wherein the acquiring, when the mode switching operation that satisfies the first condition is detected, image content included in the video played by the video playing application comprises:
when the operation on the selected area of the video playing interface is detected, the image content of the video in the selected area is obtained;
or the like, or, alternatively,
and when the mode switching operation meeting the first condition is detected, acquiring the image content corresponding to at least one frame of the video playing.
5. The information acquisition method according to claim 3 or 4, wherein said analyzing the image content to form an analysis result comprises:
and identifying the image content to obtain target information of which the non-image information comprises first information.
6. The information acquisition method according to claim 3 or 4, wherein said analyzing the image content to form an analysis result comprises:
and calling an auxiliary file corresponding to the image content, wherein the auxiliary file is target information including the first information.
7. An electronic device, comprising:
the playing module is used for playing videos in at least partial areas of the video playing interface;
the detection module is used for detecting at least one operation which meets the condition on the video playing interface;
a response module for copying the first information in response to the at least one operation satisfying the condition;
wherein the first information matches the content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame;
the detection module comprises: a first detection unit configured to detect a mode switching operation that satisfies a first condition; and a second detection unit configured to detect a copy operation satisfying a second condition;
accordingly, a response module, comprising: the switching unit is used for switching the video playing application to a copy mode when the first detection unit detects that the mode switching operation meeting the first condition is met, wherein in the copy mode, target information comprising first information can be displayed; a copying unit configured to copy the first information when the second detecting unit detects a copying operation satisfying a second condition;
the switching unit displays the target information by using a display subunit, and specifically includes:
the content in the video frame displayed by the video playing window in the video playing interface is reproducible target information so as to directly select and copy the content from the video frame;
or, switching a video playing area for playing the video contained in the video playing interface to a reproducible area contained in the video playing interface; and displaying the target information in the reproducible area.
8. An electronic device, comprising:
a memory for storing a program;
a display for playing a video;
a processor configured to execute the program, the program specifically configured to:
controlling the display to play videos in at least partial area of a video playing interface;
detecting at least one operation of the video playing interface, wherein the operation meets the condition;
copying the first information in response to the at least one operation satisfying the condition;
wherein the first information matches the content of at least one frame in the video, and the first information is not image information or local image information of the at least one frame;
the processor is executing operation of detecting at least one condition which is met on the video playing interface; in response to the at least one operation satisfying the condition, when copying the first information, the method is specifically configured to:
detecting a mode switching operation meeting a first condition, and switching a video playing application to a copy mode, wherein in the copy mode, target information including first information can be displayed;
detecting a copy operation meeting a second condition, and copying the first information;
the processor displaying the target information comprises:
the content in the video frame displayed by the video playing window in the video playing interface is reproducible target information so as to directly select and copy the content from the video frame;
or, switching a video playing area for playing the video contained in the video playing interface to a reproducible area contained in the video playing interface;
and displaying the target information in the reproducible area.
9. The electronic device of claim 8,
when the processor executes the video playing in at least a partial area of the video playing interface, the processor is specifically configured to:
the video playing application plays the video in a play mode.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010531844.4A CN111901659B (en) | 2017-07-26 | 2017-07-26 | Information acquisition method and electronic equipment |
CN201710618976.9A CN107277602B (en) | 2017-07-26 | 2017-07-26 | Information acquisition method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710618976.9A CN107277602B (en) | 2017-07-26 | 2017-07-26 | Information acquisition method and electronic equipment |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010531844.4A Division CN111901659B (en) | 2017-07-26 | 2017-07-26 | Information acquisition method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107277602A CN107277602A (en) | 2017-10-20 |
CN107277602B true CN107277602B (en) | 2020-05-26 |
Family
ID=60079198
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010531844.4A Active CN111901659B (en) | 2017-07-26 | 2017-07-26 | Information acquisition method and electronic equipment |
CN201710618976.9A Active CN107277602B (en) | 2017-07-26 | 2017-07-26 | Information acquisition method and electronic equipment |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010531844.4A Active CN111901659B (en) | 2017-07-26 | 2017-07-26 | Information acquisition method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN111901659B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714632B (en) * | 2018-12-11 | 2021-08-10 | 泰康保险集团股份有限公司 | Technology sharing method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915437A (en) * | 2011-08-02 | 2013-02-06 | 腾讯科技(深圳)有限公司 | Text information identification method and system |
CN104636322A (en) * | 2015-03-03 | 2015-05-20 | 广东欧珀移动通信有限公司 | Text copying method and text copying device |
CN104967919A (en) * | 2015-07-06 | 2015-10-07 | 无锡天脉聚源传媒科技有限公司 | Program editing method and device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120304062A1 (en) * | 2011-05-23 | 2012-11-29 | Speakertext, Inc. | Referencing content via text captions |
KR102161764B1 (en) * | 2013-10-31 | 2020-10-05 | 삼성전자주식회사 | Method and computer readable recording medium for displaying a communication window of a messenger using a cartoon image |
CN106034254B (en) * | 2014-11-26 | 2019-09-27 | 中科创达软件股份有限公司 | It is a kind of to realize the method and system that operation is interacted with text in video |
CN104598902A (en) * | 2015-01-29 | 2015-05-06 | 百度在线网络技术(北京)有限公司 | Method and device for identifying screenshot and browser |
CN106295628A (en) * | 2015-05-20 | 2017-01-04 | 地利控股(西咸新区)网络农业有限公司 | A kind of word making to occur in video is prone to mutual method |
CN106028083A (en) * | 2016-06-30 | 2016-10-12 | 乐视控股(北京)有限公司 | Representation method and device of hot lines segment |
CN106445144A (en) * | 2016-09-27 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Note taking method, device and terminal |
-
2017
- 2017-07-26 CN CN202010531844.4A patent/CN111901659B/en active Active
- 2017-07-26 CN CN201710618976.9A patent/CN107277602B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915437A (en) * | 2011-08-02 | 2013-02-06 | 腾讯科技(深圳)有限公司 | Text information identification method and system |
CN104636322A (en) * | 2015-03-03 | 2015-05-20 | 广东欧珀移动通信有限公司 | Text copying method and text copying device |
CN104967919A (en) * | 2015-07-06 | 2015-10-07 | 无锡天脉聚源传媒科技有限公司 | Program editing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111901659B (en) | 2022-01-14 |
CN111901659A (en) | 2020-11-06 |
CN107277602A (en) | 2017-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102710712B1 (en) | Method and device for displaying live broadcast data, device and storage medium | |
CN111970577B (en) | Subtitle editing method and device and electronic equipment | |
CN107341018B (en) | Method and device for continuously displaying view after page switching | |
US11620784B2 (en) | Virtual scene display method and apparatus, and storage medium | |
CN112153288A (en) | Method, apparatus, device and medium for distributing video or image | |
CN112437353B (en) | Video processing method, video processing device, electronic apparatus, and readable storage medium | |
US11924485B2 (en) | Method and system of displaying a video | |
RU2627096C2 (en) | Methods for multimedia presentations prototypes manufacture, devices for multimedia presentations prototypes manufacture, methods for application of devices for multimedia presentations prototypes manufacture (versions) | |
KR20180087969A (en) | Device for authoring video scene and metadata | |
CN109947979B (en) | Song identification method, device, terminal and storage medium | |
CN113079244B (en) | Hot event display method of application program and electronic equipment | |
US11941728B2 (en) | Previewing method and apparatus for effect application, and device, and storage medium | |
CN111698565B (en) | Video playing method and device and electronic equipment | |
CN112104908A (en) | Audio and video file playing method and device, computer equipment and readable storage medium | |
CN115729416A (en) | Information reply method, device, electronic equipment, readable storage medium and program product | |
CN110072138A (en) | Video broadcasting method, equipment and computer readable storage medium | |
CN113553466A (en) | Page display method, device, medium and computing equipment | |
CN115065874B (en) | Video playing method, device, electronic equipment and readable storage medium | |
CN107277602B (en) | Information acquisition method and electronic equipment | |
WO2023169361A1 (en) | Information recommendation method and apparatus and electronic device | |
US10114518B2 (en) | Information processing system, information processing device, and screen display method | |
US20130232420A1 (en) | Methods and apparatus for invoking actions on content | |
CN111857857A (en) | Interface display method, device and equipment | |
CN112835502A (en) | Page display method, electronic equipment and storage medium | |
CN106604145B (en) | A kind of media file processing method and system |
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 |