CN109710576B - File display method, terminal and storage medium - Google Patents

File display method, terminal and storage medium Download PDF

Info

Publication number
CN109710576B
CN109710576B CN201811642518.XA CN201811642518A CN109710576B CN 109710576 B CN109710576 B CN 109710576B CN 201811642518 A CN201811642518 A CN 201811642518A CN 109710576 B CN109710576 B CN 109710576B
Authority
CN
China
Prior art keywords
file
terminal
application
mobile terminal
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811642518.XA
Other languages
Chinese (zh)
Other versions
CN109710576A (en
Inventor
何春江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811642518.XA priority Critical patent/CN109710576B/en
Publication of CN109710576A publication Critical patent/CN109710576A/en
Application granted granted Critical
Publication of CN109710576B publication Critical patent/CN109710576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure relates to a file display method, a terminal and a storage medium. The method for displaying the file comprises the following steps: when the mobile terminal generates a file, recording application information of an application program for generating the file; and when the file is transmitted to another terminal, synchronizing the application information to the other terminal so that the other terminal displays the file of each application program in the mobile terminal according to the application information. In the method, when the mobile terminal is connected to another terminal, such as a mobile phone is connected to a computer terminal, the computer terminal displays the files of each application program in the mobile phone to a user in a classified manner according to the application information of the application program generating the files, so that the user can conveniently and quickly access the files of interest, and the file access efficiency is improved.

Description

File display method, terminal and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a method, a terminal and a storage medium for file display.
Background
With the rapid development of intelligent terminals, the functions of the intelligent terminals are more and more powerful. However, with the continuous powerful functions of the smart terminal, applications installed or stored files of the smart terminal are increasing. In the prior art, the intelligent terminals can be connected and communicated with each other, for example, a mobile phone can be connected to a computer, and a file directory and file information stored in the mobile phone can be seen on the computer, and the method is a method of browsing through the directory.
In the technical scheme, a user browses and searches for the file under the scene, needs to memorize the directory information of the file, and then searches for the directory in the file to find the file under the directory. Under the condition that the number of the catalogs and the files in the mobile phone is large, the efficiency of the using mode is very low, and the experience of a user is low.
Accordingly, there is a need to provide a new solution to ameliorate one or more of the problems presented in the above solutions.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
It is an object of the present disclosure to provide a method of document presentation, a mobile and a storage medium, which overcome, at least in part, one or more of the problems due to the limitations and disadvantages of the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a method of document presentation, the method comprising:
when the mobile terminal generates a file, recording application information of an application program for generating the file;
and when the file is transmitted to another terminal, synchronizing the application information to the other terminal so that the other terminal displays the file of each application program in the mobile terminal according to the application information.
Therefore, when the mobile terminal is connected to another terminal, such as a mobile phone is connected to a computer terminal, the computer terminal displays the files of each application program in the mobile phone to the user in a classified manner according to the application information of the application program generating the files, so that the user can conveniently and quickly access the files of interest, and the file access efficiency is improved.
In one embodiment, when the mobile terminal generates a file, the step of recording application information of an application program generating the file may include:
when the file is monitored by the preset file monitor, the application information of the application program generating the file is recorded.
In one embodiment, the application information may include one or more of name information, identification information, and copyright information of the application program.
In one embodiment, the application information may be used to cause the other terminal to identify one or more files generated by a different application.
In one embodiment, the file may be one or more of a picture file, an audio file, and a media file.
In one embodiment, the picture file, the audio file, and the media file are classified and presented by the other terminal according to the application information.
In one embodiment, the mobile terminal may transmit the file to another terminal based on a media transmission protocol MTP (Media TransferProtocol).
In one embodiment, the other terminal may be a computer.
In the embodiment of the disclosure, when the mobile terminal is connected to another terminal, such as a mobile phone is connected to a computer, the computer can display the files of each application program in the mobile phone to the user in a classified manner according to the application information of the application program generating the files, so that the user can conveniently and quickly access the files interested by the user, the file access and file display efficiency is improved, and the user experience is further improved.
According to a second aspect of embodiments of the present disclosure, there is provided a mobile terminal including:
the application information recording unit is used for recording application information of an application program for generating a file when the mobile terminal generates the file;
and the application information transmission unit is used for synchronizing the application information to the other terminal when the file is transmitted to the other terminal, so that the other terminal displays the file of each application program in the mobile terminal according to the application information.
In one embodiment, the application information recording unit further includes:
And the file monitoring unit is used for recording application information of an application program generating the file when the file is monitored by the preset file monitor.
In one embodiment, the application information includes one or more of name information, identification information, and copyright information of the application program.
In one embodiment, the application information is used to cause the other terminal to identify one or more files generated by a different application.
In one embodiment, the file is one or more of a picture file, an audio file, and a media file.
In one embodiment, the picture file, the audio file, and the media file are classified and presented by the other terminal according to the application information.
In one embodiment, the mobile terminal further comprises:
and a media transmission unit for transmitting the file to another terminal by the mobile terminal based on a media transmission protocol MTP (Media TransferProtocol).
In one embodiment, the other terminal is a computer.
According to a third aspect of embodiments of the present disclosure, there is provided a terminal comprising a processor and a memory for storing a computer program executable on the processor; wherein the computer program when executed by the processor implements the steps of the method of file presentation in any of the embodiments described above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of file presentation described in any of the embodiments above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in one embodiment of the disclosure, through the method, the terminal and the storage medium for displaying files, when the mobile terminal is connected to another terminal, such as a mobile phone is connected to a computer, the computer can display the files of each application program in the mobile phone to a user in a classified manner according to the application information of the application program generating the files, so that the user can conveniently and quickly access the files interested by the user, the efficiency of file access and file display is improved, and the experience of the user is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Fig. 1 schematically illustrates a hardware configuration diagram of a mobile terminal in an exemplary embodiment of the present disclosure;
FIG. 2 schematically illustrates a communication network system architecture diagram in an exemplary embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow chart of a method of document presentation in an exemplary embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart of a method of document presentation in an exemplary embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart of a method of document presentation in an exemplary embodiment of the present disclosure;
fig. 6 schematically illustrates a schematic diagram of an MTP based media transfer protocol transmission file in an exemplary embodiment of the present disclosure.
Fig. 7 schematically illustrates a program product diagram in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (PersonalDigital Assistant, PDA), portable media players (PortableMediaPlayer, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (radio frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power source 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (global system for mobile communications), GPRS (general packet radio service), CDMA2000 (code division multiple access2000 ), WCDMA (wideband code division multiple access), TD-SCDMA (time division-synchronous code division multiple access), FDD-LTE (frequency division duplex-longterm evolution) and TDD-LTE (time division duplex-LongTerm Evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphic processor (GraphicsProcessingUnit, GPU) 1041 and a microphone 1042, the graphic processor 1041 processing image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LiquidCrystalDisplay, LCD), an organic light-emitting diode (organic light-EmittingDiode, OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices 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, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (user equipment) 201, an e-UTRAN (EvolvedUMTS TerrestrialRadioAccessNetwork ) 202, an epc (evolved packet core) 203, and an IP service 204 of an operator, which are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (mobility management entity) 2031, hss (home subscriber server) 2032, other MME2033, SGW (serving gateway) 2034, pgw (PDNGate Way, packet data network gateway) 2035, PCRF (policy and tariff function entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IPMultimediaSubsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
In this exemplary embodiment, a method for displaying a file is provided first, and the method may be applied to a terminal device with a display screen, for example, a mobile terminal such as a mobile phone, a personal digital assistant, a notebook, a tablet computer, and a smart watch. Referring to what is shown in fig. 3, the method may include:
step S101: when the mobile terminal generates a file, recording application information of an application program for generating the file;
step S102: and when the file is transmitted to another terminal, synchronizing the application information to the other terminal so that the other terminal displays the file of each application program in the mobile terminal according to the application information.
By the method, when the mobile terminal is connected to another terminal, such as a mobile phone is connected to a computer, the computer can display the files of each application program in the mobile phone to the user in a classified manner according to the application information of the application program generating the files, so that the user can conveniently and quickly access the files of interest, the file access and file display efficiency is improved, and the user experience is further improved.
Next, each step of the above-described method in the present exemplary embodiment will be described in more detail with reference to fig. 3 to 4.
In step S101, when the mobile terminal generates a file, application information of an application program generating the file is recorded.
Specifically, the file may be a binary file generated by encoding media data according to an encoding rule, and the media data may be a file type such as a picture file, an audio file, a video file, or the like, which is not limited thereto. Among them, the common file formats of audio files and video files are AVI (AudioVideo Interleaved, audio-video interleave format), MOV (moviedtailvideo technology), WAV (windowwave audio format), MPEG (moving picture experts group), MP3/MP4 (moving picture experts group) and MP 3/4, and the common file formats of picture files are BMP (Bitmap), GIF (graphic inter-view format), DIB (device independent Bitmap file), JPG (jointphoto expert group, platform independent image format), and the like, which are not limited thereto. The file generation can be detected by the mobile terminal, and when the mobile terminal detects the file generation, the application information of the application program generating the file is recorded.
Specifically, the file generation may be a file transmitted and received by an application program, for example, a WeChat transmitting and receiving file, a QQ transmitting and receiving file, or may be a file newly created in an application program, for example, a file newly created in WPS, where the method of file generation is not limited in this disclosure.
Specifically, the media files such as the picture file, the audio file, the video file, and the like, which are not limited thereto, may be classified and displayed by the other terminal according to the application information.
Specifically, the application information may include one or more of application information including, but not limited to, name information, identification information, copyright information, function information, an initial data value, and the like of the application program. For example, the following cases may be included but are not limited: first, recording name information of an application program generating the file; second, recording identification information of an application program generating the file; third, recording copyright information of an application program generating the file; fourth, recording name information and identification information of an application program generating the file; fifth, recording name information and copyright information of an application program generating the file; sixth, record identification information and copyright information of the application program that produced the file; seventh, name information, identification information, and copyright information of an application program that generated the file are recorded.
Specifically, the application information is used to enable the other terminal to identify one or more files generated by different application programs. Because the application information of the application program can only correspond to the application program, the other terminal can display the file of each application program in the mobile terminal according to the application information. By accessing the application, the user can browse all files and directories generated by the application. For example: when a user needs to quickly search for pictures stored in the WeChat, the user only needs to click the WeChat in the application list, and all files generated by the WeChat are displayed according to file classification.
Specifically, the other terminal may be a terminal such as a notebook computer, a desktop computer, and an all-in-one machine, which is not limited thereto.
In step S102, when the file is transmitted to another terminal, the application information is synchronized to the other terminal, so that the other terminal displays the file to which each application program in the mobile terminal belongs according to the application information.
Specifically, the communication mode for transmitting the file to the other terminal may be a wired communication, for example, a communication connection is implemented through a USB data line, or may be a wireless communication, for example, a communication mode such as WiFi, bluetooth, infrared, etc., which is not limited thereto. The other terminal can pre-store a driving table, the driving table comprises a plurality of different operation types and corresponding relations of corresponding driving software, the other terminal judges the type of the operating system installed on the mobile terminal, and the driving software corresponding to the operating system is determined according to the pre-stored driving table. The operating system type may be iOS operating system, android operating system, etc., and the driver software may be itols software, iTunes software, mobile terminal assistant, etc. And if the other terminal is provided with the corresponding driving software, the other terminal calls an interface of the driving software to realize communication connection between the other terminal and the mobile terminal. If the other terminal is not provided with the corresponding driving software, the other terminal can send a prompt message to prompt a user to install the driving software on the other terminal, and the other terminal calls an interface of the driving software after the user installs the corresponding driving software to realize communication between the other terminal and the mobile terminal.
In one embodiment, in step S101, when the mobile terminal generates a file, the step of recording application information of an application program that generates the file further includes:
step S101': when the file is monitored by the preset file monitor, the application information of the application program generating the file is recorded.
Specifically, in step S101', the file monitor is preset in the mobile terminal, and when the mobile terminal generates a file, the monitor may monitor the event and automatically record application information of an application program that generates the file. The file listener may be a fileo server module in a mobile terminal system, for example.
As shown in fig. 4, fig. 4 is a flowchart of a method for file presentation according to an embodiment of the present disclosure, based on the step S101', the method for file presentation provided in the present embodiment may include the following steps:
step S201: when a mobile terminal generates a file, a file monitor monitors the file, and records application information of an application program generating the file;
step S202: and when the file is transmitted to another terminal, synchronizing the application information to the other terminal so that the other terminal displays the file of each application program in the mobile terminal according to the application information.
For example, the user stores a picture in a WeChat program on a mobile terminal, such as a mobile phone, and the file monitor monitors the picture and records one or more of application information such as name information, identification information, copyright information, function information, initial data value, etc. of the WeChat program generating the picture. The user connects the mobile phone to another terminal such as a computer terminal in a communication way, and transmits the file including the picture on the mobile phone to the computer, one or more application information of the generated file are also synchronized to the computer terminal, and the computer terminal displays the file of each application program in the mobile terminal according to the application information. When the user needs to quickly search the picture, the user only needs to click on the WeChat in the application list, and all files generated by the WeChat are displayed according to file classification, for example, the files can be displayed according to classification of pictures, audio, video and the like, and the user can find the picture by clicking the picture classification.
In this embodiment, the execution environments of the step S201 and the step S202 may be: the screen of the other terminal is in a screen-off mode (i.e. the whole screen is not lightened at all and does not display any pixel points), a screen-off mode (AOD, alwaysonDisplay, screen-off display is equivalent to a display mode with low power consumption and low refresh rate), or a normal display mode. When the other terminal displays the files of each application program in the mobile terminal according to the application information in the screen-off mode or the screen-off mode, the screen is controlled to enter a normal display mode, and then the files are displayed. When the steps S201 and S202 are executed in the normal display mode, the original display mode of the screen can be maintained, and the file display operation can be directly performed.
In another embodiment, based on the previous embodiment, the mobile terminal may transmit the file to another terminal based on a media transfer protocol MTP.
As shown in fig. 5, fig. 5 is a flowchart of a method for file presentation according to an embodiment of the disclosure, where the method for file presentation provided in the embodiment may include the following steps:
step S301: when a mobile terminal generates a file, a file monitor monitors the file, and records application information of an application program generating the file;
step S302: and when the file is transmitted to another terminal based on the media transfer protocol MTP, synchronizing the application information to the other terminal so that the other terminal displays the file of each application program in the mobile terminal according to the application information.
In step S301, when the mobile terminal generates a file, the file listener is preset to monitor the file, and the application information of the application program generating the file is recorded.
Specifically, the file may be a binary file generated by encoding media data according to an encoding rule, and the media data may be a file type such as a picture file, an audio file, a video file, or the like, which is not limited thereto. Among them, the common file formats of audio files and video files are AVI (AudioVideo Interleaved, audio-video interleave format), MOV (moviedtailvideo technology), WAV (windowwave audio format), MPEG (moving picture experts group), MP3/MP4 (moving picture experts group) and MP 3/4, and the common file formats of picture files are BMP (Bitmap), GIF (graphic inter-view format), DIB (device independent Bitmap file), JPG (jointphoto expert group, platform independent image format), and the like, which are not limited thereto. The file generation can be detected by the mobile terminal, and when the mobile terminal detects the file generation, the application information of the application program generating the file is recorded.
Specifically, the file generation may be a file transmitted and received by an application program, for example, a WeChat transmitting and receiving file, a QQ transmitting and receiving file, or may be a file newly created in an application program, for example, a file newly created in WPS, where the method of file generation is not limited in this disclosure.
Specifically, the media files such as the picture file, the audio file, the video file, and the like, which are not limited thereto, may be classified and displayed by the other terminal according to the application information.
Specifically, the application information may include one or more of application information including, but not limited to, name information, identification information, copyright information, function information, an initial data value, and the like of the application program. For example, the following cases may be included but are not limited: first, recording name information of an application program generating the file; second, recording identification information of an application program generating the file; third, recording copyright information of an application program generating the file; fourth, recording name information and identification information of an application program generating the file; fifth, recording name information and copyright information of an application program generating the file; sixth, record identification information and copyright information of the application program that produced the file; seventh, name information, identification information, and copyright information of an application program that generated the file are recorded.
Specifically, the application information is used to enable the other terminal to identify one or more files generated by different application programs. Because the application information of the application program can only correspond to the application program, the other terminal can display the file of each application program in the mobile terminal according to the application information. By accessing the application, the user can browse all files and directories generated by the application. For example: when a user needs to quickly search for pictures stored in the WeChat, the user only needs to click the WeChat in the application list, and all files generated by the WeChat are displayed according to file classification.
Specifically, the other terminal may be a terminal such as a notebook computer, a desktop computer, and an all-in-one machine, which is not limited thereto.
In step S302, when the file is transferred to another terminal based on the media transfer protocol MTP, the application information is synchronized to the another terminal, so that the another terminal displays the file to which each application program in the mobile terminal belongs according to the application information.
Specifically, the communication mode for transmitting the file to the other terminal may be a wired communication, for example, a communication connection is implemented through a USB data line, or may be a wireless communication, for example, a communication mode such as WiFi, bluetooth, infrared, etc., which is not limited thereto. The other terminal can pre-store a driving table, the driving table comprises a plurality of different operation types and corresponding relations of corresponding driving software, the other terminal judges the type of the operating system installed on the mobile terminal, and the driving software corresponding to the operating system is determined according to the pre-stored driving table. The operating system type may be iOS operating system, android operating system, etc., and the driver software may be itols software, iTunes software, mobile terminal assistant, etc. And if the other terminal is provided with the corresponding driving software, the other terminal calls an interface of the driving software to realize communication connection between the other terminal and the mobile terminal. If the other terminal is not provided with the corresponding driving software, the other terminal can send a prompt message to prompt a user to install the driving software on the other terminal, and the other terminal calls an interface of the driving software after the user installs the corresponding driving software to realize communication between the other terminal and the mobile terminal.
Specifically, the media transfer protocol MTP refers to a media file transfer protocol most commonly used at present, and is proposed by microsoft corporation, and a terminal supporting the MTP protocol can perform media file transfer based on an interface provided by the MTP protocol. The application of the media transmission protocol MTP has two roles, one is a terminal used as an initiating terminal Initiator, such as a notebook computer, a desktop computer, an integrated machine and the like, but not limited to the terminal; the other terminal is not limited to this terminal as a response terminal response device such as a mobile phone or a digital camera. When the terminal communicates through the MTP, the Initiator accesses the folder and the file of the Responder through the MTP interface, and instead of directly operating the physical file on the Responder, a virtual file system is firstly constructed for the file system on the Responder, and then the data is acquired through communication between the MTP command and the virtual file system, so that the file on the Responder is not affected, and the file access experience of the Responder can be improved through the MTP protocol.
In this embodiment, as shown in fig. 6, fig. 6 is a schematic diagram of an MTP transmission file based on a media transmission protocol according to an embodiment of the disclosure. The mobile terminal takes a mobile phone as an example, the mobile terminal establishes communication connection with the mobile phone in an MTP mode, the computer terminal serves as an initiating terminal Initiator, the mobile phone terminal serves as a response terminal Responder, and the computer terminal can access folders and files of the mobile phone terminal through an MTP interface. The computer end builds a virtual file system for the file system on the mobile phone end, then communicates with the virtual file system through the MTP command to acquire data, and the computer end displays the acquired data according to the application information to the files of each application program in the mobile phone end.
It should be noted that although the steps of the methods of the present disclosure are illustrated in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order or that all of the illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc. In addition, it is also readily understood that these steps may be performed synchronously or asynchronously, for example, in a plurality of modules/processes/threads.
Further, in this example embodiment, there is also provided a mobile terminal, which may include:
the application information recording unit is used for recording application information of an application program for generating a file when the mobile terminal generates the file;
and the application information transmission unit is used for synchronizing the application information to the other terminal when the file is transmitted to the other terminal, so that the other terminal displays the file of each application program in the mobile terminal according to the application information.
In one embodiment, the application information recording unit further includes:
And the file monitoring unit is used for recording application information of an application program generating the file when the file is monitored by the preset file monitor.
In one embodiment, the application information includes one or more of name information, identification information, and copyright information of the application program.
In one embodiment, the application information is used to cause the other terminal to identify one or more files generated by a different application.
In one embodiment, the file is one or more of a picture file, an audio file, and a media file.
In one embodiment, the picture file, the audio file, and the media file are classified and presented by the other terminal according to the application information.
In one embodiment, the mobile terminal further comprises:
and a media transmission unit for transmitting the file to another terminal by the mobile terminal based on a media transmission protocol MTP (Media TransferProtocol).
In one embodiment, the other terminal is a computer.
Since the mobile terminal disclosed in the present disclosure covers the method for displaying the file of the present disclosure, the mobile terminal disclosed in the present disclosure includes the beneficial technical effects generated by the method for displaying the file, which are not described herein again.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied. The components shown as modules or units may or may not be physical units, may be located in one place, or may be distributed across multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the wood disclosure scheme. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a computer program is stored, which computer program, when being executed by, for example, at least one processor, may implement the steps of the method presented in any one of the embodiments described above. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the method portions of this specification as presented above.
Referring to fig. 7, a program product 300 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a cell phone. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
In an exemplary embodiment of the present disclosure, a terminal is also provided, which may include a processor, and a memory for storing executable instructions of the processor. Wherein the processor is configured to perform the steps of the method of file presentation in any of the embodiments described above via execution of the executable instructions.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. A method of document presentation, the method comprising:
when a mobile terminal generates a file, recording application information of an application program generating the file, wherein the application information is used for enabling another terminal to identify one or more files generated by different application programs;
when the file is transmitted to another terminal, synchronizing the application information to the other terminal so that the other terminal displays the file of each application program in the mobile terminal according to the application information;
the other terminal displays the file of each application program in the mobile terminal according to the application information, wherein the file comprises: and the other terminal displays the files of each application program in the mobile terminal according to the application information classification.
2. The method of claim 1, wherein the step of recording application information of an application program generating a file when the mobile terminal generates the file, comprises:
when the file is monitored by the preset file monitor, the application information of the application program generating the file is recorded.
3. The method of claim 2, wherein the application information includes one or more of name information, identification information, and copyright information of the application program.
4. A method according to claim 3, wherein the application information is used to cause the further terminal to identify one or more files generated by a different application.
5. The method of claim 4, wherein the file is one or more of a picture file, an audio file, and a video file.
6. The method of claim 5, wherein the picture file, the audio file, and the video file are displayed by the other terminal in a classified manner according to the application information.
7. The method of claim 5, wherein the mobile terminal transmits the file to another terminal based on a media transport protocol MTP (Media Transfer Protocol).
8. The method according to any one of claims 1 to 7, wherein the other terminal is a computer.
9. A terminal, comprising:
a processor; and
a memory for storing a file presentation program executable on the processor;
wherein the document presentation program when executed by the processor performs the steps of the method of any one of claims 1 to 8.
10. A computer readable storage medium having stored thereon a document presentation program, characterized in that the document presentation program when executed by at least one processor implements the steps of the method of any of claims 1 to 8.
CN201811642518.XA 2018-12-29 2018-12-29 File display method, terminal and storage medium Active CN109710576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811642518.XA CN109710576B (en) 2018-12-29 2018-12-29 File display method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811642518.XA CN109710576B (en) 2018-12-29 2018-12-29 File display method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109710576A CN109710576A (en) 2019-05-03
CN109710576B true CN109710576B (en) 2024-03-19

Family

ID=66259598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811642518.XA Active CN109710576B (en) 2018-12-29 2018-12-29 File display method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109710576B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111511045B (en) * 2020-04-10 2023-06-02 玳能科技(杭州)有限公司 Interaction method and device for mobile terminal and computer, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009075655A (en) * 2007-09-18 2009-04-09 Hitachi Ltd File management system, file management method, and file management program
JP2013004990A (en) * 2011-06-10 2013-01-07 Sharp Corp Information terminal, information terminal control method, control program and recording medium
KR20140124556A (en) * 2013-04-17 2014-10-27 주식회사 케이티 Method for synchronizing file system in different devices and device therefor
CN106354462A (en) * 2016-08-30 2017-01-25 青岛海信电器股份有限公司 Method, equipment and system for synchronously displaying document in multiple equipment
CN107168905A (en) * 2017-05-11 2017-09-15 广东欧珀移动通信有限公司 A kind of document display method, device, storage medium and mobile terminal
CN108509533A (en) * 2018-03-15 2018-09-07 平安科技(深圳)有限公司 Control method, device, equipment and the computer storage media of screenshotss sharing files

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200834927A (en) * 2007-02-05 2008-08-16 Ind Tech Res Inst Method for fabricating a layer with tiny structure and thin film transistor
US9304657B2 (en) * 2013-12-31 2016-04-05 Abbyy Development Llc Audio tagging

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009075655A (en) * 2007-09-18 2009-04-09 Hitachi Ltd File management system, file management method, and file management program
JP2013004990A (en) * 2011-06-10 2013-01-07 Sharp Corp Information terminal, information terminal control method, control program and recording medium
KR20140124556A (en) * 2013-04-17 2014-10-27 주식회사 케이티 Method for synchronizing file system in different devices and device therefor
CN106354462A (en) * 2016-08-30 2017-01-25 青岛海信电器股份有限公司 Method, equipment and system for synchronously displaying document in multiple equipment
CN107168905A (en) * 2017-05-11 2017-09-15 广东欧珀移动通信有限公司 A kind of document display method, device, storage medium and mobile terminal
CN108509533A (en) * 2018-03-15 2018-09-07 平安科技(深圳)有限公司 Control method, device, equipment and the computer storage media of screenshotss sharing files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
会展业虚拟展示系统的设计与实现;梁琳晓;李蛟;董亚波;;现代机械(02);全文 *

Also Published As

Publication number Publication date
CN109710576A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN107247746B (en) Data sharing method and terminal
CN107967322B (en) File classification display method, mobile terminal and computer readable storage medium
CN108572764B (en) Character input control method and device and computer readable storage medium
CN112423076B (en) Audio screen-throwing synchronous control method, equipment and computer readable storage medium
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN110020386B (en) Application page sharing method, mobile terminal and computer readable storage medium
CN108769126B (en) Application recommendation method, mobile terminal and computer-readable storage medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN109800097B (en) Notification message reminding method, storage medium and mobile terminal
CN110083423B (en) Interface jump method, terminal and computer readable storage medium
CN109710576B (en) File display method, terminal and storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN109062688B (en) Memory allocation method, server and mobile terminal
CN115914719A (en) Screen projection display method, intelligent terminal and storage medium
CN109144747B (en) Data processing method, terminal and computer readable storage medium
CN113824176A (en) Charging method, earphone, terminal and storage medium
CN108279985B (en) Interface request protocol transformation method, equipment and computer readable storage medium
CN113852717B (en) Wallpaper module position migration method, equipment and computer readable storage medium
CN112115109B (en) File sharing method, equipment and computer readable storage medium
CN114125151B (en) Image processing method, mobile terminal and storage medium
CN112312194B (en) Screen recording data processing method, device and computer readable storage medium
CN111381728B (en) Touch data management and control method, device and computer readable storage medium
CN109783050B (en) Sound adjusting method, mobile terminal and storage medium
CN114338906B (en) Media transmission configuration method, device and computer readable storage medium
CN109683993B (en) Application processing method, device and computer readable storage medium

Legal Events

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