CN110673919A - Screen capturing method and device - Google Patents

Screen capturing method and device Download PDF

Info

Publication number
CN110673919A
CN110673919A CN201910926234.1A CN201910926234A CN110673919A CN 110673919 A CN110673919 A CN 110673919A CN 201910926234 A CN201910926234 A CN 201910926234A CN 110673919 A CN110673919 A CN 110673919A
Authority
CN
China
Prior art keywords
video
target image
frame
playing device
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.)
Pending
Application number
CN201910926234.1A
Other languages
Chinese (zh)
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201910926234.1A priority Critical patent/CN110673919A/en
Publication of CN110673919A publication Critical patent/CN110673919A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a screen capture method and a screen capture device, wherein after receiving an input screen capture instruction aiming at a currently played video resource, a video playing device can firstly acquire an identifier of the video resource and a playing node of the video resource when receiving the screen capture instruction, and sends a data request comprising the identifier of the video resource and the playing node of the video resource to a video storage server, so that the video storage server captures at least one frame of target image associated with the playing node in the video resource according to the playing node, and sends the captured at least one frame of target image to the video playing device. Because at least one frame of target image associated with the playing node is the image frame that the user wants to capture the image, the accuracy of the capture result obtained by the video playing device is effectively improved.

Description

Screen capturing method and device
Technical Field
The invention relates to the technical field of image processing, in particular to a screen capturing method and device.
Background
With the continuous intellectualization of video playing devices, taking video playing devices as televisions as an example, users are not limited to watching videos through televisions, but have made higher requirements on the functions of televisions. For example, when a user watches a video through a television, for a picture of interest in the video, the user wants to be able to intercept the picture to save the picture; or the picture is shared to the social platform of the user; or want to obtain more recommended contents such as shopping advertisements, star blurs, star video recommendations, etc. according to the captured image.
In the prior art, when a picture in a video is captured, a user can input a voice instruction for capturing the picture to a television, so that after the television receives the voice instruction, a voice assistant is started to obtain the voice instruction first, the voice instruction is identified, and the screenshot is started only after the voice instruction is determined to be the command for capturing the picture, so that a corresponding screenshot result is obtained.
However, since the video is continuously played during the period of time that the voice assistant recognizes, when the television performs screen capturing after the voice assistant recognizes, the picture desired by the user is likely not to be in the current screen, and the accuracy of the screen capturing result is not high.
Disclosure of Invention
The embodiment of the invention provides a screen capture method and a screen capture device, which improve the accuracy of a screen capture result when capturing an image frame or a video stream in a video.
In a first aspect, an embodiment of the present invention provides a screen capture method, which is applied to a video playback device, where the screen capture method may include:
receiving an input screen capture instruction aiming at a currently played video resource;
acquiring the identifier of the video resource and a playing node of the video resource when the screen capturing instruction is received;
sending a data request to a video storage server; the data request comprises the identification of the video resource and a playing node of the video resource; the data request is used for requesting the video storage server to intercept at least one frame of target image which is associated with the playing node in the video resource;
and receiving a data response sent by the video storage server, wherein the data response comprises the at least one frame of target image.
In one possible implementation manner, the screen capture method may further include:
and displaying the at least one frame of target image in a specific area of a display screen of the video playing device.
In one possible implementation manner, the screen capture method may further include:
acquiring data information associated with the at least one frame of target image;
correspondingly, the displaying the at least one frame of target image in a specific area of a display screen of the video playing device includes:
and displaying the at least one frame of target image and data information associated with the at least one frame of target image in a specific area of a display screen of the video playing device.
In a possible implementation manner, the displaying the at least one frame of target image in a specific area of a display screen of the video playback device by the data response further includes address information corresponding to the at least one frame of target image, and the displaying includes:
generating a two-dimensional code image corresponding to the at least one frame of target image according to the address information corresponding to the at least one frame of target image;
and displaying the at least one frame of target image and the two-dimensional code image in a specific area of a display screen of the video playing device.
In a second aspect, an embodiment of the present invention further provides a screen capture method, which is applied to a video storage server, and the screen capture method may include:
receiving a data request sent by video playing equipment; the data request comprises an identifier of a currently played video resource and a playing node of the video resource when the screen capturing instruction is received;
intercepting at least one frame of target image associated with the playing node in the video resource;
and sending a data response to the video playing device, wherein the data response comprises the at least one frame of target image.
In one possible implementation manner, the screen capture method may further include:
sending a first content identification request to a content server, wherein the first content identification request comprises the at least one frame of target image; the first content identification request is used for instructing the content server to identify the at least one frame of target image;
receiving data information which is sent by the content identification server and is associated with the at least one frame of target image;
and sending data information associated with the at least one frame of target image to the video playing device.
In one possible implementation manner, the screen capture method may further include:
sending a second content identification request to a content server, wherein the second content identification request comprises the at least one frame of target image and the identifier of the video playing device; the first content identification request is used for indicating the content server to identify the at least one frame of target image and sending data information associated with the at least one frame of target image to the video playing device corresponding to the video playing device identifier.
In a possible implementation manner, the response message further includes address information corresponding to the at least one frame of target image, and before sending the data response to the video playback device, the method further includes:
and determining address information corresponding to the at least one frame of target image.
In a third aspect, an embodiment of the present invention further provides a screen capture device, which is applied to a video playing device, where the screen capture device may include:
the receiving unit is used for receiving an input screen capture instruction aiming at a currently played video resource;
the processing unit is used for acquiring the identifier of the video resource and the playing node of the video resource when the screen capturing instruction is received;
the sending unit is used for sending a data request to the video storage server; the data request comprises the identification of the video resource and a playing node of the video resource; the data request is used for requesting the video storage server to intercept at least one frame of target image which is associated with the playing node in the video resource;
the receiving unit is further configured to receive a data response sent by the video storage server, where the data response includes the at least one frame of target image.
In one possible implementation, the screen capture device may include a display unit.
And the display unit is used for displaying the at least one frame of target image in a specific area of a display screen of the video playing device.
In a possible implementation manner, the processing unit is further configured to acquire data information associated with the at least one frame of target image.
Correspondingly, the display unit is further used for displaying the at least one frame of target image and data information associated with the at least one frame of target image in a specific area of a display screen of the video playing device.
In a possible implementation manner, the data response further includes address information corresponding to the at least one frame of target image, and the processing unit is further configured to generate a two-dimensional code image corresponding to the at least one frame of target image according to the address information corresponding to the at least one frame of target image; and the display unit is specifically used for displaying the at least one frame of target image and the two-dimensional code image in a specific area of a display screen of the video playing device.
In a fourth aspect, an embodiment of the present invention further provides a screen capture apparatus, which is applied to a video storage server, and the screen capture apparatus may include:
the receiving unit is used for receiving a data request sent by the video playing equipment; the data request comprises an identifier of a currently played video resource and a playing node of the video resource when the screen capturing instruction is received;
the processing unit is used for intercepting at least one frame of target image which is associated with the playing node in the video resource;
and the sending unit is used for sending a data response to the video playing device, wherein the data response comprises the at least one frame of target image.
In a possible implementation manner, the sending unit is further configured to send a first content identification request to a content server, where the first content identification request includes the at least one frame of target image; the first content identification request is used for instructing the content server to identify the at least one frame of target image;
the receiving unit is further configured to receive data information associated with the at least one frame of target image sent by the content identification server;
the sending unit is further configured to send data information associated with the at least one frame of target image to the video playing device.
In a possible implementation manner, the sending unit is further configured to send a second content identification request to a content server, where the second content identification request includes the at least one frame of target image and an identifier of the video playing device; the first content identification request is used for indicating the content server to identify the at least one frame of target image and sending data information associated with the at least one frame of target image to the video playing device corresponding to the video playing device identifier.
In a possible implementation manner, the response message further includes address information corresponding to the at least one frame of target image, and the processing unit is further configured to determine the address information corresponding to the at least one frame of target image.
In a fifth aspect, an embodiment of the present invention further provides a video playback device, where the video playback device may include a memory and a processor;
a memory for storing a computer program;
and the processor is used for reading the computer program stored in the memory and executing the screen capture method according to any one of the first aspect.
In a sixth aspect, an embodiment of the present invention further provides a video storage server, where the video storage server may include a memory and a processor;
a memory for storing a computer program;
and the processor is used for reading the computer program stored in the memory and executing the screen capture method according to any one of the second aspect.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the screen capture method according to any one of the first aspect is implemented; alternatively, the screen capture method according to any one of the second aspect is implemented when the processor executes the computer-executable instructions.
Therefore, different from the prior art, the screen capture method and apparatus provided in the embodiments of the present invention are that, after receiving an input screen capture instruction for a currently played video resource, a video playing device does not recognize the screen capture instruction and perform a screen capture operation after the recognition, but first obtains an identifier of the video resource and a playing node of the video resource when receiving the screen capture instruction, and sends a data request including the identifier of the video resource and the playing node of the video resource to a video storage server, so that the video storage server captures at least one frame of target image associated with the playing node in the video resource according to the playing node, and sends the captured at least one frame of target image to the video playing device, because the at least one frame of target image associated with the playing node is an image frame that a user wants to capture, therefore, the accuracy of the screenshot result obtained by the video playing device is effectively improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
fig. 2 is a schematic flowchart of a screen capture method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of another screen capturing method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a screen capture method according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a screen capture device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a screen capture device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video playing device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a video storage server according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the embodiments of the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. In the description of the present invention, the character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Fig. 1 is a schematic view of an application scenario provided by an embodiment of the present invention, for example, as shown in fig. 1, the application scenario may include a video storage server and at least one video playing device. In order to improve the accuracy of a screenshot result when a user wants to intercept a certain image frame or video stream in a video resource while watching the video resource through a video playing device, an embodiment of the present invention provides a screenshot method, which is different from the prior art in that after receiving an input screenshot instruction for a currently played video resource, the video playing device does not recognize the screenshot instruction and perform a screenshot operation after recognizing the screenshot instruction, but first obtains an identifier of the video resource and a playing node of the video resource when receiving the screenshot instruction, and sends a data request including the identifier of the video resource and the playing node of the video resource to a video storage server, so that the video storage server intercepts at least one frame of target image associated with the playing node in the video resource according to the playing node, and sends the intercepted at least one frame of target image to the video playing device, because at least one frame of target image associated with the playing node is the image frame that the user wants to capture the image, the accuracy of the capture result obtained by the video playing device is effectively improved. In addition, in the process of executing the whole intercepting operation, for video playing, the intercepting operation is not required to be executed, and the intercepting result sent by the video storage server is received, so that the intercepting operation does not influence the continuous playing effect of the video resource, and the smoothness of continuous playing of the video resource is improved.
In the above description, when the video storage server performs the screen capture operation, at least one frame of target image associated with the play node in the video resource is captured according to the play node. For example, the number of the at least one frame of target images may be one, or may be multiple. When the number of the at least one frame of target image is one, the at least one frame of target image associated with the playing node can be understood as the target image frame corresponding to the playing node, that is, the video storage server intercepts the target image frame corresponding to the playing node in the video resource; when the number of the at least one frame of target image is multiple, the at least one frame of target image associated with the play node may be understood as multiple target image frames corresponding to the play time segment of the play node, that is, what is intercepted by the video storage server is a target video stream in the video resource that includes the play time segment of the play node.
For example, taking the playing node as the 5 th millisecond as an example, the at least one frame of target image associated with the 5 th millisecond may be understood as the one target image frame corresponding to the 5 th millisecond, that is, the video storage server intercepts the target image frame corresponding to the 5 th millisecond in the video resource; when the number of the at least one frame of target image is multiple, the at least one frame of target image associated with the 5 th millisecond may be understood as including multiple target image frames corresponding to the play time segment of the 5 th millisecond, that is, the video storage server intercepts a target video stream in the video resource, including the play time segment of the 5 th millisecond.
For example, the video playing device may be a television, a notebook computer, a tablet computer, or another terminal having a video playing function and a data interaction function with the video storage server, and here, the embodiment of the present invention is only described by taking the video playing device as a television, a notebook computer, or a tablet computer, but the embodiment of the present invention is not limited thereto.
The screen capture method provided by the embodiment of the present invention will be described in detail below by taking the number of at least one frame of target image as one, that is, the target image frame corresponding to the play node in the video resource is captured by the video storage server as an example. It can be understood that, when the number of the at least one frame of target image is plural, that is, the video storage server intercepts the video resource, the method of playing the video stream related to the node is similar to the method of playing the target image frame corresponding to the node in the video resource intercepted by the video storage server. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a screen capturing method according to an embodiment of the present invention, for example, please refer to fig. 2, where the screen capturing method may include:
s201, the video playing device receives an input screen capture instruction aiming at the currently played video resource.
The screen capture instruction may be a voice instruction input by a user, or a click or touch instruction input by the user on the screen, and may be specifically set according to actual needs, where the embodiment of the present invention does not further limit an input mode of the screen capture instruction.
For example, when the screen capture instruction is a voice instruction, in a possible manner, the user may input the voice instruction to the video playing device through an intelligent voice module of the video playing device itself; in another possible manner, a user may input the voice instruction to a device associated with the video playing device, and the device associated with the video playing device sends the voice instruction to the video playing device, for example, the device associated with the video playing device may be a remote controller of the video playing device, or a terminal device connected to the video playing device, such as a mobile phone, and the like.
Continuing to take the screen capture instruction as the voice instruction as an example, when the user watches the video resource, if the user wants to capture the image frame currently displayed by the video playing device, the user may input the voice screen capture instruction to the video playing device, for example, "please help me capture the current picture", correspondingly, after the video playing device receives the voice screen capture instruction, unlike in the prior art, the video playing device does not need to recognize the voice screen capture instruction, and does not need to execute the corresponding screen capture operation after re-recognition, but obtains the identifier of the video resource, and when receiving the voice screen capture instruction, the playing node of the video resource executes the following S202:
s202, the video playing device obtains the identification of the video resource and the playing node of the video resource when the screen capturing instruction is received.
For example, the identifier of the video resource may be a name of the video resource, or may also be a serial number of the video resource, as long as the video resource can be uniquely identified.
Taking a video resource as a piglet cookie and the identifier of the video resource is 'piglet cookie', when a video playing device receives a voice screen capture instruction 'please help me to capture the current picture' input by a user, the identifier 'piglet cookie' of the video resource piglet cookie is acquired, and when the video playing device receives the voice screen capture instruction 'please help me to capture the current picture', a playing node of the piglet cookie is played. Since the embodiment of the present invention is described by taking an example of capturing a certain image frame, the playing node herein may be understood as the playing time point of the piglet cookie being played, and assuming that the playing time point being played is the 10 th millisecond, the video playing device executes the following S203 after respectively acquiring the identifier "piglet cookie" of the piglet cookie as the video resource and the 10 th millisecond of the playing time point being played:
s203, the video playing device sends a data request to the video storage server.
The data request comprises an identifier of a video resource and a playing node of the video resource; the data request is used for requesting the video storage server to intercept a target image frame corresponding to the playing node in the video resource.
S204, the video storage server intercepts a target image frame corresponding to the playing node in the video resource.
With reference to the description in S202, after the video playing device sends the data request including the identifier "piglet cookie" of the piglet cookie as the video resource and the 10 th millisecond of the playing time point being played to the video storage server, correspondingly, the video storage server may find the video resource of the piglet cookie according to the identifier "piglet cookie" of the piglet cookie as the video resource, and then capture the target image frame corresponding to the 10 th millisecond in the video resource of the piglet cookie according to the 10 th millisecond of the playing time point, so as to obtain the screen capture result.
It can be seen that, in the embodiment of the present invention, when performing screen capturing, screen capturing is performed according to the 10 th millisecond of the playing time point at which the video resource is playing when the video playing device receives the voice screen capturing instruction "please help me to capture the current picture", and the image frame corresponding to the 10 th millisecond of the playing time point is the image frame that the user wants to capture the screen, so that the accuracy of the obtained screen capturing result can be effectively improved.
After intercepting the target image frame corresponding to the playing node in the video resource, the video storage server can send the target image frame to the video playing device.
S205, the video storage server sends a data response to the video playing device.
Wherein the data response includes the target image frame.
Correspondingly, after receiving the target image frame, the video playing device may store the target image frame, share the target image frame on its own social platform, or perform other operations, which is not limited in the embodiments of the present invention.
Therefore, in the embodiment of the present invention, after receiving an input screen capture instruction for a currently played video resource, a video playing device may first obtain an identifier of the video resource and a playing node of the video resource when receiving the screen capture instruction, and send a data request including the identifier of the video resource and the playing node of the video resource to a video storage server, so that the video storage server captures a target image corresponding to the playing node in the video resource according to the playing node, and sends the captured at least one frame of target image to the video playing device.
Optionally, after the video playing device obtains the target image frame corresponding to the playing node through the data response, the video playing device may further display the target image frame in a specific area of a display screen of the video playing device. The specific region may be a region designated by the user on the display screen according to a preference, or may be a region fixedly set in advance.
For example, when the video playing device displays the target image frame in a specific area of the display screen, in a possible manner, the target image frame may be directly displayed in the bottom area of the display screen; in another possible manner, the target image frame may be displayed in a bottom area of the display screen first, and after receiving the user operation instruction, the target image frame may be displayed in a larger area of the display screen, even in a full screen.
Based on the embodiment shown in fig. 2, after the video playing device acquires the intercepted target image frame, the video playing device may further display the target image frame in a specific area of the display screen, so that the user can view the target image frame. Further, the embodiment of the present invention may further display the data information associated with the target image frame on the basis of displaying the target image frame, so that the user may further acquire the data information associated with the target image frame, thereby providing a better service for the user. For example, please refer to fig. 3, where fig. 3 is a schematic flowchart of another screen capturing method according to an embodiment of the present invention, where the screen capturing method may include:
s301, the video playing device acquires data information associated with the target image frame.
The data information associated with the target image frame may be understood as data information associated with a certain article or person in the target image frame, or may also be understood as data information associated with a video resource where the target image frame is located, and may be specifically set according to actual needs.
For example, continuing with the example of the video resource being a pig peclet, assuming that the captured target image frame shows a pig configuration holding a painting book, the associated data information corresponding to the target image frame may be understood as data information associated with the painting book, for example, a related introduction of the painting book, etc.; the associated data information corresponding to the target image frame may also be understood as data information associated with a piglet peclet's video asset, e.g. a related introduction of the piglet peclet's video asset, such as show time, age suitable for viewing, etc.
After the data information associated with the target image frame is fully understood, how the video playback device acquires the data information associated with the target image frame will be described in detail below.
Optionally, in a possible implementation manner, after intercepting a target image frame, the video storage server may send a first content identification request including the target image frame to the content server; correspondingly, after receiving the first content identification request, the content identification server identifies a target image frame in the first content identification request, searches and acquires data information associated with the target image frame after identifying the target image frame, sends the data information associated with the target image frame to the video storage server after acquiring the data information associated with the target image frame, and forwards the data information to the video playing device through the video storage server, so that the video playing device acquires the data information associated with the target image frame.
It should be noted that, in the embodiment of the present invention, after the content identification server searches for and acquires the data information associated with the target image frame, the data information associated with the target image frame is forwarded to the video playback device through the video storage server, because it is considered that the content identification server is a third-party server under a normal condition, and in order to ensure the security of the data information received by the video playback device, the data information associated with the target image frame may be safely handled by the video storage server, so as to ensure that the data information finally received by the video playback device is the data information whose security meets the requirement.
Of course, if the security of the data is not considered, or it is determined that the data information sent by the content identification server is the data information with higher security, after the content identification server searches and obtains the data information associated with the target image frame, the content identification server may directly send the obtained data information associated with the target image frame to the video playing device without forwarding the data information associated with the target image frame to the video playing device through the video storage server, that is, another possible implementation manner is adopted.
In another possible implementation manner, after the video storage server intercepts the target image frame, different from the above manner, the video storage server not only sends the target image frame to the content recognition server, but also sends an identifier of the video playing device to the content recognition server, that is, sends a second content recognition request including the target image frame and the identifier of the video playing device to the content server, and correspondingly, after receiving the second content recognition request, the content recognition server recognizes the target image frame in the second content recognition request, and after recognizing the target image frame, searches and acquires data information associated with the target image frame, and after acquiring the data information associated with the target image frame, directly sends the acquired data information associated with the target image frame to the video playing device corresponding to the identifier of the video playing device according to the identifier of the video playing device, so that the video playing device can acquire the data information associated with the target image frame.
It can be seen that, in this possible implementation manner, after the content identification server searches for and acquires the data information associated with the target image frame, the content identification server directly sends the acquired data information associated with the target image frame to the video playing device without forwarding the data information through the video memory, so that the efficiency of the video playing device in acquiring the data information can be further improved.
It should be noted that, if the video playback device does not acquire the data information associated with the target image frame, the user may be prompted that the data information associated with the target image frame is not identified.
It is understood that, when the video playing apparatus acquires the data information associated with the target image frame, the two possible implementations are only described as examples, but the embodiment of the present invention is not limited thereto.
After acquiring the data information associated with the target image frame, the video playing device may display the target image frame and the data information associated with the target image frame in a specific area of a display screen of the video playing device, that is, perform the following S203:
s302, displaying the target image frame and data information associated with the target image frame in a specific area of a display screen of the video playing device.
It can be understood that, when the video playing device displays the target image frame and the data information associated with the target image frame in the specific area of the display screen, the display mode of the video playing device is similar to the display mode in which the video playing device only displays the target image frame in the specific area of the display screen, which may be referred to in detail in the related description, and herein, the embodiment of the present invention is not described again.
Therefore, through the embodiment shown in fig. 3, the video playing device can not only display the target image frame that the user needs to intercept to the user on the display screen, but also further display the data information associated with the target image frame to the user, so as to provide better service for the user.
Based on the embodiment shown in fig. 2 or fig. 3, after the video playing device acquires the intercepted target image frame, the video playing device may further display the target image frame in a specific area of the display screen, so that the user can view the target image frame. If the user further wants to store the target image frame in another terminal, for example, a mobile phone, further, the video playing device may first generate a two-dimensional code image corresponding to the target image frame and display the two-dimensional code image on the display screen, so that the user may scan the two-dimensional code image using the mobile phone to obtain the target image frame. For example, please refer to fig. 4, where fig. 4 is a schematic flowchart of another screen capturing method provided in an embodiment of the present invention, and the screen capturing method may include:
s401, the video playing device obtains address information corresponding to the target image frame.
Optionally, when the address information corresponding to the target image frame is obtained, the address information may be obtained through a data response, that is, the video storage server may first determine the address information corresponding to at least one frame of the target image, and carry the address information and the target image frame in the data response to send to the video playing device, so that the video playing device may obtain the two-dimensional code image corresponding to the target image frame while obtaining the target image frame. Of course, the video playing device may also obtain the target image frame first, and then obtain the address information corresponding to the target image frame from the video storage server when the two-dimensional code image needs to be displayed, which may be specifically set according to actual needs.
After acquiring the address information corresponding to the target image frame, the video playing device may perform the following S402:
s402, the video playing device generates a two-dimensional code image corresponding to the target image frame according to the address information corresponding to the target image frame.
It can be understood that, in the method for generating the two-dimensional code image corresponding to the target image frame according to the address information corresponding to the target image frame, reference may be made to a method for generating a two-dimensional code image in the prior art, and the embodiment of the present invention is not described herein as a main point.
And S403, displaying the target image frame and the two-dimensional code image in a specific area of a display screen of the video playing device.
Therefore, through the embodiment shown in fig. 4, the video playing device can not only display the target image frame that the user needs to intercept to the user on the display screen, but also further display the two-dimensional code image corresponding to the target image frame to the user, so that the user can scan the two-dimensional code image through other terminals, and further store the target image frame into other terminals, thereby meeting more requirements of the user.
It should be noted that the above-mentioned embodiment shown in fig. 3 and the embodiment shown in fig. 4 are decoupled and do not have a binding relationship, and of course, the embodiment shown in fig. 3 and the embodiment shown in fig. 4 may also be combined with each other, that is, the video playing device may not only display the target image frame to the user on the display screen, but also further display the two-dimensional code image corresponding to the target image frame and the data information associated with the target image frame, so as to provide better service for the user.
It can be understood that, in the above embodiments shown in fig. 2 to fig. 4, when describing the technical solution of the screen capturing method provided by the embodiment of the present invention, the number of at least one frame of target image is only one, that is, the video storage server captures the target image frame corresponding to the playing node in the video resource. It can be understood that, when the number of the at least one frame of target image is multiple, that is, the video storage server intercepts the video resource, the method for playing the video stream related to the node is similar to the method for playing the target image frame corresponding to the node in the video resource intercepted by the video storage server, and herein, the embodiments of the present invention are not repeated.
Fig. 5 is a schematic structural diagram of a screen capture apparatus 50 according to an embodiment of the present invention, which is applied to a video playing device, for example, as shown in fig. 5, the screen capture apparatus 50 may include:
the receiving unit 501 is configured to receive an input screen capture instruction for a currently played video resource.
The processing unit 502 is configured to obtain an identifier of the video resource and a playing node of the video resource when the screen capture instruction is received.
A sending unit 503, configured to send a data request to the video storage server; the data request comprises an identifier of the video resource and a playing node of the video resource; the data request is used for requesting the video storage server to intercept at least one frame of target image associated with the playing node in the video resource.
The receiving unit 501 is further configured to receive a data response sent by the video storage server, where the data response includes at least one frame of target image.
Optionally, the screen capture device 50 may include a display unit 504.
A display unit 504, configured to display at least one frame of the target image in a specific area of a display screen of the video playback device.
Optionally, the processing unit 502 is further configured to obtain data information associated with at least one frame of the target image.
Correspondingly, the display unit 504 is further configured to display at least one frame of target image and data information associated with the at least one frame of target image in a specific area of a display screen of the video playback device.
Optionally, the data response further includes address information corresponding to at least one frame of target image, and the processing unit 502 is further configured to generate a two-dimensional code image corresponding to at least one frame of target image according to the address information corresponding to at least one frame of target image; the display unit 504 is specifically configured to display at least one frame of the target image and the two-dimensional code image in a specific area of a display screen of the video playback device.
The screen capture device 50 shown in the embodiment of the present invention can execute the technical solution of the screen capture method on the video playing device side in the embodiment shown in any one of the above figures, and the implementation principle and the beneficial effects thereof are similar to those of the screen capture method on the video playing device side, and are not described here again.
Fig. 6 is a schematic structural diagram of a screen capture apparatus 60 according to an embodiment of the present invention, which is applied to a video storage server, for example, as shown in fig. 6, the screen capture apparatus 60 may include:
a receiving unit 601, configured to receive a data request sent by a video playing device; the data request comprises the identification of the currently played video resource and the playing node of the video resource when the screen capture instruction is received.
The processing unit 602 is configured to intercept at least one frame of target image associated with the playback node in the video resource.
A sending unit 603, configured to send a data response to the video playback device, where the data response includes at least one frame of target image.
Optionally, the sending unit 603 is further configured to send a first content identification request to the content server, where the first content identification request includes at least one frame of target image; the first content identification request is used for instructing the content server to identify at least one frame of target image.
The receiving unit 601 is further configured to receive data information associated with at least one frame of target image sent by the content identification server.
A sending unit 603, configured to send data information associated with at least one frame of target image to the video playing device.
Optionally, the sending unit 603 is further configured to send a second content identification request to the content server, where the second content identification request includes at least one frame of target image and an identifier of the video playing device; the first content identification request is used for indicating the content server to identify at least one frame of target image and sending data information associated with the at least one frame of target image to the video playing device corresponding to the video playing device identifier.
Optionally, the response message further includes address information corresponding to at least one frame of target image, and the processing unit 602 is further configured to determine the address information corresponding to the at least one frame of target image.
The screen capture device 60 shown in the embodiment of the present invention can execute the technical solution of the screen capture method on the video storage server side in the embodiment shown in any one of the above figures, and the implementation principle and the beneficial effects thereof are similar to those of the screen capture method on the video storage server side, and are not described herein again.
Fig. 7 is a schematic structural diagram of a video playing device 70 according to an embodiment of the present invention, for example, please refer to fig. 7, where the video playing device 70 may include a memory 701 and a processor 702.
A memory 701 for storing a computer program;
a processor 702, configured to read the computer program stored in the memory 701, and execute the screen capturing method on the video playback device 70 side shown in any of the above embodiments according to the computer program in the memory 701.
Alternatively, the memory 701 may be separate or integrated with the processor 702. When the memory 701 is a device independent of the processor 702, the video playback device 70 may further include: a bus for connecting the memory 701 and the processor 702.
Optionally, this embodiment further includes: a communication interface that may be coupled to the processor 702 via a bus. The processor 702 may control the communication interface to implement the above-described functions of reception and transmission on the video playback device 70 side.
The video playing device 70 shown in the embodiment of the present invention may execute the technical solution of the screen capturing method on the video playing device side in any of the embodiments shown in the above figures, and the implementation principle and the beneficial effects thereof are similar to those of the screen capturing method on the video playing device side, and are not described here again.
Fig. 8 is a schematic structural diagram of a video storage server 80 according to an embodiment of the present invention, for example, please refer to fig. 8, where the video storage server 80 may include a memory 801 and a processor 802.
A memory 801 for storing a computer program;
a processor 802, configured to read the computer program stored in the memory 801, and execute the screen capture method on the video storage server 80 side shown in any of the above embodiments according to the computer program in the memory 801.
Alternatively, the memory 801 may be separate or integrated with the processor 802. When the memory 801 is a separate device from the processor 802, the video storage server 80 may further include: a bus for connecting the memory 801 and the processor 802.
Optionally, this embodiment further includes: a communication interface that may be coupled to the processor 802 via a bus. The processor 802 may control the communication interface to implement the above-described functions of reception and transmission on the video storage server 80 side.
The video storage server 80 shown in the embodiment of the present invention may execute the technical solution of the screen capturing method on the video storage server side in any of the embodiments shown in the above figures, and the implementation principle and the beneficial effects thereof are similar to those of the screen capturing method on the video storage server side, and are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the screen capture method according to any of the above embodiments is implemented, and an implementation principle and beneficial effects of the screen capture method are similar to those of the screen capture method on the video playback device side, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention.
It should be understood that the processor may be a Central Processing Unit (CPU), other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present invention are not limited to only one bus or one type of bus.
The computer-readable storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. A screen capture method is applied to a video playing device, and comprises the following steps:
receiving an input screen capture instruction aiming at a currently played video resource;
acquiring the identifier of the video resource and a playing node of the video resource when the screen capturing instruction is received;
sending a data request to a video storage server; the data request comprises the identification of the video resource and a playing node of the video resource; the data request is used for requesting the video storage server to intercept at least one frame of target image which is associated with the playing node in the video resource;
and receiving a data response sent by the video storage server, wherein the data response comprises the at least one frame of target image.
2. The method of claim 1, further comprising:
and displaying the at least one frame of target image in a specific area of a display screen of the video playing device.
3. The method of claim 2, further comprising:
acquiring data information associated with the at least one frame of target image;
correspondingly, the displaying the at least one frame of target image in a specific area of a display screen of the video playing device includes:
and displaying the at least one frame of target image and data information associated with the at least one frame of target image in a specific area of a display screen of the video playing device.
4. The method according to claim 2 or 3, wherein the data response further includes address information corresponding to the at least one frame of target image, and the displaying the at least one frame of target image in a specific area of a display screen of the video playback device includes:
generating a two-dimensional code image corresponding to the at least one frame of target image according to the address information corresponding to the at least one frame of target image;
and displaying the at least one frame of target image and the two-dimensional code image in a specific area of a display screen of the video playing device.
5. A screen capture method is applied to a video storage server, and comprises the following steps:
receiving a data request sent by video playing equipment; the data request comprises an identifier of a currently played video resource and a playing node of the video resource when the screen capturing instruction is received;
intercepting at least one frame of target image associated with the playing node in the video resource;
and sending a data response to the video playing device, wherein the data response comprises the at least one frame of target image.
6. The method of claim 5, further comprising:
sending a first content identification request to a content server, wherein the first content identification request comprises the at least one frame of target image; the first content identification request is used for instructing the content server to identify the at least one frame of target image;
receiving data information which is sent by the content identification server and is associated with the at least one frame of target image;
and sending data information associated with the at least one frame of target image to the video playing device.
7. The method of claim 5, further comprising:
sending a second content identification request to a content server, wherein the second content identification request comprises the at least one frame of target image and the identifier of the video playing device; the first content identification request is used for indicating the content server to identify the at least one frame of target image and sending data information associated with the at least one frame of target image to the video playing device corresponding to the video playing device identifier.
8. The method according to any one of claims 5 to 7, wherein the response message further includes address information corresponding to the at least one frame of target image, and before sending the data response to the video playback device, the method further includes:
and determining address information corresponding to the at least one frame of target image.
9. A screen capture device is applied to a video playing device, and the device comprises:
the receiving unit is used for receiving an input screen capture instruction aiming at a currently played video resource;
the processing unit is used for acquiring the identifier of the video resource and the playing node of the video resource when the screen capturing instruction is received;
the sending unit is used for sending a data request to the video storage server; the data request comprises the identification of the video resource and a playing node of the video resource; the data request is used for requesting the video storage server to intercept at least one frame of target image which is associated with the playing node in the video resource;
the receiving unit is further configured to receive a data response sent by the video storage server, where the data response includes the at least one frame of target image.
10. A screen capture apparatus, applied to a video storage server, the apparatus comprising:
the receiving unit is used for receiving a data request sent by the video playing equipment; the data request comprises an identifier of a currently played video resource and a playing node of the video resource when the screen capturing instruction is received;
the processing unit is used for intercepting at least one frame of target image which is associated with the playing node in the video resource;
and the sending unit is used for sending a data response to the video playing device, wherein the data response comprises the at least one frame of target image.
11. A video playback device comprising a memory and a processor;
a memory for storing a computer program;
a processor for reading the computer program stored in the memory and executing the screen capturing method according to any one of claims 1 to 4 according to the computer program in the memory.
12. A video storage server comprising a memory and a processor;
a memory for storing a computer program;
a processor for reading the computer program stored in the memory and executing the screen capturing method according to any one of claims 5 to 8 according to the computer program in the memory.
13. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the screen capture method of any one of claims 1 to 4; or, when the computer executes the instructions, the screen capture method of any one of claims 5 to 8 is implemented.
CN201910926234.1A 2019-09-27 2019-09-27 Screen capturing method and device Pending CN110673919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926234.1A CN110673919A (en) 2019-09-27 2019-09-27 Screen capturing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926234.1A CN110673919A (en) 2019-09-27 2019-09-27 Screen capturing method and device

Publications (1)

Publication Number Publication Date
CN110673919A true CN110673919A (en) 2020-01-10

Family

ID=69079645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926234.1A Pending CN110673919A (en) 2019-09-27 2019-09-27 Screen capturing method and device

Country Status (1)

Country Link
CN (1) CN110673919A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615547A (en) * 2022-03-14 2022-06-10 黑龙江省敏动传感科技有限公司 Video image processing method and system based on big data analysis

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662226B1 (en) * 2000-01-27 2003-12-09 Inbit, Inc. Method and system for activating and capturing screen displays associated with predetermined user interface events
CN103369372A (en) * 2013-07-17 2013-10-23 广州珠江数码集团有限公司 Live television screen capturing system and live television screen capturing method
US20170093932A1 (en) * 2015-09-28 2017-03-30 Canon Kabushiki Kaisha Remote support system, information processing apparatus, image processing apparatus, methods of controlling these, and storage medium
CN108055590A (en) * 2017-12-20 2018-05-18 聚好看科技股份有限公司 The display methods of the graphic user interface of television image sectional drawing
CN108063949A (en) * 2017-12-11 2018-05-22 威创集团股份有限公司 Image screenshotss method, apparatus and screenshotss server
CN110049343A (en) * 2018-01-17 2019-07-23 亦非云互联网技术(上海)有限公司 Segment sharing method and system, storage medium and intelligent terminal is broadcast live in television video

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662226B1 (en) * 2000-01-27 2003-12-09 Inbit, Inc. Method and system for activating and capturing screen displays associated with predetermined user interface events
CN103369372A (en) * 2013-07-17 2013-10-23 广州珠江数码集团有限公司 Live television screen capturing system and live television screen capturing method
US20170093932A1 (en) * 2015-09-28 2017-03-30 Canon Kabushiki Kaisha Remote support system, information processing apparatus, image processing apparatus, methods of controlling these, and storage medium
CN108063949A (en) * 2017-12-11 2018-05-22 威创集团股份有限公司 Image screenshotss method, apparatus and screenshotss server
CN108055590A (en) * 2017-12-20 2018-05-18 聚好看科技股份有限公司 The display methods of the graphic user interface of television image sectional drawing
CN110049343A (en) * 2018-01-17 2019-07-23 亦非云互联网技术(上海)有限公司 Segment sharing method and system, storage medium and intelligent terminal is broadcast live in television video

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陶孙杰等: "基于二维码的数据传输系统设计", 《计算机科学》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615547A (en) * 2022-03-14 2022-06-10 黑龙江省敏动传感科技有限公司 Video image processing method and system based on big data analysis
CN114615547B (en) * 2022-03-14 2022-12-06 国网福建省电力有限公司厦门供电公司 Video image processing method and system based on big data analysis

Similar Documents

Publication Publication Date Title
CN108024079B (en) Screen recording method, device, terminal and storage medium
US20180041796A1 (en) Method and device for displaying information on video image
US20170163580A1 (en) Interactive method and device for playback of multimedia
CN103079092B (en) Obtain the method and apparatus of people information in video
WO2023051185A1 (en) Image processing method and apparatus, and electronic device and storage medium
CN106687991A (en) System and method for setting focus of digital image based on social relationship
CN111314646B (en) Image acquisition method, image acquisition device, terminal device and readable storage medium
CN110536075B (en) Video generation method and device
US10701301B2 (en) Video playing method and device
US20180144546A1 (en) Method, device and terminal for processing live shows
US20230316529A1 (en) Image processing method and apparatus, device and storage medium
CN106973318B (en) Aggregated video operation method and device
US20140105519A1 (en) Computer-implemented image composition method and apparatus using the same
CN111918098A (en) Video processing method and device, electronic equipment, server and storage medium
US20240073488A1 (en) Live video processing method and apparatus, device and medium
US9035996B1 (en) Multi-device video communication session
CN110673919A (en) Screen capturing method and device
CN113139123A (en) Resource recommendation method, device, server and storage medium
EP3125493A1 (en) Terminal, communication method, and carrier means
US10095714B2 (en) Mobile device capable of offline and online synchronous image identifying, an image identifying system, and a storage medium for the same
US20220083306A1 (en) Information processing device, non-transitory recording medium, and information processing system
CN113038218B (en) Video screenshot method, device, equipment and readable storage medium
US10298878B2 (en) Terminal, communication method, and recording medium storing program
CN114666623A (en) Video content display method and device, electronic equipment and storage medium
KR101221845B1 (en) Photo messenger service system and method

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.