Search

CN-122020627-A - Screen capturing control method, device, storage medium and program product

CN122020627ACN 122020627 ACN122020627 ACN 122020627ACN-122020627-A

Abstract

The application discloses a screen capturing control method, equipment, a storage medium and a program product, and relates to the technical field of intelligent home/intelligent families; the method comprises the steps of receiving a screen capture file uploaded by a second device, storing the screen capture file in a storage space based on the media resource identification, determining target information, and sending the target information to a first device under the condition of receiving a query request from the first device so as to enable the first device to acquire the screen capture file from a media management system based on the target information. According to the method, format compatibility logic is centralized to a control center for processing, so that cross-equipment and cross-format file management is realized, the compatibility problem caused by equipment model difference in the prior art is solved, and the management efficiency of the screen capture file is improved.

Inventors

  • YU SHAOCHEN

Assignees

  • 海尔优家智能科技(北京)有限公司

Dates

Publication Date
20260512
Application Date
20260106

Claims (10)

  1. 1. A screen capture control method, the method comprising: Receiving a screen capture request from a first device; Applying for a media resource identifier and a storage space based on the screen capturing request; Sending the media resource identification and the screen capturing instruction to a second device so that the second device can execute the screen capturing instruction; Receiving a screen capture file uploaded by the second device, wherein the screen capture file is associated with the media resource identifier; Storing the screen capture file in the storage space based on the media resource identifier, and determining target information, wherein the target information comprises address information for indicating a storage position of the screen capture file; and sending the target information to the first device for the first device to acquire the screen capture file from the media management system based on the target information under the condition of receiving a query request from the first device.
  2. 2. The method of claim 1, wherein the screen capture request includes model information and user identity information of the second device, the target information further including the media asset identification and model information of the second device, the method further comprising: Establishing an association relationship among the media resource identifier, the model information of the second equipment, the user identity information and the address information; The sending the target information to the first device when receiving the query request from the first device includes: And under the condition that the query request from the first device is received, acquiring the target information from the association relation based on the user identity information included in the query request, and sending the target information to the first device.
  3. 3. The method according to claim 1 or 2, characterized in that the method further comprises: Determining screen capturing parameters according to the model information of the second equipment, wherein the screen capturing parameters comprise at least one of resolution, frame rate and screen capturing file format; And when the media resource identification and the screen capturing instruction are sent to the second device, the screen capturing parameter is also sent to the second device.
  4. 4. The method according to claim 1 or 2, characterized in that the method further comprises: Pre-allocating a cache pool of the media resource identifier based on a user history screen capturing behavior for a high-frequency screen capturing period; the storing the screen capture file in the storage space based on the media resource identification includes: Storing the screen capture file in the cache pool under the condition that the screen capture file uploaded by the second device is received in the high-frequency screen capture period; And after the high-frequency screen capturing period is finished, storing the screen capturing file in the storage space based on the media resource identification.
  5. 5. The method of claim 4, wherein the screen capture file is further encrypted and dynamic watermark information is embedded in the screen capture file when the screen capture file is stored.
  6. 6. The method according to claim 4, wherein the method further comprises: predicting the high-frequency screen capturing period based on the user history screen capturing behavior, and pre-distributing a plurality of preset media resource identifiers; based on the screen capturing request, applying for a media resource identifier and a storage space, including: Applying for the storage space based on the screen capturing request, and applying for the media resource identifier from the plurality of preset media resource identifiers.
  7. 7. The method according to claim 1 or 2, wherein in the storage space, the storage space is divided into a plurality of areas based on an image format in advance, any one of the areas being used for storing images having the same format; When storing the screen capture file, the format of the screen capture file is also parsed, and the screen capture file with the same format is stored in a matched area.
  8. 8. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
  9. 9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 7.
  10. 10. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.

Description

Screen capturing control method, device, storage medium and program product Technical Field The application relates to the field of smart home/smart home, in particular to a screen capturing control method, equipment, a storage medium and a program product. Background Along with iteration of the intelligent terminal technology to the cross-equipment collaborative and convenient interaction direction, the screen capture technology based on terminal system instructions or local area network communication is widely applied to core application scenes such as intelligent television content recording, education course main point preservation, live broadcast picture instant interception, home entertainment content sharing and the like. In the existing intelligent television screen capturing scene, when a user needs to complete screen content capturing, the screen capturing is triggered by a terminal local key combination or an associated device sending instruction, and then the local storage or cross-device transmission is completed after format coding. However, the instruction logic difference and protocol standard of different terminals are not uniform, which easily results in complicated screen capturing operation and low content management efficiency. Disclosure of Invention The application provides a screen capturing control method, equipment, a storage medium and a program product, which are used for solving the technical problems that the screen capturing operation is complicated and the content management efficiency is low due to the fact that the logic difference of instructions and the protocol standard of the existing different terminals are not uniform. In a first aspect, the present application provides a screen capturing control method, including: Receiving a screen capture request from a first device; based on the screen capturing request, applying for a media resource identifier and a storage space; Transmitting the media resource identification and the screen capturing instruction to the second equipment so as to enable the second equipment to execute the screen capturing instruction; Receiving a screen capture file uploaded by the second device, wherein the screen capture file is associated with a media resource identifier; storing the screen capture file in a storage space based on the media resource identifier, and determining target information, wherein the target information comprises address information for indicating the storage position of the screen capture file; in the event that a query request is received from the first device, the target information is sent to the first device for the first device to obtain the screen capture file from the media management system based on the target information. In one possible implementation, the screen capture request includes model information and user identity information of the second device, the target information further includes a media resource identifier and model information of the second device, and the method further includes: Establishing an association relationship among the media resource identifier, the model information of the second equipment, the user identity information and the address information; in the case of receiving a query request from a first device, sending target information to the first device, including: And under the condition that a query request from the first equipment is received, acquiring target information from the association relation based on the user identity information included in the query request, and sending the target information to the first equipment. In one possible embodiment, the method further comprises: Determining screen capturing parameters according to the model information of the second equipment, wherein the screen capturing parameters comprise at least one of resolution, frame rate and screen capturing file format; and when the media resource identification and the screen capturing instruction are sent to the second device, the screen capturing parameter is also sent to the second device. In one possible embodiment, the method further comprises: pre-allocating a cache pool of media resource identifiers based on a user history screen capturing behavior for a high-frequency screen capturing period; Storing the screenshot file in a storage space based on the media asset identification, comprising: Storing the screen capture file in a cache pool under the condition that the screen capture file uploaded by the second device is received in the high-frequency screen capture period; After the high frequency screen capture period is over, the screen capture file is stored in the storage space based on the media asset identification. In one possible implementation, when storing the screen capture file, the screen capture file is further encrypted, and dynamic watermark information is embedded in the screen capture file. In one possible embodiment, the method further comprises: Pre-allocating a plu