CN106201734A - Sharing files method and device - Google Patents

Sharing files method and device Download PDF

Info

Publication number
CN106201734A
CN106201734A CN201610460629.3A CN201610460629A CN106201734A CN 106201734 A CN106201734 A CN 106201734A CN 201610460629 A CN201610460629 A CN 201610460629A CN 106201734 A CN106201734 A CN 106201734A
Authority
CN
China
Prior art keywords
multimedia file
application program
caching
file
supported
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.)
Granted
Application number
CN201610460629.3A
Other languages
Chinese (zh)
Other versions
CN106201734B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610460629.3A priority Critical patent/CN106201734B/en
Publication of CN106201734A publication Critical patent/CN106201734A/en
Application granted granted Critical
Publication of CN106201734B publication Critical patent/CN106201734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to a kind of sharing files method and device, wherein, method includes: when receiving the instruction that the multimedia file in the first application program is shared the second application program, searches multimedia file in the caching of the first application program;When finding multimedia file, it is judged that whether the form of multimedia file meets the form that the second application program is supported;When the form of multimedia file meets the form that the second application program is supported, from caching, obtain multimedia file;Share multimedia file to the second application program.By this technical scheme, from the caching of the first application program, directly search multimedia file and share, share again without multimedia file is first stored in terminal, so, not only can reduce the taking of memory space of terminal, and save bandwidth and the flow of network, improve file-sharing efficiency, save the time of user, improve the experience of user.

Description

Sharing files method and device
Technical field
It relates to File Sharing Technique field, particularly relate to a kind of sharing files method and device.
Background technology
Nowadays the quickly growing of social software, especially wechat, a lot of other software is required for by social software Sharing function is promoted the use of.And share and social software customized SDK would generally be used to carry out, the most micro- SDK shared by letter.But the SDK of sharing of wechat does not support dividing of picture URL Enjoy, only support that uploading pictures file is shared.So some are applied, need picture to download the most every time, then Upload to share on the SDK of wechat, bother very much.
Summary of the invention
Disclosure embodiment provides a kind of sharing files method and device, including following technical scheme:
First aspect according to disclosure embodiment, it is provided that a kind of sharing files method, including:
When receiving the instruction that the multimedia file in the first application program is shared the second application program, described The caching of the first application program is searched described multimedia file;
When finding described multimedia file, it is judged that whether the form of described multimedia file meets described second application The form that program is supported;
When the form of described multimedia file meets the form that described second application program is supported, obtain from described caching Take described multimedia file;
Share described multimedia file to described second application program.
In one embodiment, described method also includes:
When the form of described multimedia file does not meets the form that described second application program is supported, by described multimedia The form of file is converted into the form that described second application program is supported, and obtains the many matchmakers after format transformation from described caching Body file;
Share the multimedia file after described format transformation to described second application program.
In one embodiment, described in the caching of described first application program, search described multimedia file, including:
By the URL of described multimedia file, described caching is searched described multimedia file.
In one embodiment, described from described caching, obtain described multimedia file, including:
Call cache interface from described caching, read out described multimedia file.
In one embodiment, described multimedia file include following at least one:
Picture file, video file and audio file.
Second aspect according to disclosure embodiment, it is provided that a kind of sharing files device, including:
Search module, for working as to receive, the multimedia file in the first application program is shared the second application program During instruction, in the caching of described first application program, search described multimedia file;
Judge module, for when described lookup module searches is to described multimedia file, it is judged that described multimedia file Form whether meet described second application program support form;
When described judge module, acquisition module, for judging that the form of described multimedia file meets described second application journey During the form that sequence is supported, from described caching, obtain described multimedia file;
Sharing module, for sharing described multimedia file extremely described second application program that described acquisition module obtains.
In one embodiment, described device also includes:
When described judge module, modular converter, for judging that the form of described multimedia file does not meets described second application Program support form time, the form of described multimedia file is converted into described second application program support form, and from Described caching obtains the multimedia file after format transformation;
Described sharing module is additionally operable to:
Share the multimedia file after described format transformation to described second application program.
In one embodiment, described lookup module includes:
Search submodule, for by the URL of described multimedia file, described caching is searched institute State multimedia file.
In one embodiment, described acquisition module is used for:
Call cache interface from described caching, read out described multimedia file.
In one embodiment, described multimedia file include following at least one:
Picture file, video file and audio file.
The third aspect according to disclosure embodiment, it is provided that a kind of sharing files device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When receiving the instruction that the multimedia file in the first application program is shared the second application program, described The caching of the first application program is searched described multimedia file;
When finding described multimedia file, it is judged that whether the form of described multimedia file meets described second application The form that program is supported;
When the form of described multimedia file meets the form that described second application program is supported, obtain from described caching Take described multimedia file;
Share described multimedia file to described second application program.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Technique scheme, shares the multimedia file in the first application program in the second application program needing Time, from the caching of the first application program, directly search multimedia file and share, first storing without by multimedia file Share again in terminal, so, not only can reduce the taking of memory space of terminal, and save the bandwidth of network And flow, improve file-sharing efficiency, save the time of user, improve the experience of user.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of sharing files method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the another kind of sharing files method shown in an exemplary embodiment.
Fig. 3 is the flow chart according to another the sharing files method shown in an exemplary embodiment.
Fig. 4 is the flow chart according to another the sharing files method shown in an exemplary embodiment.
Fig. 5 is the block diagram according to a kind of sharing files device shown in an exemplary embodiment.
Fig. 6 is the block diagram according to the another kind of sharing files device shown in an exemplary embodiment.
Fig. 7 is according to the block diagram searching module in a kind of sharing files device shown in an exemplary embodiment.
Fig. 8 is according to the block diagram being applicable to a kind of sharing files device shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the disclosure are consistent.
Disclosure embodiment provides a kind of sharing files method, and the method can be used in terminal unit, as it is shown in figure 1, The method comprising the steps of S101-S104:
In step S101, when receiving, the multimedia file in the first application program is shared the second application program During instruction, the caching of the first application program is searched multimedia file;
When user wants that the multimedia file in the first application program is shared the second application program, this multimedia literary composition Part may not download to terminal local, if but check in the first application program, this multimedia file is the most very There may be present in caching to suffer, therefore, it can search multimedia file in the caching of the first application program.
In step s 102, when finding multimedia file, it is judged that whether the form of multimedia file meets second should The form supported by program;
Different application programs, the file format that it is supported is different.Such as, for wechat application program, picture is shared Time its support picture that picture format is jpeg and png form, but the picture formats such as webp, gif are not supported.
In step s 103, when the form of multimedia file meets the form that the second application program is supported, from caching Obtain multimedia file;
In step S104, share multimedia file to the second application program.
In this embodiment, want the multimedia file in the first application program is shared the second application program as user Time, from the caching of the first application program, directly search multimedia file and share, first storing without by multimedia file Share again in terminal, so, not only can reduce the taking of memory space of terminal, and save the bandwidth of network And flow, improve file-sharing efficiency, save the time of user, improve the experience of user.Meanwhile, carry out many Before media file is shared, it is judged that whether form second application program of multimedia file is supported, thus ensures the second application program Can normally open multimedia file, promote the experience of user further.
In one embodiment, multimedia file include following at least one:
Picture file, video file and audio file.
The memory space shared due to picture file, video file, audio file etc. is bigger, thereby increases and it is possible to do not support by system One URLs is directly shared, it is therefore possible to use disclosed method, thus reduce taking of terminal storage space, joint Save bandwidth and the flow of network, improve file-sharing efficiency, save the time of user, promote the experience of user.
As in figure 2 it is shown, in one embodiment, said method can also include step S201-S202:
In step s 201, when the form of multimedia file does not meets the form that the second application program is supported, by many matchmakers The form of body file is converted into the form that the second application program is supported, and obtains the multimedia literary composition after format transformation from caching Part;
In step S202, share the multimedia file after format transformation to the second application program.
In this embodiment, when the form at multimedia file does not meets the form that the second application program is supported, first will be many The form of media file is converted into the form that the second application program is supported, thus is shared to by the multimedia file after format transformation Second application program, it is ensured that the second application program can normally open multimedia file, thus ensures that user can be by second The normal view multimedia documents of application program, promotes the experience of user.
As it is shown on figure 3, in one embodiment, step S101 includes step S301:
In step S301, when receiving, the multimedia file in the first application program is shared the second application program During instruction, by the URL of multimedia file, search multimedia file in the buffer.
In this embodiment, when multimedia file being stored in caching, can be with the unified money of this multimedia file Source location symbol stores as key word, so, when follow-up making a look up, is directly looked into by URL Look for, consequently facilitating quickly find multimedia file.
As shown in Figure 4, in one embodiment, above-mentioned steps S103 can include step S401:
In step S401, when the form of multimedia file meets the form that the second application program is supported, call caching Interface reads out multimedia file from caching.
In this embodiment, when the form of multimedia file meets the form that the second application program is supported, directly invoke Cache interface reads out multimedia file from caching, carries out point without first being stored by multimedia file in terminal again Enjoy, so, not only can reduce the taking of memory space of terminal, and save bandwidth and the flow of network, improve literary composition Part sharing efficiency, saves the time of user, improves the experience of user.Meanwhile, before carrying out multimedia file and sharing, Judge whether form second application program of multimedia file is supported, thus ensure that the second application program can normally open many matchmakers Body file, promotes the experience of user further.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.
Fig. 5 is the block diagram according to a kind of sharing files device shown in an exemplary embodiment, and this device can be by soft Part, hardware or both be implemented in combination with become the some or all of of terminal unit.As it is shown in figure 5, this document sharing apparatus Including:
Search module 51, be configured as receiving and the multimedia file in the first application program is shared the second application During the instruction of program, the caching of the first application program is searched multimedia file;
Judge module 52, is configured to when searching module 51 and finding multimedia file, it is judged that the lattice of multimedia file Whether formula meets the form that the second application program is supported;
Acquisition module 53, is configured as judge module 52 and judges that the form of multimedia file meets the second application program and props up During the form held, from caching, obtain multimedia file;
Sharing module 54, is configured to share the multimedia file of acquisition module 53 acquisition to the second application program.
In this embodiment, want the multimedia file in the first application program is shared the second application program as user Time, from the caching of the first application program, directly search multimedia file and share, first storing without by multimedia file Share again in terminal, so, not only can reduce the taking of memory space of terminal, and save the bandwidth of network And flow, improve file-sharing efficiency, save the time of user, improve the experience of user.Meanwhile, carry out many Before media file is shared, it is judged that whether form second application program of multimedia file is supported, thus ensures the second application program Can normally open multimedia file, promote the experience of user further.
In one embodiment, multimedia file include following at least one:
Picture file, video file and audio file.
The memory space shared due to picture file, video file, audio file etc. is bigger, thereby increases and it is possible to do not support by system One URLs is directly shared, it is therefore possible to use disclosed method, thus reduce taking of terminal storage space, joint Save bandwidth and the flow of network, improve file-sharing efficiency, save the time of user, promote the experience of user.
As shown in Figure 6, in one embodiment, said apparatus also includes:
Modular converter 61, is configured as judge module 52 and judges that the form of multimedia file does not meets the second application program During the form supported, the form of multimedia file is converted into the form that the second application program is supported, and acquisition turns from caching Change the multimedia file after form;
Sharing module 54 is additionally operable to:
Share the multimedia file after format transformation to the second application program.
In this embodiment, when the form at multimedia file does not meets the form that the second application program is supported, first will be many The form of media file is converted into the form that the second application program is supported, thus is shared to by the multimedia file after format transformation Second application program, it is ensured that the second application program can normally open multimedia file, thus ensures that user can be by second The normal view multimedia documents of application program, promotes the experience of user.
As it is shown in fig. 7, in one embodiment, search module 51 and include:
Search submodule 71, be configured to the URL of multimedia file, search many matchmakers in the buffer Body file.
In this embodiment, when multimedia file being stored in caching, can be with the unified money of this multimedia file Source location symbol stores as key word, so, when follow-up making a look up, is directly looked into by URL Look for, consequently facilitating quickly find multimedia file.
In one embodiment, acquisition module is used for:
Call cache interface and read out multimedia file from caching.
In this embodiment, when the form of multimedia file meets the form that the second application program is supported, directly invoke Cache interface reads out multimedia file from caching, carries out point without first being stored by multimedia file in terminal again Enjoy, so, not only can reduce the taking of memory space of terminal, and save bandwidth and the flow of network, improve literary composition Part sharing efficiency, saves the time of user, improves the experience of user.Meanwhile, before carrying out multimedia file and sharing, Judge whether form second application program of multimedia file is supported, thus ensure that the second application program can normally open many matchmakers Body file, promotes the experience of user further.
The third aspect according to disclosure embodiment, it is provided that a kind of sharing files device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
When receiving the instruction that the multimedia file in the first application program is shared the second application program, described The caching of the first application program is searched described multimedia file;
When finding described multimedia file, it is judged that whether the form of described multimedia file meets described second application The form that program is supported;
When the form of described multimedia file meets the form that described second application program is supported, obtain from described caching Take described multimedia file;
Share described multimedia file to described second application program.
Above-mentioned processor is also configured to:
When the form of described multimedia file does not meets the form that described second application program is supported, by described multimedia The form of file is converted into the form that described second application program is supported, and obtains the many matchmakers after format transformation from described caching Body file;
Share the multimedia file after described format transformation to described second application program.
Above-mentioned processor is also configured to:
Described in the caching of described first application program, search described multimedia file, including:
By the URL of described multimedia file, described caching is searched described multimedia file.
Above-mentioned processor is also configured to:
Described from described caching, obtain described multimedia file, including:
Call cache interface from described caching, read out described multimedia file.
Above-mentioned processor is also configured to:
Described multimedia file include following at least one:
Picture file, video file and audio file.
Fig. 8 is according to a kind of block diagram for picture shooting device shown in an exemplary embodiment, and this device is applicable to Terminal unit.Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, and game controls Platform, tablet device, armarium, body-building equipment, personal digital assistant etc..
Device 800 can include following one or more assembly: processes assembly 802, memorizer 804, power supply module 806, Multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and communications component 816。
Process assembly 802 and generally control the integrated operation of device 800, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 802 and can include that one or more processor 820 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more module, just Mutual in process between assembly 802 and other assemblies.Such as, process assembly 802 and can include multi-media module, many to facilitate Media component 808 and process between assembly 802 mutual.
Memorizer 804 is configured to store various types of data to support the operation at device 800.Showing of these data Example includes any application program for operation on device 800 or the instruction of method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 800, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 808 is included between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensing Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or sliding action Border, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments, many matchmakers Body assembly 808 includes a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and Post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal.Such as, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, is used for exporting audio signal.
I/O interface 812 provides interface for processing between assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 814 includes one or more sensor, for providing the state of various aspects to comment for device 800 Estimate.Such as, what sensor cluster 814 can detect device 800 opens/closed mode, the relative localization of assembly, such as described Assembly is display and the keypad of device 800, and sensor cluster 814 can also detect device 800 or 800 1 assemblies of device Position change, the presence or absence that user contacts with device 800, device 800 orientation or acceleration/deceleration and device 800 Variations in temperature.Sensor cluster 814 can include proximity transducer, is configured to when not having any physical contact detect The existence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, is used for becoming Use as in application.In certain embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to facilitate the communication of wired or wireless mode between device 800 and other equipment.Device 800 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement In example, communications component 816 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel. In one exemplary embodiment, described communications component 816 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 804 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of device 800.Such as, Described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the process of device 800 When device performs so that device 800 is able to carry out above-mentioned sharing files method, and described method includes:
When receiving the instruction that the multimedia file in the first application program is shared the second application program, described The caching of the first application program is searched described multimedia file;
When finding described multimedia file, it is judged that whether the form of described multimedia file meets described second application The form that program is supported;
When the form of described multimedia file meets the form that described second application program is supported, obtain from described caching Take described multimedia file;
Share described multimedia file to described second application program.
In one embodiment, described method also includes:
When the form of described multimedia file does not meets the form that described second application program is supported, by described multimedia The form of file is converted into the form that described second application program is supported, and obtains the many matchmakers after format transformation from described caching Body file;
Share the multimedia file after described format transformation to described second application program.
In one embodiment, described in the caching of described first application program, search described multimedia file, including:
By the URL of described multimedia file, described caching is searched described multimedia file.
In one embodiment, described from described caching, obtain described multimedia file, including:
Call cache interface from described caching, read out described multimedia file.
In one embodiment, described multimedia file include following at least one:
Picture file, video file and audio file.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a sharing files method, it is characterised in that including:
When receiving the instruction that the multimedia file in the first application program is shared the second application program, described first The caching of application program is searched described multimedia file;
When finding described multimedia file, it is judged that whether the form of described multimedia file meets described second application program The form supported;
When the form of described multimedia file meets the form that described second application program is supported, from described caching, obtain institute State multimedia file;
Share described multimedia file to described second application program.
Method the most according to claim 1, it is characterised in that described method also includes:
When the form of described multimedia file does not meets the form that described second application program is supported, by described multimedia file Form be converted into the form that described second application program is supported, and from described caching, obtain the literary composition of the multimedia after format transformation Part;
Share the multimedia file after described format transformation to described second application program.
Method the most according to claim 1, it is characterised in that described lookup institute in the caching of described first application program State multimedia file, including:
By the URL of described multimedia file, described caching is searched described multimedia file.
Method the most according to claim 1, it is characterised in that described obtain described multimedia file from described caching, Including:
Call cache interface from described caching, read out described multimedia file.
Method the most according to any one of claim 1 to 4, it is characterised in that described multimedia file include with down to One item missing:
Picture file, video file and audio file.
6. a sharing files device, it is characterised in that including:
Search module, for when receiving the instruction that the multimedia file in the first application program is shared the second application program Time, in the caching of described first application program, search described multimedia file;
Judge module, for when described lookup module searches is to described multimedia file, it is judged that the lattice of described multimedia file Whether formula meets the form that described second application program is supported;
When described judge module, acquisition module, for judging that the form of described multimedia file meets described second application program and props up During the form held, from described caching, obtain described multimedia file;
Sharing module, for sharing described multimedia file extremely described second application program that described acquisition module obtains.
Device the most according to claim 6, it is characterised in that described device also includes:
When described judge module, modular converter, for judging that the form of described multimedia file does not meets described second application program During the form supported, the form of described multimedia file is converted into the form that described second application program is supported, and from described Caching obtains the multimedia file after format transformation;
Described sharing module is additionally operable to:
Share the multimedia file after described format transformation to described second application program.
Device the most according to claim 6, it is characterised in that described lookup module includes:
Search submodule, for by the URL of described multimedia file, searching described many in described caching Media file.
Device the most according to claim 6, it is characterised in that described acquisition module is used for:
Call cache interface from described caching, read out described multimedia file.
10. according to the device according to any one of claim 6 to 9, it is characterised in that described multimedia file include with down to One item missing:
Picture file, video file and audio file.
11. 1 kinds of sharing files devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When receiving the instruction that the multimedia file in the first application program is shared the second application program, described first The caching of application program is searched described multimedia file;
When finding described multimedia file, it is judged that whether the form of described multimedia file meets described second application program The form supported;
When the form of described multimedia file meets the form that described second application program is supported, from described caching, obtain institute State multimedia file;
Share described multimedia file to described second application program.
CN201610460629.3A 2016-06-22 2016-06-22 File sharing method and device Active CN106201734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610460629.3A CN106201734B (en) 2016-06-22 2016-06-22 File sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610460629.3A CN106201734B (en) 2016-06-22 2016-06-22 File sharing method and device

Publications (2)

Publication Number Publication Date
CN106201734A true CN106201734A (en) 2016-12-07
CN106201734B CN106201734B (en) 2023-09-01

Family

ID=57461786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610460629.3A Active CN106201734B (en) 2016-06-22 2016-06-22 File sharing method and device

Country Status (1)

Country Link
CN (1) CN106201734B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107509089A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of method of mobile terminal sharing video frequency fragment
CN107609012A (en) * 2017-07-31 2018-01-19 珠海市魅族科技有限公司 Multimedia file treating method and apparatus, computer installation, readable storage medium storing program for executing
CN108965430A (en) * 2018-07-16 2018-12-07 深圳鼎盛电脑科技有限公司 Image acquisition method, device, computer equipment and storage medium
CN110059063A (en) * 2019-03-15 2019-07-26 北京字节跳动网络技术有限公司 Multiple format data synchronous sharing method, apparatus, medium and electronic equipment
CN110083321A (en) * 2019-04-17 2019-08-02 北京海益同展信息科技有限公司 Content displaying method and device, intelligence throw screen terminal and readable storage medium storing program for executing
CN110347979A (en) * 2019-07-18 2019-10-18 网易(杭州)网络有限公司 Information sharing method, device and touch control terminal, storage medium of the split screen across application
CN110704202A (en) * 2018-07-10 2020-01-17 深圳市优必选科技有限公司 Multimedia recording data sharing method and terminal equipment
CN111651420A (en) * 2020-06-28 2020-09-11 维沃移动通信有限公司 File processing method and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124350A1 (en) * 2005-09-27 2007-05-31 Erik Sjoblom High performance file fragment cache
CN101674446A (en) * 2009-10-22 2010-03-17 中兴通讯股份有限公司 Multimedia file sharing device and method
CN101860591A (en) * 2009-04-08 2010-10-13 北京搜狗科技发展有限公司 Method and device for sharing application program
US20110264759A1 (en) * 2010-04-21 2011-10-27 Microsoft Corporation Optimized caching for large data requests
US20120236109A1 (en) * 2011-03-17 2012-09-20 Hon Hai Precision Industry Co., Ltd. Method for sharing resource of a videoconference using a video conferencing system
CN102750174A (en) * 2012-06-29 2012-10-24 Tcl集团股份有限公司 Method and device for loading file
US20130132663A1 (en) * 2011-11-18 2013-05-23 International Business Machines Corporation Reading files stored on a storage system
CN103369048A (en) * 2013-07-19 2013-10-23 广州市幸福网络技术有限公司 Content sharing method and system based on dragging operations
CN103825890A (en) * 2014-02-19 2014-05-28 惠州Tcl移动通信有限公司 Mobile terminal and method for achieving cloud streaming media file sharing based on DLNA
CN104010203A (en) * 2013-02-22 2014-08-27 协创立科数码电子(深圳)有限公司 WiFi wireless audio-video sharing equipment
CN104348899A (en) * 2014-06-25 2015-02-11 深圳市天朗时代科技有限公司 Client and server multimedia content sharing method and sharing system
CN104822083A (en) * 2015-03-23 2015-08-05 小米科技有限责任公司 File sharing control method as well as file sharing method and device
US20150256789A1 (en) * 2012-11-28 2015-09-10 Tencent Technology (Shenzhen) Company Limited Method, apparatus and terminal for playing multimedia content

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124350A1 (en) * 2005-09-27 2007-05-31 Erik Sjoblom High performance file fragment cache
CN101860591A (en) * 2009-04-08 2010-10-13 北京搜狗科技发展有限公司 Method and device for sharing application program
CN101674446A (en) * 2009-10-22 2010-03-17 中兴通讯股份有限公司 Multimedia file sharing device and method
US20110264759A1 (en) * 2010-04-21 2011-10-27 Microsoft Corporation Optimized caching for large data requests
US20120236109A1 (en) * 2011-03-17 2012-09-20 Hon Hai Precision Industry Co., Ltd. Method for sharing resource of a videoconference using a video conferencing system
US20130132663A1 (en) * 2011-11-18 2013-05-23 International Business Machines Corporation Reading files stored on a storage system
CN102750174A (en) * 2012-06-29 2012-10-24 Tcl集团股份有限公司 Method and device for loading file
US20150256789A1 (en) * 2012-11-28 2015-09-10 Tencent Technology (Shenzhen) Company Limited Method, apparatus and terminal for playing multimedia content
CN104010203A (en) * 2013-02-22 2014-08-27 协创立科数码电子(深圳)有限公司 WiFi wireless audio-video sharing equipment
CN103369048A (en) * 2013-07-19 2013-10-23 广州市幸福网络技术有限公司 Content sharing method and system based on dragging operations
CN103825890A (en) * 2014-02-19 2014-05-28 惠州Tcl移动通信有限公司 Mobile terminal and method for achieving cloud streaming media file sharing based on DLNA
CN104348899A (en) * 2014-06-25 2015-02-11 深圳市天朗时代科技有限公司 Client and server multimedia content sharing method and sharing system
CN104822083A (en) * 2015-03-23 2015-08-05 小米科技有限责任公司 File sharing control method as well as file sharing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘晖;: "让媒体分享更高效", 电脑迷, no. 15 *
黄俊;余青松;张敏;宗文杰;: "XML在移动多媒体服务系统中的应用研究", 计算机工程与设计, no. 17 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609012A (en) * 2017-07-31 2018-01-19 珠海市魅族科技有限公司 Multimedia file treating method and apparatus, computer installation, readable storage medium storing program for executing
CN107509089A (en) * 2017-09-12 2017-12-22 中广热点云科技有限公司 A kind of method of mobile terminal sharing video frequency fragment
CN107509089B (en) * 2017-09-12 2019-07-05 中广热点云科技有限公司 A kind of method of mobile terminal sharing video frequency segment
CN110704202A (en) * 2018-07-10 2020-01-17 深圳市优必选科技有限公司 Multimedia recording data sharing method and terminal equipment
CN110704202B (en) * 2018-07-10 2022-08-05 深圳市优必选科技有限公司 Multimedia recording data sharing method and terminal equipment
CN108965430A (en) * 2018-07-16 2018-12-07 深圳鼎盛电脑科技有限公司 Image acquisition method, device, computer equipment and storage medium
CN110059063A (en) * 2019-03-15 2019-07-26 北京字节跳动网络技术有限公司 Multiple format data synchronous sharing method, apparatus, medium and electronic equipment
CN110059063B (en) * 2019-03-15 2020-08-18 北京字节跳动网络技术有限公司 Multi-format data synchronous sharing method, device, medium and electronic equipment
CN110083321A (en) * 2019-04-17 2019-08-02 北京海益同展信息科技有限公司 Content displaying method and device, intelligence throw screen terminal and readable storage medium storing program for executing
CN110083321B (en) * 2019-04-17 2021-05-04 北京海益同展信息科技有限公司 Content display method and device, intelligent screen projection terminal and readable storage medium
CN110347979A (en) * 2019-07-18 2019-10-18 网易(杭州)网络有限公司 Information sharing method, device and touch control terminal, storage medium of the split screen across application
CN111651420A (en) * 2020-06-28 2020-09-11 维沃移动通信有限公司 File processing method and electronic equipment

Also Published As

Publication number Publication date
CN106201734B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN106201734A (en) Sharing files method and device
CN103944963B (en) Method of data synchronization, device, equipment and system
KR101789783B1 (en) Method, apparatus, program, and recording medium for prompting call
CN106202194A (en) The storage method and device of screenshot picture
KR101810514B1 (en) Methods, devices, program and recording medium for calling based on cloud card
CN105704016A (en) Group message shielding processing method, device and terminal
KR20200012699A (en) Product display method and device
CN105530167A (en) Method and device for setting group name card
CN105094904A (en) Application program installation method and device
CN104158854B (en) Resource share method and device
CN104111813B (en) Method and device for picture synchronous display, mobile terminal and terminal device
CN103973900A (en) Method and device for sending messages
CN105791097A (en) Group message receiving and processing method, device and terminal thereof
CN105550213A (en) Picture browsing method and device
CN105515923A (en) Equipment control method and device
CN104850643A (en) Image comparison method and device
CN105205093A (en) Method and device for processing images in image library
CN104836880A (en) Method and device for processing contact person head portrait
CN104615743B (en) Image display method and device
CN104363299B (en) A kind of method and device based on bracelet control picture transfer
CN105682187A (en) Icon displaying method and device
CN105245681A (en) Method and device for adding labels
CN105516895A (en) User information push method and device
CN105677435A (en) Function invoking method, apparatus and terminal
CN105208107A (en) File downloading method, device, intelligent terminal and downloading device

Legal Events

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