CN104883385B - Rich media file transmission method and device - Google Patents
Rich media file transmission method and device Download PDFInfo
- Publication number
- CN104883385B CN104883385B CN201510147772.2A CN201510147772A CN104883385B CN 104883385 B CN104883385 B CN 104883385B CN 201510147772 A CN201510147772 A CN 201510147772A CN 104883385 B CN104883385 B CN 104883385B
- Authority
- CN
- China
- Prior art keywords
- rich media
- media file
- transmitted
- file
- server
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present disclosure discloses a kind of rich media file transmission method and device, when transmitting rich media file between two terminals, after transmitting terminal obtains rich media file to be transmitted, it is first determined whether being transmitted across the rich media file to be transmitted to server;If being transmitted across the rich media file to be transmitted, the beacon information of rich media file to be transmitted is only then sent to server, beacon information is sent to receiving end by server again, receiving end obtains the rich media file to match with beacon information from the rich media file that self EMS memory stores up, receiving end does not need to obtain rich media file to be transmitted from server, therefore, Internet resources needed for receiving end obtains rich media file to be transmitted can be saved.Moreover, therefore can be improved the speed that receiving end obtains rich media file to be transmitted using this method from the speed that the local speed for obtaining rich media file is significantly larger than the acquisition rich media file from server.
Description
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of rich media file transmission method and device.
Background technique
As electronics technology rapidly develops, intelligent terminal using more and more common, suitable for intelligent terminal Instant Messenger
News software comes into being, for example, Michat.
User can use instant message applications and exchange with friend, for example, user can send voice, figure to friend
The rich media files such as piece, video.If the rich media file that sender sends is recipient once from the file received, such
Under scene, recipient repeats to receive the distribution pressure for the bandwidth resources that rich media file increases server, meanwhile, it also reduces
Recipient reads the speed of the rich media file.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of rich media file transmission method and device.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure discloses following technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of rich media file transmission method is provided, comprising:
Rich media file to be transmitted is obtained, the rich media file to be transmitted at least carries beacon information, the mark letter
Breath includes at least the identification marking of the rich media file to be transmitted;
Judge whether to be transmitted across the rich media file to be transmitted to server;
When determination is transmitted across the rich media file to be transmitted to server, believe to being indicated described in the server transport
Breath, so that the beacon information is sent to receiving end by the server, and the rich matchmaker for storing the receiving end from itself
The target rich media file to match with the beacon information is obtained in body file.
With reference to first aspect, in the first possible implementation of the first aspect, described to judge whether to server
It is transmitted across the rich media file to be transmitted, comprising:
It inquires into the rich media file that server is sent with the presence or absence of the identification mark with the rich media file to be transmitted
Sensible matched rich media file;
If there is the rich media file to match with the identification marking, determine to the server be transmitted across it is described to
Transmit rich media file;
If there is no the rich media file to match with the identification marking, determination is not transmitted across institute to the server
State rich media file to be transmitted.
With reference to first aspect, in the second possible implementation of the first aspect, described to judge whether to server
It is transmitted across the rich media file to be transmitted, comprising:
Obtain the file content of the rich media file to be transmitted;
It whether inquires into the rich media file that server is sent comprising in the file with the rich media file to be transmitted
Hold the rich media file to match;
If there is the rich media file that the file content with the rich media file to be transmitted matches, determine to described
Server is transmitted across the rich media file to be transmitted;
If there is no the rich media file that the file content with the rich media file to be transmitted matches, determine not to
The server is transmitted across the rich media file to be transmitted.
With reference to first aspect, in a third possible implementation of the first aspect, described to obtain Rich Media to be transmitted
File, comprising:
Obtain the original rich media file that user chooses;
Shot operation instruction is obtained, the shot operation instructs generation when detecting the shot operation of user by transmitting terminal,
The shot operation instruction carries interception coordinate;
The corresponding rich media file of the interception coordinate is intercepted from the original rich media file, is obtained described to be transmitted
Rich media file, the beacon information include the identification marking and the interception coordinate.
According to the second aspect of an embodiment of the present disclosure, a kind of rich media file transmission method is provided, is applied in server,
Include:
Receive the information for the rich media file to be transmitted that transmitting terminal is sent;
According to the information of the rich media file to be transmitted received, judge locally whether be stored with the richness to be transmitted
Media file;
When the rich media file to be transmitted has been locally stored in determination, the mark of the rich media file to be transmitted is obtained
Information;
Transmit the beacon information to receiving end so that the receiving end obtained from the rich media file that itself store and
The target rich media file that the beacon information matches.
In conjunction with second aspect, in the first possible implementation of the second aspect, the rich media file to be transmitted
Information include at least the rich media file to be transmitted identification marking;
Whether the information for the rich media file to be transmitted that the basis receives judges locally to be stored with described to be passed
Defeated rich media file, comprising:
It inquires in the rich media file being locally stored with the presence or absence of the identification marking phase with the rich media file to be transmitted
Matched rich media file;
If there is the rich media file to match with the identification marking, determines and the rich matchmaker to be transmitted has been locally stored
Body file;
If there is no the rich media file to match with the identification marking, determine it is local it is not stored have it is described to be transmitted
Rich media file.
In conjunction with second aspect, in a second possible implementation of the second aspect, the rich media file to be transmitted
Information include the rich media file to be transmitted itself;
Whether the information for the rich media file to be transmitted that the basis receives judges locally to be stored with described to be passed
Defeated rich media file, comprising:
Obtain the file content of the rich media file to be transmitted;
It whether inquires in the rich media file being locally stored comprising the file content phase with the rich media file to be transmitted
Matched rich media file;
If there is the rich media file that the file content with the rich media file to be transmitted matches, local deposit is determined
Contain the rich media file to be transmitted;
If there is no the rich media file that the file content with the rich media file to be transmitted matches, determine local
It is not stored to have the rich media file to be transmitted.
In conjunction with second aspect, in the third possible implementation of the second aspect, the rich media file to be transmitted
It is the local screenshot of original rich media file, then it is described that the rich media file to be transmitted has been locally stored when determining, obtain institute
State the beacon information of rich media file to be transmitted, comprising:
The mark of the rich media file to be transmitted is extracted from the information of the rich media file to be transmitted received
Information, the beacon information include the identification marking and interception coordinate of the rich media file to be transmitted;The interception coordinate by
Transmitting terminal is obtained from the shot operation instruction of the carrying interception coordinate detected.
According to the third aspect of an embodiment of the present disclosure, a kind of rich media file transmission method is provided, receiving end, packet are applied to
It includes:
Receive the beacon information for the rich media file to be transmitted that server is sent, the beacon information include at least it is described to
Transmit the identification marking of rich media file;
When the rich media file to match with the identification marking is locally stored in determination, obtained using the beacon information
Take target rich media file identical with the rich media file to be transmitted.
It is in the first possible implementation of the third aspect, described according to the beacon information in conjunction with the third aspect
Obtain target rich media file identical with the rich media file to be transmitted, comprising:
The interception coordinate of the rich media file to be transmitted is extracted from the beacon information;
From the rich media file to match with the identification marking being locally stored, obtain in the interception coordinate range
Rich media file, obtain the target rich media file.
According to a fourth aspect of embodiments of the present disclosure, a kind of rich media file transmitting device is provided, transmitting terminal, packet are applied to
It includes:
Module is obtained, for obtaining rich media file to be transmitted, the rich media file to be transmitted at least carries mark letter
Breath, the beacon information include at least the identification marking of the rich media file to be transmitted;
Judgment module is transmitted across the rich media file to be transmitted to server for judging whether;
Sending module, for when determine be transmitted across the rich media file to be transmitted to server when, to the server
Transmit the beacon information so that the beacon information is sent to receiving end by the server, and make the receiving end from
The target rich media file to match with the beacon information is obtained in the rich media file of itself storage.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, the judgment module includes:
First inquiry submodule, for inquire to server send rich media file in whether there is with it is described to be transmitted
The rich media file that the identification marking of rich media file matches;
First determines submodule, for determining to institute when there is the rich media file to match with the identification marking
It states server and is transmitted across the rich media file to be transmitted;
Second determines submodule, for determining not when there is no the rich media file to match with the identification marking
The rich media file to be transmitted is transmitted across to the server.
In conjunction with fourth aspect, in the second possible implementation of the fourth aspect, the judgment module includes:
First acquisition submodule, for obtaining the file content of the rich media file to be transmitted;
Second inquiry submodule, for inquire to server send rich media file in whether include with it is described to be transmitted
The rich media file that the file content of rich media file matches;
Third determines submodule, for as the rich matchmaker to match in the presence of the file content with the rich media file to be transmitted
When body file, determines to the server and be transmitted across the rich media file to be transmitted;
4th determines submodule, for when there is no the richnesses that the file content with the rich media file to be transmitted matches
When media file, determination is not transmitted across the rich media file to be transmitted to the server.
In conjunction with fourth aspect, in the third possible implementation of the fourth aspect, the acquisition module includes:
Second acquisition submodule, for obtaining the original rich media file of user's selection;
Third acquisition submodule, for obtaining shot operation instruction, the shot operation instruction detects use by transmitting terminal
It is generated when the shot operation at family, the shot operation instruction carries interception coordinate;
4th acquisition submodule, for intercepting the corresponding Rich Media of the interception coordinate from the original rich media file
File, obtains the rich media file to be transmitted, and the beacon information includes the identification marking and the interception coordinate.
According to a fifth aspect of the embodiments of the present disclosure, a kind of rich media file transmitting device is provided, is applied in server,
Include:
Receiving module, the information of the rich media file to be transmitted for receiving transmitting terminal transmission;
Judgment module, for according to the information of the rich media file to be transmitted received, judge in server whether
It is stored with the rich media file to be transmitted;
Module is obtained, for obtaining the richness to be transmitted when the rich media file to be transmitted has been locally stored in determination
The beacon information of media file;
Sending module, for transmitting the beacon information to receiving end, so that the rich matchmaker that the receiving end is stored from itself
The target rich media file to match with the beacon information is obtained in body file.
In conjunction with the 5th aspect, in the first possible implementation of the 5th aspect, the rich media file to be transmitted
Information include at least the rich media file to be transmitted identification marking;The judgment module includes:
First inquiry submodule whether there is and the rich matchmaker to be transmitted for inquiring in the rich media file being locally stored
The rich media file that the identification marking of body file matches;
First determines submodule, local for determining when there is the rich media file to match with the identification marking
It is stored with the rich media file to be transmitted;
Second determines submodule, for determining this when there is no the rich media file to match with the identification marking
Ground is not stored the rich media file to be transmitted.
In conjunction with the 5th aspect, in second of possible implementation of the 5th aspect, the rich media file to be transmitted
Information include the rich media file to be transmitted itself;The judgment module includes:
First acquisition submodule, for obtaining the file content of the rich media file to be transmitted;
Second inquiry submodule, for inquire in the rich media file being locally stored whether include and the richness matchmaker to be transmitted
The rich media file that the file content of body file matches;
Third determines submodule, for as the rich matchmaker to match in the presence of the file content with the rich media file to be transmitted
The rich media file to be transmitted has been locally stored in body file, determination;
4th determines submodule, for there is no the rich matchmakers that the file content with the rich media file to be transmitted matches
Body file, determination is locally not stored the rich media file to be transmitted.
In conjunction with the 5th aspect, in the third possible implementation of the 5th aspect, the rich media file to be transmitted
It is the local screenshot of original rich media file, then the acquisition module is used for:
The mark of the rich media file to be transmitted is extracted from the information of the rich media file to be transmitted received
Information, the beacon information include the identification marking and interception coordinate of the rich media file to be transmitted;The interception coordinate by
Transmitting terminal is obtained from the shot operation instruction of the carrying interception coordinate detected.
According to a sixth aspect of an embodiment of the present disclosure, a kind of rich media file transmitting device is provided, receiving end, packet are applied to
It includes:
Receiving module, the beacon information of the rich media file to be transmitted for receiving server transmission, the beacon information
Including at least the identification marking of the rich media file to be transmitted;
Judgment module, for judging whether receiving end is stored with the rich media file to match with the identification marking;
Module is obtained, for when determining that receiving end is stored with the rich media file to match with the identification marking, benefit
Target rich media file identical with the rich media file to be transmitted is obtained with the beacon information.
In conjunction with the 6th aspect, in the first possible implementation of the 6th aspect, the acquisition module includes:
Extracting sub-module, for extracting the interception coordinate of the rich media file to be transmitted from the beacon information;
Acquisition submodule in the rich media file to match with the identification marking for storing from receiving end, obtains
Rich media file in the interception coordinate range obtains the target rich media file.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of terminal device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Rich media file to be transmitted is obtained, the rich media file to be transmitted at least carries beacon information, the mark letter
Breath includes at least the identification marking of the rich media file to be transmitted;
Judge whether to be transmitted across the rich media file to be transmitted to server;
When determination is transmitted across the rich media file to be transmitted to server, believe to being indicated described in the server transport
Breath, so that the beacon information is sent to receiving end by the server, and the rich matchmaker for storing the receiving end from itself
The target rich media file to match with the beacon information is obtained in body file.
According to the eighth aspect of the embodiment of the present disclosure, a kind of server is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the information for the rich media file to be transmitted that transmitting terminal is sent;
According to the information of the rich media file to be transmitted received, judge locally whether be stored with the richness to be transmitted
Media file;
When the rich media file to be transmitted has been locally stored in determination, the mark of the rich media file to be transmitted is obtained
Information;
Transmit the beacon information to receiving end so that the receiving end obtained from the rich media file that itself store and
The target rich media file that the beacon information matches.
According to the 9th of the embodiment of the present disclosure the aspect, a kind of terminal device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the beacon information for the rich media file to be transmitted that server is sent, the beacon information include at least it is described to
Transmit the identification marking of rich media file;
When the rich media file to match with the identification marking is locally stored in determination, obtained using the beacon information
Take target rich media file identical with the rich media file to be transmitted.
The technical scheme provided by this disclosed embodiment can include the following benefits: rich when transmitting between two terminals
When media file, after transmitting terminal obtains rich media file to be transmitted, it is first determined whether being transmitted across the richness to be transmitted to server
Media file;If being transmitted across the rich media file to be transmitted, the beacon information of rich media file to be transmitted is only sent to clothes
Be engaged in device, then beacon information be sent to receiving end by server, receiving end obtained from the rich media file that self EMS memory store up and
The rich media file that beacon information matches, receiving end do not need to obtain rich media file to be transmitted, therefore, energy from server
Enough save Internet resources needed for receiving end obtains rich media file to be transmitted.Moreover, from the local speed for obtaining rich media file
Degree significantly larger than from server obtain rich media file speed, therefore, using this method can be improved receiving end obtain to
Transmit the speed of rich media file.In addition, after transmitting terminal determines and is transmitted across the rich media file to be transmitted to server, only
Beacon information is sent to server, therefore, receiving end and server all do not need that duplicate rich media file is being locally stored, drop
The pressure of low receiving end and server storage rich media file.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of rich media file transmission method shown according to an exemplary embodiment;
Fig. 2 is the method flow diagram of step S120 shown according to an exemplary embodiment a kind of;
Fig. 3 is the method flow diagram of another step S120 shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of rich media file transmission method shown according to an exemplary embodiment;
Fig. 5 is the flow chart of another rich media file transmission method shown according to an exemplary embodiment;
Fig. 6 is the flow chart of another rich media file transmission method shown according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of rich media file transmitting device shown according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of judgment module 120 shown according to an exemplary embodiment;
Fig. 9 is another block diagram of judgment module 120 shown according to an exemplary embodiment;
Figure 10 is the block diagram for obtaining module 110 shown according to an exemplary embodiment;
Figure 11 is the block diagram of another rich media file transmitting device shown according to an exemplary embodiment;
Figure 12 is a kind of block diagram of judgment module 220 shown according to an exemplary embodiment;
Figure 13 is another block diagram of judgment module 220 shown according to an exemplary embodiment;
Figure 14 is the block diagram of another rich media file transmitting device shown according to an exemplary embodiment;
Figure 15 is a kind of frame of device 800 for rich media file transmission method shown according to an exemplary embodiment
Figure;
Figure 16 is a kind of device 1900 for rich media file transmission method shown according to an exemplary embodiment
Block diagram.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means, but is by referring to specific embodiments art technology
Personnel illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of rich media file transmission method shown according to an exemplary embodiment, and this method is answered
For in transmitting terminal (that is, intelligent terminal of sending side), as shown in Figure 1, the described method comprises the following steps.
In step s 110, transmitting terminal obtains rich media file to be transmitted.The rich media file to be transmitted at least carries
Beacon information, the beacon information include at least the identification marking of the rich media file to be transmitted.
After transmitting terminal detects that the rich media file of user sends operation, the rich media file for determining that user currently chooses is
Rich media file to be transmitted.The rich media file to be transmitted can be the files such as picture, video.Rich Media's text to be transmitted
Part can be the rich media file that transmitting terminal is locally stored, and be also possible to the rich media file stored in server.
The rich media file to be transmitted that transmitting terminal obtains carries beacon information, and the beacon information includes at least described to be passed
The identification marking of defeated rich media file.
If rich media file is picture, the rich media file to be transmitted can be original image, be also possible to original
The local screenshot of picture then includes the interception coordinate of the rich media file to be transmitted in the beacon information.
In the step s 120, transmitting terminal judges whether to be transmitted across the rich media file to be transmitted to server;If so,
Execute step S130;If not, executing step S140.
Rich media file has unique identification marking, (for example, file ID), and transmitting terminal can pass through rich media file
Identification marking determines whether that server is transmitted across rich media file to be transmitted;Transmitting terminal can also be according to the text of rich media file
Part content determines whether that server is transmitted across rich media file to be transmitted.
In step s 130, beacon information of the transmitting terminal to rich media file to be transmitted described in the server transport.
The beacon information of the rich media file to be transmitted received is sent to receiving end by server.Receiving end is from certainly
The target rich media file to match with the beacon information is obtained in the rich media file of body storage.
The beacon information includes intercepting coordinate, temporal information, any one or any multiple combinations in file details,
Wherein, file details may include the attribute information of file, for example, the size of picture, file size etc..For example, richness to be transmitted
Media file is picture, and picture to be transmitted is the local screenshot in the picture being once transmitted across, then the beacon information
Including intercepting coordinate, picture to be transmitted is obtained from original image according to interception coordinate.
The beacon information of rich media file to be transmitted is sent to server by transmitting terminal, and server is again by the beacon information
Be sent to receiving end, after receiving end receives the beacon information, first determine whether it is local whether be stored with in beacon information
The rich media file that identification marking matches;If there is the rich media file to match with identification marking, then mark letter is utilized
The other information of breath, and the rich media file to match with identification marking obtain mesh identical with rich media file to be transmitted
Mark rich media file.
In step S140, transmitting terminal sends the rich media file to be transmitted to the server.
If transmitting terminal, which is determined, is not transmitted across the rich media file to be transmitted to server, transmitting terminal needs will be to
Transmission file is sent to server, and file to be transmitted is sent to receiving end by server.
Rich media file transmission method provided in this embodiment, when transmitting rich media file between two terminal devices,
After transmitting terminal obtains rich media file to be transmitted, it is first determined whether being transmitted across the rich media file to be transmitted to server;If
It is transmitted across the rich media file to be transmitted, then the beacon information of rich media file to be transmitted is only sent to server, then by taking
Beacon information is sent to receiving end by business device, and receiving end obtains and beacon information phase from the rich media file that self EMS memory stores up
The rich media file matched, receiving end do not need to obtain rich media file to be transmitted from server, therefore, can save receiving end
Internet resources needed for obtaining rich media file to be transmitted.Moreover, from the local speed for obtaining rich media file significantly larger than from
The speed of rich media file is obtained in server, therefore, receiving end can be improved using this method and obtain Rich Media's text to be transmitted
The speed of part.In addition, only being sent to server after transmitting terminal determines and is transmitted across the rich media file to be transmitted to server
Beacon information, therefore, receiving end and server all do not need that duplicate rich media file is being locally stored, and reduce receiving end kimonos
The pressure of business device storage rich media file.
Fig. 2 is the method flow diagram of step S120 shown according to an exemplary embodiment a kind of, as shown in Fig. 2, the party
Method may comprise steps of:
In step S1211, inquire whether there is and the rich matchmaker to be transmitted into the rich media file that server is sent
The rich media file that the identification marking of body file matches;If so, executing step S1212;Otherwise, step S1213 is executed.
Identification marking is the unique identification of rich media file, and corresponding identification marking is carried in rich media file to be transmitted,
Transmitting terminal can extract from rich media file to be transmitted and obtain identification marking.
In step S1212, determines to the server and be transmitted across the rich media file to be transmitted.
In step S1213, determination is not transmitted across the rich media file to be transmitted to the server.
Method provided in this embodiment determines whether that server is sent by the identification marking of rich media file to be transmitted
The rich media file to be transmitted is crossed, identification marking is usually made of a series of character, compares the time of identification marking needs
It is very short, therefore, it can judge whether the speed that the rich media file to be transmitted is transmitted across to server with raising.
Fig. 3 is the method flow diagram of another step S120 shown according to an exemplary embodiment, as shown in figure 3, should
Method may comprise steps of:
In step S1221, the file content of the rich media file to be transmitted is obtained.If rich media file to be transmitted
It is picture, correspondingly, the file content of picture is picture material.
In step S1222, inquire into the rich media file that server is sent whether include and the rich matchmaker to be transmitted
The rich media file that the file content of body file matches;If it is present executing step S1223;If it does not exist, then executing
Step S1224.
In step S1223, determines to the server and be transmitted across the rich media file to be transmitted.
In step S1224, determination is not transmitted across the rich media file to be transmitted to the server.
It is described to determine whether that server is transmitted across according to the file content of rich media file for method provided in this embodiment
Whether rich media file to be transmitted judges into the rich media file that server is sent comprising the text with rich media file to be transmitted
The rich media file that part content matches is transmitted across the rich media file to be transmitted if it does, determining to server.File
Content can more accurately characterize rich media file, and therefore, this method can be improved the accuracy rate of deterministic process.
Fig. 4 is a kind of flow chart of rich media file transmission method shown according to an exemplary embodiment, and this method is answered
For in rich media file Transmission system, the rich media file Transmission system to include transmitting terminal, server and receiving end.Such as figure
Shown in 4, the method may include following steps:
In step S210, transmitting terminal obtains the original rich media file that user chooses.
Rich media file to be transmitted.The rich media file to be transmitted at least carries beacon information, and the beacon information is extremely
The interception coordinate of identification marking comprising the rich media file to be transmitted and the rich media file to be transmitted less.
In step S220, transmitting terminal obtains shot operation instruction, and the shot operation instruction carries interception coordinate;It is described
Generation when shot operation instruction is detected the shot operation of user by transmitting terminal.
In step S230, transmitting terminal intercepts the corresponding Rich Media of the interception coordinate from the original rich media file
File obtains the rich media file to be transmitted.
In step S240, transmitting terminal judges whether to be transmitted across the rich media file to be transmitted to server.If so,
Then follow the steps S250;If not, thening follow the steps S290.
In step s 250, beacon information of the transmitting terminal to rich media file to be transmitted described in server transport.The mark
Show that information includes the identification marking and the interception coordinate of the rich media file to be transmitted.
In step S260, server sends the beacon information to receiving end.
In step S270, receiving end judges the local Rich Media's text for whether being stored with and matching with the identification marking
Part, if so, thening follow the steps S280;If not, thening follow the steps S2100.
In step S280, receiving end is obtained from the rich media file to match with the identification marking being locally stored
Take with it is described interception coordinate range in rich media file, obtain target rich media file.
In step S290, transmitting terminal is to rich media file to be transmitted described in server transport.
In step S2100, receiving end obtains the rich media file to be transmitted as target Rich Media text from server
Part.
In step S2110, receiving end displaying target rich media file.
Rich media file transmission method provided in this embodiment, if rich media file to be transmitted is the original being once transmitted across
The local screenshot of beginning rich media file when then obtaining rich media file to be transmitted, obtains the interception of the rich media file to be transmitted
Coordinate obtains beacon information according to identification marking and interception coordinate, and obtained beacon information is sent to by server and is connect
Receiving end.After receiving end inquires the rich media file for being locally stored and matching with identification marking, interception coordinate, Yi Jicha are utilized
The obtained rich media file to match with identification marking is ask, target identical with rich media file to be transmitted Rich Media text is obtained
Part saves Internet resources needed for receiving end obtains rich media file to be transmitted.Moreover, improving receiving end obtains rich matchmaker to be transmitted
The speed of body file.In addition, after transmitting terminal determines and is transmitted across the rich media file to be transmitted to server, only to server
Beacon information is sent, therefore, receiving end and server all do not need that duplicate rich media file is being locally stored, and reduce receiving end
With the pressure of server storage rich media file.
Fig. 5 is the flow chart of another rich media file transmission method shown according to an exemplary embodiment, this method
Applied to comprising in transmitting terminal, server and the rich media file of receiving end Transmission system, as shown in figure 5, this method can wrap
Include following steps:
In step s310, transmitting terminal obtains rich media file to be transmitted.
In step s 320, transmitting terminal sends the information of the rich media file to be transmitted to server.
In an exemplary embodiment of the present disclosure, the information of the rich media file to be transmitted includes Rich Media's text to be transmitted
The beacon information of part, the beacon information include at least identification marking.
In another exemplary embodiment of the present disclosure, the information of the rich media file to be transmitted includes Rich Media to be transmitted
File itself and beacon information.
In step S330, local whether be stored with judged according to the information of the rich media file to be transmitted for server
The rich media file to be transmitted;If so, thening follow the steps S350;If not, thening follow the steps S340.
In an exemplary embodiment of the present disclosure, if the information of rich media file to be transmitted includes rich media file to be transmitted
Itself, then with the presence or absence of the file content phase with rich media file to be transmitted in the rich media file that server judgement is locally stored
Matched rich media file determines locally whether be stored with the rich media file to be transmitted.Under such application scenarios, server
Duplicate rich media file is not stored, therefore can reduce the storage pressure of server.
In another exemplary embodiment of the present disclosure, if the information of rich media file to be transmitted includes Rich Media's text to be transmitted
The beacon information of part, the beacon information include at least the identification marking of rich media file, then server judges the richness being locally stored
The rich media file to match in media file with the presence or absence of the identification marking with rich media file to be transmitted.
In step S340, server obtains rich media file to be transmitted, and stores the rich media file to be transmitted.
In step S350, server extracts beacon information from the information of the rich media file to be transmitted.
In step S360, server transmits the beacon information to receiving end.
In step S370, receiving end judges the local identification marking whether being stored with the rich media file to be transmitted
The rich media file to match;If it is present executing step S380;If it does not exist, then executing step S390.
In step S380, receiving end utilizes the beacon information, obtains identical with the rich media file to be transmitted
Target rich media file.
In step S390, the rich media file to be transmitted obtained from server is determined as target richness matchmaker by receiving end
Body file.
In step S3100, receiving end displaying target rich media file.
Rich media file transmission method provided in this embodiment judges that itself whether being stored with transmitting terminal sends by server
Rich media file to be transmitted, if storing available for transmission rich media file in server, server is only by rich matchmaker to be transmitted
The beacon information of body file is transferred to receiving end, and receiving end is searched from receiving end and rich matchmaker to be transmitted according to the beacon information
The identical target rich media file of body file can save receiving end and obtain rich media file institute without transmitting rich media file
The Internet resources needed.Resourceful due to server, operational capability is obviously stronger than intelligent terminal, can be improved judgement server
Whether the speed of available for transmission rich media file is stored.
Fig. 6 is the flow chart of another rich media file transmission method shown according to an exemplary embodiment, this method
Applied to comprising in transmitting terminal, server and the system of receiving end.As shown in fig. 6, the method may include following steps:
In step S410, transmitting terminal obtains rich media file to be transmitted.
In the step s 420, transmitting terminal sends the information of the rich media file to be transmitted to server, described to be transmitted
The information of rich media file includes the beacon information of rich media file to be transmitted, and the beacon information includes at least rich matchmaker to be transmitted
The identification marking of body file.
In step S430, server sends the beacon information of the rich media file to be transmitted to receiving end.
In step S440, receiving end judges the local Rich Media's text for whether being stored with and matching with the identification marking
Part;If so, thening follow the steps S450;If not, thening follow the steps S460.
In step S450, receiving end utilizes the beacon information, obtains identical with the rich media file to be transmitted
Target rich media file.
In step S460, the rich media file to be transmitted obtained from server is determined as target richness by receiving end
Media file.
In step S470, the rich media file of receiving end display acquisition.
Rich media file transmission method provided in this embodiment, receiving end receive the Rich Media to be transmitted text that server is sent
The beacon information of part utilizes the mark after receiving end determines, and the identification marking with rich media file to be transmitted is locally stored
Show the target rich media file that acquisition of information and the rich media file to be transmitted match, described in obtaining from server
Rich media file to be transmitted, so as to save the Internet resources of receiving end.Moreover, improving receiving end obtains Rich Media to be transmitted
The speed of file.In addition, therefore receiving end, can reduce the storage pressure of receiving end without storing duplicate rich media file.
Fig. 7 is a kind of block diagram of rich media file transmitting device shown according to an exemplary embodiment, is applied to send
Lateral terminal equipment, as shown in fig. 7, the apparatus may include: obtain module 110, judgment module 120 and sending module 130.
It obtains module 110 to be configured as, obtains rich media file to be transmitted, the rich media file to be transmitted at least carries
Beacon information, the beacon information include at least the identification marking of the rich media file to be transmitted.
Judgment module 120 is configured as, and judges whether to be transmitted across the rich media file to be transmitted to server.
Sending module 130 is configured as, when determine be transmitted across the rich media file to be transmitted to server when, to described
Beacon information described in server transport so that the beacon information is sent to receiving end by the server, and makes described connect
Receiving end obtains the target rich media file to match with the beacon information from the rich media file that itself is stored.
After transmitting terminal provided in this embodiment obtains rich media file to be transmitted, judged whether using judgment module to service
Device is transmitted across the rich media file to be transmitted;If being transmitted across the rich media file to be transmitted, only by rich media file to be transmitted
Beacon information be sent to server, then beacon information is sent to receiving end by server, receiving end is stored up from self EMS memory
The rich media file to match with beacon information is obtained in rich media file, receiving end does not need to obtain from server to be transmitted
Therefore rich media file can save Internet resources needed for receiving end obtains rich media file to be transmitted.Moreover, from local
The speed for obtaining rich media file is significantly larger than the speed that rich media file is obtained from server, therefore, using this method energy
Enough improve the speed that receiving end obtains rich media file to be transmitted.In addition, when transmitting terminal determine to server be transmitted across it is described to
After transmitting rich media file, beacon information only is sent to server, therefore, receiving end and server all do not need be locally stored
Duplicate rich media file reduces the pressure of receiving end and server storage rich media file.
Fig. 8 is a kind of block diagram of judgment module 120 shown according to an exemplary embodiment, as shown in figure 8, the judgement
Module includes: that the first inquiry submodule 1210, first determines that submodule 1211 and second determines submodule 1212.
First inquiry submodule 1210 is configured as, and inquiring whether there is and institute into the rich media file that server is sent
State the rich media file that the identification marking of rich media file to be transmitted matches.
First determines that submodule 1211 is configured as, when there is the rich media file to match with the identification marking,
It determines to the server and is transmitted across the rich media file to be transmitted.
Second determines that submodule 1212 is configured as, when there is no the rich media files to match with the identification marking
When, determination is not transmitted across the rich media file to be transmitted to the server.
Judgment module provided in this embodiment determines whether server by the identification marking of rich media file to be transmitted
It is transmitted across the rich media file to be transmitted, identification marking is usually made of a series of character, compares identification marking needs
Time is very short, therefore, can judge whether the speed that the rich media file to be transmitted is transmitted across to server with raising.
Fig. 9 is another block diagram of judgment module 120 shown according to an exemplary embodiment, as shown in figure 9, described sentence
Disconnected module includes: that the first acquisition submodule 1220, second inquires submodule 1221, third determines submodule 1222 and the 4th determines
Submodule 1223.
First acquisition submodule 1220 is configured as, and obtains the file content of the rich media file to be transmitted.
Second inquiry submodule 1221 is configured as, inquire to server send rich media file in whether include and institute
State the rich media file that the file content of rich media file to be transmitted matches.
Third determines that submodule 1222 is configured as, when in the presence of the file content phase with the rich media file to be transmitted
When the rich media file matched, determines to the server and be transmitted across the rich media file to be transmitted.
4th determines that submodule 1223 is configured as, when there is no the file content phases with the rich media file to be transmitted
When matched rich media file, determination is not transmitted across the rich media file to be transmitted to the server.
Judgment module provided in this embodiment determines whether that server is transmitted across according to the file content of rich media file
The rich media file to be transmitted, judge to server send rich media file in whether include and rich media file to be transmitted
The rich media file that matches of file content, be transmitted across the rich media file to be transmitted if it does, determining to server.
File content can more accurately characterize rich media file, and therefore, this method can be improved the accuracy rate of deterministic process.
Figure 10 is the block diagram for obtaining module 110 shown according to an exemplary embodiment, as shown in Figure 10, described to obtain
Modulus block includes: the second acquisition submodule 111, third acquisition submodule 112 and the 4th acquisition submodule 113.
Second acquisition submodule 111 is configured as, and obtains the original rich media file that user chooses.
Third acquisition submodule 112 is configured as, and obtains shot operation instruction, and the shot operation instruction is examined by transmitting terminal
Generation when measuring the shot operation of user, the shot operation instruction carry interception coordinate.
4th acquisition submodule 113 is configured as, and the interception coordinate pair is intercepted from the original rich media file and is answered
Rich media file, obtain the rich media file to be transmitted, the beacon information includes the identification marking and the interception
Coordinate.
Figure 11 is the block diagram of another rich media file transmitting device shown according to an exemplary embodiment, which answers
For in server, as shown in figure 11, described device to include: receiving module 210, judgment module 220, obtains module 230 and hair
Send module 240.
Receiving module 210 is configured as, and receives the information for the rich media file to be transmitted that transmitting terminal is sent.
Judgment module 220 is configured as, and according to the information of the rich media file to be transmitted received, judges server
In whether be stored with the rich media file to be transmitted.
Module 230 is obtained to be configured as, when determine the rich media file to be transmitted has been locally stored when, obtain it is described to
Transmit the beacon information of rich media file.
In an exemplary embodiment of the present disclosure, the rich media file to be transmitted is that the part of original rich media file is cut
Figure, then the acquisition module 230 is used for:
The mark of the rich media file to be transmitted is extracted from the information of the rich media file to be transmitted received
Information, the beacon information include the identification marking and interception coordinate of the rich media file to be transmitted;The interception coordinate by
Transmitting terminal is obtained from the shot operation instruction of the carrying interception coordinate detected.
Sending module 240 is configured as, and transmits the beacon information to receiving end, so that the receiving end is stored from itself
Rich media file in obtain the target rich media file to match with the beacon information.
Rich media file transmitting device provided in this embodiment judges transmission whether is stored in server by judgment module
The rich media file to be transmitted sent is held, if storing available for transmission rich media file in server, server only will be to be passed
The beacon information of defeated rich media file is transferred to receiving end, receiving end searched from receiving end according to the beacon information with it is to be passed
The identical target rich media file of defeated rich media file can save receiving end and obtain Rich Media without transmitting rich media file
Internet resources needed for file.Resourceful due to server, operational capability is obviously stronger than intelligent terminal, can be improved judgement
Whether server stores the speed of available for transmission rich media file.
Figure 12 is a kind of block diagram of judgment module 220 shown according to an exemplary embodiment, in the present embodiment, it is described to
The information for transmitting rich media file includes at least the identification marking of the rich media file to be transmitted.
As shown in figure 12, the judgment module 220 includes that the first inquiry submodule 2210, first determines 2211 and of submodule
Second determines submodule 2212.
First inquiry submodule 2210 is configured as, inquire in the rich media file being locally stored with the presence or absence of with it is described to
The rich media file that the identification marking of transmission rich media file matches.
First determines that submodule 2211 is configured as, when there is the rich media file to match with the identification marking,
The rich media file to be transmitted has been locally stored in determination.
Second determines that submodule 2212 is configured as, when there is no the rich media files to match with the identification marking
When, determination is locally not stored the rich media file to be transmitted.
Judgment module provided in this embodiment determines whether server by the identification marking of rich media file to be transmitted
It is transmitted across the rich media file to be transmitted, identification marking is usually made of a series of character, compares identification marking needs
Time is very short, therefore, can judge whether the speed that the rich media file to be transmitted is transmitted across to server with raising.
Figure 13 is another block diagram of judgment module 220 shown according to an exemplary embodiment, described in the present embodiment
The information of rich media file to be transmitted includes the rich media file to be transmitted itself.As shown in figure 13, the judgment module 220
It may include: that the first acquisition submodule 2220, second inquires submodule 2221, third determines submodule 2222 and the 4th determines son
Module 2223.
First acquisition submodule 2220 is configured as, and obtains the file content of the rich media file to be transmitted.
Second inquiry submodule 2221 is configured as, inquire in the rich media file being locally stored whether comprising with it is described to
The rich media file that the file content of transmission rich media file matches.
Third determines that submodule 2222 is configured as, when in the presence of the file content phase with the rich media file to be transmitted
The rich media file to be transmitted has been locally stored in the rich media file matched, determination.
4th determines that submodule 2223 is configured as, and there is no the file content phases with the rich media file to be transmitted
The rich media file matched, determination is locally not stored the rich media file to be transmitted.
Judgment module provided in this embodiment determines whether that server is transmitted across according to the file content of rich media file
The rich media file to be transmitted, judge to server send rich media file in whether include and rich media file to be transmitted
The rich media file that matches of file content, be transmitted across the rich media file to be transmitted if it does, determining to server.
File content can more accurately characterize rich media file, and therefore, this method can be improved the accuracy rate of deterministic process.
Figure 14 is the block diagram of another rich media file transmitting device shown according to an exemplary embodiment, which answers
For receiving end, as shown in figure 14, described device includes: receiving module 310, judgment module 320 and acquisition module 330.
Receiving module 310 is configured as, and receives the beacon information for the rich media file to be transmitted that server is sent, the mark
Show that information includes at least the identification marking of the rich media file to be transmitted.
Judgment module 320 is configured as, and judges whether receiving end is stored with the Rich Media to match with the identification marking
File.
It obtains module 330 to be configured as, when determining that receiving end is stored with the Rich Media's text to match with the identification marking
When part, target rich media file identical with the rich media file to be transmitted is obtained using the beacon information.
In an exemplary embodiment of the present disclosure, the acquisition module includes: extracting sub-module and acquisition submodule.
The extracting sub-module is configured as, and the interception of the rich media file to be transmitted is extracted from the beacon information
Coordinate.
The acquisition submodule is configured as, the rich media file to match with the identification marking stored from receiving end
In, the rich media file in the interception coordinate range is obtained, the target rich media file is obtained.
Rich media file transmitting device provided in this embodiment, receiving end receive the Rich Media to be transmitted text that server is sent
The beacon information of part utilizes the mark after receiving end determines, and the identification marking with rich media file to be transmitted is locally stored
Show the target rich media file that acquisition of information and the rich media file to be transmitted match, described in obtaining from server
Rich media file to be transmitted, so as to save the Internet resources of receiving end.Moreover, improving receiving end obtains Rich Media to be transmitted
The speed of file.In addition, therefore receiving end, can reduce the storage pressure of receiving end without storing duplicate rich media file.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Figure 15 is a kind of frame of device 800 for rich media file transmission method shown according to an exemplary embodiment
Figure.For example, device 800 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console put down
Panel device, Medical Devices, body-building equipment, personal digital assistant etc..
As shown in figure 15, device 800 may include following one or more components: processing component 802, memory 804, electricity
Source component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, with
And communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system
System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device executes, so that terminal device is able to carry out a kind of rich media file transmission method, which comprises
Rich media file to be transmitted is obtained, the rich media file to be transmitted at least carries beacon information, the mark letter
Breath includes at least the identification marking of the rich media file to be transmitted;
Judge whether to be transmitted across the rich media file to be transmitted to server;
When determination is transmitted across the rich media file to be transmitted to server, believe to being indicated described in the server transport
Breath, so that the beacon information is sent to receiving end by the server, and the rich matchmaker for storing the receiving end from itself
The target rich media file to match with the beacon information is obtained in body file.
On the other hand, another non-transitorycomputer readable storage medium is provided, the finger in the storage medium
When enabling the processor execution by mobile terminal, so that terminal device is able to carry out a kind of rich media file transmission method, the side
Method includes:
Receive the beacon information for the rich media file to be transmitted that server is sent, the beacon information include at least it is described to
Transmit the identification marking of rich media file;
When the rich media file to match with the identification marking is locally stored in determination, obtained using the beacon information
Take target rich media file identical with the rich media file to be transmitted.
Figure 16 is a kind of device 1900 for rich media file transmission method shown according to an exemplary embodiment
Block diagram.For example, device 1900 may be provided as a server.As shown in figure 16, device 1900 includes processing component 1922,
It further comprise one or more processors and memory resource represented by a memory 1932, it can be by for storing
Manage the instruction of the execution of component 1922, such as application program.The application program stored in memory 1932 may include one or
It is more than one each correspond to one group of instruction module.In addition, processing component 1922 is configured as executing instruction, to execute
Following methods:
Receive the information for the rich media file to be transmitted that transmitting terminal is sent;
According to the information of the rich media file to be transmitted received, judge locally whether be stored with the richness to be transmitted
Media file;
When the rich media file to be transmitted has been locally stored in determination, the mark of the rich media file to be transmitted is obtained
Information;
Transmit the beacon information to receiving end so that the receiving end obtained from the rich media file that itself store and
The target rich media file that the beacon information matches.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one
Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface
1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (17)
1. a kind of rich media file transmission method is applied to transmitting terminal characterized by comprising
Rich media file to be transmitted is obtained, the rich media file to be transmitted at least carries beacon information, and the beacon information is extremely
It less include the identification marking of the rich media file to be transmitted;
Judge whether to be transmitted across the rich media file to be transmitted to server;
When determine be transmitted across the rich media file to be transmitted to server when, to beacon information described in the server transport,
So that the beacon information is sent to receiving end by the server, and make the receiving end from the Rich Media's text itself stored
The target rich media file to match with the beacon information is obtained in part;
It is described to obtain rich media file to be transmitted, comprising:
Obtain the original rich media file that user chooses;
Shot operation instruction is obtained, generation when the shot operation instruction is detected the shot operation of user by transmitting terminal is described
Shot operation instruction carries interception coordinate;
The corresponding rich media file of the interception coordinate is intercepted from the original rich media file, obtains the rich matchmaker to be transmitted
Body file, the beacon information include the identification marking and the interception coordinate.
2. the method according to claim 1, wherein it is described judge whether to be transmitted across to server it is described to be transmitted
Rich media file, comprising:
It inquires into the rich media file that server is sent with the presence or absence of the identification marking phase with the rich media file to be transmitted
Matched rich media file;
If there is the rich media file to match with the identification marking, determination is transmitted across described to be transmitted to the server
Rich media file;
If there is no the rich media file to match with the identification marking, determine not to the server be transmitted across it is described to
Transmit rich media file.
3. the method according to claim 1, wherein it is described judge whether to be transmitted across to server it is described to be transmitted
Rich media file, comprising:
Obtain the file content of the rich media file to be transmitted;
It whether inquires into the rich media file that server is sent comprising the file content phase with the rich media file to be transmitted
Matched rich media file;
If there is the rich media file that the file content with the rich media file to be transmitted matches, determine to the service
Device is transmitted across the rich media file to be transmitted;
If there is no the rich media file that the file content with the rich media file to be transmitted matches, determine not to described
Server is transmitted across the rich media file to be transmitted.
4. a kind of rich media file transmission method is applied in server characterized by comprising
Receive the information for the rich media file to be transmitted that transmitting terminal is sent;
According to the information of the rich media file to be transmitted received, judge locally whether be stored with the Rich Media to be transmitted
File;
When the rich media file to be transmitted has been locally stored in determination, the mark letter of the rich media file to be transmitted is obtained
Breath;
Transmit the beacon information to receiving end so that the receiving end obtained from the rich media file that itself is stored with it is described
The target rich media file that beacon information matches;
The rich media file to be transmitted is the local screenshot of original rich media file, then described to work as described in determining be locally stored
Rich media file to be transmitted obtains the beacon information of the rich media file to be transmitted, comprising:
The beacon information of the rich media file to be transmitted is extracted from the information of the rich media file to be transmitted received,
The beacon information includes the identification marking and interception coordinate of the rich media file to be transmitted;The interception coordinate is by transmitting terminal
It is obtained from the shot operation instruction of the carrying interception coordinate detected.
5. according to the method described in claim 4, it is characterized in that, the information of the rich media file to be transmitted includes at least institute
State the identification marking of rich media file to be transmitted;
The information for the rich media file to be transmitted that the basis receives judges locally whether be stored with the richness to be transmitted
Media file, comprising:
It inquires in the rich media file being locally stored and matches with the presence or absence of the identification marking with the rich media file to be transmitted
Rich media file;
If there is the rich media file to match with the identification marking, determines and Rich Media's text to be transmitted has been locally stored
Part;
If there is no the rich media file to match with the identification marking, determination is locally not stored the rich matchmaker to be transmitted
Body file.
6. according to the method described in claim 4, it is characterized in that, the information of the rich media file to be transmitted include it is described to
Transmit rich media file itself;
The information for the rich media file to be transmitted that the basis receives judges locally whether be stored with the richness to be transmitted
Media file, comprising:
Obtain the file content of the rich media file to be transmitted;
It inquires in the rich media file being locally stored and whether matches comprising the file content with the rich media file to be transmitted
Rich media file;
If there is the rich media file that the file content with the rich media file to be transmitted matches, determination has been locally stored
The rich media file to be transmitted;
If there is no the rich media file that the file content with the rich media file to be transmitted matches, determines and do not deposit locally
Contain the rich media file to be transmitted.
7. a kind of rich media file transmission method is applied to receiving end characterized by comprising
The beacon information for the rich media file to be transmitted that server is sent is received, the beacon information includes at least described to be transmitted
The identification marking of rich media file;
When determine the rich media file to match with the identification marking is locally stored when, using the beacon information obtain with
The identical target rich media file of the rich media file to be transmitted;
It is described that target rich media file identical with the rich media file to be transmitted is obtained according to the beacon information, comprising:
The interception coordinate of the rich media file to be transmitted is extracted from the beacon information;
From the rich media file to match with the identification marking being locally stored, the richness in the interception coordinate range is obtained
Media file obtains the target rich media file.
8. a kind of rich media file transmitting device is applied to transmitting terminal characterized by comprising
Module is obtained, for obtaining rich media file to be transmitted, the rich media file to be transmitted at least carries beacon information, institute
State the identification marking that beacon information includes at least the rich media file to be transmitted;
Judgment module is transmitted across the rich media file to be transmitted to server for judging whether;
Sending module, for when determine be transmitted across the rich media file to be transmitted to server when, to the server transport
The beacon information so that the beacon information is sent to receiving end by the server, and make the receiving end from itself
The target rich media file to match with the beacon information is obtained in the rich media file of storage;
The acquisition module includes:
Second acquisition submodule, for obtaining the original rich media file of user's selection;
Third acquisition submodule, for obtaining shot operation instruction, the shot operation instruction detects user's by transmitting terminal
It is generated when shot operation, the shot operation instruction carries interception coordinate;
4th acquisition submodule, for intercepting the corresponding Rich Media's text of the interception coordinate from the original rich media file
Part, obtains the rich media file to be transmitted, and the beacon information includes the identification marking and the interception coordinate.
9. device according to claim 8, which is characterized in that the judgment module includes:
First inquiry submodule whether there is and the rich matchmaker to be transmitted for inquiring in the rich media file sent to server
The rich media file that the identification marking of body file matches;
First determines submodule, for determining to the clothes when there is the rich media file to match with the identification marking
Business device is transmitted across the rich media file to be transmitted;
Second determines submodule, for determining not to institute when there is no the rich media file to match with the identification marking
It states server and is transmitted across the rich media file to be transmitted.
10. device according to claim 8, which is characterized in that the judgment module includes:
First acquisition submodule, for obtaining the file content of the rich media file to be transmitted;
Second inquiry submodule, for inquire to server send rich media file in whether include and it is described it is to be transmitted richness matchmaker
The rich media file that the file content of body file matches;
Third determines submodule, for literary when there is the Rich Media to match with the file content of the rich media file to be transmitted
When part, determines to the server and be transmitted across the rich media file to be transmitted;
4th determines submodule, for when there is no the Rich Medias that the file content with the rich media file to be transmitted matches
When file, determination is not transmitted across the rich media file to be transmitted to the server.
11. a kind of rich media file transmitting device is applied in server characterized by comprising
Receiving module, the information of the rich media file to be transmitted for receiving transmitting terminal transmission;
Judgment module judges whether store in server for the information according to the rich media file to be transmitted received
There is the rich media file to be transmitted;
Module is obtained, for obtaining the Rich Media to be transmitted when the rich media file to be transmitted has been locally stored in determination
The beacon information of file;
Sending module, for transmitting the beacon information to receiving end, so that the receiving end is literary from the Rich Media itself stored
The target rich media file to match with the beacon information is obtained in part;
The rich media file to be transmitted is the local screenshot of original rich media file, then the acquisition module is used for:
The beacon information of the rich media file to be transmitted is extracted from the information of the rich media file to be transmitted received,
The beacon information includes the identification marking and interception coordinate of the rich media file to be transmitted;The interception coordinate is by transmitting terminal
It is obtained from the shot operation instruction of the carrying interception coordinate detected.
12. device according to claim 11, which is characterized in that the information of the rich media file to be transmitted includes at least
The identification marking of the rich media file to be transmitted;The judgment module includes:
First inquiry submodule, for inquiring in the rich media file being locally stored with the presence or absence of literary with the Rich Media to be transmitted
The rich media file that the identification marking of part matches;
First determines submodule, for when there is the rich media file to match with the identification marking, determination to be locally stored
There is the rich media file to be transmitted;
Second determines submodule, for determining locally not when there is no the rich media file to match with the identification marking
It is stored with the rich media file to be transmitted.
13. device according to claim 11, which is characterized in that the information of the rich media file to be transmitted includes described
Rich media file to be transmitted itself;The judgment module includes:
First acquisition submodule, for obtaining the file content of the rich media file to be transmitted;
Second inquiry submodule, for whether inquiring in the rich media file being locally stored comprising literary with the Rich Media to be transmitted
The rich media file that the file content of part matches;
Third determines submodule, for literary when there is the Rich Media to match with the file content of the rich media file to be transmitted
The rich media file to be transmitted has been locally stored in part, determination;
4th determines submodule, Rich Media's text for matching there is no the file content with the rich media file to be transmitted
Part, determination is locally not stored the rich media file to be transmitted.
14. a kind of rich media file transmitting device is applied to receiving end characterized by comprising
Receiving module, the beacon information of the rich media file to be transmitted for receiving server transmission, the beacon information is at least
Identification marking comprising the rich media file to be transmitted;
Judgment module, for judging whether receiving end is stored with the rich media file to match with the identification marking;
Module is obtained, for utilizing institute when determining that receiving end is stored with the rich media file to match with the identification marking
It states beacon information and obtains target rich media file identical with the rich media file to be transmitted;
The acquisition module includes:
Extracting sub-module, for extracting the interception coordinate of the rich media file to be transmitted from the beacon information;
Acquisition submodule, in the rich media file to match with the identification marking for being stored from receiving end, described in acquisition
The rich media file in coordinate range is intercepted, the target rich media file is obtained.
15. a kind of terminal device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Rich media file to be transmitted is obtained, the rich media file to be transmitted at least carries beacon information, and the beacon information is extremely
It less include the identification marking of the rich media file to be transmitted;
Judge whether to be transmitted across the rich media file to be transmitted to server;
When determine be transmitted across the rich media file to be transmitted to server when, to beacon information described in the server transport,
So that the beacon information is sent to receiving end by the server, and make the receiving end from the Rich Media's text itself stored
The target rich media file to match with the beacon information is obtained in part;
It is described to obtain rich media file to be transmitted, comprising:
Obtain the original rich media file that user chooses;
Shot operation instruction is obtained, generation when the shot operation instruction is detected the shot operation of user by transmitting terminal is described
Shot operation instruction carries interception coordinate;
The corresponding rich media file of the interception coordinate is intercepted from the original rich media file, obtains the rich matchmaker to be transmitted
Body file, the beacon information include the identification marking and the interception coordinate.
16. a kind of server characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the information for the rich media file to be transmitted that transmitting terminal is sent;
According to the information of the rich media file to be transmitted received, judge locally whether be stored with the Rich Media to be transmitted
File;
When the rich media file to be transmitted has been locally stored in determination, the mark letter of the rich media file to be transmitted is obtained
Breath;
Transmit the beacon information to receiving end so that the receiving end obtained from the rich media file that itself is stored with it is described
The target rich media file that beacon information matches;
The rich media file to be transmitted is the local screenshot of original rich media file, then described to work as described in determining be locally stored
Rich media file to be transmitted obtains the beacon information of the rich media file to be transmitted, comprising:
The beacon information of the rich media file to be transmitted is extracted from the information of the rich media file to be transmitted received,
The beacon information includes the identification marking and interception coordinate of the rich media file to be transmitted;The interception coordinate is by transmitting terminal
It is obtained from the shot operation instruction of the carrying interception coordinate detected.
17. a kind of terminal device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The beacon information for the rich media file to be transmitted that server is sent is received, the beacon information includes at least described to be transmitted
The identification marking of rich media file;
When determine the rich media file to match with the identification marking is locally stored when, using the beacon information obtain with
The identical target rich media file of the rich media file to be transmitted;
It is described that target rich media file identical with the rich media file to be transmitted is obtained according to the beacon information, comprising:
The interception coordinate of the rich media file to be transmitted is extracted from the beacon information;
From the rich media file to match with the identification marking being locally stored, the richness in the interception coordinate range is obtained
Media file obtains the target rich media file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510147772.2A CN104883385B (en) | 2015-03-31 | 2015-03-31 | Rich media file transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510147772.2A CN104883385B (en) | 2015-03-31 | 2015-03-31 | Rich media file transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104883385A CN104883385A (en) | 2015-09-02 |
CN104883385B true CN104883385B (en) | 2019-02-12 |
Family
ID=53950718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510147772.2A Active CN104883385B (en) | 2015-03-31 | 2015-03-31 | Rich media file transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104883385B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101843B (en) * | 2016-06-06 | 2019-06-07 | 腾讯科技(北京)有限公司 | The methods of exhibiting and device of rich media file |
CN107547352A (en) * | 2016-06-24 | 2018-01-05 | 腾讯科技(深圳)有限公司 | Document sending method, apparatus and system |
CN109309651B (en) * | 2017-07-28 | 2021-12-28 | 斑马智行网络(香港)有限公司 | File transmission method, device, equipment and storage medium |
CN112953983A (en) * | 2019-12-10 | 2021-06-11 | 中盈优创资讯科技有限公司 | SFTP transmission method and device |
CN114765908A (en) * | 2021-01-13 | 2022-07-19 | 京东方科技集团股份有限公司 | Client front-end device, Internet of things system, data transmission method and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350790A (en) * | 2007-07-19 | 2009-01-21 | 阿里巴巴集团控股有限公司 | Document transmission method and device base on instant communications system |
CN103457973A (en) * | 2012-06-01 | 2013-12-18 | 深圳市腾讯计算机系统有限公司 | Image uploading method and system, image uploading client terminal and network server |
CN104009979A (en) * | 2014-05-12 | 2014-08-27 | 刘喆 | Method for data transmission |
CN104281475A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Data downloading method |
-
2015
- 2015-03-31 CN CN201510147772.2A patent/CN104883385B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101350790A (en) * | 2007-07-19 | 2009-01-21 | 阿里巴巴集团控股有限公司 | Document transmission method and device base on instant communications system |
CN103457973A (en) * | 2012-06-01 | 2013-12-18 | 深圳市腾讯计算机系统有限公司 | Image uploading method and system, image uploading client terminal and network server |
CN104009979A (en) * | 2014-05-12 | 2014-08-27 | 刘喆 | Method for data transmission |
CN104281475A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Data downloading method |
Also Published As
Publication number | Publication date |
---|---|
CN104883385A (en) | 2015-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104079473B (en) | information issuing method and device | |
CN104883385B (en) | Rich media file transmission method and device | |
CN105163366B (en) | Wireless network connecting method and device | |
CN106028166A (en) | Method and device for switching live broadcasting rooms in live broadcasting process | |
CN104837154B (en) | The control method and device of wireless access points | |
CN105517112A (en) | Method and device for displaying WiFi network information | |
CN104301308B (en) | Call control method and device | |
CN104270727A (en) | Information transmission method and device | |
CN105847111A (en) | Method and device for adding friend | |
CN106096009A (en) | Method for generating message and device | |
CN110020145A (en) | A kind of information recommendation method and device | |
CN106375178A (en) | Message display method and device based on instant messaging | |
CN105550343B (en) | Two dimensional code processing method and processing device | |
CN110249655A (en) | Error reason report method and device | |
CN104168356B (en) | The method of process communications identification and device | |
CN106027361B (en) | Information display method and device | |
CN105721283B (en) | Method, device and equipment for sending screenshot message | |
CN105491518A (en) | Method and device for social reminding based on wearable devices | |
CN108476520A (en) | Data transmission method, device and computer readable storage medium | |
CN104869562A (en) | Information transmission method, device and system | |
CN106130908B (en) | Message transmitting method and device, intelligent terminal | |
CN105634928B (en) | Social based reminding method and device based on wearable device | |
CN105704174A (en) | Information prompting method and device | |
CN105451321B (en) | Promote the method, device and equipment of WIFI signal intensity | |
CN106255117B (en) | Pseudo-base station recognition methods and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |