CN110990626A - Picture processing method, device and system and storage medium - Google Patents

Picture processing method, device and system and storage medium Download PDF

Info

Publication number
CN110990626A
CN110990626A CN201911252622.2A CN201911252622A CN110990626A CN 110990626 A CN110990626 A CN 110990626A CN 201911252622 A CN201911252622 A CN 201911252622A CN 110990626 A CN110990626 A CN 110990626A
Authority
CN
China
Prior art keywords
picture
file
dynamic
format specification
cover
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
CN201911252622.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 Xunlei Network Technology Co Ltd
Original Assignee
Shenzhen Xunlei Network 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 Xunlei Network Technology Co Ltd filed Critical Shenzhen Xunlei Network Technology Co Ltd
Priority to CN201911252622.2A priority Critical patent/CN110990626A/en
Publication of CN110990626A publication Critical patent/CN110990626A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a picture processing method, a device, a system and a storage medium, wherein the method comprises the following steps: receiving a dynamic picture transmitted by a transmitting-in end device, and acquiring a format specification of the dynamic picture, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device; extracting a cover picture file and a video file in the dynamic picture according to the format specification; and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file. The method can realize the display of the dynamic picture in the communication terminals of different platforms, and ensure the compatibility of the dynamic picture among different communication terminals. In addition, the invention also provides a picture processing device, a system and a storage medium, and the beneficial effects are as above.

Description

Picture processing method, device and system and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a system, and a storage medium for processing pictures.
Background
The dynamic picture, i.e. Live Photo, refers to a picture capable of playing a video, and when the dynamic picture is not triggered, the dynamic picture shows picture content, and when the dynamic picture is triggered, the dynamic picture plays video content.
At present, dynamic pictures are widely implemented in communication terminals of various manufacturers and various operating systems, but the communication terminals can only share and display the dynamic pictures in the communication terminals belonging to the same platform as the communication terminals, and cannot display the dynamic pictures in the communication terminals of different platforms, so that it is difficult to ensure the compatibility of the dynamic pictures between different communication terminals.
Therefore, it is a problem to be solved by those skilled in the art to provide a picture processing method to relatively ensure the compatibility of moving pictures between different communication terminals.
Disclosure of Invention
The invention aims to provide a picture processing method, a device, a system and a storage medium, which are used for relatively ensuring the compatibility of dynamic pictures among different communication terminals.
To solve the above technical problem, the present invention provides a picture processing method, including:
receiving a dynamic picture transmitted by a transmitting-in end device, and acquiring a format specification of the dynamic picture, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device;
extracting a cover picture file and a video file in the dynamic picture according to the format specification;
and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
Preferably, after extracting the cover picture file and the video file in the dynamic picture according to the format specification, the method further includes:
and acquiring a local format specification, and storing the cover picture file and the video file according to the local format specification.
Preferably, the method further comprises:
receiving a transmission instruction of a local dynamic picture;
judging whether a cover picture file of the local dynamic picture and a video file of the local dynamic picture are mutually independent files;
if so, adding the video file of the local dynamic picture to the data structure of the cover picture file of the local dynamic picture based on the format specification of the cover picture file of the local dynamic picture to generate a combined file;
and transmitting the merged file as a local dynamic picture.
Preferably, before transmitting the merged file as a local dynamic picture, the method further includes:
and adding a format specification mark in the merged file, wherein the format specification mark represents the format specification of the merged file.
Preferably, the incoming end device comprises a mobile communication device end.
In addition, the invention also provides a picture processing device, which comprises a memory, a processor and a bus, wherein the memory stores a picture processing program which can be transmitted to the processor by the bus and run on the processor, and the picture processing program realizes the following method when being executed by the processor:
receiving a dynamic picture transmitted by a transmitting-in end device, and acquiring a format specification of the dynamic picture, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device; extracting a cover picture file and a video file in the dynamic picture according to the format specification; and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
Preferably, the picture processing program, when executed by the processor, further implements obtaining a local format specification and storing the cover picture file and the video file according to the local format specification.
Preferably, the picture processing program is further implemented to receive a transmission instruction of the local moving picture when being executed by the processor; judging whether a cover picture file of the local dynamic picture and a video file of the local dynamic picture are mutually independent files, and if so, calling a file merging module; adding a video file of the local dynamic picture to a data structure of a cover picture file of the local dynamic picture based on the format specification of the cover picture file of the local dynamic picture to generate a combined file; and transmitting the merged file as a local dynamic picture.
In addition, the invention also provides an image processing system, which comprises:
the picture receiving unit is used for receiving the dynamic picture transmitted by the transmitting-in end equipment and acquiring the format specification of the dynamic picture, and the transmitting-in end equipment is different from a manufacturer platform and/or an operating system platform of the local end equipment;
the file extraction unit is used for extracting a cover picture file and a video file in the dynamic picture according to the format specification;
and the picture display unit is used for displaying the cover picture file and the video file when receiving a display instruction of the dynamic picture.
In addition, the present invention also provides a computer-readable storage medium, on which a picture processing program is stored, the picture processing program being executable by one or more processors to implement the picture processing method as described above.
The picture processing method provided by the invention comprises the steps of firstly receiving a dynamic picture transmitted by a transmitting-in end device, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device, further acquiring a format specification corresponding to the dynamic picture after the dynamic picture is acquired, further extracting a cover picture file and a video file in the dynamic picture according to the format specification, and after the cover picture and the video file are acquired, when a display instruction of the dynamic picture is received, displaying the cover picture and the video file. According to the method, the cover picture file and the video file of the dynamic picture are extracted according to the format specification of the dynamic picture of the incoming terminal device, and the cover picture file and the video file based on the dynamic picture display can be normally acquired and displayed according to the format specification, so that the display of the dynamic picture in communication terminals of different platforms can be realized, and the compatibility of the dynamic picture among different communication terminals is ensured. In addition, the invention also provides a picture processing device, a system and a storage medium, and the beneficial effects are as above.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a picture processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another picture processing method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for processing pictures according to an embodiment of the present invention;
fig. 4 is a structural diagram of a picture processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
At present, dynamic pictures are widely implemented in communication terminals of various manufacturers and various operating systems, but the communication terminals can only share and display the dynamic pictures in the communication terminals belonging to the same platform as the communication terminals, and cannot display the dynamic pictures in the communication terminals of different platforms, so that it is difficult to ensure the compatibility of the dynamic pictures between different communication terminals.
The core of the invention is to provide a picture processing method, a device, a system and a storage medium, so as to relatively ensure the compatibility of dynamic pictures among different communication terminals.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of a picture processing method according to an embodiment of the present invention. Referring to fig. 1, the specific steps of the image processing method include:
step S10: and receiving the dynamic picture transmitted by the transmitting-in end equipment, and acquiring the format specification of the dynamic picture, wherein the transmitting-in end equipment is different from a manufacturer platform and/or an operating system platform of the local end equipment.
It should be noted that, the main execution body of this embodiment is a local device, that is, a local device, and it is important that there is a difference between a manufacturer platform and/or an operating system platform of an incoming device and a local device, which will cause a difference between format specifications of a dynamic picture of the local device and the incoming device, so for the local device, only the dynamic picture incoming from the incoming device is obtained, and then the content in the dynamic picture cannot be read normally, and further the dynamic picture cannot be displayed in the local device, in view of this problem, in this embodiment, after the dynamic picture incoming from the incoming device is received, the format specification of the dynamic picture is further obtained, the format specification represents a type of a file stored in each byte interval in a data structure of the dynamic picture, and the format specification for obtaining the dynamic picture may specifically be a format specification pre-stored locally in advance for the dynamic picture, the format specification pre-stored locally can be directly obtained, or the format specification corresponding to the dynamic picture transmitted to the transmitting-in terminal device can be obtained, and the specific means for obtaining the format specification of the dynamic picture is determined according to the actual requirements in a specific scene, and is not limited specifically here.
In addition, the incoming device in this embodiment may be a mobile communication device, and for the mobile communication devices, format specifications corresponding to the dynamic pictures between mobile communication devices of different manufacturers or operating system platforms are different, so that the embodiment can further ensure that the dynamic pictures can be normally displayed between the mobile communication devices.
Step S11: and extracting a cover picture file and a video file in the dynamic picture according to the format specification.
Because the cover picture file and the video file in the dynamic picture are the basis for normally displaying the dynamic picture, the cover picture file and the video file in the dynamic picture are extracted according to the format specification, so that the dynamic picture can be normally displayed on the basis of the cover picture file and the video file.
Step S12: and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
It can be understood that, after the cover picture file and the video file in the dynamic picture are extracted according to the format specification, further when a user of the local end device initiates a display instruction for the dynamic picture to the local end device, the local end device performs a display operation based on the pre-extracted cover picture and the pre-extracted video file, and since the cover picture and the video file are all displayable contents of the dynamic picture transmitted by the transmitting end device, this step is equivalent to displaying the dynamic picture transmitted by the transmitting end device.
The picture processing method provided by the invention comprises the steps of firstly receiving a dynamic picture transmitted by a transmitting-in end device, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device, further acquiring a format specification corresponding to the dynamic picture after the dynamic picture is acquired, further extracting a cover picture file and a video file in the dynamic picture according to the format specification, and after the cover picture and the video file are acquired, when a display instruction of the dynamic picture is received, displaying the cover picture and the video file. According to the method, the cover picture file and the video file of the dynamic picture are extracted according to the format specification of the dynamic picture of the incoming terminal device, and the cover picture file and the video file based on the dynamic picture display can be normally acquired and displayed according to the format specification, so that the display of the dynamic picture in communication terminals of different platforms can be realized, and the compatibility of the dynamic picture among different communication terminals is ensured.
On the basis of the above embodiment, as a preferred implementation, when the format specification of the moving picture is an iOS format specification, extracting a cover picture file and a video file in the moving picture according to the format specification includes:
and extracting a cover picture file and a video file in the dynamic picture based on the iOS system API.
In the present embodiment, when the format specification of the moving picture is the iOS format specification, the cover picture and the video file in the moving picture are extracted using the iOS system API corresponding to the iOS format specification, and since the iOS system is an operating system which is currently relatively mainstream, the present embodiment can relatively ensure that the display operation of the cover picture file and the video file included in the moving picture can be performed relatively reliably when the moving picture is the iOS format specification.
On the basis of the above embodiment, as a preferred implementation manner, when the format specification of the moving picture is an Android format specification, extracting a cover picture file and a video file in the moving picture according to the format specification includes:
and extracting a cover picture file and a video file in the dynamic picture based on an Android system API.
It should be noted that, in the embodiment, when the format specification of the dynamic picture is the Android format specification, the cover picture and the video file in the dynamic picture are extracted by calling the Android system API corresponding to the Android format specification, and since the Android system is a current relatively mainstream operating system, the embodiment can relatively ensure that the cover picture file and the video file included in the dynamic picture can be relatively reliably displayed when the dynamic picture is the Android format specification.
Fig. 2 is a flowchart of another picture processing method according to an embodiment of the present invention. Referring to fig. 2, the specific steps of the image processing method include:
step S20: and receiving the dynamic picture transmitted by the transmitting-in end equipment, and acquiring the format specification of the dynamic picture, wherein the transmitting-in end equipment is different from a manufacturer platform and/or an operating system platform of the local end equipment.
Step S21: and extracting a cover picture file and a video file in the dynamic picture according to the format specification.
Step S22: and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
Step S23: and acquiring a local format specification, and storing the cover picture file and the video file according to the local format specification.
It should be noted that the important point of this embodiment is that after the cover picture file and the video file in the dynamic picture are extracted according to the format specification, the cover picture and the video file are further stored and stored locally, and when the cover picture and the video file are stored, the storage needs to be performed according to the local format specification of the local end device, so that the local end device can be ensured to efficiently read the cover picture and the video file and display the cover picture and the video file as the dynamic picture.
Fig. 3 is a flowchart of another picture processing method according to an embodiment of the present invention. Referring to fig. 3, the specific steps of the image processing method include:
step S30: and receiving the dynamic picture transmitted by the transmitting-in end equipment, and acquiring the format specification of the dynamic picture, wherein the transmitting-in end equipment is different from a manufacturer platform and/or an operating system platform of the local end equipment.
Step S31: and extracting a cover picture file and a video file in the dynamic picture according to the format specification.
Step S32: and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
Step S33: and receiving a transmission instruction of the local dynamic picture.
Step S34: it is determined whether the cover picture file of the local moving picture and the video file of the local moving picture are independent files, and if so, step S35 is performed.
Step S35: and adding the video file of the local dynamic picture to the data structure of the cover picture file of the local dynamic picture based on the format specification of the cover picture file of the local dynamic picture to generate a combined file.
Step S36: and transmitting the merged file as a local dynamic picture.
It should be noted that, the local device in this embodiment may also transmit the moving picture to other devices except for itself, because it is considered that the moving picture exists in different manners in devices of different vendor platforms and/or operating system platforms, in some devices of vendor platforms and/or operating system platforms, the nature of the moving picture is a cover picture file and a video file stored independently from each other, in this case, the moving picture is transmitted, in essence, the cover picture file and the corresponding video file are transmitted respectively, because it is difficult to ensure the synchronicity of the cover picture and the video file to reach other devices due to the transmission of the cover picture and the video file respectively, and therefore, the waiting time for the user of other devices to operate the moving picture may be too long, and this embodiment is directed to this disadvantage, before transmitting the dynamic picture, judging whether a cover picture file of the local dynamic picture and a video file of the local dynamic picture are mutually independent files, if so, adding the video file of the local dynamic picture to the data structure of the cover picture file of the local dynamic picture on the premise of ensuring that the format specification of the cover picture file of the local dynamic picture is met, finally, a combined file is generated, the combined file not only contains the video file of the local dynamic picture, but also contains the cover picture file of the local dynamic picture, therefore, when the merged file is transmitted as the local dynamic picture, the method is equivalent to simultaneously transmitting the cover picture file and the video file of the local dynamic picture, relatively ensuring the synchronism of the cover picture file and the video file when the cover picture file and the video file reach other devices, and relatively reducing the waiting time when the user of other devices operates the dynamic picture.
On the basis of the foregoing embodiment, as a preferred implementation manner, before transmitting the merged file as a local dynamic picture, the method further includes:
and adding a format specification mark in the merged file, wherein the format specification mark represents the format specification of the merged file.
It should be noted that the purpose of adding the format specification flag to the merged file in the embodiment is to ensure that, when the merged file is transmitted, the receiving end device of the merged file can know the type of the format specification of the merged file through the format specification flag, and further ensure that the receiving end device can smoothly parse the merged file and display corresponding dynamic picture content. Furthermore, the adding of the format specification mark in the merged file may specifically be to add a name of the format specification type corresponding to the merged file to the file name of the merged file, or to add a name of the format specification type corresponding to the merged file to the header of the data structure of the merged file, and the like, which is not limited herein.
Taking the example of processing the motion pictures in the iOS format specification, the motion pictures in the iOS format specification are supported by a HEIC format (picture) file and a MOV format (video) file. The method adds a Box with Box type of ' lvpt ' at the end of a file in an HEIC format, the Box is used for the file in an MOV format, 8 bytes behind the Box type are used for storing manufacturer identification, the size of the file in the MOV format is equal to (Box size-16), and then the combination of a cover picture and a video under the specification of an iOS format is completed, the dynamic picture is realized, the file meeting the HEIC specification is obtained, a suffix of the file is renamed to be ' ioslp.
Taking processing of dynamic pictures with standard Android formats as an example, the cover picture and the video in the dynamic pictures are combined in a mode of inserting video data into a jpg format file in an Android system, so that the cover picture in the jpg format and the video file in the mp4 format can be analyzed through the file.
The offset position of the video data in the jpg format file of the Huawei equipment is as follows:
filesize-offset (reciprocal 9-15 bytes) -40;
the offset position of the video data in the jpg format file of the samsung device is as follows:
filesize-offset (8-12 bytes reciprocal) -19.
The method comprises the steps that a jpg format dynamic picture file shot by equipment is named as a 'hwlp.jpg' file; most Android devices such as Samsung devices are same as Huacheng devices, and only marks in jpg files are different. For example, the samsung device motion picture file storage suffix name is.
In the above, the embodiment of the image processing method is described in detail, and the present invention further provides an image processing apparatus corresponding to the method.
Fig. 4 is a structural diagram of a picture processing apparatus according to an embodiment of the present invention.
Referring to fig. 4, a picture processing apparatus 1 according to an embodiment of the present invention includes a memory 11, a processor 12 and a bus 13, where the memory 11 stores a picture processing program that can be transmitted to the processor via the bus 13 and run on the processor 12, and when the picture processing program is executed by the processor 12, the following method is implemented:
receiving a dynamic picture transmitted by a transmitting-in end device, and acquiring a format specification of the dynamic picture, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device; extracting a cover picture file and a video file in the dynamic picture according to the format specification; and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the picture processing apparatus 1, for example a hard disk of the picture processing apparatus 1. The memory 11 may also be an external storage device of the picture processing apparatus 1 in other embodiments, such as a plug-in hard disk provided on the picture processing apparatus 1, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also include both an internal storage unit and an external storage device of the picture processing apparatus 1. The memory 11 may be used not only to store application software installed in the picture processing apparatus 1 and various types of data, such as codes of a video transcoding program, but also to temporarily store data that has been output or is to be output.
The processor 12 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip for executing program codes stored in the memory 11 or Processing data, such as executing a video transcoding program.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The image processing device provided by the invention receives a dynamic image transmitted by a transmitting-in end device, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device, a format specification corresponding to the dynamic image is further acquired after the dynamic image is acquired, a cover image file and a video file in the dynamic image are further extracted according to the format specification, and after the cover image and the video file are acquired, when a display instruction of the dynamic image is received, the cover image and the video file are displayed. According to the device, the cover picture file and the video file of the dynamic picture are extracted according to the format specification of the dynamic picture of the incoming terminal equipment, and the cover picture file and the video file based on the dynamic picture display can be normally acquired and displayed according to the format specification, so that the display of the dynamic picture in communication terminals of different platforms can be realized, and the compatibility of the dynamic picture among different communication terminals is ensured.
On the basis of the above embodiment, as a preferred implementation manner, when executed by the processor, the image processing program further realizes obtaining the local format specification, and storing the cover image file and the video file according to the local format specification.
On the basis of the above embodiment, as a preferred implementation manner, when being executed by the processor, the picture processing program further implements receiving a transmission instruction for the local moving picture; judging whether a cover picture file of the local dynamic picture and a video file of the local dynamic picture are mutually independent files, and if so, calling a file merging module; adding a video file of the local dynamic picture to a data structure of a cover picture file of the local dynamic picture based on the format specification of the cover picture file of the local dynamic picture to generate a combined file; and transmitting the merged file as a local dynamic picture.
The invention also provides a picture processing system, which comprises:
the picture receiving unit is used for receiving the dynamic picture transmitted by the transmitting-in end equipment and acquiring the format specification of the dynamic picture, and the transmitting-in end equipment is different from a manufacturer platform and/or an operating system platform of the local end equipment;
the file extraction unit is used for extracting a cover picture file and a video file in the dynamic picture according to the format specification;
and the picture display unit is used for displaying the cover picture file and the video file when receiving a display instruction of the dynamic picture.
The picture processing system provided by the invention receives a dynamic picture transmitted by a transmitting-in end device, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device, a format specification corresponding to the dynamic picture is further acquired after the dynamic picture is acquired, a cover picture file and a video file in the dynamic picture are further extracted according to the format specification, and after the cover picture and the video file are acquired, when a display instruction of the dynamic picture is received, the cover picture and the video file are displayed. According to the system, the cover picture file and the video file of the dynamic picture are extracted according to the format specification of the dynamic picture of the incoming terminal device, and the cover picture file and the video file based on the dynamic picture display can be normally acquired and displayed according to the format specification, so that the display of the dynamic picture in communication terminals of different platforms can be realized, and the compatibility of the dynamic picture among different communication terminals is ensured.
In addition, the present invention also provides a computer-readable storage medium, on which a picture processing program is stored, the picture processing program being executable by one or more processors to implement the picture processing method as described above.
The computer-readable storage medium provided by the invention receives a dynamic picture transmitted by a transmitting-in end device, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device, a format specification corresponding to the dynamic picture is further acquired after the dynamic picture is acquired, a cover picture file and a video file in the dynamic picture are further extracted according to the format specification, and after the cover picture and the video file are acquired, when a display instruction of the dynamic picture is received, the cover picture and the video file are displayed. The computer readable storage medium extracts the cover picture file and the video file of the dynamic picture according to the format specification of the dynamic picture of the incoming terminal device, and can normally acquire and display the cover picture file and the video file based on the dynamic picture display according to the format specification, so that the display of the dynamic picture in communication terminals of different platforms can be realized, and the compatibility of the dynamic picture among different communication terminals is ensured.
The above description describes a method, an apparatus, a system and a storage medium for processing an image according to the present invention in detail. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. An image processing method, comprising:
receiving a dynamic picture transmitted by a transmitting-in end device, and acquiring a format specification of the dynamic picture, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device;
extracting a cover picture file and a video file in the dynamic picture according to the format specification;
and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
2. The method of claim 1, wherein after the extracting of the cover picture file and the video file in the moving picture according to the format specification, the method further comprises:
and acquiring a local format specification, and storing the cover picture file and the video file according to the local format specification.
3. The picture processing method according to claim 1, further comprising:
receiving a transmission instruction of a local dynamic picture;
judging whether a cover picture file of the local dynamic picture and a video file of the local dynamic picture are mutually independent files;
if so, adding the video file of the local dynamic picture to the data structure of the cover picture file of the local dynamic picture based on the format specification of the cover picture file of the local dynamic picture to generate a combined file;
and transmitting the merged file as the local dynamic picture.
4. The method according to claim 3, wherein before said transmitting the merged file as the local moving picture, the method further comprises:
and adding a format specification mark in the merged file, wherein the format specification mark represents the format specification of the merged file.
5. The method according to claim 1, wherein when the format specification of the moving picture is an iOS format specification, the extracting a cover picture file and a video file from the moving picture according to the format specification comprises:
and extracting a cover picture file and a video file in the dynamic picture based on an iOS system API.
6. The method according to claim 1, wherein when the format specification of the moving picture is an Android format specification, the extracting a cover picture file and a video file from the moving picture according to the format specification comprises:
and extracting a cover picture file and a video file in the dynamic picture based on an Android system API.
7. The picture processing method according to any one of claims 1 to 6, wherein the input end device comprises a mobile communication device end.
8. A picture processing apparatus, comprising a memory, a processor and a bus, wherein the memory stores a picture processing program that can be transmitted to and run on the processor by the bus, and the picture processing program, when executed by the processor, implements the following method:
receiving a dynamic picture transmitted by a transmitting-in end device, and acquiring a format specification of the dynamic picture, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device; extracting a cover picture file and a video file in the dynamic picture according to the format specification; and when a display instruction of the dynamic picture is received, displaying the cover picture file and the video file.
9. A picture processing system, the system comprising:
the image receiving unit is used for receiving a dynamic image transmitted by a transmitting-in end device and acquiring the format specification of the dynamic image, wherein the transmitting-in end device is different from a manufacturer platform and/or an operating system platform of a local end device;
the file extraction unit is used for extracting a cover picture file and a video file in the dynamic picture according to the format specification;
and the picture display unit is used for displaying the cover picture file and the video file when receiving a display instruction of the dynamic picture.
10. A computer-readable storage medium having stored thereon a picture processing program executable by one or more processors to implement a picture processing method as claimed in any one of claims 1 to 5.
CN201911252622.2A 2019-12-09 2019-12-09 Picture processing method, device and system and storage medium Pending CN110990626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911252622.2A CN110990626A (en) 2019-12-09 2019-12-09 Picture processing method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911252622.2A CN110990626A (en) 2019-12-09 2019-12-09 Picture processing method, device and system and storage medium

Publications (1)

Publication Number Publication Date
CN110990626A true CN110990626A (en) 2020-04-10

Family

ID=70091582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911252622.2A Pending CN110990626A (en) 2019-12-09 2019-12-09 Picture processing method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN110990626A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941890A (en) * 1997-03-17 2007-04-04 松下电器产业株式会社 Method and apparatus for transmitting and receiving dynamic image data
JP2012004986A (en) * 2010-06-18 2012-01-05 Sony Corp Imaging device, image storage method and program
CN106257415A (en) * 2015-06-19 2016-12-28 阿里巴巴集团控股有限公司 Realize the method and apparatus of dynamic picture preview, expression bag methods of exhibiting and device
CN110248116A (en) * 2019-06-10 2019-09-17 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1941890A (en) * 1997-03-17 2007-04-04 松下电器产业株式会社 Method and apparatus for transmitting and receiving dynamic image data
JP2012004986A (en) * 2010-06-18 2012-01-05 Sony Corp Imaging device, image storage method and program
CN106257415A (en) * 2015-06-19 2016-12-28 阿里巴巴集团控股有限公司 Realize the method and apparatus of dynamic picture preview, expression bag methods of exhibiting and device
CN110248116A (en) * 2019-06-10 2019-09-17 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEIXIN_30483495: "LivePhoto开发,你要知道的知识点", pages 1 - 4, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_30483495/article/details/99201539> *
ZHANGGUI: "Live Photo开发,你要知道的知识点", pages 1 - 4, Retrieved from the Internet <URL:https://www.cnblogs.com/zhanggui/p/9283428.html> *

Similar Documents

Publication Publication Date Title
CN111309279B (en) Multi-screen interactive display method and device
US20220214932A1 (en) Methods, devices and computer storage media for inter-mini program platform communication
CN109729386B (en) Video file playing starting method and system, electronic equipment and storage medium
CN108762956B (en) Method for acquiring Native local data, server, mobile terminal and storage medium
WO2018107719A1 (en) Data sharing method, apparatus, terminal device and server
US10681115B2 (en) Multimedia data transmission method and device
CN104918105A (en) Media file multi-screen playing method, device and system
US20220245005A1 (en) Methods, devices and computer storage media for inter-mini program platform discovery
US20090287760A1 (en) Communication terminal, user data transferring system and user data transferring method
CN112291223B (en) Solution for mobile phone terminal not supporting 5G message
CN111327910A (en) Operation control method, device and equipment of application program and storage medium
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
CN110990626A (en) Picture processing method, device and system and storage medium
CN108132767B (en) Application window preview method and system
KR20150045721A (en) Method for controlling content and an electronic device
CN107679205B (en) Multimedia data playing method and device, computer equipment and storage medium
WO2015053568A1 (en) Multimedia card service system and service method
CN116244764A (en) Method and system for generating device unique ID of Android device
US8583150B2 (en) Personalized channel service providing system, real-time channel service providing method, and personalized channel service providing system method
CN115237481A (en) Method, device and equipment for driving external equipment and storage medium
CN106648598B (en) Method and apparatus for displaying display information of application
KR20130111892A (en) Method and computer-readable storage medium for providing display service using 2 dimensional code
CN113018849A (en) Game interaction method, related device and equipment
CN115292158B (en) Method and device for acquiring and configuring page loading progress
CN111596961B (en) Media scanning method and electronic equipment

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