WO2017113941A1 - Displaying method, terminal, and computer storage medium - Google Patents

Displaying method, terminal, and computer storage medium Download PDF

Info

Publication number
WO2017113941A1
WO2017113941A1 PCT/CN2016/102670 CN2016102670W WO2017113941A1 WO 2017113941 A1 WO2017113941 A1 WO 2017113941A1 CN 2016102670 W CN2016102670 W CN 2016102670W WO 2017113941 A1 WO2017113941 A1 WO 2017113941A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
header information
format
display
picture
Prior art date
Application number
PCT/CN2016/102670
Other languages
French (fr)
Chinese (zh)
Inventor
张圣杰
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017113941A1 publication Critical patent/WO2017113941A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Definitions

  • the embodiment of the present invention is to provide a display method and a terminal, which can parse different data formats of a picture file, realize display of different data formats of the picture file, embody the humanization of the terminal, and improve the user experience. .
  • the terminal when the terminal wants to open the first picture file, the first format of the first picture file can be detected. If other formats exist, the terminal can also detect and can also be different. The display icon corresponding to the formatted file is displayed, and when the display icon is triggered, the file displaying the icon application is displayed. Therefore, the terminal can parse different data formats of the image file, and realize display of different data formats of the image file, which embodies the humanization of the terminal.
  • 2 is a communication system that the mobile terminal of the present invention can operate
  • the mobile terminal 100 may include a wireless communication unit 110, an audio/video (A/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • the output unit 150 may include a display unit 151, an audio output module 152, and the like.
  • the terminal ends the detection of the first image file, and the specific implementation process and subsequent implementations will be described in the following embodiments.
  • the embodiment of the present invention can display the display icon of the file in all formats by detecting, for the user to select or consult. .
  • the terminal After the terminal detects whether the data after the first file tail information has the second file header information, or the terminal detects whether the first extended information has the second file header information, if the second file header information exists, the file header information exists. It is an identifier of the beginning of a file. Therefore, when the terminal detects that the second header information exists, it indicates that the first image file acquired by the terminal is only the content displayed on the surface, and may also hide other files (second File), the terminal can then parse the second format of the second file according to the detected second file header information and the corresponding correspondence between the file header information and the format displayed in Table 1.
  • the terminal may directly Applying the first image file, as with the prior art implementation, directly displaying the first image file is sufficient.
  • the terminal may display the above display icon in a preview screen or menu of the gallery.
  • step after S206 may be a step performed after S204 or S205, and after S204 and S206-S209 are executed, S205-S209 may be performed.
  • the display unit 12 is further configured to: whether the data that is detected by the detecting unit 10 after detecting the first file tail information has a second file header information, and the detecting whether the first extended information exists After the second file header information is described, if the detecting unit 10 detects that the second file header information does not exist, the display icon of the first picture file marked by the labeling unit 13 is displayed.

Abstract

A displaying method and a terminal, so as to parse different data formats of an image file, to display the image file in different data formats, thereby reflecting the personalization of the terminal and improving the user experience. The method comprises: detecting, when obtaining a first image file, first file header information of data corresponding to the first image file (S101); obtaining a first format of the first image file through parsing according to the first file header information and a preset correspondence between file header information and formats (S102); detecting whether data after first file trailer information comprises second file header information (S103); if the second file header information exists, obtaining a second format of a second file through parsing according to the second file header information and the preset correspondence between file header information and formats (S104); displaying a display icon of the first image file and a display icon of the second file when the first format is different from the second format (S105); and displaying, when a display icon is triggered, the file corresponding to the display icon (S106).

Description

一种显示方法及终端、计算机存储介质Display method and terminal, computer storage medium 技术领域Technical field
本发明涉及通信领域中的图片处理技术,尤其涉及一种显示方法及终端、计算机存储介质。The present invention relates to a picture processing technology in the field of communications, and in particular, to a display method, a terminal, and a computer storage medium.
背景技术Background technique
随着电子技术的不断发展,终端的功能越来越多,而相机功能是终端中不可或缺的功能,用户随时随地都可以使用相机记录生活。With the continuous development of electronic technology, the functions of the terminal are more and more, and the camera function is an indispensable function in the terminal, and the user can use the camera to record life anytime and anywhere.
现有技术中,用户将通过相机拍摄的图片文件或者通过某一应用传输来的图片文件通过图库应用显示出来。例如,用户A将自己终端拍摄的图片1通过社交应用发送给用户B,用户B点击打开图片1时,终端会通过关联的图库应用显示该图片1。In the prior art, a user displays an image file taken by a camera or a picture file transmitted through an application through a gallery application. For example, user A sends the picture 1 taken by the terminal to the user B through the social application, and when the user B clicks to open the picture 1, the terminal displays the picture 1 through the associated gallery application.
然而,采用现有技术实现方案时,终端只会根据图片文件的文件头中声明的格式进行解析,进而根据图片文件的图像数据来显示此图片文件,而不会对图片文件中包含的其他格式数据对用户进行解析,如当移动终端获取到有声照片中的音频数据、图片伪装的压缩包数据等时,移动终端只会解析图片文件的文件头,认为是图片格式,于是,就通过关联的图库应用显示图片出来,而对图片文件中加入的其他格式数据不作处理,从而使用户无法得知在这些图片文件中是否还有更多的信息需要关注,导致用户体验差。However, when the solution is implemented in the prior art, the terminal only parses according to the format declared in the file header of the image file, and then displays the image file according to the image data of the image file, instead of other formats included in the image file. The data is parsed to the user. For example, when the mobile terminal obtains the audio data in the audio photo, the compressed data of the image camouflage, and the like, the mobile terminal only parses the file header of the image file, and considers it to be a picture format, so that the association is The gallery application displays the image and does not process the other format data added to the image file, so that the user cannot know whether there is more information to be concerned in the image file, resulting in poor user experience.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种显示方法及终端,能够对图片文件的不同数据格式进行解析,实现图片文件的不同数据格式的显示,体现了终端的人性化,提高了用户体验感。In view of this, the embodiment of the present invention is to provide a display method and a terminal, which can parse different data formats of a picture file, realize display of different data formats of the picture file, embody the humanization of the terminal, and improve the user experience. .
本发明的技术方案是这样实现的: The technical solution of the present invention is implemented as follows:
本发明实施例提供了一种显示方法,包括:The embodiment of the invention provides a display method, including:
当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息;When acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file;
根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式;Decoding, according to the correspondence between the first file header information and the preset file header information and the format, the first format of the first image file;
检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息;Detecting whether there is second file header information in the data after the first file tail information, and the second file header information is file header information corresponding to the second file;
若存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式;If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and a format;
当所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;Displaying the display icon of the first picture file and the display icon of the second file when the first format is different from the second format;
当所述显示图标被触发时,显示所述显示图标对应的文件。When the display icon is triggered, the file corresponding to the display icon is displayed.
在上述方案中,所述根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式之后,所述检测所述第一文件尾信息后的数据是否存在第二文件头信息之前,所述方法还包括:In the above solution, after the first format of the first picture file is parsed according to the correspondence between the first file header information and the preset file header information and the format, the detecting the first file Before the data of the tail information exists before the second file header information, the method further includes:
检测所述第一图片文件对应数据中是否存在第一扩展信息;Detecting whether the first extended information exists in the data corresponding to the first picture file;
若存在所述第一扩展信息,则检测所述第一扩展信息是否存在所述第二文件头信息。If the first extension information exists, detecting whether the first extension information has the second file header information.
在上述方案中,所述根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式之后,所述显示所述第一图片文件的显示图标和所述第二文件的显示图标之前,所述方法还包括:In the above solution, after the second format of the second file is parsed according to the correspondence between the second file header information and the preset file header information and a format, the displaying the first Before the display icon of the picture file and the display icon of the second file, the method further includes:
当所述第一格式与所述第二格式不同时,标注所述第一图片文件的第一显示样式和所述第二文件的第二显示样式;Marking the first display style of the first picture file and the second display style of the second file when the first format is different from the second format;
相应的,所述显示所述第一图片文件的显示图标和所述第二文件的显示图标,包括:Correspondingly, the displaying the display icon of the first picture file and the display icon of the second file include:
根据所述第一显示样式显示所述第一图片文件的显示图标,以及根据所述 第二显示样式显示所述第二文件的显示图标。Displaying a display icon of the first picture file according to the first display style, and according to the The second display style displays a display icon of the second file.
在上述方案中,所述检测所述第一文件尾信息后的数据是否存在第二文件头信息,且所述检测所述第一扩展信息是否存在所述第二文件头信息之后,所述方法还包括:In the above solution, the method for detecting whether the first file extension information has second file header information, and the detecting whether the first extension information has the second file header information, the method Also includes:
若不存在所述第二文件头信息,则显示所述第一图片文件的显示图标。If the second file header information does not exist, the display icon of the first picture file is displayed.
在上述方案中,当所述显示图标被触发时,所述显示所述显示图标对应的文件,包括:In the above solution, when the display icon is triggered, the displaying the file corresponding to the display icon includes:
当所述第一图片文件的显示图标被触发时,显示所述第一图片文件;Displaying the first picture file when a display icon of the first picture file is triggered;
当所述第二文件的显示图标被触发时,显示所述第二文件。The second file is displayed when a display icon of the second file is triggered.
本发明实施例提供了一种终端,包括:The embodiment of the invention provides a terminal, including:
检测单元,用于当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息;a detecting unit, configured to detect first file header information corresponding to the data of the first picture file when acquiring the first picture file;
解析单元,用于根据所述检测单元检测的所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式;The parsing unit is configured to parse the first format of the first picture file according to the correspondence between the first file header information and the preset file header information and the format detected by the detecting unit;
所述检测单元,还用于检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息;The detecting unit is further configured to: detect whether the second file header information exists in the data after the first file tail information, and the second file header information is file header information of the second file corresponding data;
所述解析单元,还用于若所述检测单元检测到存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式;The parsing unit is further configured to: if the detecting unit detects that the second file header information exists, parse out according to the correspondence between the second file header information and the preset file header information and a format a second format of the second file;
显示单元,用于当所述解析单元解析的所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;当所述显示图标被触发时,显示所述显示图标对应的文件。a display unit, configured to display a display icon of the first picture file and a display icon of the second file when the first format parsed by the parsing unit is different from the second format; when the display When the icon is triggered, the file corresponding to the display icon is displayed.
在上述方案中,所述检测单元,还用于所述解析单元根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式之后,所述检测所述第一文件尾信息后的数据是否存在第二文件头信息之前,检测所述第一图片文件对应数据中是否存在第一扩展信息;以及若存在所 述第一扩展信息,则检测所述第一扩展信息是否存在所述第二文件头信息。In the above solution, the detecting unit is further configured to parse, according to the correspondence between the first file header information and the preset file header information and a format, the first format of the first image file. After detecting whether the data after the first file tail information has the second file header information, detecting whether the first extended information exists in the data corresponding to the first image file; The first extended information is used to detect whether the first extended information has the second file header information.
在上述方案中,所述终端还包括:标注单元;In the above solution, the terminal further includes: an labeling unit;
所述标注单元,用于所述解析单元根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式之后,所述显示单元显示所述第一图片文件的显示图标的显示图标和所述第二文件的显示图标之前,当所述解析单元解析的所述第一格式与所述第二格式不同时,标注所述第一图片文件的第一显示样式和所述第二文件的第二显示样式;The labeling unit is configured to: after the parsing unit parses the second format of the second file according to the correspondence between the second file header information and the preset file header information and a format, the displaying unit Before the unit displays the display icon of the display icon of the first picture file and the display icon of the second file, when the first format parsed by the parsing unit is different from the second format, labeling the a first display style of a picture file and a second display style of the second file;
相应的,所述显示单元,具体用于根据所述标注单元标注的所述第一显示样式显示所述第一图片文件的显示图标,以及根据所述标注单元标注的所述第二显示样式显示所述第二文件的显示图标。Correspondingly, the display unit is configured to display a display icon of the first picture file according to the first display style marked by the labeling unit, and display the second display style according to the labeling unit The display icon of the second file.
在上述方案中,所述显示单元,还用于所述检测单元检测所述第一文件尾信息后的数据是否存在第二文件头信息,且所述检测所述第一扩展信息是否存在所述第二文件头信息之后,若所述检测单元检测到不存在所述第二文件头信息,则显示所述标注单元标注的所述第一图片文件的显示图标。In the above solution, the display unit is further configured to: if the detecting unit detects the data after the first file tail information, whether the second file header information exists, and the detecting whether the first extended information exists. After the second file header information, if the detecting unit detects that the second file header information does not exist, the display icon of the first picture file marked by the labeling unit is displayed.
在上述方案中,所述显示单元,具体用于当所述第一图片文件的显示图标被触发时,显示所述第一图片文件;当所述第二文件的显示图标被触发时,显示所述第二文件。In the above solution, the display unit is specifically configured to: when the display icon of the first picture file is triggered, display the first picture file; when the display icon of the second file is triggered, display the Said the second document.
本发明实施例提供了一种计算机存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行包括以下的操作:Embodiments of the present invention provide a computer storage medium including a set of instructions that, when executed, cause at least one processor to perform operations including:
当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息;When acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file;
根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式;Decoding, according to the correspondence between the first file header information and the preset file header information and the format, the first format of the first image file;
检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息;Detecting whether there is second file header information in the data after the first file tail information, and the second file header information is file header information corresponding to the second file;
若存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文 件头信息与格式的对应关系,解析出所述第二文件的第二格式;If the second file header information exists, according to the second file header information and the preset text a correspondence between the header information and the format, and parsing the second format of the second file;
当所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;Displaying the display icon of the first picture file and the display icon of the second file when the first format is different from the second format;
当所述显示图标被触发时,显示所述显示图标对应的文件。When the display icon is triggered, the file corresponding to the display icon is displayed.
本发明实施例提供了一种显示方法及终端、计算机存储介质,当获取第一图片文件时,终端检测该第一图片文件对应数据的第一文件头信息;根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一图片文件的第一格式;检测第一文件尾信息后的数据是否存在第二文件头信息,该第二文件头信息为第二文件对应数据的文件头信息;若存在第二文件头信息,则根据该第二文件头信息和预设的文件头信息与格式的对应关系,解析出第二文件的第二格式;当第一格式与第二格式不同时,显示第一图片文件的显示图标和第二文件的显示图标;当显示图标被触发时,显示该显示图标对应的文件。采用上述技术实现方案,由于在终端想要打开第一图片文件时,可以检测到第一图片文件的第一格式,若还存在其他格式的时候,该终端也可以检测出来,并且还能将不同格式的文件对应的显示图标显示出来,并在显示图标被触发时,显示显示图标应用的文件。因此,终端可以对图片文件的不同数据格式进行解析,实现图片文件的不同数据格式的显示,体现了终端的人性化。The embodiment of the invention provides a display method, a terminal, and a computer storage medium. When acquiring the first picture file, the terminal detects the first file header information of the data corresponding to the first picture file; according to the first file header information and the preset Corresponding relationship between the file header information and the format, parsing the first format of the first image file; detecting whether the data after the first file tail information has the second file header information, and the second file header information is the data corresponding to the second file File header information; if the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and the format; when the first format and the first format When the two formats are different, the display icon of the first picture file and the display icon of the second file are displayed; when the display icon is triggered, the file corresponding to the display icon is displayed. According to the foregoing technical implementation, when the terminal wants to open the first picture file, the first format of the first picture file can be detected. If other formats exist, the terminal can also detect and can also be different. The display icon corresponding to the formatted file is displayed, and when the display icon is triggered, the file displaying the icon application is displayed. Therefore, the terminal can parse different data formats of the image file, and realize display of different data formats of the image file, which embodies the humanization of the terminal.
附图说明DRAWINGS
图1为实现本发明各个实施例中一个可选的移动终端的硬件结构示意图;1 is a schematic structural diagram of hardware of an optional mobile terminal in implementing various embodiments of the present invention;
图2为本发明的移动终端能够操作的通信系统;2 is a communication system that the mobile terminal of the present invention can operate;
图3为本发明实施例提供的一种显示方法的流程图一;FIG. 3 is a flowchart 1 of a display method according to an embodiment of the present invention;
图4为本发明实施例提供的一种终端中设置智能显示功能的界面示意图;FIG. 4 is a schematic diagram of an interface for setting an intelligent display function in a terminal according to an embodiment of the present disclosure;
图5为本发明实施例提供的一种显示方法的流程图二;FIG. 5 is a second flowchart of a display method according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种终端的结构示意图一;FIG. 6 is a schematic structural diagram 1 of a terminal according to an embodiment of the present disclosure;
图7为本发明实施例提供的一种终端的结构示意图二。 FIG. 7 is a schematic structural diagram 2 of a terminal 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 in the following with reference to the accompanying drawings.
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,“模块”与“部件”可以混合地使用。A mobile terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
需要说明的是,本发明实施例提供的一种焦点获取装置可以为终端,例如计算机或移动终端等可以使用浏览器的电子设备。It should be noted that the focus obtaining apparatus provided by the embodiment of the present invention may be a terminal, such as a computer or a mobile terminal, and the like, which can use a browser.
其中,移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。Among them, the mobile terminal can be implemented in various forms. For example, the terminals described in the present invention may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, and the like. Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
图1为实现本发明各个实施例中一个可选的移动终端的硬件结构示意图。FIG. 1 is a schematic diagram showing the hardware structure of an optional mobile terminal in implementing various embodiments of the present invention.
移动终端100可以包括无线通信单元110、音频/视频(A/V)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。The mobile terminal 100 may include a wireless communication unit 110, an audio/video (A/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more. Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括移动通信模块112、无线互联网模块113和短程通信模块114中的至少一个。 Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit can include at least one of the mobile communication module 112, the wireless internet module 113, and the short-range communication module 114.
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信 号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。The mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server. Such wireless telecommunications The number may include a voice call signal, a video call signal, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线LAN)(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。The wireless internet module 113 supports wireless internet access of the mobile terminal. The module can be internally or externally coupled to the terminal. The wireless Internet access technologies involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), etc. .
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。The short range communication module 114 is a module for supporting short range communication. Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, etc. TM.
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机121。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 120 is for receiving an audio or video signal. The A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode. The processed image frame can be displayed on the display unit 151. The image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal. The microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data. The processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode. The microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。The user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal. The user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc. In particular, when the touch panel is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开 或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。The sensing unit 140 detects the current state of the mobile terminal 100 (eg, the opening of the mobile terminal 100) Or closed state), the location of the mobile terminal 100, the presence or absence of the user's contact with the mobile terminal 100 (ie, touch input), the orientation of the mobile terminal 100, the acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and are generated. A command or signal that controls the operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide type mobile phone, the sensing unit 140 can sense whether the slide type phone is turned on or off. In addition, the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为“识别装置”)可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。The interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more. The identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like. In addition, the device having the identification module (hereinafter referred to as "identification device") may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device. The interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152等等。In addition, when the mobile terminal 100 is connected to the external base, the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal. Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base. Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如, 文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。The display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in the phone call mode, the display unit 151 can display a call or other communication (for example, Text messaging, multimedia file downloads, etc.) related user interface (UI) or graphical user interface (GUI). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状,以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。Meanwhile, when the display unit 151 and the touch panel are superposed on each other in the form of a layer to form a touch screen, the display unit 151 can function as an input device and an output device. The display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like. According to a particular desired embodiment, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) . The touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like. The audio signal is output as sound. Moreover, the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100. The audio output module 152 can include a speaker, a buzzer, and the like.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store a software program or the like for processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, etc.) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除 可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. Moreover, the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块181,多媒体模块181可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。The controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。The power supply unit 190 receives external power or internal power under the control of the controller 180 and provides appropriate power required to operate the various components and components.
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。The various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof. For hardware implementations, the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle. For software implementations, implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by controller 180.
至此,己经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。So far, the mobile terminal has been described in terms of its function. Hereinafter, for the sake of brevity, a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的 诸如有线和无线通信系统以及基于卫星的通信系统来操作。The mobile terminal 100 as shown in FIG. 1 may be configured to utilize data transmitted via a frame or a packet. It operates such as wired and wireless communication systems as well as satellite based communication systems.
现在将参考图2描述其中根据本发明的移动终端能够操作的通信系统。A communication system in which a mobile terminal according to the present invention can be operated will now be described with reference to FIG.
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。Such communication systems may use different air interfaces and/or physical layers. For example, air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc. As a non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC 280被构造为与公共电话交换网络(PSTN)290形成接口。MSC 280还被构造为与可以经由回程线路耦接到BS 270的BSC 275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC2750。Referring to FIG. 2, a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280. The MSC 280 is configured to interface with a public switched telephone network (PSTN) 290. The MSC 280 is also configured to interface with a BSC 275 that can be coupled to the BS 270 via a backhaul line. The backhaul line can be constructed in accordance with any of a number of well known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 may include multiple BSC 2750s.
每个BS 270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS 270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS 270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。Each BS 270 can serve one or more partitions (or regions), with each partition covered by a multi-directional antenna or an antenna pointing in a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
分区与频率分配的交叉可以被称为CDMA信道。BS 270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语“基站”可以用于笼统地表示单个BSC 275和至少一个BS 270。基站也可以被称为“蜂窝站”。或者,特定BS 270的各分区可以被称为多个蜂窝站。The intersection of partitioning and frequency allocation can be referred to as a CDMA channel. BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" can be used to generally mean a single BSC 275 and at least one BS 270. A base station can also be referred to as a "cell station." Alternatively, each partition of a particular BS 270 may be referred to as multiple cellular stations.
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的移动终端100。在图2中,示出了几个全球定位系统(GPS)卫星300,卫星300帮助定位多个移动终端100中的至少一个。As shown in FIG. 2, a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system. In FIG. 2, several Global Positioning System (GPS) satellites 300 are shown that help locate at least one of a plurality of mobile terminals 100.
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫 星获得有用的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。In Figure 2, a plurality of satellites 300 are depicted, but it is understood that any number of satellites can be utilized. Stars get useful positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
作为无线通信系统的一个典型操作,BS 270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定BS 270接收的每个反向链路信号被在特定BS 270内进行处理。获得的数据被转发给相关的BSC 275。BSC提供通话资源分配和包括BS 270之间的软切换过程的协调的移动管理功能。BSC 275还将接收到的数据路由到MSC 280,其提供用于与PSTN 290形成接口的额外的路由服务。类似地,PSTN 290与MSC280形成接口,MSC与BSC 275形成接口,并且BSC 275相应地控制BS 270以将正向链路信号发送到移动终端100。As a typical operation of a wireless communication system, BS 270 receives reverse link signals from various mobile terminals 100. Mobile terminal 100 typically participates in calls, messaging, and other types of communications. Each reverse link signal received by a particular BS 270 is processed within a particular BS 270. The obtained data is forwarded to the relevant BSC 275. The BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270. The BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290. Similarly, PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
基于上述移动终端硬件结构以及通信系统,提出本发明方法各个实施例。Based on the above-described mobile terminal hardware structure and communication system, various embodiments of the method of the present invention are proposed.
实施例一 Embodiment 1
本发明实施例提供了一种显示方法,如图3所示,该方法可以包括:An embodiment of the present invention provides a display method. As shown in FIG. 3, the method may include:
S101、当获取第一图片文件时,检测该第一图片文件对应数据的第一文件头信息。S101. When acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file.
需要说明的是,本发明实施例中的图片文件为以图片为主要显示方式的文件,对于一个有格式的文件的数据来说,必然会包含一个文件头信息和文件尾信息,该文件头信息用于表征文件数据的开始,文件尾信息用于表征文件数据的结束。It should be noted that the picture file in the embodiment of the present invention is a file with a picture as a main display mode. For data of a formatted file, a file header information and file tail information are necessarily included, and the file header information is included. Used to characterize the beginning of file data, which is used to characterize the end of file data.
本发明实施例提供的显示方法主要针对内涵图的现象提出的。内涵图是指在以图片格式的文件为包装,其实内部包含了其他格式的信息或文件的一种方式。即在本发明实施例中,第一图片文件的内涵图中可能包含不同第二文件的情况,也就是说将其他格式的文件隐藏在图片格式的文件中。The display method provided by the embodiment of the present invention is mainly proposed for the phenomenon of the intension map. The intension map refers to a way of packaging information in a picture format, but actually contains information or files in other formats. That is, in the embodiment of the present invention, the content of the first picture file may include different second files, that is, the files of other formats are hidden in the file of the picture format.
需要说明的是,本发明实施例中的第一图片文件的来源可以为通过应用传 输过来的图片文件,或者从本地存储器或云端的文件系统进行扫描获取所述图片文件。当终端获取到该第一图片文件时,该终端就开始检测获取到的第一图片文件对应的数据的文件头信息(第一文件头信息)了。It should be noted that the source of the first picture file in the embodiment of the present invention may be The incoming image file, or scanned from a local storage or cloud file system, obtains the image file. When the terminal acquires the first picture file, the terminal starts detecting the file header information (first file header information) of the data corresponding to the acquired first picture file.
具体的,文件头信息可以采用标识符为标识;也就是说,所述检测所述第一图片文件对应数据的第一文件头信息,包括:通过检测第一图片文件对应数据中的开始标识符来检测所述第一图片文件对应数据的第一文件头信息。需要说明的是,由于文件对应的文件格式的不同,每个文件格式对应的开始标识符是不同的。Specifically, the file header information may be identified by using an identifier; that is, the detecting the first file header information of the data corresponding to the first picture file includes: detecting a start identifier in the data corresponding to the first picture file. And detecting first file header information of the data corresponding to the first picture file. It should be noted that the start identifier corresponding to each file format is different due to the file format corresponding to the file.
特别的,由于本发明实施例主要是针对以图片文件为包装的内涵图,因此,终端获取的第一图片文件的主要格式必然是图片格式的。例如,JPG,PNG,BMP等图片格式。In particular, the embodiment of the present invention is mainly directed to a connotation map in which a picture file is packaged. Therefore, the main format of the first picture file acquired by the terminal is necessarily a picture format. For example, JPG, PNG, BMP and other image formats.
可选的,本发明实施例中的其他文件对应的文件格式可以为RAR,PDF等非图片格式,具体的非图片格式本发明实施例不作限制。Optionally, the file format corresponding to the other files in the embodiment of the present invention may be a non-image format such as RAR or PDF. The specific non-image format is not limited in the embodiment of the present invention.
可选的,本发明实施例中的开始标识符可以为JFIF(JPEG File Interchange Format)标识符、IHDR(header chunk)标识符等,其中,JFIF标识符为JPG格式对应的开始标识符,IHDR为PNG格式对应的开始标识符。Optionally, the start identifier in the embodiment of the present invention may be a JFIF (JPEG File Interchange Format) identifier, an IHDR (header chunk) identifier, or the like, where the JFIF identifier is a start identifier corresponding to the JPG format, and the IHDR is The start identifier corresponding to the PNG format.
S102、根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一图片文件的第一格式。S102. Parse the first format of the first picture file according to the correspondence between the first file header information and the preset file header information and the format.
终端检测该第一图片文件对应数据的第一文件头信息之后,由于不同的文件头信息对应不同的格式,因此,该终端可以根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一文件头信息对应的第一格式,该第一格式就是第一图片文件的格式。After the terminal detects the first file header information of the data corresponding to the first picture file, the terminal may correspond to different formats according to different file header information, so the terminal may correspond to the first file header information and the preset file header information and format. The relationship is parsed out of a first format corresponding to the first file header information, where the first format is a format of the first image file.
需要说明的是,本发明实施例中,上述已经说明了第一图片文件是伪装,因此,第一格式为第一图片文件的图片格式,是获取的第一图片文件的主格式。It should be noted that, in the embodiment of the present invention, the first picture file is disguised as described above. Therefore, the first format is the picture format of the first picture file, which is the main format of the acquired first picture file.
具体的,如表1所示为预设的文件头信息与格式的对应关系表,其中文件头信息中的数据为各格式对应的开始标识符的内容。 Specifically, as shown in Table 1, the correspondence table between the preset file header information and the format, wherein the data in the file header information is the content of the start identifier corresponding to each format.
示例性的,移动终端检测到第一文件头信息为FFD8FF(JFIF标识符)时,由表1可知,移动终端解析出第一图片文件的第一格式就为JPG。Exemplarily, when the mobile terminal detects that the first file header information is FFD8FF (JFIF identifier), as shown in Table 1, the first format of the first picture file that the mobile terminal parses is JPG.
表1Table 1
格式format 文件头信息(0x)Header information (0x)
ZIP Archive(zip)ZIP Archive(zip) 504B0304504B0304
RAR Archive(rar)RAR Archive(rar) 5261722152617221
Wave(wav)Wave(wav) 5741564557415645
AVI(avi)AVI (avi) 4156492041564920
MPEG(mpg)MPEG (mpg) 000001BA000001BA
MPEG(mp3)MPEG (mp3) 000001B3000001B3
Adobe Photoshop(psd)Adobe Photoshop (psd) 3842505338425053
Rich Text Format(rtf)Rich Text Format(rtf) 7B5C7274667B5C727466
XML(xml)XML(xml) 3C3F786D6C3C3F786D6C
HTML(html)HTML (html) 68746D6C3E68746D6C3E
Email[thorough only](eml)Email[thorough only](eml) 44656C69766572792D646174653A44656C69766572792D646174653A
Outlook Express(dbx)Outlook Express (dbx) CFAD12FEC5FD746FCFAD12FEC5FD746F
Outlook(pst)Outlook (pst) 2142444E2142444E
MS Word/Excel(xls.or.doc)MS Word/Excel (xls.or.doc) D0CF11E0D0CF11E0
MS Access(mdb)MS Access (mdb) 5374616E64617264204A5374616E64617264204A
WordPerfect(wpd)WordPerfect(wpd) FF575043FF575043
Postscript(eps.or.ps)Postscript (eps.or.ps) 252150532D41646F6265252150532D41646F6265
Adobe Acrobat(pdf)Adobe Acrobat (pdf) 255044462D312E255044462D312E
Quicken(qdf)Quicken(qdf) AC9EBD8FAC9EBD8F
Windows Password(pwl)Windows Password (pwl) E3828596E3828596
CAD(dwg)CAD(dwg) 4143313041433130
Real Audio(ram)Real Audio(ram) 2E7261FD2E7261FD
Real Media(rm)Real Media(rm) 2E524D462E524D46
Quicktime(mov)Quicktime(mov) 6D6F6F766D6F6F76
Windows Media(asf)Windows Media (asf) 3026B2758E66CF113026B2758E66CF11
MIDI(mid)MIDI(mid) 4D5468644D546864
JPEG(jpg)JPEG (jpg) FFD8FFFFD8FF
PNG(png)PNG(png) 89504E4789504E47
GIF(gif)GIF (gif) 4749463847494638
TIFF(tif)TIFF(tif) 49492A0049492A00
Windows Bitmap(bmp)Windows Bitmap (bmp) 424D424D
示例性的,移动终端检测到第一文件头信息为FFD8FF(JFIF标识符)时,由表1可知,移动终端解析出第一图片文件的第一格式就为JPG。Exemplarily, when the mobile terminal detects that the first file header information is FFD8FF (JFIF identifier), as shown in Table 1, the first format of the first picture file that the mobile terminal parses is JPG.
S103、检测第一文件尾信息后的数据是否存在第二文件头信息,该第二文件头信息为第二文件对应数据的文件头信息。S103. Check whether data of the first file end information has second file header information, where the second file header information is file header information of the data corresponding to the second file.
终端解析出第一图片文件的第一格式之后,由于每个文件都有对应的一个文件头信息和文件尾信息,因此,在终端检测完第一文件头信息,获知第一图片文件的第一格式后,该终端开始检测第一图片文件的第一文件尾信息。具体的,由于第一文件尾信息表征该第一图片文件的结束,于是,终端检测第一文件尾信息后面的数据是否存在第二文件头信息。After the terminal parses the first format of the first picture file, since each file has a corresponding file header information and file tail information, the first file header information is detected by the terminal, and the first image file is first learned. After the format, the terminal starts detecting the first file end information of the first picture file. Specifically, since the first file tail information represents the end of the first picture file, the terminal detects whether the data following the first file tail information has the second file header information.
需要说明的是,本发明实施例中,由于第一图片文件结束后还可能存在其他格式的文件,因此,终端知道检测第一图片文件后是否存在隐藏的文件(第二文件),于是,该终端就检测第一文件尾信息后的数据是否存在第二文件头信息。It should be noted that, in the embodiment of the present invention, since the file of another format may exist after the end of the first picture file, the terminal knows whether there is a hidden file (second file) after detecting the first picture file, and thus, The terminal detects whether the data after the first file tail information has the second file header information.
具体的,本发明实施例中的第一文件尾信息是指结束标识符。Specifically, the first file tail information in the embodiment of the present invention refers to an end identifier.
可选的,结束标识符可以为EOI(end of image)和IEND(image trailer trunk)等标识符,其中,JPG格式对应EOI标识符,而PNG格式对应IEND标识符。具体的,结束标识符的类型本发明实施例不作限制。Optionally, the end identifier may be an identifier such as EOI (end of image) and IEND (image trailer trunk), wherein the JPG format corresponds to an EOI identifier, and the PNG format corresponds to an IEND identifier. Specifically, the type of the end identifier is not limited in the embodiment of the present invention.
进一步地,EOI标识符的表示内容可以为0x FFD9,而IEND标识符的表示内容可以为0000000049454E44AE426082。Further, the representation content of the EOI identifier may be 0x FFD9, and the representation content of the IEND identifier may be 0000000049454E44AE426082.
需要说明的是,本发明实施例中的第二文件的第二格式可以为上述说明的任意格式,第二文件头信息可以为上述说明过的开始标识符的任意一种,而且第二格式与第二文件头信息的对应关系如表1所示。It should be noted that the second format of the second file in the embodiment of the present invention may be any format described above, and the second file header information may be any one of the foregoing start identifiers, and the second format is The correspondence between the second file header information is as shown in Table 1.
S104、若存在第二文件头信息,则根据该第二文件头信息和预设的文件头信息与格式的对应关系,解析出第二文件的第二格式。S104. If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and the format.
终端检测第一文件尾信息后的数据是否存在第二文件头信息之后,若存在第二文件头信息,由于文件头信息是一个文件开始的标识,因此,当终端检测 出存在第二文件头信息时,就表征该终端获取的第一图片文件并非仅是表面上显示的内容,可能还隐藏了别的文件(第二文件),于是,该终端可以根据检测出的第二文件头信息以及表1中显示的预设的文件头信息与格式的对应关系,解析出第二文件的第二格式。After the terminal detects whether the data after the first file tail information has the second file header information, if the second file header information exists, since the file header information is an identifier of the beginning of the file, when the terminal detects When the second file header information exists, it indicates that the first picture file acquired by the terminal is not only the content displayed on the surface, and may also hide another file (the second file), so the terminal can be detected according to the The second file header information and the correspondence between the preset file header information and the format displayed in Table 1 are used to parse the second format of the second file.
进一步地,若检测到不存在第二文件头信息,终端则结束对第一图片文件的检测了,具体的实现过程及后续实现将在后续的实施例中进行说明。Further, if it is detected that the second file header information does not exist, the terminal ends the detection of the first image file, and the specific implementation process and subsequent implementations will be described in the following embodiments.
示例性的,当移动终端检测出FFD8FF时,还检测到FFD8FF后面的数据中存在52617221数据,于是,移动终端解析出52617221是格式为RAR的文件的开始标识符,因此,该移动终端就获知了第二文件头信息为52617221的第二文件,且解析除了该第二文件的第二格式为RAR。Exemplarily, when the mobile terminal detects the FFD8FF, it also detects that there is 52617221 data in the data following the FFD8FF, so the mobile terminal parses out 52617221 as the start identifier of the file in the format of RAR, and therefore, the mobile terminal knows The second file header information is the second file of 52617221, and the second format except the second file is parsed as RAR.
S105、当第一格式与第二格式不同时,显示该第一图片文件的显示图标和该第二文件的显示图标。S105. When the first format is different from the second format, display icons of the first picture file and display icons of the second file are displayed.
终端在解析出第二文件的第二格式之后,该终端就获知在第一图片文件中隐藏着第二文件,若该第一格式与第二格式不同时,表征该第二文件为非图片文件,因此,该终端就将第一图片文件中的显示文件的图标和隐藏的文件图标都显示出来,供用户选择。After the terminal parses the second format of the second file, the terminal learns that the second file is hidden in the first image file. If the first format is different from the second format, the second file is represented as a non-image file. Therefore, the terminal displays the icon of the display file and the hidden file icon in the first picture file for the user to select.
需要说明的是,当第一格式与第二格式相同时,表征第一图片文件中可能存在多张照片的情况,并没有存在不同格式的第二文件的情况,这样的情况下,终端可以直接应用第一图片文件,与现有技术的实现一样,直接显示第一图片文件就可以了。It should be noted that when the first format is the same as the second format, the case where there are multiple photos in the first picture file may be represented, and there is no case where the second file in different formats exists. In this case, the terminal may directly Applying the first image file, as with the prior art implementation, directly displaying the first image file is sufficient.
特别的,本发明实施例中的显示图标分别用于标识第一图片文件和第二文件。In particular, the display icons in the embodiment of the present invention are used to identify the first picture file and the second file, respectively.
优选的,本发明实施例中的显示图标可以由文件对应的格式的类型来表示,例如,图片文件采用图片标识,RAR格式的文件采用压缩文件标识等。Preferably, the display icon in the embodiment of the present invention may be represented by a type of a format corresponding to the file, for example, the image file adopts a picture identifier, and the file in the RAR format adopts a compressed file identifier.
需要说明的是,只要是可以表征文件的标识都可以使用,并不仅限于显示图标。 It should be noted that any identifier that can characterize a file can be used, and is not limited to displaying an icon.
进一步地,第一图片文件中的不同格式的第二文件可以有多个,因此,该终端可以通过上述检测第二文件的方法将所有第二文件都检测出来。Further, there may be multiple second files in different formats in the first picture file. Therefore, the terminal may detect all the second files by the above method for detecting the second file.
需要说明的是,终端将第一图片文件中隐藏的所有的第二文件都检测出来之后,该终端就将所有检测的第一图片文件和第二文件分别对应的显示图标显示出来。It should be noted that after the terminal detects all the second files hidden in the first picture file, the terminal displays the display icons corresponding to the first picture files and the second files respectively.
具体的,由于终端图片文件都是与其图库应用关联并显示,因此,终端可以在其图库的预览画面或菜单中显示上述第一图片文件和第二文件分别对应的显示图标。Specifically, the terminal picture file is associated with the library application and displayed, so the terminal can display the display icons corresponding to the first picture file and the second file in the preview screen or menu of the library.
可以理解的是,当终端获取的一个图片文件(第一图片文件)中还隐藏其他格式的文件时,本发明实施例通过检测可以将全部格式的文件的显示图标显示出来,供用户选择或查阅。It can be understood that, when a file of another format is also hidden in a picture file (the first picture file) acquired by the terminal, the embodiment of the present invention can display the display icon of the file in all formats by detecting, for the user to select or consult. .
S106、当显示图标被触发时,显示所述显示图标对应的文件。S106. When the display icon is triggered, the file corresponding to the display icon is displayed.
终端显示第一图片文件的显示图标和第二文件的显示图标之后,用户就可以获知第一图片文件中的所有格式的文件,当用户想要获知某一文件的内容时,点击该某一文件对应的显示图标即可,即显示图标被触发,这时,该显示图标对应的文件就可以打开并显示出来,以供用户查阅。After the terminal displays the display icon of the first picture file and the display icon of the second file, the user can learn all the files in the first picture file, and when the user wants to know the content of a file, click the file. The corresponding display icon can be used, that is, the display icon is triggered. At this time, the file corresponding to the display icon can be opened and displayed for the user to consult.
需要说明的是,由于一般的图片文件默认关联图库应用,当第一图片文件中存在其他格式的文件时就打不开了,因此,本发明实施例中,终端检测出不同格式的第二文件的时候,将与第二文件的格式对应的应用与该第二文件相关联了,在显示图标被触发时,终端将显示图标对应的文件在与该文件相关联的应用中打开。It should be noted that, because the general picture file is associated with the gallery application by default, when there are other formats of files in the first picture file, the terminal does not open. Therefore, in the embodiment of the present invention, the terminal detects the second file in different formats. At the time, the application corresponding to the format of the second file is associated with the second file. When the display icon is triggered, the terminal opens the file corresponding to the display icon in the application associated with the file.
进一步地,本发明实施例提供的显示方法的功能可以由用户手动打开,也是自己默认的模式。如图4所示,终端可以在设置界面开启智能显示功能时,采实现本发明实施例提供的显示方法,而不想开启该功能时,可以在设置界面将其关闭。具体的,本发明实施例提供的显示方法的触发条件本发明实施例不作限制。 Further, the function of the display method provided by the embodiment of the present invention can be manually opened by the user, and is also the default mode of the user. As shown in FIG. 4, the terminal can implement the display method provided by the embodiment of the present invention when the smart display function is enabled on the setting interface. When the function is not to be enabled, the terminal can be turned off in the setting interface. Specifically, the triggering condition of the display method provided by the embodiment of the present invention is not limited in the embodiment of the present invention.
本发明实施例所提供的一种显示方法,当获取第一图片文件时,终端检测该第一图片文件对应数据的第一文件头信息;根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一图片文件的第一格式;检测第一文件尾信息后的数据是否存在第二文件头信息,该第二文件头信息为第二文件对应数据的文件头信息;若存在第二文件头信息,则根据该第二文件头信息和预设的文件头信息与格式的对应关系,解析出第二文件的第二格式;当第一格式与第二格式不同时,显示第一图片文件的显示图标和第二文件的显示图标;当显示图标被触发时,显示该显示图标对应的文件。采用上述技术实现方案,由于在终端想要打开第一图片文件时,可以检测到第一图片文件的第一格式,若还存在其他格式的时候,该终端也可以检测出来,并且还能将不同格式的文件对应的显示图标显示出来,并在显示图标被触发时,显示显示图标应用的文件。因此,终端可以对图片文件的不同数据格式进行解析,实现图片文件的不同数据格式的显示,体现了终端的人性化。According to a display method provided by the embodiment of the present invention, when acquiring the first picture file, the terminal detects the first file header information of the data corresponding to the first picture file; and according to the first file header information and the preset file header information, Corresponding relationship of the format, parsing the first format of the first picture file; detecting whether there is second file header information in the data after the first file tail information, the second file header information is file header information of the data corresponding to the second file; If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and the format; when the first format is different from the second format, A display icon of the first picture file and a display icon of the second file are displayed; when the display icon is triggered, the file corresponding to the display icon is displayed. According to the foregoing technical implementation, when the terminal wants to open the first picture file, the first format of the first picture file can be detected. If other formats exist, the terminal can also detect and can also be different. The display icon corresponding to the formatted file is displayed, and when the display icon is triggered, the file displaying the icon application is displayed. Therefore, the terminal can parse different data formats of the image file, and realize display of different data formats of the image file, which embodies the humanization of the terminal.
实施例二Embodiment 2
本发明实施例提供了一种显示方法,如图5所示,该方法可以包括:An embodiment of the present invention provides a display method. As shown in FIG. 5, the method may include:
S201、当获取第一图片文件时,检测第一图片文件对应数据的第一文件头信息。S201. When acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file.
需要说明的是,本发明实施例中的图片文件为以图片为主要显示方式的文件,对于一个有格式的文件的数据来说,必然会包含一个文件头信息和文件尾信息,该文件头信息用于表征文件数据的开始,文件尾信息用于表征文件数据的结束。It should be noted that the picture file in the embodiment of the present invention is a file with a picture as a main display mode. For data of a formatted file, a file header information and file tail information are necessarily included, and the file header information is included. Used to characterize the beginning of file data, which is used to characterize the end of file data.
本发明实施例提供的显示方法主要针对内涵图的现象提出的。内涵图是指在以图片格式的文件为包装,其实内部包含了其他格式的信息或文件的一种方式。即在本发明实施例中,第一图片文件的内涵图中可能包含不同第二文件的情况,也就是说将其他格式的文件隐藏在图片格式的文件中。The display method provided by the embodiment of the present invention is mainly proposed for the phenomenon of the intension map. The intension map refers to a way of packaging information in a picture format, but actually contains information or files in other formats. That is, in the embodiment of the present invention, the content of the first picture file may include different second files, that is, the files of other formats are hidden in the file of the picture format.
需要说明的是,本发明实施例中的第一图片文件的来源可以为通过应用传 输过来的图片文件,或者从本地存储器或云端的文件系统进行扫描获取等。当终端获取到该第一图片文件时,该终端就开始检测获取到的第一图片文件对应的数据的文件头信息(第一文件头信息)了。It should be noted that the source of the first picture file in the embodiment of the present invention may be Incoming image files, or scanning from local storage or cloud file system. When the terminal acquires the first picture file, the terminal starts detecting the file header information (first file header information) of the data corresponding to the acquired first picture file.
具体的,文件头信息可以以标识符为标识,终端检测第一文件头信息,就是检测第一图片文件对应数据中的开始标识符。Specifically, the file header information may be identified by an identifier, and the terminal detects the first file header information, that is, detects a start identifier in the data corresponding to the first image file.
需要说明的是,由于文件对应的文件格式的不同,每个文件格式对应的开始标识符是不同的。It should be noted that the start identifier corresponding to each file format is different due to the file format corresponding to the file.
特别的,由于本发明实施例主要是针对以图片文件为包装的内涵图,因此,终端获取的第一图片文件的主要格式必然是图片格式的。例如,JPG,PNG,BMP等图片格式。In particular, the embodiment of the present invention is mainly directed to a connotation map in which a picture file is packaged. Therefore, the main format of the first picture file acquired by the terminal is necessarily a picture format. For example, JPG, PNG, BMP and other image formats.
可选的,本发明实施例中的其他文件对应的文件格式可以为RAR,PDF等非图片格式,具体的非图片格式本发明实施例不作限制。Optionally, the file format corresponding to the other files in the embodiment of the present invention may be a non-image format such as RAR or PDF. The specific non-image format is not limited in the embodiment of the present invention.
可选的,本发明实施例中的开始标识符可以为JFIF标识符、IHDR标识符等,其中,JFIF标识符为JPG格式对应的开始标识符,IHDR为PNG格式对应的开始标识符。Optionally, the start identifier in the embodiment of the present invention may be a JFIF identifier, an IHDR identifier, or the like, where the JFIF identifier is a start identifier corresponding to the JPG format, and the IHDR is a start identifier corresponding to the PNG format.
S202、根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一图片文件的第一格式。S202. Parse the first format of the first picture file according to the correspondence between the first file header information and the preset file header information and the format.
终端检测该第一图片文件对应数据的第一文件头信息之后,由于不同的文件头信息对应不同的格式,因此,该终端可以根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一文件头信息对应的第一格式,该第一格式就是第一图片文件的格式。After the terminal detects the first file header information of the data corresponding to the first picture file, the terminal may correspond to different formats according to different file header information, so the terminal may correspond to the first file header information and the preset file header information and format. The relationship is parsed out of a first format corresponding to the first file header information, where the first format is a format of the first image file.
需要说明的是,本发明实施例中,上述已经说明了第一图片文件是伪装,因此,第一格式为第一图片文件的图片格式,是获取的第一图片文件的主格式。It should be noted that, in the embodiment of the present invention, the first picture file is disguised as described above. Therefore, the first format is the picture format of the first picture file, which is the main format of the acquired first picture file.
具体的,如表1所示为预设的文件头信息与格式的对应关系表,其中文件头信息中的数据为各格式对应的开始标识符的内容。Specifically, as shown in Table 1, the correspondence table between the preset file header information and the format, wherein the data in the file header information is the content of the start identifier corresponding to each format.
示例性的,移动终端检测到第一文件头信息为FFD8FF(JFIF标识符)时, 由表1可知,移动终端解析出第一图片文件的第一格式就为JPG。Exemplarily, when the mobile terminal detects that the first file header information is FFD8FF (JFIF identifier), As can be seen from Table 1, the first format of the first picture file parsed by the mobile terminal is JPG.
表1Table 1
格式format 文件头信息(0x)Header information (0x)
ZIP Archive(zip)ZIP Archive(zip) 504B0304504B0304
RAR Archive(rar)RAR Archive(rar) 5261722152617221
Wave(wav)Wave(wav) 5741564557415645
AVI(avi)AVI (avi) 4156492041564920
MPEG(mpg)MPEG (mpg) 000001BA000001BA
MPEG(mp3)MPEG (mp3) 000001B3000001B3
Adobe Photoshop(psd)Adobe Photoshop (psd) 3842505338425053
Rich Text Format(rtf)Rich Text Format(rtf) 7B5C7274667B5C727466
XML(xml)XML(xml) 3C3F786D6C3C3F786D6C
HTML(html)HTML (html) 68746D6C3E68746D6C3E
Email[thorough only](eml)Email[thorough only](eml) 44656C69766572792D646174653A44656C69766572792D646174653A
Outlook Express(dbx)Outlook Express (dbx) CFAD12FEC5FD746FCFAD12FEC5FD746F
Outlook(pst)Outlook (pst) 2142444E2142444E
MS Word/Excel(xls.or.doc)MS Word/Excel (xls.or.doc) D0CF11E0D0CF11E0
MS Access(mdb)MS Access (mdb) 5374616E64617264204A5374616E64617264204A
WordPerfect(wpd)WordPerfect(wpd) FF575043FF575043
Postscript(eps.or.ps)Postscript (eps.or.ps) 252150532D41646F6265252150532D41646F6265
Adobe Acrobat(pdf)Adobe Acrobat (pdf) 255044462D312E255044462D312E
Quicken(qdf)Quicken(qdf) AC9EBD8FAC9EBD8F
Windows Password(pwl)Windows Password (pwl) E3828596E3828596
CAD(dwg)CAD(dwg) 4143313041433130
Real Audio(ram)Real Audio(ram) 2E7261FD2E7261FD
Real Media(rm)Real Media(rm) 2E524D462E524D46
Quicktime(mov)Quicktime(mov) 6D6F6F766D6F6F76
Windows Media(asf)Windows Media (asf) 3026B2758E66CF113026B2758E66CF11
MIDI(mid)MIDI(mid) 4D5468644D546864
JPEG(jpg)JPEG (jpg) FFD8FFFFD8FF
PNG(png)PNG(png) 89504E4789504E47
GIF(gif)GIF (gif) 4749463847494638
TIFF(tif)TIFF(tif) 49492A0049492A00
Windows Bitmap(bmp)Windows Bitmap (bmp) 424D424D
S203、检测第一图片文件对应数据中是否存在第一扩展信息。 S203. Detect whether the first extended information exists in the data corresponding to the first picture file.
需要说明的是,第一文件头信息之后,第一文件尾信息之前,还可能存在第一扩展信息,该第一扩展信息中还可能存在不同格式的文件。It should be noted that, after the first file header information, before the first file tail information, there may also be first extended information, and files of different formats may also exist in the first extended information.
具体的,终端完成第一文件头信息的检测和解析后,就可以检测是否有第一扩展信息的标识符,以对该第一扩展信息进行检测,进而检测其中是否存在第二文件的第二头信息。Specifically, after the terminal completes the detection and parsing of the first file header information, it may detect whether there is an identifier of the first extended information, to detect the first extended information, and further detect whether there is a second file in the second file. Header information.
S204、若存在第一扩展信息,则检测该第一扩展信息是否存在第二文件头信息,该第二文件头信息为第二文件对应数据的文件头信息。S204. If the first extended information exists, detecting whether the first extended information has second file header information, where the second file header information is file header information of the second file corresponding data.
终端检测第一图片文件对应数据中是否存在第一扩展信息之后,若存在该第一扩展信息,该终端则检测该第一扩展信息是否存在第二文件头信息(即检测是否有隐藏的文件),该第二文件头信息为第二文件对应数据的文件头信息。After detecting, by the terminal, whether the first extended information exists in the data corresponding to the first picture file, if the first extended information exists, the terminal detects whether the first extended information has the second file header information (ie, detecting whether there is a hidden file) The second file header information is file header information of the data corresponding to the second file.
需要说明的是,第一扩展信息存在于第一文件头信息的开始标识符之后,终端可以读取第一扩展信息,并检测其中是否包括了对其他格式文件的声明,可以从第一扩展信息中,获取此图片文件是否包含了其他格式文件的数据,以分析这些其他格式文件的数据,具体属于哪种格式。It should be noted that, after the first extension information exists after the start identifier of the first file header information, the terminal may read the first extension information, and detect whether a declaration for other format files is included, and may be from the first extended information. In the case, obtain whether the image file contains data of other format files to analyze the data of these other format files, which format is specific.
S205、检测第一文件尾信息后的数据是否存在第二文件头信息。S205. Check whether data of the first file tail information has second file header information.
终端解析出第一图片文件的第一格式之后,由于每个文件都有对应的一个文件头信息和文件尾信息,因此,在终端检测完第一文件头信息,获知第一图片文件的第一格式后,该终端开始检测第一图片文件的第一文件尾信息。具体的,由于第一文件尾信息表征该第一图片文件的结束,于是,终端检测第一文件尾信息后面的数据是否存在第二文件头信息。After the terminal parses the first format of the first picture file, since each file has a corresponding file header information and file tail information, the first file header information is detected by the terminal, and the first image file is first learned. After the format, the terminal starts detecting the first file end information of the first picture file. Specifically, since the first file tail information represents the end of the first picture file, the terminal detects whether the data following the first file tail information has the second file header information.
需要说明的是,本发明实施例中,由于第一图片文件结束后还可能存在其他格式的文件,因此,终端知道检测第一图片文件后是否存在隐藏的文件(第二文件),于是,该终端就检测第一文件尾信息后的数据是否存在第二文件头信息。It should be noted that, in the embodiment of the present invention, since the file of another format may exist after the end of the first picture file, the terminal knows whether there is a hidden file (second file) after detecting the first picture file, and thus, The terminal detects whether the data after the first file tail information has the second file header information.
具体的,本发明实施例中的第一文件尾信息是指结束标识符。Specifically, the first file tail information in the embodiment of the present invention refers to an end identifier.
可选的,结束标识符可以为EOI等标识符,其中,JPG格式对应EOI标识 符,而PNG格式对应IEND标识符。具体的,结束标识符的类型本发明实施例不作限制。Optionally, the end identifier may be an identifier such as EOI, where the JPG format corresponds to the EOI identifier Character, and the PNG format corresponds to the IEND identifier. Specifically, the type of the end identifier is not limited in the embodiment of the present invention.
进一步地,EOI标识符的表示内容可以为0x FFD9,而IEND标识符的表示内容可以为0000000049454E44AE426082。Further, the representation content of the EOI identifier may be 0x FFD9, and the representation content of the IEND identifier may be 0000000049454E44AE426082.
需要说明的是,本发明实施例中的第二文件的第二格式可以为上述说明的任意格式,第二文件头信息可以为上述说明过的开始标识符的任意一种,而且第二格式与第二文件头信息的对应关系如表1所示。It should be noted that the second format of the second file in the embodiment of the present invention may be any format described above, and the second file header information may be any one of the foregoing start identifiers, and the second format is The correspondence between the second file header information is as shown in Table 1.
S206、若存在第二文件头信息,则根据第二文件头信息和预设的文件头信息与格式的对应关系,解析出第二文件的第二格式。S206. If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and the format.
终端检测第一文件尾信息后的数据是否存在第二文件头信息之后,或者,该终端检测该第一扩展信息是否存在第二文件头信息之后,若存在第二文件头信息,由于文件头信息是一个文件开始的标识,因此,当终端检测出存在第二文件头信息时,就表征该终端获取的第一图片文件并仅是表面上显示的内容,可能还隐藏了别的文件(第二文件),于是,该终端可以根据检测出的第二文件头信息以及表1中显示的预设的文件头信息与格式的对应关系,解析出第二文件的第二格式。After the terminal detects whether the data after the first file tail information has the second file header information, or the terminal detects whether the first extended information has the second file header information, if the second file header information exists, the file header information exists. It is an identifier of the beginning of a file. Therefore, when the terminal detects that the second header information exists, it indicates that the first image file acquired by the terminal is only the content displayed on the surface, and may also hide other files (second File), the terminal can then parse the second format of the second file according to the detected second file header information and the corresponding correspondence between the file header information and the format displayed in Table 1.
进一步地,若检测到不存在第二文件头信息,终端则结束对第一图片文件的检测了,具体的实现过程及后续实现将在后续的实施例中进行说明。Further, if it is detected that the second file header information does not exist, the terminal ends the detection of the first image file, and the specific implementation process and subsequent implementations will be described in the following embodiments.
示例性的,当移动终端检测出FFD8FF时,还检测到FFD8FF后面的数据中存在52617221数据,于是,移动终端解析出52617221是格式为RAR的文件的开始标识符,因此,该移动终端就获知了第二文件头信息为52617221的第二文件,且解析除了该第二文件的第二格式为RAR。Exemplarily, when the mobile terminal detects the FFD8FF, it also detects that there is 52617221 data in the data following the FFD8FF, so the mobile terminal parses out 52617221 as the start identifier of the file in the format of RAR, and therefore, the mobile terminal knows The second file header information is the second file of 52617221, and the second format except the second file is parsed as RAR.
S207、当第一格式与第二格式不同时,标注第一图片文件的第一显示样式和第二文件的第二显示样式。S207. Mark the first display style of the first picture file and the second display style of the second file when the first format is different from the second format.
S208、根据第一显示样式显示第一图片文件的显示图标,以及根据第二显示样式显示第二文件的显示图标。 S208. Display a display icon of the first picture file according to the first display style, and display a display icon of the second file according to the second display style.
终端在解析出第二文件的第二格式之后,该终端就获知在第一图片文件中隐藏着第二文件,若该第一格式与第二格式不同时,表征该第二文件为非图片文件,因此,该终端就将第一图片文件中的显示文件的图标和隐藏的文件图标都显示出来,供用户选择。After the terminal parses the second format of the second file, the terminal learns that the second file is hidden in the first image file. If the first format is different from the second format, the second file is represented as a non-image file. Therefore, the terminal displays the icon of the display file and the hidden file icon in the first picture file for the user to select.
需要说明的是,当第一格式与第二格式相同时,表征第一图片文件中可能存在多张照片的情况,并没有存在不同格式的第二文件的情况,这样的情况下,终端可以直接应用第一图片文件,与现有技术的实现一样,直接显示第一图片文件就可以了。It should be noted that when the first format is the same as the second format, the case where there are multiple photos in the first picture file may be represented, and there is no case where the second file in different formats exists. In this case, the terminal may directly Applying the first image file, as with the prior art implementation, directly displaying the first image file is sufficient.
特别的,本发明实施例中的显示图标分别用于标识第一图片文件和第二文件。In particular, the display icons in the embodiment of the present invention are used to identify the first picture file and the second file, respectively.
优选的,本发明实施例中的显示图标可以由文件对应的格式的类型来表示,例如,图片文件采用图片标识,RAR格式的文件采用压缩文件标识等。Preferably, the display icon in the embodiment of the present invention may be represented by a type of a format corresponding to the file, for example, the image file adopts a picture identifier, and the file in the RAR format adopts a compressed file identifier.
需要说明的是,只要是可以表征文件的标识都可以使用,并不仅限于显示图标。It should be noted that any identifier that can characterize a file can be used, and is not limited to displaying an icon.
具体的,当第一格式与第二格式不同时,标注第一图片文件的第一显示样式和第二文件的第二显示样式,即选择显示图标的呈现形式或图形。然后,终端再根据第一显示样式显示第一图片文件的显示图标,以及根据第二显示样式显示第二文件的显示图标。Specifically, when the first format is different from the second format, the first display style of the first picture file and the second display style of the second file are marked, that is, the presentation form or graphic of the display icon is selected. Then, the terminal displays the display icon of the first picture file according to the first display style, and displays the display icon of the second file according to the second display style.
进一步地,第一图片文件中的不同格式的第二文件可以有多个,因此,该终端可以通过上述检测第二文件的方法将所有第二文件都检测出来。Further, there may be multiple second files in different formats in the first picture file. Therefore, the terminal may detect all the second files by the above method for detecting the second file.
需要说明的是,终端将第一图片文件中隐藏的所有的第二文件都检测出来之后,该终端就将所有检测的第一图片文件和第二文件分别对应的显示图标显示出来。It should be noted that after the terminal detects all the second files hidden in the first picture file, the terminal displays the display icons corresponding to the first picture files and the second files respectively.
具体的,由于终端图片文件都是与其图库应用关联并显示,因此,终端可以在其图库的预览画面或菜单中显示上述显示图标。Specifically, since the terminal picture file is associated with the gallery application and displayed, the terminal may display the above display icon in a preview screen or menu of the gallery.
可以理解的是,当终端获取的一个图片文件(第一图片文件)中还隐藏其 他格式的文件时,本发明实施例通过检测可以将全部格式的文件的显示图标显示出来,供用户选择或查阅。It can be understood that when an image file (first picture file) acquired by the terminal is hidden, When the file is formatted by the user, the embodiment of the present invention can display the display icon of the file in all formats by detecting, for the user to select or consult.
S209、若不存在第二文件头信息,则显示第一图片文件的显示图标。S209. If the second file header information does not exist, the display icon of the first image file is displayed.
终端检测第一文件尾信息后的数据是否存在第二文件头信息之后,或者,检测该第一扩展信息是否存在第二文件头信息之后,若不存在该第二文件头信息,则该终端就不包含内涵图,没有隐藏的不同格式的文件,且由于第一图片文件本身就已经关联了图库应用,因此,直接显示第一图片的显示图标就可以了。After the terminal detects whether the data after the first file tail information has the second file header information, or after detecting whether the first extended information has the second file header information, if the second file header information does not exist, the terminal The connotation map is not included, there is no hidden file of different format, and since the first image file itself has been associated with the gallery application, it is sufficient to directly display the display icon of the first image.
需要说明的是,S206-S208与S209为S204或S205之后可选的步骤,本发明实施例中,可以根据实际情况,在S204或S205之后,可以先执行S206-S208,再执行S209,也可以执行S209,再执行S206-S208。It should be noted that S206-S208 and S209 are optional steps after S204 or S205. In the embodiment of the present invention, after S204 or S205, S206-S208 may be executed first, and then S209 may be executed. Execute S209, and then execute S206-S208.
需要说明的是,S206之后的步骤可以为S204或S205之后进行的步骤,可以S204、S206-S209执行完之后,再进行S205-S209。It should be noted that the step after S206 may be a step performed after S204 or S205, and after S204 and S206-S209 are executed, S205-S209 may be performed.
进一步地,在S203之后,若终端检测不存在第一扩展信息,则该终端就执行S205-S209了。Further, after S203, if the terminal detects that the first extension information does not exist, the terminal performs S205-S209.
S210、当第一图片文件的显示图标被触发时,显示第一图片文件;或者,当第二文件的显示图标被触发时,显示第二文件。S210: Display a first picture file when a display icon of the first picture file is triggered; or display a second file when a display icon of the second file is triggered.
终端显示第一图片文件的显示图标或第二文件的显示图标之后,用户就可以获知第一图片文件中的所有格式的文件,当用户想要获知某一文件的内容时,点击该某一文件对应的显示图标即可,即显示图标被触发,这时,该显示图标对应的文件就可以打开并显示出来,以供用户查阅。After the terminal displays the display icon of the first picture file or the display icon of the second file, the user can learn all the files in the first picture file, and when the user wants to know the content of a file, click the file. The corresponding display icon can be used, that is, the display icon is triggered. At this time, the file corresponding to the display icon can be opened and displayed for the user to consult.
需要说明的是,由于一般的图片文件默认关联图库应用,当第一图片文件中存在其他格式的文件时就打不开了,因此,本发明实施例中,终端检测出不同格式的第二文件的时候,将与第二文件的格式对应的应用与该第二文件相关联了,在显示图标被触发时,终端将显示图标对应的文件在与该文件相关联的应用中打开,具体的,当第一图片文件的显示图标被触发时,打开并显示第一 图片文件的内容;或者,当第二文件的显示图标被触发时,打开并显示第二文件的内容。It should be noted that, because the general picture file is associated with the gallery application by default, when there are other formats of files in the first picture file, the terminal does not open. Therefore, in the embodiment of the present invention, the terminal detects the second file in different formats. When the application corresponding to the format of the second file is associated with the second file, when the display icon is triggered, the terminal opens the file corresponding to the icon in the application associated with the file, specifically, When the display icon of the first picture file is triggered, the first is opened and displayed The content of the picture file; or, when the display icon of the second file is triggered, the content of the second file is opened and displayed.
进一步地,本发明实施例提供的显示方法的功能可以由用户手动打开,也是自己默认的模式。如图4所示,终端可以在设置界面开启智能显示功能时,采实现本发明实施例提供的显示方法,而不想开启该功能时,可以在设置界面将其关闭。具体的,本发明实施例提供的显示方法的触发条件本发明实施例不作限制。Further, the function of the display method provided by the embodiment of the present invention can be manually opened by the user, and is also the default mode of the user. As shown in FIG. 4, the terminal can implement the display method provided by the embodiment of the present invention when the smart display function is enabled on the setting interface. When the function is not to be enabled, the terminal can be turned off in the setting interface. Specifically, the triggering condition of the display method provided by the embodiment of the present invention is not limited in the embodiment of the present invention.
本发明实施例所提供的一种显示方法,当获取第一图片文件时,终端检测该第一图片文件对应数据的第一文件头信息;根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一图片文件的第一格式;检测第一文件尾信息后的数据是否存在第二文件头信息,该第二文件头信息为第二文件对应数据的文件头信息;若存在第二文件头信息,则根据该第二文件头信息和预设的文件头信息与格式的对应关系,解析出第二文件的第二格式;当第一格式与第二格式不同时,显示第一图片文件的显示图标和第二文件的显示图标;当显示图标被触发时,显示该显示图标对应的文件。采用上述技术实现方案,由于在终端想要打开第一图片文件时,可以检测到第一图片文件的第一格式,若还存在其他格式的时候,该终端也可以检测出来,并且还能将不同格式的文件对应的显示图标显示出来,并在显示图标被触发时,显示显示图标应用的文件。因此,终端可以对图片文件的不同数据格式进行解析,实现图片文件的不同数据格式的显示,体现了终端的人性化。According to a display method provided by the embodiment of the present invention, when acquiring the first picture file, the terminal detects the first file header information of the data corresponding to the first picture file; and according to the first file header information and the preset file header information, Corresponding relationship of the format, parsing the first format of the first picture file; detecting whether there is second file header information in the data after the first file tail information, the second file header information is file header information of the data corresponding to the second file; If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and the format; when the first format is different from the second format, A display icon of the first picture file and a display icon of the second file are displayed; when the display icon is triggered, the file corresponding to the display icon is displayed. According to the foregoing technical implementation, when the terminal wants to open the first picture file, the first format of the first picture file can be detected. If other formats exist, the terminal can also detect and can also be different. The display icon corresponding to the formatted file is displayed, and when the display icon is triggered, the file displaying the icon application is displayed. Therefore, the terminal can parse different data formats of the image file, and realize display of different data formats of the image file, which embodies the humanization of the terminal.
本发明实施例还提供了一种计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上文所述的显示方法。Embodiments of the present invention also provide a computer storage medium storing computer executable instructions for performing the display method described above.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。 Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
实施例三Embodiment 3
如图6所示,本发明实施例提供了一种终端1,该终端1可以包括:As shown in FIG. 6, the embodiment of the present invention provides a terminal 1, which may include:
检测单元10,用于当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息。The detecting unit 10 is configured to detect first file header information of the first picture file corresponding data when the first picture file is acquired.
解析单元11,用于根据所述检测单元10检测的所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式。The parsing unit 11 is configured to parse the first format of the first picture file according to the correspondence between the first file header information and the preset file header information and the format detected by the detecting unit 10.
所述检测单元10,还用于检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息。The detecting unit 10 is further configured to detect whether there is second file header information in the data after the first file tail information, and the second file header information is file header information corresponding to the second file.
所述解析单元11,还用于若所述检测单元10检测到存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式。The parsing unit 11 is further configured to: if the detecting unit 10 detects that the second file header information exists, according to the correspondence between the second file header information and the preset file header information and a format, Parsing out the second format of the second file.
显示单元12,用于当所述解析单元11解析的所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;当所述显示图标被触发时,显示所述显示图标对应的文件。The display unit 12 is configured to display a display icon of the first picture file and a display icon of the second file when the first format parsed by the parsing unit 11 is different from the second format; When the display icon is triggered, the file corresponding to the display icon is displayed.
可选的,所述检测单元10,还用于所述解析单元11根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式之后,所述检测所述第一文件尾信息后的数据是否存在第二文件头信息之前,检测所述第一图片文件对应数据中是否存在第一扩展信息;以及若存在所述第一扩展信息,则检测所述第一扩展信息是否存在所述第二文件头信息。Optionally, the detecting unit 10 is further configured to: the parsing unit 11 parses the first of the first image file according to the correspondence between the first file header information and a preset file header information and a format. After the format, before detecting whether the data after the first file tail information has the second file header information, detecting whether the first extended information exists in the data corresponding to the first picture file; and if the first extension exists Information, detecting whether the first extension information has the second file header information.
可选的,如图7所示,所述终端1还包括:标注单元13。Optionally, as shown in FIG. 7, the terminal 1 further includes: an labeling unit 13.
所述标注单元13,用于所述解析单元11根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式之后,所述显示单元12显示所述第一图片文件的显示图标的显示图标和所述第二文件的显示图标之前,当所述解析单元11解析的所述第一格式与所述第二格式不同时,标注所述第一图片文件的第一显示样式和所述第二文件的第二显示样式。The labeling unit 13 is configured to: after the parsing unit 11 parses the second format of the second file according to the correspondence between the second file header information and the preset file header information and format, Before the display unit 12 displays the display icon of the display icon of the first picture file and the display icon of the second file, when the first format parsed by the parsing unit 11 is different from the second format, Marking a first display style of the first picture file and a second display style of the second file.
相应的,所述显示单元12,具体用于根据所述标注单元13标注的所述第 一显示样式显示所述第一图片文件的显示图标,以及根据所述标注单元13标注的所述第二显示样式显示所述第二文件的显示图标。Correspondingly, the display unit 12 is specifically configured to be used according to the labeling unit 13 A display style displays a display icon of the first picture file, and displays a display icon of the second file according to the second display style marked by the labeling unit 13.
可选的,所述显示单元12,还用于所述检测单元10检测所述第一文件尾信息后的数据是否存在第二文件头信息,且所述检测所述第一扩展信息是否存在所述第二文件头信息之后,若所述检测单元10检测到不存在所述第二文件头信息,则显示所述标注单元13标注的所述第一图片文件的显示图标。Optionally, the display unit 12 is further configured to: whether the data that is detected by the detecting unit 10 after detecting the first file tail information has a second file header information, and the detecting whether the first extended information exists After the second file header information is described, if the detecting unit 10 detects that the second file header information does not exist, the display icon of the first picture file marked by the labeling unit 13 is displayed.
可选的,所述显示单元12,具体用于当所述第一图片文件的显示图标被触发时,显示所述第一图片文件;当所述第二文件的显示图标被触发时,显示所述第二文件。Optionally, the display unit 12 is configured to: when the display icon of the first picture file is triggered, display the first picture file; when the display icon of the second file is triggered, display the Said the second document.
可选的,终端可以为具有各种格式的应用的智能终端,例如,智能移动终端,平板等。Optionally, the terminal may be a smart terminal with applications in various formats, for example, a smart mobile terminal, a tablet, or the like.
在实际应用中,在实际应用中,上述检测单元10、解析单元11、标注单元13可由位于终端1上的处理器实现,具体为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等实现,显示单元12可由显示器实现,具体为液晶显示器、等离子显示器等,该终端1中还可以包括存储器,具体的,第一图片文件及其软件代码、第一图片文件对应的数据及其软件代码、第二文件及其软件代码、第二文件对应的数据及其软件代码、第一显示图标及其软件代码,以及第二显示图标及其软件代码可以保存在存储器中,该存储器、显示器可以通过系统总线与处理器连接,其中,存储器用于存储可执行程序代码,该程序代码包括计算机操作指令,存储器可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少一个磁盘存储器。In practical applications, in the actual application, the detecting unit 10, the analyzing unit 11, and the labeling unit 13 can be implemented by a processor located on the terminal 1, specifically a central processing unit (CPU), a microprocessor (MPU), and a digital signal. Implemented by a processor (DSP) or a field programmable gate array (FPGA), etc., the display unit 12 can be implemented by a display, specifically a liquid crystal display, a plasma display, etc., and the terminal 1 can further include a memory, specifically, a first picture file and The software code, the data corresponding to the first picture file and the software code thereof, the second file and its software code, the data corresponding to the second file and its software code, the first display icon and its software code, and the second display icon and The software code can be stored in a memory, the memory and the display can be connected to the processor through a system bus, wherein the memory is used to store executable program code, the program code includes computer operation instructions, and the memory may include high speed RAM memory, or Also included is a non-volatile memory, such as at least one disk storage.
本发明实施例所提供的一种终端,当获取第一图片文件时,终端检测该第一图片文件对应数据的第一文件头信息;根据第一文件头信息和预设的文件头信息与格式的对应关系,解析出第一图片文件的第一格式;检测第一文件尾信息后的数据是否存在第二文件头信息,该第二文件头信息为第二文件对应数据 的文件头信息;若存在第二文件头信息,则根据该第二文件头信息和预设的文件头信息与格式的对应关系,解析出第二文件的第二格式;当第一格式与第二格式不同时,显示第一图片文件的显示图标和第二文件的显示图标;当显示图标被触发时,显示该显示图标对应的文件。采用上述技术实现方案,由于在终端想要打开第一图片文件时,可以检测到第一图片文件的第一格式,若还存在其他格式的时候,该终端也可以检测出来,并且还能将不同格式的文件对应的显示图标显示出来,并在显示图标被触发时,显示显示图标应用的文件。因此,终端可以对图片文件的不同数据格式进行解析,实现图片文件的不同数据格式的显示,体现了终端的人性化。According to the embodiment of the present invention, when acquiring the first picture file, the terminal detects the first file header information of the data corresponding to the first picture file; and according to the first file header information and the preset file header information and format. Corresponding relationship, parsing the first format of the first picture file; detecting whether there is second file header information in the data after the first file tail information, the second file header information is corresponding data of the second file File header information; if the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and the format; when the first format and the first format When the two formats are different, the display icon of the first picture file and the display icon of the second file are displayed; when the display icon is triggered, the file corresponding to the display icon is displayed. According to the foregoing technical implementation, when the terminal wants to open the first picture file, the first format of the first picture file can be detected. If other formats exist, the terminal can also detect and can also be different. The display icon corresponding to the formatted file is displayed, and when the display icon is triggered, the file displaying the icon application is displayed. Therefore, the terminal can parse different data formats of the image file, and realize display of different data formats of the image file, which embodies the humanization of the terminal.
本发明实施例还提供一种计算机存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行包括以下的操作:Embodiments of the present invention also provide a computer storage medium, the storage medium comprising a set of instructions that, when executed, cause at least one processor to perform operations including:
当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息;When acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file;
根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式;Decoding, according to the correspondence between the first file header information and the preset file header information and the format, the first format of the first image file;
检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息;Detecting whether there is second file header information in the data after the first file tail information, and the second file header information is file header information corresponding to the second file;
若存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式;If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and a format;
当所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;Displaying the display icon of the first picture file and the display icon of the second file when the first format is different from the second format;
当所述显示图标被触发时,显示所述显示图标对应的文件。When the display icon is triggered, the file corresponding to the display icon is displayed.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储 器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the present invention may employ computer-usable storage media (including but not limited to disk storage and optical storage) in one or more of the computer-usable program code embodied therein. The form of a computer program product implemented on the device.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明提供了一种摄像头模组,包括线路连接基板、彩色滤光层和设置在线路连接基板上的图像传感器,该彩色滤光层中的每个像素根据自身接收到色彩得到每个像素各自的全色感光信息,因而,该摄像头模组中的彩色滤光层的每个像素经过多次曝光之后,每个像素可以采用每个像素自身接收到的颜色得到每个像素的全色感光信息;如此,解决了现有摄像头模组的色彩滤波阵列中得到一个像素的全色感光信息,需要将多个相邻具有不同颜色的像素的信息合 成起来的问题,满足了用户更高的精细度要求,提高了用户的体验效果。 The invention provides a camera module, comprising a line connecting substrate, a color filter layer and an image sensor disposed on the line connecting substrate, each pixel in the color filter layer obtaining each pixel according to the color received by itself Full-color sensitization information, therefore, after each pixel of the color filter layer in the camera module is subjected to multiple exposures, each pixel can obtain the full-color sensation information of each pixel by using the color received by each pixel itself. In this way, the full color light sensing information of one pixel is obtained in the color filter array of the existing camera module, and information of a plurality of adjacent pixels having different colors needs to be combined. The problem of integration has satisfied the user's higher fineness requirements and improved the user experience.

Claims (21)

  1. 一种显示方法,其中,包括:A display method, including:
    当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息;When acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file;
    根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式;Decoding, according to the correspondence between the first file header information and the preset file header information and the format, the first format of the first image file;
    检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息;Detecting whether there is second file header information in the data after the first file tail information, and the second file header information is file header information corresponding to the second file;
    若存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式;If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and a format;
    当所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;Displaying the display icon of the first picture file and the display icon of the second file when the first format is different from the second format;
    当所述显示图标被触发时,显示所述显示图标对应的文件。When the display icon is triggered, the file corresponding to the display icon is displayed.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    接收应用传输过来的所述图片文件;Receiving the image file transmitted by the application;
    或者,or,
    从本地存储器或云端的文件系统进行扫描获取所述图片文件。The image file is obtained by scanning from a local storage or a file system in the cloud.
  3. 根据权利要求2所述的方法,其中,所述检测所述第一图片文件对应数据的第一文件头信息,包括:The method of claim 2, wherein the detecting the first file header information of the first picture file corresponding data comprises:
    通过检测第一图片文件对应数据中的开始标识符来检测所述第一图片文件对应数据的第一文件头信息。The first file header information of the first picture file corresponding data is detected by detecting a start identifier in the first picture file corresponding data.
  4. 根据权利要求1所述的方法,其中,所述根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式之后,所述检测所述第一文件尾信息后的数据是否存在第二文件头信息之前,所述方法还包括: The method according to claim 1, wherein after the first format of the first picture file is parsed according to the correspondence between the first file header information and a preset file header information and a format, Before detecting whether the data after the first file tail information has the second file header information, the method further includes:
    检测所述第一图片文件对应数据中是否存在第一扩展信息;Detecting whether the first extended information exists in the data corresponding to the first picture file;
    若存在所述第一扩展信息,则检测所述第一扩展信息是否存在所述第二文件头信息。If the first extension information exists, detecting whether the first extension information has the second file header information.
  5. 根据权利要求4所述的方法,其中,所述检测所述第一图片文件对应数据中是否存在第一扩展信息,包括:The method according to claim 4, wherein the detecting whether the first extended information exists in the data corresponding to the first picture file comprises:
    完成第一文件头信息的检测和解析后,检测是否有第一扩展信息的标识符,以对该第一扩展信息进行检测,检测其中是否存在第二文件的第二头信息。After the detection and parsing of the first file header information is completed, it is detected whether there is an identifier of the first extended information to detect the first extended information, and whether the second header information of the second file exists therein is detected.
  6. 根据权利要求4所述的方法,其中,所述根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式之后,所述显示所述第一图片文件的显示图标和所述第二文件的显示图标之前,所述方法还包括:The method according to claim 4, wherein after the second format of the second file is parsed according to the correspondence between the second file header information and the preset file header information and a format, Before the display icon of the first picture file and the display icon of the second file are displayed, the method further includes:
    当所述第一格式与所述第二格式不同时,标注所述第一图片文件的第一显示样式和所述第二文件的第二显示样式。And when the first format is different from the second format, labeling the first display style of the first picture file and the second display style of the second file.
  7. 根据权利要求6所述的方法,其中,所述显示所述第一图片文件的显示图标和所述第二文件的显示图标,包括:在其图库的预览画面或菜单中显示上述第一图片文件和第二文件分别对应的显示图标。The method according to claim 6, wherein the displaying the display icon of the first picture file and the display icon of the second file comprises: displaying the first picture file in a preview screen or menu of a gallery thereof A display icon corresponding to the second file.
  8. 根据权利要求6所述的方法,其中,所述显示所述第一图片文件的显示图标和所述第二文件的显示图标,包括:The method according to claim 6, wherein the displaying the display icon of the first picture file and the display icon of the second file comprises:
    根据所述第一显示样式显示所述第一图片文件的显示图标,以及根据所述第二显示样式显示所述第二文件的显示图标。Displaying a display icon of the first picture file according to the first display style, and displaying a display icon of the second file according to the second display style.
  9. 根据权利要求6所述的方法,其中,所述检测所述第一文件尾信息后的数据是否存在第二文件头信息,且所述检测所述第一扩展信息是否存在所述第二文件头信息之后,所述方法还包括:The method according to claim 6, wherein the data after detecting the first file tail information has a second file header information, and the detecting whether the first extended information has the second file header After the information, the method further includes:
    若不存在所述第二文件头信息,则显示所述第一图片文件的显示图标。If the second file header information does not exist, the display icon of the first picture file is displayed.
  10. 根据权利要求1或9所述的方法,其中,当所述显示图标被触发时,显示所述显示图标对应的文件,包括: The method according to claim 1 or 9, wherein when the display icon is triggered, displaying the file corresponding to the display icon comprises:
    当所述第一图片文件的显示图标被触发时,显示所述第一图片文件;Displaying the first picture file when a display icon of the first picture file is triggered;
    当所述第二文件的显示图标被触发时,显示所述第二文件。The second file is displayed when a display icon of the second file is triggered.
  11. 一种终端,其中包括:A terminal that includes:
    检测单元,配置为当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息;a detecting unit, configured to: when acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file;
    解析单元,配置为根据所述检测单元检测的所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式;The parsing unit is configured to parse the first format of the first picture file according to the correspondence between the first file header information and the preset file header information and the format detected by the detecting unit;
    所述检测单元,配置为检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息;The detecting unit is configured to detect whether there is second file header information in the data after the first file tail information, and the second file header information is file header information corresponding to the second file;
    所述解析单元,配置为若所述检测单元检测到存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式;The parsing unit is configured to: if the detecting unit detects that the second file header information exists, parse the corresponding information according to the correspondence between the second file header information and the preset file header information and a format The second format of the second file;
    显示单元,配置为当所述解析单元解析的所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;当所述显示图标被触发时,显示所述显示图标对应的文件。a display unit configured to display a display icon of the first picture file and a display icon of the second file when the first format parsed by the parsing unit is different from the second format; when the displaying When the icon is triggered, the file corresponding to the display icon is displayed.
  12. 根据权利要求11所述的终端,其中,The terminal according to claim 11, wherein
    所述检测单元,配置为接收应用传输过来的所述图片文件;The detecting unit is configured to receive the picture file transmitted by the application;
    或者,or,
    从本地存储器或云端的文件系统进行扫描获取所述图片文件。The image file is obtained by scanning from a local storage or a file system in the cloud.
  13. 根据权利要求12所述的终端,其中,所述检测单元,配置为通过检测第一图片文件对应数据中的开始标识符来检测所述第一图片文件对应数据的第一文件头信息。The terminal according to claim 12, wherein the detecting unit is configured to detect first file header information of the first picture file corresponding data by detecting a start identifier in the first picture file corresponding data.
  14. 根据权利要求13所述的终端,其中,The terminal according to claim 13, wherein
    所述检测单元,配置为所述解析单元根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式之后,所述检测所述第一文件尾信息后的数据是否存在第二文件头信息之前,检测所述第 一图片文件对应数据中是否存在第一扩展信息;以及若存在所述第一扩展信息,则检测所述第一扩展信息是否存在所述第二文件头信息。The detecting unit is configured to: after the first parsing unit parses the first format of the first image file according to the correspondence between the first file header information and the preset file header information and the format, the detecting unit Detecting whether the data after the first file tail information has the second file header information Whether a first extension information exists in a picture file corresponding data; and if the first extension information exists, detecting whether the first extension information has the second file header information.
  15. 根据权利要求14所述的终端,其中,所述检测单元,配置为完成第一文件头信息的检测和解析后,检测是否有第一扩展信息的标识符,以对该第一扩展信息进行检测,检测其中是否存在第二文件的第二头信息。The terminal according to claim 14, wherein the detecting unit is configured to detect whether there is an identifier of the first extended information after detecting and parsing the first file header information, to detect the first extended information. And detecting whether there is a second header information of the second file.
  16. 根据权利要求15所述的终端,其中,所述终端还包括:标注单元;The terminal according to claim 15, wherein the terminal further comprises: an annotation unit;
    所述标注单元,配置为所述解析单元根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式之后,所述显示单元显示所述第一图片文件的显示图标的显示图标和所述第二文件的显示图标之前,当所述解析单元解析的所述第一格式与所述第二格式不同时,标注所述第一图片文件的第一显示样式和所述第二文件的第二显示样式.The labeling unit is configured to: after the parsing unit parses the second format of the second file according to the correspondence between the second file header information and the preset file header information and a format, the displaying unit Before the unit displays the display icon of the display icon of the first picture file and the display icon of the second file, when the first format parsed by the parsing unit is different from the second format, labeling the a first display style of a picture file and a second display style of the second file.
  17. 根据权利要求16所述的终端,其中,所述显示单元,配置为在其图库的预览画面或菜单中显示上述第一图片文件和第二文件分别对应的显示图标。The terminal according to claim 16, wherein the display unit is configured to display a display icon corresponding to the first picture file and the second file respectively in a preview screen or a menu of the library.
  18. 根据权利要求16所述的终端,其中,所述显示单元,配置为根据所述标注单元标注的所述第一显示样式显示所述第一图片文件的显示图标,以及根据所述标注单元标注的所述第二显示样式显示所述第二文件的显示图标。The terminal according to claim 16, wherein the display unit is configured to display a display icon of the first picture file according to the first display style marked by the labeling unit, and marked according to the labeling unit The second display style displays a display icon of the second file.
  19. 根据权利要求18所述的终端,其中,The terminal according to claim 18, wherein
    所述显示单元,配置为所述检测单元检测所述第一文件尾信息后的数据是否存在第二文件头信息,且所述检测所述第一扩展信息是否存在所述第二文件头信息之后,若所述检测单元检测到不存在所述第二文件头信息,则显示所述标注单元标注的所述第一图片文件的显示图标。The display unit is configured to detect, by the detecting unit, whether the data after the first file tail information has second file header information, and the detecting whether the first extended information exists after the second file header information And if the detecting unit detects that the second file header information does not exist, displaying the display icon of the first picture file marked by the labeling unit.
  20. 根据权利要求11或19所述的终端,其中,The terminal according to claim 11 or 19, wherein
    所述显示单元,配置为显示当所述第一图片文件的显示图标被触发时,显示所述第一图片文件;当所述第二文件的显示图标被触发时,显示所述第二文件。The display unit is configured to display that the first picture file is displayed when a display icon of the first picture file is triggered, and display the second file when a display icon of the second file is triggered.
  21. 一种计算机存储介质,该存储介质包括一组指令,当执行所述指令时, 引起至少一个处理器执行包括以下的操作:A computer storage medium comprising a set of instructions, when executed, Causeting at least one processor to perform the following operations:
    当获取第一图片文件时,检测所述第一图片文件对应数据的第一文件头信息;When acquiring the first picture file, detecting first file header information of the data corresponding to the first picture file;
    根据所述第一文件头信息和预设的文件头信息与格式的对应关系,解析出所述第一图片文件的第一格式;Decoding, according to the correspondence between the first file header information and the preset file header information and the format, the first format of the first image file;
    检测所述第一文件尾信息后的数据是否存在第二文件头信息,所述第二文件头信息为第二文件对应数据的文件头信息;Detecting whether there is second file header information in the data after the first file tail information, and the second file header information is file header information corresponding to the second file;
    若存在所述第二文件头信息,则根据所述第二文件头信息和所述预设的文件头信息与格式的对应关系,解析出所述第二文件的第二格式;If the second file header information exists, parsing the second format of the second file according to the correspondence between the second file header information and the preset file header information and a format;
    当所述第一格式与所述第二格式不同时,显示所述第一图片文件的显示图标和所述第二文件的显示图标;Displaying the display icon of the first picture file and the display icon of the second file when the first format is different from the second format;
    当所述显示图标被触发时,显示所述显示图标对应的文件。 When the display icon is triggered, the file corresponding to the display icon is displayed.
PCT/CN2016/102670 2015-12-29 2016-10-20 Displaying method, terminal, and computer storage medium WO2017113941A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511009642.9A CN105677717B (en) 2015-12-29 2015-12-29 A kind of display methods and terminal
CN201511009642.9 2015-12-29

Publications (1)

Publication Number Publication Date
WO2017113941A1 true WO2017113941A1 (en) 2017-07-06

Family

ID=56189677

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102670 WO2017113941A1 (en) 2015-12-29 2016-10-20 Displaying method, terminal, and computer storage medium

Country Status (2)

Country Link
CN (1) CN105677717B (en)
WO (1) WO2017113941A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274766A (en) * 2018-11-16 2020-06-12 福建天泉教育科技有限公司 Method and terminal for verifying file transcoding result

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677717B (en) * 2015-12-29 2019-04-19 努比亚技术有限公司 A kind of display methods and terminal
CN112328930B (en) * 2019-08-05 2023-10-20 Vidaa(荷兰)国际控股有限公司 Webpage rendering method, server, client and system based on cobalt
CN113703877B (en) * 2021-10-25 2022-02-08 深圳市明源云空间电子商务有限公司 Method and device for generating image based on image generation plug-in and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120323934A1 (en) * 2011-06-17 2012-12-20 International Business Machines Corporation Rendering Tape File System Information in a Graphical User Interface
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN105187911A (en) * 2015-09-28 2015-12-23 努比亚技术有限公司 Method and device for displaying video image and image display method
CN105677717A (en) * 2015-12-29 2016-06-15 努比亚技术有限公司 Display method and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7082567B1 (en) * 1999-10-18 2006-07-25 Rose Blush Software Llc Enhanced human computer user interface system for searching and browsing documents
CN101739403A (en) * 2008-11-12 2010-06-16 宏达国际电子股份有限公司 Method and device for displaying multi-media file icon
CN102855602B (en) * 2011-06-28 2015-01-07 阿里巴巴集团控股有限公司 Picture processing method and picture processing device
CN104079982B (en) * 2013-03-29 2018-01-16 深圳市云帆世纪科技有限公司 The seed file processing method and processing device of video
CN103646048A (en) * 2013-11-25 2014-03-19 宇龙计算机通信科技(深圳)有限公司 Method and device for achieving multimedia pictures
CN104916298B (en) * 2015-05-28 2018-05-11 努比亚技术有限公司 Decoding method, coding and decoding device, electronic equipment and talking picture generation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120323934A1 (en) * 2011-06-17 2012-12-20 International Business Machines Corporation Rendering Tape File System Information in a Graphical User Interface
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN105187911A (en) * 2015-09-28 2015-12-23 努比亚技术有限公司 Method and device for displaying video image and image display method
CN105677717A (en) * 2015-12-29 2016-06-15 努比亚技术有限公司 Display method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274766A (en) * 2018-11-16 2020-06-12 福建天泉教育科技有限公司 Method and terminal for verifying file transcoding result
CN111274766B (en) * 2018-11-16 2023-11-03 福建天泉教育科技有限公司 Method and terminal for checking file transcoding result

Also Published As

Publication number Publication date
CN105677717B (en) 2019-04-19
CN105677717A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
WO2016173422A1 (en) Multi-screen interaction method and system
US10496256B2 (en) Method and electronic device for displaying related information of parsed data
WO2017071456A1 (en) Terminal processing method, terminal, and storage medium
WO2017113941A1 (en) Displaying method, terminal, and computer storage medium
CN105260301A (en) Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
WO2016155431A1 (en) Terminal, touch operation method therefor and device thereof, and storage medium
WO2017166953A1 (en) Method, device, mobile terminal and storage medium for realizing screenshot capturing and image display
WO2017143855A1 (en) Device with screen capturing function and screen capturing method
WO2017148211A1 (en) Mobile terminal and webpage screenshot capturing method
WO2018045961A1 (en) Image processing method, and terminal and storage medium
WO2018050080A1 (en) Mobile terminal, picture processing method and computer storage medium
WO2017152748A1 (en) Screen shooting method, terminal and computer storage medium
CN105791592A (en) Information prompting method and mobile terminal
CN111338519B (en) Display method and electronic equipment
WO2017071572A1 (en) Information processing method and device, terminal and storage medium
CN105263195A (en) Data transmission device and method
CN105245703A (en) Mobile terminal and method for storing files in classification way
KR20150085468A (en) Method, apparatus and terminal device for adaption of page
CN106506965A (en) A kind of image pickup method and terminal
CN105335055A (en) Self-response type realization method and system of menu as well as terminal equipment
CN105204849A (en) Pressure test system and implementation method thereof
WO2017113884A1 (en) Video playback method and device, and computer storage medium
CN104866095A (en) Mobile terminal, and method and apparatus for managing desktop thereof
CN105049582A (en) Device and method for saving call recordings and method for displaying call recordings
WO2017071471A1 (en) Mobile terminal and shooting control method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16880733

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16880733

Country of ref document: EP

Kind code of ref document: A1