CN114095758A - Cloud image intercepting method, related device and computer program product - Google Patents

Cloud image intercepting method, related device and computer program product Download PDF

Info

Publication number
CN114095758A
CN114095758A CN202111356608.4A CN202111356608A CN114095758A CN 114095758 A CN114095758 A CN 114095758A CN 202111356608 A CN202111356608 A CN 202111356608A CN 114095758 A CN114095758 A CN 114095758A
Authority
CN
China
Prior art keywords
image frame
screenshot
target
image
target image
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
CN202111356608.4A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111356608.4A priority Critical patent/CN114095758A/en
Publication of CN114095758A publication Critical patent/CN114095758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Abstract

The disclosure provides a cloud image intercepting method, a cloud image intercepting device, electronic equipment, a computer readable storage medium and a computer program product, relates to the technical field of cloud computing such as image processing, a cloud platform and a smart cloud, and can be applied to scenes such as a cloud game. One embodiment of the method comprises: the method comprises the steps of responding when receiving a screenshot request returned by a target terminal device, determining a video resource in a local issuing state requested by the screenshot request and a sending time stamp of the screenshot request, extracting a target image frame in the video resource based on the sending time stamp, then generating an image downloading link based on the target image frame, and finally returning the image downloading link to the target terminal device. The embodiment can directly instruct the main body issued by the video resource to capture the image and return the image capturing result in the form of the link, thereby not only improving the quality of the obtained image capturing result, but also reducing the occupation of the communication resource between the main body issued by the video resource and the target terminal equipment.

Description

Cloud image intercepting method, related device and computer program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of cloud computing technologies such as image processing, cloud platforms, and smart clouds, and in particular, to a cloud image capturing method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
Background
The cloud game is a game mode based on cloud computing, all games run on a cloud server in a running mode of the cloud game, and a rendered game picture is compressed and then transmitted to a user through a network. At this moment, the terminal equipment of the user can realize the game effect equivalent to the high-end processor and the video card only by basic video decompression capacity without configuring the high-end processor and the video card.
In the existing cloud game screenshot scheme, a client installed in a terminal device used by a user generally restores a picture in a video decoding mode on the basis of receiving a cloud game video stream, so that a game screenshot function is realized.
Disclosure of Invention
The embodiment of the disclosure provides a cloud image intercepting method and device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a cloud image capturing method, including: in response to receiving a screenshot request returned by a target terminal device, determining a video resource in a local issuing state requested by the screenshot request and a sending timestamp of the screenshot request; extracting a target image frame in the video resource based on the sending timestamp; and generating an image downloading link based on the target image frame, and returning the image downloading link to the target terminal equipment.
In a second aspect, an embodiment of the present disclosure provides a cloud image capturing apparatus, including: the screenshot request responding unit is configured to respond to a received screenshot request returned by the target terminal equipment, and determine the video resources requested by the screenshot request and the sending timestamp of the screenshot request, wherein the video resources are in a local issuing state; a target image frame extraction unit configured to extract a target image frame in the video asset based on the transmission timestamp; an image link returning unit configured to generate an image download link based on the target image frame and return the image download link to the target terminal device.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the cloud image capture method as described in any one of the implementations of the first aspect when executed.
In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement the cloud image capture method as described in any implementation manner of the first aspect.
In a fifth aspect, the present disclosure provides a computer program product including a computer program, which when executed by a processor is capable of implementing the cloud image capture method as described in any implementation manner of the first aspect.
The cloud image capturing method, the cloud image capturing device, the electronic device, the computer-readable storage medium and the computer program product provided by the embodiments of the present disclosure respond when receiving a capture request returned by a target terminal device, determine a video resource in a locally issued state requested by the capture request and a sending timestamp of the capture request, extract a target image frame in the video resource based on the sending timestamp, then generate an image download link based on the target image frame, and finally return the image download link to the target terminal device.
The method and the device can directly instruct the main body issued by the video resource to capture the image and return the image capturing result in a link form, so that the quality of the obtained image capturing result can be improved, and the occupation of communication resources between the main body issued by the video resource and the target terminal equipment can be reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture to which the present disclosure may be applied;
fig. 2 is a flowchart of a cloud image capturing method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another cloud image capturing method provided in the embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a cloud image capture method in an application scenario according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a cloud image capture device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to execute a cloud image capture method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict.
In addition, in the technical scheme related to the disclosure, the processes of obtaining personal information of the related user (for example, human face objects possibly included in video resources related to the disclosure later), storing, using, processing, transporting, providing, disclosing and the like all conform to the regulations of related laws and regulations, and do not violate the good custom of the public order.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the cloud image capture method, apparatus, electronic device, and computer-readable storage medium of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 and the server 105 may have installed thereon various applications for enabling information communication therebetween, such as a cloud game application, an image capture application, an instant messaging application, and the like.
The terminal apparatuses 101, 102, 103 and the server 105 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like; when the terminal devices 101, 102, and 103 are software, they may be installed in the electronic devices listed above, and they may be implemented as multiple software or software modules, or may be implemented as a single software or software module, and are not limited in this respect. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not limited herein.
The server 105 may provide various services through various built-in applications, for example, a cloud game application with an image capture function may be provided, and when the server 105 runs the cloud game application and continuously sends video resources to the target terminal devices 101, 102, and 103 through the network 104, the following effects may be achieved: firstly, the server 105 responds when receiving screenshot requests sent by target terminal equipment 101, 102 and 103 through the network 104, and determines video resources requested by the screenshot requests and sending timestamps of the screenshot requests, wherein the video resources are in a local issuing state; then, the server 105 extracts a target image frame in the video asset based on the transmission timestamp; finally, the server 105 generates an image download link based on the target image frame and returns the image download link to the target terminal device that sent the screenshot request.
Since the cloud computing service and the video resource generation need to occupy more computing resources and stronger computing power, the cloud image capturing method provided in the following embodiments of the present disclosure is generally executed by the server 105 having stronger computing power and more computing resources, and accordingly, the cloud image capturing apparatus is generally also disposed in the server 105. However, it should be noted that when the terminal devices 101, 102, and 103 also have computing capabilities and computing resources that meet the requirements, the terminal devices 101, 102, and 103 may also complete the above-mentioned operations (for example, performing cooperative operations with other terminal devices with strong computing capabilities, performing remote calls, etc.) that are originally delivered to the server 105 through the cloud game applications installed thereon, and then output the same results as the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of a cloud image capturing method according to an embodiment of the disclosure, where the process 200 includes the following steps:
step 201, in response to receiving a screenshot request returned by a target terminal device, determining a video resource in a local delivery state requested by the screenshot request and a sending timestamp of the screenshot request.
In this embodiment, an execution main body (for example, the server 105 shown in fig. 1) of the cloud image capture method continuously issues video resources to each terminal device, and responds when receiving a capture request returned by a target terminal device, and after receiving the capture request, the execution main body determines the video resources requested in the capture request and locally in an issued state and a sending timestamp of the capture request.
The screenshot request comprises video resources which are currently received by target terminal equipment sending the screenshot request and issued by the execution main body, and a timestamp which is received by the target terminal and requires to send the screenshot request to the execution main body.
It should be understood that, when the operation and resource capability of the execution main body allow, different video resources may be simultaneously issued to different terminal devices, where the video resources may be video resources of game content generated by interaction between the cloud game application locally installed by the execution main body and the terminal device used by the user, or video resources of a movie type issued according to a control instruction of the execution main body and/or a request of the user, so as to provide cloud services that can meet the needs of the users for different users.
It should be noted that the video resource delivered to each terminal device may be directly acquired from a local storage device by the execution main body, or may be acquired from a non-local storage device (for example, terminal devices 101, 102, and 103 shown in fig. 1). The local storage device may be a data storage module arranged in the execution main body, such as a server hard disk, in which case the video resource can be quickly read locally; the non-local storage device may also be any other electronic device configured to store data, such as some user terminals, in which case the executing entity may obtain the required video resource by sending a obtaining command to the electronic device.
Step 202, extracting a target image frame in the video resource based on the sending time stamp.
In this embodiment, after the sending timestamp of the screenshot request is determined based on the step 201, the video resource in the local delivery state to the target terminal device is determined according to the sending time of the timestamp, the target image frame delivered to the target terminal device at the timestamp (that is, the delivery time of the target image frame is the same as the sending timestamp of the screenshot request) is extracted from the video resource, and the target image frame is extracted from the video resource.
And step 203, generating an image downloading link based on the target image frame, and returning the image downloading link to the target terminal equipment.
In this embodiment, after the target image frame is determined and extracted in step 202, the target image frame is stored, a corresponding image download link obtained based on a Uniform Resource Locator (URL) is generated based on a storage path of the target image frame, and the image download link is returned to the target terminal device, so that the target terminal device can obtain the target image frame through the download link request.
In some embodiments, the method may further include interacting with each terminal device in advance to feed back an access link of an image frame database, a storage set, and the like for storing each captured image frame to a user, subsequently, after determining and extracting a target image frame, feeding back the number information and the identification information to the target terminal device in a manner of adding the number information and the identification information to the target image frame, feeding back the number information and the identification information to the target terminal device, accessing the image frame database, the storage set, and the like according to the access link of the preselected configuration, and extracting a corresponding target image frame from the image frame database and the storage set according to the number information and the identification information added to the target image frame.
The cloud image capture method provided by the embodiment of the disclosure can directly instruct the main body issued by the video resource to capture the image and return the capture result in a link form, so that the quality of the obtained capture result can be improved, and the occupation of communication resources between the main body issued by the video resource and the target terminal device can be reduced.
In some optional implementations of this embodiment, generating an image download link based on the target image frame, and returning the image download link to the target terminal device includes: sending the target image frame to an intermediate storage terminal device; controlling the storage terminal to generate an image downloading link of the target image frame; and controlling the storage terminal to return the image downloading link to the target terminal device.
Specifically, after the target image frame is extracted, the target image frame may be sent to an intermediate storage terminal device, where the intermediate storage terminal device is configured independently of the execution main body and the target terminal device, and after the target image frame is sent to the intermediate storage terminal device, the intermediate storage terminal device is controlled to store the target image frame locally in the intermediate storage terminal device, and after an image download link is generated correspondingly, the intermediate storage terminal device is controlled to directly send the image download link to the target terminal device, so that the target terminal device can obtain the corresponding target image frame according to the image download link, and in this way, the determined target image frame may be stored by the intermediate storage device independently of the execution main body, and then the purpose of sending the target image frame to the target terminal device may be completed by a communication channel independently of the execution main body and the target terminal device, the communication resources of the communication channel between the execution main body and the target terminal device are not occupied, and the potential influence on the original video resource issuing process is reduced.
In some optional implementations of this embodiment, the determining of the transmission timestamp includes: acquiring the communication rate between the target terminal equipment and the target terminal equipment; and determining the sending time stamp according to the receiving time stamp of the screenshot request and the communication rate.
Specifically, the communication rate between the execution main body and the target terminal device can be acquired when video resources are issued to the target terminal device, the sending time of the screenshot request is calculated according to the acquisition time of the screenshot request and the communication rate, and the sending time stamp of the screenshot request is determined, so that the sending time of the screenshot request can be determined even if the sending time stamp is absent or unknown in the screenshot request, and the operation stability of the cloud image screenshot method is improved.
Referring to fig. 3, fig. 3 is a flowchart of another cloud image capturing method according to an embodiment of the disclosure, where the process 300 includes the following steps:
step 301, in response to receiving a screenshot request returned by a target terminal device, determining a video resource in a local delivery state requested by the screenshot request and a sending timestamp of the screenshot request.
Step 302, a local application for generating a video asset is determined.
In this embodiment, an execution subject for issuing a video resource is determined to be a local application locally used for generating the video resource, and for example, when the video resource is a video resource of game content generated by a cloud game application locally installed by the execution subject based on a cloud image capture method according to interaction with a terminal device used by a user, the local application is correspondingly determined to be a cloud game application.
Step 303, calling a screenshot component of the local application to intercept the target image frame in the video resource based on the sending timestamp.
In this embodiment, after the local application for generating the video resource is determined based on the step 302, the local application is called, and the local application is controlled to intercept the content of the target image frame in the video resource based on the sending timestamp of the screenshot request determined in the step 301, so as to complete the extraction of the target image frame.
And step 304, generating an image downloading link based on the target image frame, and returning the image downloading link to the target terminal equipment.
The steps 301 and 304 are the same as the steps 201 and 203 shown in fig. 2, and the content of the same part is referred to corresponding parts in the previous embodiment, which is not described herein again, and the cloud image capture method provided in this embodiment further completes the extraction work of the target image frame by extracting the target image frame in the video resource by using the local configuration of the local application and the self-contained component in the manner of extracting the target image frame in the video resource by using the local application for generating the video resource on the basis of the embodiment shown in fig. 2, so as to improve the quality of the obtained target image frame according to the information such as the recommended configuration in the local application.
In some optional implementations of this embodiment, the cloud image intercepting method further includes: sending a screenshot parameter acquisition request to the target terminal equipment; responding to screenshot parameters corresponding to the screenshot parameter acquisition request received from the target terminal equipment, and generating local application configuration parameters according to the screenshot parameters; configuring the local application according to the local application configuration parameters; and intercepting a target image frame in the video resource by the screenshot component calling the local application based on the sending timestamp, wherein the screenshot component calling the local application comprises the following steps: and calling a screenshot component of the local application configured by the local application configuration parameters to intercept the target image frame in the video resource based on the sending time stamp.
Specifically, a parameter acquisition request can be sent to a target terminal device, a response is made when a screenshot parameter corresponding to the screenshot parameter acquisition request is received from the target terminal device, and after the screenshot parameter is acquired, the screenshot parameter can generally include parameters such as a screenshot range, a color parameter, whether filter information needs to be added and the like, a corresponding local configuration parameter is generated according to the screenshot parameter, a local application is configured according to the local application configuration parameter, an image frame in a video resource can be subsequently intercepted by using a screenshot component of the local application configured by the local application configuration parameter to complete the extraction operation of the target image frame, in the implementation manner, the user requirement on one side of the target terminal device can be acquired in an interactive manner with the target terminal device, and the local application can be configured correspondingly according to the user requirement, and a target image frame corresponding to the user requirement is obtained, so that the user experience is improved.
On the basis of any of the above embodiments, the hot update is an update mode commonly used by application software developers, that is, after a user downloads and installs an application, when hot update content exists in content corresponding to a video resource for immediate update encountered when the application is opened, the target image frame may also be updated based on the hot update content after extraction of the target image frame is completed, so as to improve quality of the obtained target image frame, and reduce problems that update content is lost and user experience is affected due to untimely update on one side of a target terminal device, and in this case, the cloud image capturing method provided by the present disclosure further includes: responding to the existence of a hot update identifier aiming at the video resource, and acquiring a hot update resource corresponding to the hot update identifier; performing thermal update on the target image frame by using the thermal update resource to generate an updated target image frame; and generating an image download link based on the target image frame and returning the image download link to the target terminal device, including: an image download link is generated based on the update target image frame and returned to the target terminal device.
Specifically, when a hot update identifier exists for the video resource, a response is made to obtain the hot update resource corresponding to the hot update identifier, the hot update resource is used for carrying out hot update on the target image frame to generate an update target image frame, an image sending link is generated based on the update target image frame, an image downloading link is returned to the target terminal device, content obtained after the hot update is completed is provided for a user at one side of the target terminal device, and the problem that the content is lost in the target image frame due to hot update delay caused by reasons that the user is not off-line in time, quits and the like is solved.
Furthermore, in the implementation manner, the target image frame and the updated target image frame can be stored and the image download link can be generated at the same time, so that a user at one side of the target terminal device can obtain the image content before and after the hot update, the user experience is improved, the comparison between the old version content and the new version content is conveniently completed, and the hot update content and effect are determined.
In order to further understand, the present disclosure further provides a specific implementation scheme in combination with a specific application scenario, where the implementation scheme includes a server a for issuing video resources and executing a cloud capture method, a target terminal device B used by a user, and an intermediate storage terminal device C, and in this application scenario, a specific implementation flow refers to a flow 400 shown in fig. 4, which is specifically as follows:
step 401, the cloud server a issues video resources.
Specifically, the cloud server a issues the continuous video resource to the target terminal device B.
Step 402, the cloud server A receives a screenshot request returned by the target terminal device B.
Specifically, when receiving a screenshot request returned by a target terminal device B, the cloud server a responds to determine the video resource in a local delivery state requested by the screenshot request and a sending timestamp of the screenshot request.
In step 403, the cloud server a determines the local application that generates the video resource.
In step 404, the cloud server a sends a screenshot parameter acquisition request to the target terminal device B.
Step 405, the cloud server a configures the local application according to the screenshot parameter returned by the target terminal device B.
Specifically, after receiving the screenshot parameter corresponding to the screenshot parameter acquisition request from the target terminal device, the cloud server a generates a local application configuration parameter according to the screenshot parameter, and configures the local application determined in step 403 according to the local application configuration parameter, so as to obtain the configured local application.
In step 406, the cloud server a extracts a target image frame in the video resource.
Specifically, the cloud server calls the screenshot component of the local application configured by the local application configuration parameter in step 405, and captures the target image frame in the video resource based on the sending timestamp determined in step 402.
In step 407, the cloud server a sends the target image frame to the intermediate storage device C.
And step 408, the intermediate storage device C is controlled by the cloud server a, and generates an image download link of the target image frame after the target image frame is locally stored.
In step 409, the intermediate storage device C is controlled by the cloud server a, and the image download link is returned to the target terminal device B.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present disclosure provides an embodiment of a cloud image capture apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the cloud image intercepting apparatus 500 of the present embodiment may include: a screenshot request response unit 501, a target image frame extraction unit 502 and an image link return unit 503. The screenshot request responding unit 501 is configured to, in response to receiving a screenshot request returned by a target terminal device, determine a video resource requested by the screenshot request and locally in a delivery state and a sending timestamp of the screenshot request; a target image frame extracting unit 502 configured to extract a target image frame in the video asset based on the transmission time stamp; an image link returning unit 503 configured to generate an image download link based on the target image frame and return the image download link to the target terminal device.
In the present embodiment, in the cloud image capture apparatus 500: the detailed processing and the technical effects of the screenshot request responding unit 501, the target image frame extracting unit 502 and the image link returning unit 503 can refer to the related descriptions of step 201 and step 203 in the embodiment corresponding to fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the target image frame extracting unit 502 includes: a native application determination subunit configured to determine a native application for generating the video asset; an image frame capture subunit configured to invoke a screenshot component of the local application to capture a target image frame in the video asset based on the send timestamp.
In some optional implementations of this embodiment, the cloud image capturing apparatus 500 further includes: a screenshot parameter requesting unit configured to send a screenshot parameter acquisition request to the target terminal device; a configuration parameter generation unit configured to generate a local application configuration parameter according to the screenshot parameter in response to receiving the screenshot parameter corresponding to the screenshot parameter acquisition request from the target terminal device; a local application configuration unit configured to configure the local application according to the local application configuration parameter; and the image frame intercepting subunit is further configured to invoke a screenshot component of the local application configured by the local application configuration parameters to intercept the target image frame in the video resource based on the sending timestamp
In some optional implementations of this embodiment, the image link returning unit 503 includes: a target image frame transmission subunit configured to transmit the target image frame to the intermediate storage terminal device; an image link generation control subunit configured to control the storage terminal to generate an image download link of the target image frame; an image link return control subunit configured to control the storage terminal to return the image download link to the target terminal device.
In some optional implementations of this embodiment, the determining of the transmission timestamp includes: acquiring the communication rate between the target terminal equipment and the target terminal equipment; and determining the sending time stamp according to the receiving time stamp of the screenshot request and the communication rate.
In some optional implementations of this embodiment, the cloud image capturing apparatus 500 further includes: a hot update resource acquisition unit configured to acquire a hot update resource corresponding to a hot update identifier in response to the hot update identifier existing for the video resource; an image frame updating unit configured to perform thermal updating on the target image frame by using the thermal updating resource, and generate an updated target image frame; and the image link returning unit is further configured to generate an image download link based on the update target image frame and return the image download link to the target terminal device.
The cloud image capture device provided by the embodiment can directly instruct the main body issued by the video resource to capture the image and return the capture result in a link form, so that the quality of the obtained capture result can be improved, and the occupation of communication resources between the main body issued by the video resource and the target terminal device can be reduced.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 601 performs the various methods and processes described above, such as the cloud image capture method. For example, in some embodiments, the cloud image capture method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When loaded into RAM 603 and executed by the computing unit 601, the computer program may perform one or more steps of the cloud image intercepting method described above. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the cloud image capture method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service extensibility in the conventional physical host and Virtual Private Server (VPS) service. The server may also be divided into servers of a distributed system, or servers that incorporate a blockchain.
According to the technical scheme of the embodiment of the disclosure, the main body issued by the video resource can be directly instructed to capture the image and return the image capture result in a link form, so that the quality of the obtained image capture result can be improved, and the occupation of communication resources between the main body issued by the video resource and the target terminal equipment can be reduced.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure may be performed in parallel or sequentially or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (15)

1. A cloud image truncation method, comprising:
in response to receiving a screenshot request returned by a target terminal device, determining a video resource in a local issuing state requested by the screenshot request and a sending timestamp of the screenshot request;
extracting a target image frame in the video resource based on the transmission timestamp;
and generating an image downloading link based on the target image frame, and returning the image downloading link to the target terminal equipment.
2. The method of claim 1, wherein said extracting a target image frame in the video asset based on the transmission timestamp comprises:
determining a native application for generating the video asset;
and calling a screenshot component of the local application to intercept a target image frame in the video resource based on the sending time stamp.
3. The method of claim 2, further comprising:
sending a screenshot parameter acquisition request to the target terminal equipment;
responding to screenshot parameters corresponding to the screenshot parameter acquisition request received from the target terminal equipment, and generating local application configuration parameters according to the screenshot parameters;
configuring the local application according to the local application configuration parameters; and
the calling of the screenshot component of the local application intercepts a target image frame in the video resource based on the sending timestamp, and comprises:
and calling a screenshot component of the local application configured by the local application configuration parameters to intercept the target image frame in the video resource based on the sending time stamp.
4. The method of claim 1, wherein said generating an image download link based on said target image frame and returning said image download link to said target terminal device comprises:
sending the target image frame to an intermediate storage terminal device;
controlling the storage terminal to generate an image downloading link of the target image frame;
and controlling the storage terminal to return the image downloading link to the target terminal equipment.
5. The method of claim 1, wherein the determining of the transmission timestamp comprises:
acquiring a communication rate with the target terminal equipment;
and determining the sending time stamp according to the receiving time stamp of the screenshot request and the communication rate.
6. The method of claim 1, further comprising:
responding to the existence of a hot update identifier aiming at the video resource, and acquiring a hot update resource corresponding to the hot update identifier;
performing hot updating on the target image frame by using the hot updating resource to generate an updated target image frame; and
the generating an image download link based on the target image frame and returning the image download link to the target terminal device includes:
and generating an image downloading link based on the updated target image frame, and returning the image downloading link to the target terminal equipment.
7. A cloud image intercepting apparatus comprising:
the screenshot request responding unit is configured to respond to a received screenshot request returned by a target terminal device, and determine a video resource in a local issuing state requested by the screenshot request and a sending time stamp of the screenshot request;
a target image frame extraction unit configured to extract a target image frame in the video asset based on the transmission timestamp;
an image link returning unit configured to generate an image download link based on the target image frame and return the image download link to the target terminal device.
8. The apparatus as claimed in claim 7, wherein the target image frame extracting unit includes:
a native application determination subunit configured to determine a native application for generating the video asset;
an image frame capture subunit configured to invoke a screenshot component of the native application to capture a target image frame in the video resource based on the send timestamp.
9. The apparatus of claim 8, further comprising:
a screenshot parameter requesting unit configured to send a screenshot parameter acquisition request to the target terminal device;
the configuration parameter generation unit is configured to respond to the screenshot parameter received from the target terminal device and corresponding to the screenshot parameter acquisition request, and generate a local application configuration parameter according to the screenshot parameter;
a local application configuration unit configured to configure the local application according to the local application configuration parameter; and
the image frame intercepting subunit is further configured to invoke a screenshot component of the local application configured with local application configuration parameters to intercept a target image frame in the video resource based on the send timestamp.
10. The apparatus of claim 7, wherein the image link returning unit comprises:
a target image frame transmission subunit configured to transmit the target image frame to an intermediate storage terminal device;
an image link generation control subunit configured to control the storage terminal to generate an image download link of the target image frame;
an image link return control subunit configured to control the storage terminal to return the image download link to the target terminal device.
11. The apparatus of claim 7, wherein the determining of the transmission timestamp comprises:
acquiring a communication rate with the target terminal equipment;
and determining the sending time stamp according to the receiving time stamp of the screenshot request and the communication rate.
12. The apparatus of claim 7, further comprising:
a hot update resource acquisition unit configured to acquire a hot update resource corresponding to a hot update identifier in response to the hot update identifier existing for the video resource;
an image frame updating unit configured to perform a thermal update on the target image frame using the thermal update resource, generating an updated target image frame; and
the image link returning unit is further configured to generate an image download link based on the update target image frame and return the image download link to the target terminal device.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the cloud image capture method of any of claims 1-6.
14. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the cloud image intercepting method of any of claims 1-6.
15. A computer program product comprising a computer program which, when executed by a processor, implements the cloud image intercepting method of any of claims 1-6.
CN202111356608.4A 2021-11-16 2021-11-16 Cloud image intercepting method, related device and computer program product Pending CN114095758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111356608.4A CN114095758A (en) 2021-11-16 2021-11-16 Cloud image intercepting method, related device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111356608.4A CN114095758A (en) 2021-11-16 2021-11-16 Cloud image intercepting method, related device and computer program product

Publications (1)

Publication Number Publication Date
CN114095758A true CN114095758A (en) 2022-02-25

Family

ID=80301045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111356608.4A Pending CN114095758A (en) 2021-11-16 2021-11-16 Cloud image intercepting method, related device and computer program product

Country Status (1)

Country Link
CN (1) CN114095758A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130091188A1 (en) * 2011-09-26 2013-04-11 Gladinet, Inc. System and method for providing access to a file in real time during a cloud storage upload process
CN103369372A (en) * 2013-07-17 2013-10-23 广州珠江数码集团有限公司 Live television screen capturing system and live television screen capturing method
CN108063949A (en) * 2017-12-11 2018-05-22 威创集团股份有限公司 Image screenshotss method, apparatus and screenshotss server
US20180373736A1 (en) * 2016-02-17 2018-12-27 Beijing Kingsoft Internet Security Software Co., Ltd. Method and apparatus for storing resource and electronic device
CN111643903A (en) * 2020-05-22 2020-09-11 腾讯科技(深圳)有限公司 Control method and device of cloud game, electronic equipment and storage medium
CN111787221A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Image acquisition method, device, system, equipment and computer storage medium
CN112351307A (en) * 2020-10-26 2021-02-09 咪咕视讯科技有限公司 Screenshot method, server, terminal equipment and computer readable storage medium
CN113617027A (en) * 2021-08-27 2021-11-09 腾讯科技(深圳)有限公司 Cloud game processing method, device, equipment and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130091188A1 (en) * 2011-09-26 2013-04-11 Gladinet, Inc. System and method for providing access to a file in real time during a cloud storage upload process
CN103369372A (en) * 2013-07-17 2013-10-23 广州珠江数码集团有限公司 Live television screen capturing system and live television screen capturing method
US20180373736A1 (en) * 2016-02-17 2018-12-27 Beijing Kingsoft Internet Security Software Co., Ltd. Method and apparatus for storing resource and electronic device
CN108063949A (en) * 2017-12-11 2018-05-22 威创集团股份有限公司 Image screenshotss method, apparatus and screenshotss server
CN111643903A (en) * 2020-05-22 2020-09-11 腾讯科技(深圳)有限公司 Control method and device of cloud game, electronic equipment and storage medium
CN111787221A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Image acquisition method, device, system, equipment and computer storage medium
CN112351307A (en) * 2020-10-26 2021-02-09 咪咕视讯科技有限公司 Screenshot method, server, terminal equipment and computer readable storage medium
CN113617027A (en) * 2021-08-27 2021-11-09 腾讯科技(深圳)有限公司 Cloud game processing method, device, equipment and medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MENG LUO: "Uniquitous: Implementation and evaluation of a cloud-based game system in Unity", 《2015 IEEE GAMES ENTERTAINMENT MEDIA CONFERENCE (GEM)》, 11 January 2016 (2016-01-11) *
李红升;: "远程视频监控中快速采集子系统的设计与实现", 电子测试, no. 19, 1 November 2013 (2013-11-01) *
董群: "基于移动终端的草地信息协同采集系统设计与实现", 《中国优秀硕士学位论文全文数据库》, 15 February 2017 (2017-02-15) *

Similar Documents

Publication Publication Date Title
CN111433743B (en) APP remote control method and related equipment
JP7167222B2 (en) APPLET DATA ACQUISITION METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM
CN110659246B (en) Container-based file mounting method and device and electronic equipment
US20230215076A1 (en) Image frame display method, apparatus, device, storage medium, and program product
US8856385B1 (en) Image display method and apparatus
CN113556584B (en) Screenshot transmission method and device of cloud mobile phone, electronic equipment and storage medium
CN113808231B (en) Information processing method and device, image rendering method and device, and electronic device
CN113691602B (en) Service processing method, system, device, equipment and medium based on cloud mobile phone
EP4209894A1 (en) Cloud code development system, method, and apparatus, device, and storage medium
CN113050940A (en) Method for previewing small program, related device and computer program product
CN111200606A (en) Deep learning model task processing method, system, server and storage medium
CN114116092A (en) Cloud desktop system processing method, cloud desktop system control method and related equipment
CN113393367A (en) Image processing method, apparatus, device and medium
CN113778593B (en) Cloud desktop control method and device, electronic equipment, storage medium and program product
CN110928706A (en) Applet interaction method and device, electronic equipment and storage medium
CN114296953A (en) Multi-cloud heterogeneous system and task processing method
CN114422572B (en) Cloud mobile phone control method and device, electronic equipment and storage medium
WO2023169193A1 (en) Method and device for generating smart contract
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN114095758A (en) Cloud image intercepting method, related device and computer program product
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN115242972A (en) Method and device for calling camera by application, electronic equipment and storage medium
CN113836455A (en) Special effect rendering method, device, equipment, storage medium and computer program product
CN113419865A (en) Cloud resource processing method, related device and computer program product
CN114222073B (en) Video output method, video output device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination