CN112351093A - Screenshot image sharing method, device and equipment and computer readable storage medium - Google Patents

Screenshot image sharing method, device and equipment and computer readable storage medium Download PDF

Info

Publication number
CN112351093A
CN112351093A CN202011200594.2A CN202011200594A CN112351093A CN 112351093 A CN112351093 A CN 112351093A CN 202011200594 A CN202011200594 A CN 202011200594A CN 112351093 A CN112351093 A CN 112351093A
Authority
CN
China
Prior art keywords
screen
image
screen capture
screenshot
capturing
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
CN202011200594.2A
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011200594.2A priority Critical patent/CN112351093A/en
Publication of CN112351093A publication Critical patent/CN112351093A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The invention belongs to the technical field of display equipment, and discloses a screenshot image sharing method, a device, equipment and a computer readable storage medium.

Description

Screenshot image sharing method, device and equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of display equipment, in particular to a screenshot image sharing method, device and equipment and a computer readable storage medium.
Background
With the large-area intelligentization of slave devices such as mobile phones and tablets, intelligent large screens are gradually entering our lives. The intelligent large screen is like a smart phone and is provided with a full-open platform, an operating system is carried, programs such as software and games can be installed and uninstalled by a user, and the functions of the intelligent large screen can be continuously expanded through the programs. In addition, surfing the internet and the like can be realized through a wired network and a wireless network. Namely, the real intelligent large screen can obtain program contents from various channels such as a network, a PC and the like, and the content most needed by consumers can be clearly displayed on the large screen through simple and easy operation by a simple and easy-to-use integrated operation interface.
On the other hand, with the development of electronic technology, interaction between slave devices such as a mobile phone and a tablet and an intelligent large screen has become a development trend, linkage between the intelligent large screen and the slave devices such as the mobile phone and the tablet becomes a basic function that users rely on more and more, and users increasingly want various information between the master device and the slave devices of the smart home to be capable of realizing circulation and sharing, for example, content displayed on a screen of the intelligent large screen is synchronized to the slave devices such as the mobile phone and the tablet, so that users of the slave devices such as the mobile phone and the tablet can know content played by the intelligent large screen in time or edit a synchronously acquired picture and the like. In the prior art, a method for acquiring a screenshot of an intelligent large screen is to install screenshot software at an end of the intelligent large screen, intercept a current video playing picture by using the screenshot software, store the current video playing picture as a fixed format file at the end of the intelligent large screen, and then transmit the file to a slave device such as a mobile phone and a tablet through a transmission device such as a USB data line, or movably store the file to the slave device such as the mobile phone and the tablet through a USB storage device. As can be seen from the above description, the operation process of sending the captured screen image to the slave devices such as the mobile phone and the tablet in the prior art is too troublesome, and the information synchronization cannot be realized by effectively using the network, that is, the current smart large screen does not realize efficient image sharing with the mobile phone and the tablet.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a screenshot image sharing method, a screenshot image sharing device, screenshot image sharing equipment and a computer readable storage medium, and aims to solve the technical problem that the conventional intelligent large screen and slave equipment such as a mobile phone and a tablet do not realize efficient image sharing.
In order to achieve the above object, the present invention provides a screenshot image sharing method, including:
when a screen capture instruction of the slave equipment is received, screen capture parameters are obtained according to the screen capture instruction;
sending a cache monitoring instruction to the slave equipment, and receiving display cache region information fed back by the slave equipment;
acquiring display resolution according to the display cache region information;
performing screen capture on the display interface according to the screen capture parameters and the display resolution to obtain a target screen capture image;
and sending the target screen capture image to the slave equipment so that the slave equipment performs image sharing according to the target screen capture image.
In addition, to achieve the above object, the present invention also provides a screen shot image sharing apparatus, including:
the receiving module is used for acquiring screen capturing parameters according to the screen capturing instruction when the screen capturing instruction of the slave equipment is received;
the monitoring module is used for sending a cache monitoring instruction to the slave equipment and receiving display cache area information fed back by the slave equipment;
the acquisition module is used for acquiring the display resolution according to the display cache area information;
the screen capture module is used for capturing a screen of the display interface according to the screen capture parameters and the display resolution to obtain a target screen capture image;
and the sending module is used for sending the target screen capture image to the slave equipment so that the slave equipment can share the image according to the target screen capture image.
In addition, in order to achieve the above object, the present invention further provides a screen capture image sharing device, which includes a memory, a processor and a screen capture image sharing program stored in the memory and operable on the processor, wherein the processor implements the above steps of the screen capture image sharing method when executing the screen capture image sharing program.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having a screen capture image sharing program stored thereon, where the screen capture image sharing program is executed by a processor to implement the steps of the screen capture image sharing method as above.
Compared with the prior art that screenshot software is installed at the end of an intelligent large screen, the screenshot software is used for intercepting the current video playing picture and transmitting the file to slave equipment such as a mobile phone and a tablet through transmission equipment such as a USB data line or storing the file to the slave equipment such as the mobile phone and the tablet in a mobile mode through a USB storage device, in the invention, the screenshot parameter of the slave equipment is obtained through the screenshot instruction of the slave equipment, the display resolution of the slave equipment is obtained by sending the cache monitoring instruction to the slave equipment, the screenshot of the display interface according to the screenshot parameter and the display resolution of the slave equipment is realized, the target screenshot image is the screenshot image suitable for the display of the slave equipment, and finally the target screenshot image is sent to the slave equipment for image sharing, so that the information synchronization is realized by effectively utilizing a network for image sharing, and the problem that the operation process of the existing transmission equipment such as the USB data line is too troublesome is overcome, and the defect that the network cannot be effectively utilized to realize information synchronization is overcome, so that the intelligent large screen, the mobile phone and the flat panel can realize efficient image sharing.
Drawings
FIG. 1 is a schematic diagram of a screenshot image sharing device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a screenshot sharing method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a screenshot sharing method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a screenshot sharing method according to a third embodiment of the present invention;
FIG. 5 is a block diagram of a first embodiment of a screenshot sharing device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a screenshot image sharing device of a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the screen shot image sharing apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the screenshot image sharing device and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a screen capture image sharing program.
In the screen capture image sharing apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the screenshot image sharing device of the present invention may be provided in the screenshot image sharing device, and the screenshot image sharing device calls the screenshot image sharing program stored in the memory 1005 through the processor 1001 and executes the screenshot image sharing method provided by the embodiment of the present invention.
An embodiment of the present invention provides a screenshot image sharing method, and referring to fig. 2, fig. 2 is a flowchart illustrating a screenshot image sharing method according to a first embodiment of the present invention.
In this embodiment, the screen capture image sharing method includes the following steps:
step S10: when a screen capturing instruction of the slave equipment is received, the screen capturing image sharing equipment acquires screen capturing parameters according to the screen capturing instruction.
It should be understood that the screenshot image sharing device may be an electronic device such as a display controller, and may also be other devices that can implement the same or similar functions, which is not limited in this embodiment, and the screenshot image sharing device may be an intelligent large-screen controller. The slave device may be a device that establishes a communication connection with the screen capture image sharing device in advance, for example, a terminal device such as a mobile phone, a computer, or a tablet computer, which is not limited in this embodiment; the screen capture instruction may be an instruction entered by a user through a user interactive interface of the slave device.
It should be noted that, in the embodiment of the present invention, an Application (APP) running on a mobile phone may be provided, for example, the APP may be named as "large screen assistant", and a user may install the APP on his own mobile phone; correspondingly, a corresponding background application program can be installed in the operating system of the intelligent large screen side to realize interaction with a large screen assistant of the mobile phone side and realize the function of capturing the intelligent large screen. The mobile phone side is provided with an application such as a large-screen assistant, and a user interface can be provided for a user through the large-screen assistant application, and meanwhile, a specific user operation inlet for initiating a screen capturing operation, such as a screen capturing operation button and the like, is provided on the user interface. In this way, a user can see such an operation entry in his user interface after opening the large screen assistant application in the handset. When the user executes corresponding operations such as clicking and the like through the operation entrance, the large-screen assistant is equivalent to receiving a screen capturing instruction initiated by the user.
Specifically, the mobile phone and the screen capture image sharing device are connected to the wireless network, the screen capture image sharing device may start the screen capture resolution adaptation module, the screen capture resolution adaptation module may obtain the screen capture parameters according to the screen capture instruction, and the screen capture parameters may include a timing time length of a highlight provided by the mobile phone side, such as 1 s. The screen capture resolution adaptation module can capture 60 frames of pictures of a large-screen display screen according to the timed time length provided by the mobile phone and store the pictures in the memory.
Step S20: the screen capture image sharing device sends a cache monitoring instruction to the slave device and receives display cache region information fed back by the slave device.
It is easy to understand that the screenshot image sharing device may start the screenshot resolution adaptation module, the screenshot resolution adaptation module creates a monitoring slave device display cache service, that is, the screenshot resolution adaptation module sends a cache monitoring instruction to the slave device and receives display cache region information fed back by the slave device, the screenshot resolution adaptation module may obtain the resolution of the display cache region of the slave device connected to the smart large screen according to the display cache region information, and the display cache region information is sent to the zoom level and vertical size values of the screenshot image sharing device and stored in the screenshot image sharing device memory 11.
Step S30: and the screen capture image sharing equipment acquires the display resolution according to the display cache region information.
It should be noted that the screen capture resolution adaptation module may obtain the resolution of the display buffer of the slave device connected to the smart large screen according to the display buffer information, and the display buffer information is sent to the zoom level and vertical size values of the screen capture image sharing device and stored in the memory 11 of the screen capture image sharing device.
Specifically, for example, the display buffer information may be S _ Resolution (X1) { "X": "1920", "Y": the resolution of the '1080' }// mobile phone system, the resolution of the display buffer area of the obtained slave device is 1920 × 1080, namely the display resolution is 1920 × 1080.
Step S40: and the screen capture image sharing equipment carries out screen capture on the display interface according to the screen capture parameters and the display resolution ratio to obtain a target screen capture image.
It is easy to understand that the process of obtaining the target screenshot image can be: the display interface is subjected to screen capture according to the screen capture parameters to obtain a screen capture image; and processing the screen capture image according to the display resolution to obtain a target screen capture image. The process of obtaining the screen capture image may be: acquiring a timing time length according to the screen capture parameters; and carrying out screen capture on the display interface according to the timing time length to obtain a screen capture image.
Specifically, the screen capture parameter may include a timing length of time, such as 1s, for providing the highlight at the mobile phone side. The screen capture resolution adaptation module can capture 60 frames of pictures of a large-screen display screen according to the timed time length provided by the mobile phone and store the pictures in the memory. The screenshot image is processed according to the display resolution, the screenshot image sharing device obtains the size of the resolution scaling of the horizontal and vertical sizes of the memory 11, that is, obtains the resolution size of the display buffer of the slave device, the display resolution may be 1920 × 1080, the screenshot image sharing device obtains the target screenshot image by screenshot processing frame pictures, and the target screenshot image may be stored in the memory 22 of the screenshot image sharing device. The screen capture parameters may also include the resolution of the smart large screen, for example: intelligent large screen _ Resolution (X1) { "X": "3840", "Y": "2180" }// resolution of the smart large screen, then the resolution of the smart large screen is 3840 × 2180.
Step S50: the screen capture image sharing device sends the target screen capture image to the slave device so that the slave device can share images according to the target screen capture image.
The screen capture image sharing device sends the target screen capture image to the slave device, and meanwhile, the screen capture image sharing device sends a watermark processing instruction to the slave device, so that the slave device performs watermark processing on the target screen capture image to obtain a watermark screen capture image; the screen capture image sharing equipment acquires an image memory identifier of the slave equipment and judges whether the watermarking processing is finished or not according to the image memory identifier; the screenshot image sharing device acquires the value of the slave device memory 333 identifier, sets identifier 1 as the slave device end watermark adding is completed, and sets identifier 0 as the slave device end watermark adding is not completed, and when the watermark processing is determined to be completed, the screenshot image sharing device acquires the value of the slave device memory 333 identifier as 1 and sends an image sharing instruction to the slave device, so that the slave device performs image sharing on the watermark screenshot image according to the image sharing instruction. Alternatively, the slave device may perform image sharing on the watermark screenshot image by itself, which is not limited in this embodiment.
Specifically, the slave device side may include a UI module, a picture playing module, a refreshing module, a general sharing interface module, and a Socket client module, where a user sends a screen capture instruction (the highlight module is equivalent to the refreshing module) to the intelligent large screen side by entering the highlight module from the slave device side, after receiving the screen capture instruction, the intelligent large screen captures a frame of large screen image at the current time and stores the captured frame of large screen image, and sends the stored image to the slave device side by Socekt, and after receiving the image data stream from the slave device side, decodes the image, adds a watermark, and displays the decoded image by the image player, and the user may share the highlight captured from the intelligent large screen to a social circle of the user, such as a friend circle, a WeChat, a microblog, or a cloud disk, through the general sharing interface, thereby effectively utilizing the network to implement information synchronization for image sharing.
In the embodiment, compared with the prior art that screenshot software is installed at the end of an intelligent large screen, and the current video playing picture is intercepted by the screenshot software, the file is transmitted to slave devices such as a mobile phone and a tablet through transmission devices such as a USB data line, or the file is stored in the slave devices such as the mobile phone and the tablet in a mobile manner through a USB storage device, in the embodiment, the screenshot parameter of the slave devices is obtained through the screenshot command of the slave devices, the display resolution of the slave devices is obtained by sending the cache monitoring command to the slave devices, the screenshot of the display interface is realized according to the screenshot parameter and the display resolution of the slave devices, so that the target screenshot image is the screenshot image suitable for the display of the slave devices, and finally the target screenshot image is sent to the slave devices for image sharing, the information synchronization is effectively realized by using the network for image sharing, and the problem that the operation process of the existing transmission devices such as the USB data line is, and the defect that the network cannot be effectively utilized to realize information synchronization is overcome, so that the intelligent large screen, the mobile phone and the flat panel can realize efficient image sharing.
Referring to fig. 3, fig. 3 is a flowchart illustrating a screenshot sharing method according to a second embodiment of the present invention. Based on the first embodiment, in step S40, the screenshot image sharing method of this embodiment specifically includes:
step S401: and the screen capture image sharing equipment carries out screen capture on the display interface according to the screen capture parameters to obtain a screen capture image.
It should be noted that, the process of obtaining the screenshot image may be: acquiring a timing time length according to the screen capture parameters; and carrying out screen capture on the display interface according to the timing time length to obtain a screen capture image.
Specifically, the screen capture parameter may include a timing length of time, such as 1s, for providing the highlight at the mobile phone side. The screen capture resolution adaptation module can capture 60 frames of pictures of a large-screen display screen according to the timed time length provided by the mobile phone and store the pictures in the memory.
It is easy to understand that the screen capture image sharing device performs screen capture on the display interface according to the screen capture parameters, and before obtaining the screen capture image, the screen capture interface needs to be initialized: initializing a screen capture interface according to the screen capture parameters to obtain a target screen capture interface; starting a screen capturing process through a target screen capturing interface; when the screen capturing process is started, the screen capturing of the display interface is triggered according to the screen capturing parameters, and the operation of the screen capturing image is obtained.
Specifically, the screen capture image sharing device initializes the screen capture interface, and the screen capture image sharing device suspends the system interrupt command. The screen capture image sharing device starts a screen capture command, acquires the resolution of the display buffer area of the slave device in the memory 11, and starts adaptive screen capture.
Step S402: and the screen capture image sharing equipment processes the screen capture image according to the display resolution to obtain a target screen capture image.
It should be noted that, the process of obtaining the target screenshot image according to the screenshot image may be: generating a screen capture frame image storage format according to the screen capture parameters and the display resolution; and processing the screen capture image according to the screen capture frame image storage format to obtain a target screen capture image. The screen capture image sharing apparatus may generate a screen capture frame image saving format of JPG (0, JPG, 1 BMP). And stopping the screen capturing operation after the screen capturing of the screen capturing image sharing equipment is finished. The screenshot image saving format may also be png format, which is not limited in this embodiment.
Specifically, the screenshot image is processed according to the display resolution, the screenshot image sharing device obtains the size of the resolution scaling of the horizontal and vertical sizes of the memory 11, that is, obtains the resolution size of the display buffer of the slave device, where the display resolution may be 1920 × 1080, and the screenshot image sharing device obtains the target screenshot image by screenshot processing the frame picture, and may store the target screenshot image in the memory 22 of the screenshot image sharing device.
It should be noted that the screen capture image sharing device may obtain the memory identifier, and determine whether the screen capture is completed according to the memory identifier; and when the screen capture is determined to be completed, triggering the operation of sending the target screen capture image to the slave equipment.
In this embodiment, compared with the prior art that screenshot software is installed at an end of an intelligent large screen, the screenshot software is used for intercepting a current video playing picture and transmitting the file to slave devices such as a mobile phone and a tablet through transmission devices such as a USB data line or storing the file to the slave devices such as the mobile phone and the tablet in a mobile manner through a USB storage device, in this embodiment, a screenshot parameter of the slave devices is obtained through a screenshot instruction of the slave devices, and a screenshot image sharing device performs screenshot on a display interface according to the screenshot parameter to obtain a screenshot image; the method comprises the steps of processing a screen capture image according to the display resolution, realizing screen capture on a display interface according to the screen capture parameters and the display resolution of the slave equipment, enabling a target screen capture image to be a screen capture image suitable for display of the slave equipment, finally sending the target screen capture image to the slave equipment for image sharing, effectively utilizing a network to realize information synchronization for image sharing, overcoming the defects that the operation process of the existing transmission equipment through a USB data line and the like is too troublesome, and the network cannot be effectively utilized to realize information synchronization, and enabling an intelligent large screen to realize efficient image sharing with a mobile phone and a flat panel.
Referring to fig. 4, fig. 4 is a flowchart illustrating a screenshot sharing method according to a third embodiment of the present invention. Based on the second embodiment, in step S401, the screenshot image sharing method of this embodiment specifically includes:
step S4011: and the screen capture image sharing equipment acquires the timing time length according to the screen capture parameters.
It should be noted that the screen capture parameter may include a timing length of the mobile phone side providing the highlight, for example, 1s, and the timing length may be set according to an actual need, which is not limited in this embodiment.
Step S4012: and the screen capture image sharing equipment carries out screen capture on the display interface according to the timing time length to obtain a screen capture image.
It is easy to understand that, if the timing time length is 1s, the screenshot resolution adaptation module in the screenshot image sharing device can capture 60 frames of pictures of the large-screen display screen according to the screenshot time length 1s provided by the mobile phone to obtain the screenshot image, and the screenshot image can be stored in the memory for subsequent processing.
In this embodiment, compared with the prior art that screenshot software is installed at an end of an intelligent large screen, the screenshot software is used for intercepting an operation process in which a current video playing picture is transmitted to a slave device such as a mobile phone and a tablet through a transmission device such as a USB data line or the file is stored in a mobile manner to the slave device such as the mobile phone and the tablet through a USB storage device, in this embodiment, a screenshot parameter of the slave device is obtained from a screenshot instruction of the slave device, a timing time length is obtained according to the screenshot parameter, and a screenshot image sharing device performs screenshot on a display interface according to the timing time length to obtain a screenshot image; the method comprises the steps of processing a screen capture image according to the display resolution, achieving screen capture on a display interface according to screen capture parameters and the display resolution of slave equipment, finally sending a target screen capture image to the slave equipment for image sharing, effectively utilizing a network to achieve information synchronization for image sharing, overcoming the defects that the operation process of the existing transmission equipment such as a USB data line is too troublesome, and the network cannot be effectively utilized to achieve information synchronization, and enabling an intelligent large screen to achieve efficient image sharing with a mobile phone and a flat panel.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a screenshot sharing program is stored on the computer-readable storage medium, and the screenshot sharing program is executed by a processor to perform the steps of the screenshot sharing method.
Since the computer-readable storage medium adopts all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and are not described in detail herein.
Referring to fig. 5, fig. 5 is a block diagram of a first embodiment of a screenshot sharing device according to the present invention.
As shown in fig. 5, the screenshot image sharing apparatus according to the embodiment of the present invention includes:
the receiving module 10 is configured to, when a screen capture instruction of the slave device is received, obtain a screen capture parameter according to the screen capture instruction.
It should be understood that the slave device may be a device that establishes a communication connection with the screenshot sharing apparatus in advance, for example, a terminal device such as a mobile phone, a computer or a tablet computer, which is not limited in this embodiment; the screen capture instruction may be an instruction entered by a user through a user interactive interface of the slave device.
It should be noted that, in the embodiment of the present invention, an Application (APP) running on a mobile phone may be provided, for example, the APP may be named as "large screen assistant", and a user may install the APP on his own mobile phone; correspondingly, a corresponding background application program can be installed in the operating system of the intelligent large screen side to realize interaction with a large screen assistant of the mobile phone side and realize the function of capturing the intelligent large screen. The mobile phone side is provided with an application such as a large-screen assistant, and a user interface can be provided for a user through the large-screen assistant application, and meanwhile, a specific user operation inlet for initiating a screen capturing operation, such as a screen capturing operation button and the like, is provided on the user interface. In this way, a user can see such an operation entry in his user interface after opening the large screen assistant application in the handset. When the user executes corresponding operations such as clicking and the like through the operation entrance, the large-screen assistant is equivalent to receiving a screen capturing instruction initiated by the user.
Specifically, the mobile phone and the screen capture image sharing device are connected to the wireless network, the screen capture image sharing device may start the screen capture resolution adaptation module, the screen capture resolution adaptation module may obtain the screen capture parameters according to the screen capture instruction, and the screen capture parameters may include a timing time length of a highlight provided by the mobile phone side, such as 1 s. The screen capture resolution adaptation module can capture 60 frames of pictures of a large-screen display screen according to the timed time length provided by the mobile phone and store the pictures in the memory.
And the monitoring module 20 is configured to send a cache monitoring instruction to the slave device, and receive display cache region information fed back by the slave device.
It is easy to understand that the screenshot image sharing device may start the screenshot resolution adaptation module, the screenshot resolution adaptation module creates a monitoring slave device display cache service, that is, the screenshot resolution adaptation module sends a cache monitoring instruction to the slave device and receives display cache region information fed back by the slave device, the screenshot resolution adaptation module may obtain the resolution of the display cache region of the slave device connected to the smart large screen according to the display cache region information, and the display cache region information is sent to the zoom level and vertical size values of the screenshot image sharing device and stored in the memory 11 of the screenshot image sharing device.
And an obtaining module 30, configured to obtain the display resolution according to the display buffer information.
It should be noted that the screen capture resolution adaptation module may obtain the resolution of the display buffer of the slave device connected to the smart large screen according to the display buffer information, and the display buffer information is sent to the zoom level and vertical size values of the screen capture image sharing device and stored in the memory 11 of the screen capture image sharing device.
Specifically, for example, the display buffer information may be S _ Resolution (X1) { "X": "1920", "Y": the resolution of the '1080' }// mobile phone system, the resolution of the display buffer area of the obtained slave device is 1920 × 1080, namely the display resolution is 1920 × 1080.
And the screen capturing module 40 is used for capturing a screen of the display interface according to the screen capturing parameters and the display resolution to obtain a target screen capturing image.
It is easy to understand that the process of obtaining the target screenshot image can be: the display interface is subjected to screen capture according to the screen capture parameters to obtain a screen capture image; and processing the screen capture image according to the display resolution to obtain a target screen capture image. The process of obtaining the screen capture image may be: acquiring a timing time length according to the screen capture parameters; and carrying out screen capture on the display interface according to the timing time length to obtain a screen capture image.
Specifically, the screen capture parameter may include a timing length of time, such as 1s, for providing the highlight at the mobile phone side. The screen capture resolution adaptation module can capture 60 frames of pictures of a large-screen display screen according to the timed time length provided by the mobile phone and store the pictures in the memory. The screenshot image is processed according to the display resolution, the screenshot image sharing device obtains the scaled resolution of the horizontal and vertical sizes of the memory 11, that is, obtains the resolution of the display buffer of the slave device, the display resolution may be 1920 × 1080, the screenshot image sharing device obtains the target screenshot image by screenshot processing frame, and the target screenshot image may be stored in the memory 22 of the screenshot image sharing device. The screen capture parameters may also include the resolution of the smart large screen, for example: intelligent large screen _ Resolution (X1) { "X": "3840", "Y": "2180" }// resolution of the smart large screen, then the resolution of the smart large screen is 3840 × 2180.
And the sending module 50 is used for sending the target screen capture image to the slave equipment so that the slave equipment can share the image according to the target screen capture image.
The screen capture image sharing device sends the target screen capture image to the slave device, and meanwhile, the screen capture image sharing device sends a watermark processing instruction to the slave device, so that the slave device performs watermark processing on the target screen capture image to obtain a watermark screen capture image; the screen capture image sharing device acquires an image memory identifier of the slave equipment and judges whether the watermarking processing is finished or not according to the image memory identifier; the screenshot image sharing device acquires a value identified by a storage 333 in the slave device, sets an identifier 1 as the watermark adding completion of the slave device side, sets an identifier 0 as the watermark adding incompletion of the slave device side, and when the watermark processing is determined to be completed, the screenshot image sharing device acquires the value identified by the storage 333 in the slave device as 1 and sends an image sharing instruction to the slave device so that the slave device can share the image of the watermark screenshot image according to the image sharing instruction. Alternatively, the slave device may perform image sharing on the watermark screenshot image by itself, which is not limited in this embodiment.
Specifically, the slave device side may include a UI module, a picture playing module, a refreshing module, a general sharing interface module, and a Socket client module, where a user sends a screen capture instruction (the highlight module is equivalent to the refreshing module) to the intelligent large screen side by entering the highlight module from the slave device side, after receiving the screen capture instruction, the intelligent large screen captures a frame of large screen image at the current time and stores the captured frame of large screen image, and sends the stored image to the slave device side by Socekt, and after receiving the image data stream from the slave device side, decodes the image, adds a watermark, and displays the decoded image by the image player, and the user may share the highlight captured from the intelligent large screen to a social circle of the user, such as a friend circle, a WeChat, a microblog, or a cloud disk, through the general sharing interface, thereby effectively utilizing the network to implement information synchronization for image sharing.
In the embodiment, compared with the prior art that screenshot software is installed at the end of an intelligent large screen, and the current video playing picture is intercepted by the screenshot software, the file is transmitted to slave devices such as a mobile phone and a tablet through transmission devices such as a USB data line, or the file is stored in the slave devices such as the mobile phone and the tablet in a mobile manner through a USB storage device, in the embodiment, the screenshot parameter of the slave devices is obtained through the screenshot command of the slave devices, the display resolution of the slave devices is obtained by sending the cache monitoring command to the slave devices, the screenshot of the display interface is realized according to the screenshot parameter and the display resolution of the slave devices, so that the target screenshot image is the screenshot image suitable for the display of the slave devices, and finally the target screenshot image is sent to the slave devices for image sharing, the information synchronization is effectively realized by using the network for image sharing, and the problem that the operation process of the existing transmission devices such as the USB data line is, and the defect that the network cannot be effectively utilized to realize information synchronization is overcome, so that the intelligent large screen, the mobile phone and the flat panel can realize efficient image sharing.
In an embodiment, the screen capture module 40 is further configured to capture a screen of the display interface according to the screen capture parameter to obtain a screen capture image;
and processing the screen capture image according to the display resolution to obtain a target screen capture image.
In an embodiment, the screen capture module 40 is further configured to obtain a timing time length according to the screen capture parameter;
and carrying out screen capture on the display interface according to the timing time length to obtain a screen capture image.
In an embodiment, the screen capture module 40 is further configured to initialize a screen capture interface according to the screen capture parameter to obtain a target screen capture interface;
starting a screen capturing process through a target screen capturing interface;
when the screen capturing process is started, the screen capturing of the display interface is triggered according to the screen capturing parameters, and the operation of the screen capturing image is obtained.
In an embodiment, the screen capture module 40 is further configured to generate a screen capture frame image saving format according to the screen capture parameters and the display resolution;
and processing the screen capture image according to the screen capture frame image storage format to obtain a target screen capture image.
In an embodiment, the obtaining module 30 is further configured to obtain a memory identifier;
and triggering the operation of sending the target screen capture image to the slave equipment when the screen capture is determined to be completed according to the memory identification.
In an embodiment, the sending module 50 is further configured to send a watermarking instruction to the slave device, so that the slave device performs watermarking on the target screenshot image to obtain a watermarked screenshot image;
acquiring an image memory identification of the slave device;
and when the watermark processing is determined to be completed according to the image memory identification, sending an image sharing instruction to the slave device so that the slave device can share the image of the watermark screen shot image according to the image sharing instruction.
Other embodiments or specific implementations of the screenshot image sharing device of the present invention can refer to the above-mentioned embodiments of the screenshot image sharing method, and are not described herein again.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the screenshot image sharing method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A screenshot image sharing method, comprising:
when a screen capturing instruction of slave equipment is received, screen capturing parameters are obtained according to the screen capturing instruction;
sending a cache monitoring instruction to the slave equipment, and receiving display cache region information fed back by the slave equipment;
acquiring display resolution according to the display cache region information;
performing screen capture on a display interface according to the screen capture parameters and the display resolution to obtain a target screen capture image;
and sending the target screen capture image to the slave equipment so that the slave equipment performs image sharing according to the target screen capture image.
2. The method of claim 1, wherein the capturing a screen of a display interface according to the screen capture parameter and the display resolution to obtain a target screen capture image comprises:
performing screen capture on a display interface according to the screen capture parameters to obtain a screen capture image;
and processing the screen capture image according to the display resolution to obtain a target screen capture image.
3. The method of claim 2, wherein the capturing the screen of the display interface according to the screen capturing parameter to obtain a screen capturing image comprises:
acquiring a timing time length according to the screen capture parameters;
and performing screen capture on the display interface according to the timing time length to obtain a screen capture image.
4. The method of claim 3, wherein before the screen capturing of the display interface according to the screen capturing parameter to obtain the screen capturing image, the method further comprises:
initializing a screen capture interface according to the screen capture parameters to obtain a target screen capture interface;
starting a screen capturing process through the target screen capturing interface;
and when the screen capturing process is started, triggering the screen capturing of the display interface according to the screen capturing parameters to obtain the operation of the screen capturing image.
5. The method of claim 4, wherein said processing the screenshot image according to the display resolution to obtain a target screenshot image comprises:
generating a screen capture frame image storage format according to the screen capture parameters and the display resolution;
and processing the screen capture image according to the screen capture frame image storage format to obtain a target screen capture image.
6. The method of any of claims 1-5, wherein prior to sending the target screenshot image to the slave device, the method further comprises:
acquiring a memory identifier;
and when the screen capture is determined to be completed according to the memory identification, triggering the operation of sending the target screen capture image to the slave equipment.
7. The method of claim 6, wherein after the transmitting the target screenshot image to the slave device, the method further comprises:
sending a watermarking processing instruction to the slave equipment so that the slave equipment performs watermarking processing on the target screen capture image to obtain a watermarking screen capture image;
acquiring an image memory identification of the slave device;
and when the watermark processing is determined to be completed according to the image memory identification, sending an image sharing instruction to the slave equipment so that the slave equipment can share the image of the watermark screen shot image according to the image sharing instruction.
8. A screen shot image sharing apparatus, comprising:
the receiving module is used for acquiring screen capturing parameters according to a screen capturing instruction when the screen capturing instruction of the slave equipment is received;
the monitoring module is used for sending a cache monitoring instruction to the slave equipment and receiving display cache area information fed back by the slave equipment;
the acquisition module is used for acquiring the display resolution according to the display cache region information;
the screen capture module is used for capturing a screen of a display interface according to the screen capture parameters and the display resolution to obtain a target screen capture image;
and the sending module is used for sending the target screen capture image to the slave equipment so as to enable the slave equipment to share the image according to the target screen capture image.
9. A screenshot image sharing apparatus comprising a memory, a processor and a screenshot image sharing program stored on the memory and executable on the processor, the processor implementing the steps of the screenshot image sharing method according to any one of claims 1 to 7 when executing the screenshot image sharing program.
10. A computer-readable storage medium, having stored thereon a screen shot image sharing program which, when executed by a processor, implements the steps of the screen shot image sharing method according to any one of claims 1 to 7.
CN202011200594.2A 2020-10-30 2020-10-30 Screenshot image sharing method, device and equipment and computer readable storage medium Pending CN112351093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011200594.2A CN112351093A (en) 2020-10-30 2020-10-30 Screenshot image sharing method, device and equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011200594.2A CN112351093A (en) 2020-10-30 2020-10-30 Screenshot image sharing method, device and equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112351093A true CN112351093A (en) 2021-02-09

Family

ID=74356622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011200594.2A Pending CN112351093A (en) 2020-10-30 2020-10-30 Screenshot image sharing method, device and equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112351093A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126862A (en) * 2021-03-15 2021-07-16 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium
CN113225603A (en) * 2021-04-23 2021-08-06 深圳创维-Rgb电子有限公司 Picture sharing system and method based on backlight driving
CN114741081A (en) * 2022-06-13 2022-07-12 北京麟卓信息科技有限公司 Cross-operation environment display output sharing method based on heterogeneous cache access

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981793A (en) * 2012-11-22 2013-03-20 Tcl集团股份有限公司 Screen synchronization method and device
CN103634683A (en) * 2013-11-29 2014-03-12 乐视致新电子科技(天津)有限公司 Screen capturing method and device for intelligent televisions
CN103747351A (en) * 2013-12-02 2014-04-23 乐视致新电子科技(天津)有限公司 Smart television screenshot method and device
CN105404455A (en) * 2015-12-16 2016-03-16 北京奇虎科技有限公司 Method and apparatus for performing screen capture on mobile terminal by utilizing terminal
CN105493621A (en) * 2014-08-04 2016-04-13 华为技术有限公司 Terminal, server, and terminal control method
CN106648500A (en) * 2016-11-10 2017-05-10 乐视控股(北京)有限公司 Multi-screen display method, device and system
CN107423187A (en) * 2016-06-08 2017-12-01 宁波广播电视集团 A kind of screen monitor method, apparatus and system
WO2018032696A1 (en) * 2016-08-19 2018-02-22 广州视睿电子科技有限公司 Method and system for desktop screenshot control
CN108363604A (en) * 2018-02-06 2018-08-03 四川虹美智能科技有限公司 A kind of resolution adaptation method, apparatus and operation system
CN109168041A (en) * 2018-09-26 2019-01-08 深圳壹账通智能科技有限公司 A kind of mobile terminal monitored method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981793A (en) * 2012-11-22 2013-03-20 Tcl集团股份有限公司 Screen synchronization method and device
CN103634683A (en) * 2013-11-29 2014-03-12 乐视致新电子科技(天津)有限公司 Screen capturing method and device for intelligent televisions
CN103747351A (en) * 2013-12-02 2014-04-23 乐视致新电子科技(天津)有限公司 Smart television screenshot method and device
CN105493621A (en) * 2014-08-04 2016-04-13 华为技术有限公司 Terminal, server, and terminal control method
CN105404455A (en) * 2015-12-16 2016-03-16 北京奇虎科技有限公司 Method and apparatus for performing screen capture on mobile terminal by utilizing terminal
CN107423187A (en) * 2016-06-08 2017-12-01 宁波广播电视集团 A kind of screen monitor method, apparatus and system
WO2018032696A1 (en) * 2016-08-19 2018-02-22 广州视睿电子科技有限公司 Method and system for desktop screenshot control
CN106648500A (en) * 2016-11-10 2017-05-10 乐视控股(北京)有限公司 Multi-screen display method, device and system
CN108363604A (en) * 2018-02-06 2018-08-03 四川虹美智能科技有限公司 A kind of resolution adaptation method, apparatus and operation system
CN109168041A (en) * 2018-09-26 2019-01-08 深圳壹账通智能科技有限公司 A kind of mobile terminal monitored method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126862A (en) * 2021-03-15 2021-07-16 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium
CN113126862B (en) * 2021-03-15 2022-06-10 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium
CN113225603A (en) * 2021-04-23 2021-08-06 深圳创维-Rgb电子有限公司 Picture sharing system and method based on backlight driving
CN113225603B (en) * 2021-04-23 2023-08-18 深圳创维-Rgb电子有限公司 Picture sharing system and method based on backlight driving
CN114741081A (en) * 2022-06-13 2022-07-12 北京麟卓信息科技有限公司 Cross-operation environment display output sharing method based on heterogeneous cache access
CN114741081B (en) * 2022-06-13 2022-08-09 北京麟卓信息科技有限公司 Cross-operation environment display output sharing method based on heterogeneous cache access

Similar Documents

Publication Publication Date Title
CN109327727B (en) Live stream processing method in WebRTC and stream pushing client
CN112351093A (en) Screenshot image sharing method, device and equipment and computer readable storage medium
CN107682714B (en) Method and device for acquiring online video screenshot
CN107483812B (en) Multi-platform parallel live broadcast method and device
CN111897507B (en) Screen projection method and device, second terminal and storage medium
CN110392063B (en) Electronic whiteboard data synchronization method, device, equipment and medium
CN109309842B (en) Live broadcast data processing method and device, computer equipment and storage medium
US9706102B1 (en) Enhanced images associated with display devices
CN112637842B (en) Screen projection equipment connection method, system, equipment and storage medium
WO2016065912A1 (en) Page synchronization method and device
CN113573090A (en) Content display method, device and system in game live broadcast and storage medium
WO2019071618A1 (en) Image processing method and device
WO2017113855A1 (en) Application program interaction method and terminal
KR20160075612A (en) Method and apparatus for displaying image
CN108573185B (en) Two-dimensional code picture identification method and device
CN112866577B (en) Image processing method and device, computer readable medium and electronic equipment
CN106911948B (en) Display control method and device, control equipment and electronic equipment
CN112383812A (en) Television-side screen capture sharing method, television side, mobile terminal and system
WO2018121542A1 (en) Operation method and apparatus for service object, and electronic device
CN112188087A (en) Panoramic video screenshot method and device, storage medium and computer equipment
CN108924624B (en) Information processing method and device
CN112269886B (en) Shared image acquisition method, window sharing method and shared image acquisition device
CN114841854A (en) Image processing method, device, equipment and storage medium
CN114339031A (en) Picture adjusting method, device, equipment and storage medium
CN108881999B (en) Screen capture 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