CN104883385A - Rich media file transmission method and apparatus - Google Patents

Rich media file transmission method and apparatus Download PDF

Info

Publication number
CN104883385A
CN104883385A CN201510147772.2A CN201510147772A CN104883385A CN 104883385 A CN104883385 A CN 104883385A CN 201510147772 A CN201510147772 A CN 201510147772A CN 104883385 A CN104883385 A CN 104883385A
Authority
CN
China
Prior art keywords
media file
rich media
transmitted
server
beacon information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510147772.2A
Other languages
Chinese (zh)
Other versions
CN104883385B (en
Inventor
韩博颖
翁海斌
赵永辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510147772.2A priority Critical patent/CN104883385B/en
Publication of CN104883385A publication Critical patent/CN104883385A/en
Application granted granted Critical
Publication of CN104883385B publication Critical patent/CN104883385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

An embodiment of the disclosure discloses a rich media file transmission method and apparatus. When a rich media file is transmitted between two terminals, a transmitting end obtains the rich media file to be transmitted and then determines whether the rich media file to be transmitted has been transmitted to a server; and if so, the transmitting end only transmits marking information of the rich media file to be transmitted to the server, then the server transmits the marking information to a receiving end, the receiving end is not required to obtain the rich media file to be transmitted from the server, and thus, the network resources required for the receiving end to obtain the rich media file to be transmitted can be saved. In addition, the speed to obtain the rich media file from the local is far higher than the speed to obtain the rich media file from the server. Therefore, the method can be used for increasing the speed for the receiving end to obtain the rich media file.

Description

Rich media file transmission method and device
Technical field
The disclosure relates to field of computer technology, particularly relates to a kind of rich media file transmission method and device.
Background technology
Along with electronics technology develops rapidly, the application of intelligent terminal is more and more general, and the MSN being applicable to intelligent terminal arises at the historic moment, and such as, rice is chatted.
User can utilize MSN to exchange with friend, and such as, user can send the rich media files such as voice, picture, video to friend.If the rich media file that transmit leg sends is that recipient is once from the file received, under this kind of scene, recipient repeats to receive the dispense pressure that rich media file adds the bandwidth resources of server, meanwhile, also reduces the speed that recipient reads described rich media file.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of rich media file transmission method and device.
In order to solve the problems of the technologies described above, disclosure embodiment discloses following technical scheme:
According to the first aspect of disclosure embodiment, a kind of rich media file transmission method is provided, comprises:
Obtain rich media file to be transmitted, described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge whether to send described rich media file to be transmitted to server;
When determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
In conjunction with first aspect, in the first possible implementation of first aspect, described in judge whether to send described rich media file to be transmitted to server, comprising:
Inquire about in the rich media file sent to server and whether there is the rich media file matched with the identification marking of described rich media file to be transmitted;
If there is the rich media file matched with described identification marking, determine to send described rich media file to be transmitted to described server;
If there is no the rich media file matched with described identification marking, determines not send described rich media file to be transmitted to described server.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described in judge whether to send described rich media file to be transmitted to server, comprising:
Obtain the file content of described rich media file to be transmitted;
Inquire about in the rich media file sent to server and whether comprise the rich media file matched with the file content of described rich media file to be transmitted;
If there is the rich media file matched with the file content of described rich media file to be transmitted, determine to send described rich media file to be transmitted to described server;
If there is no the rich media file matched with the file content of described rich media file to be transmitted, determines not send described rich media file to be transmitted to described server.
In conjunction with first aspect, in the third possible implementation of first aspect, described acquisition rich media file to be transmitted, comprising:
Obtain the original rich media file that user chooses;
Obtain shot operation instruction, produce described shot operation instruction is detected the shot operation of user during by transmitting terminal, intercepting coordinate is carried in described shot operation instruction;
From described original rich media file, intercept rich media file corresponding to described intercepting coordinate, obtain described rich media file to be transmitted, described beacon information comprises described identification marking and described intercepting coordinate.
According to the second aspect of disclosure embodiment, a kind of rich media file transmission method is provided, is applied in server, comprises:
The information of the rich media file to be transmitted that receiving end/sending end sends;
According to the information of the rich media file described to be transmitted received, judge whether this locality stores described rich media file to be transmitted;
When determining that this locality stores described rich media file to be transmitted, obtain the beacon information of described rich media file to be transmitted;
Transmit described beacon information to receiving terminal, from the rich media file self stored, obtain to make described receiving terminal the target rich media file matched with described beacon information.
In conjunction with second aspect, in the first possible implementation of second aspect, the information of described rich media file to be transmitted at least comprises the identification marking of described rich media file to be transmitted;
The information of the rich media file described to be transmitted that described basis receives, judges whether this locality stores described rich media file to be transmitted, comprising:
The rich media file matched with the identification marking of described rich media file to be transmitted whether is there is in the local rich media file stored of inquiry;
If there is the rich media file matched with described identification marking, determine that this locality stores described rich media file to be transmitted;
If there is no the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, the information of described rich media file to be transmitted comprises described rich media file to be transmitted self;
The information of the rich media file described to be transmitted that described basis receives, judges whether this locality stores described rich media file to be transmitted, comprising:
Obtain the file content of described rich media file to be transmitted;
The rich media file matched with the file content of described rich media file to be transmitted whether is comprised in the local rich media file stored of inquiry;
If there is the rich media file matched with the file content of described rich media file to be transmitted, determine that this locality stores described rich media file to be transmitted;
If there is no the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted.
In conjunction with second aspect, in the third possible implementation of second aspect, described rich media file to be transmitted is the local sectional drawing of original rich media file, then described when determining that this locality stores described rich media file to be transmitted, obtain the beacon information of described rich media file to be transmitted, comprising:
From the information of the rich media file described to be transmitted received, extract the beacon information of described rich media file to be transmitted, described beacon information comprises the identification marking of described rich media file to be transmitted and intercepts coordinate; Described intercepting coordinate is obtained from carrying the shot operation instruction of described sectional drawing coordinate of detecting by transmitting terminal.
According to the third aspect of disclosure embodiment, a kind of rich media file transmission method is provided, is applied to receiving terminal, comprises:
The beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted;
When determining that this locality stores the rich media file matched with described identification marking, described beacon information is utilized to obtain the target rich media file identical with described rich media file to be transmitted.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the described target rich media file identical with described rich media file to be transmitted according to described beacon information acquisition, comprising:
The intercepting coordinate of described rich media file to be transmitted is extracted from described beacon information;
From the rich media file matched with described identification marking that this locality stores, obtain the rich media file in described intercepting coordinate range, obtain described target rich media file.
According to the fourth aspect of disclosure embodiment, a kind of rich media file transmitting device is provided, is applied to transmitting terminal, comprises:
Acquisition module, for obtaining rich media file to be transmitted, described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge module, sent described rich media file to be transmitted for judging whether to server;
Sending module, for when determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described judge module comprises:
Whether the first inquiry submodule, exist the rich media file matched with the identification marking of described rich media file to be transmitted for inquiring about in the rich media file of server transmission;
First determines submodule, for when there is the rich media file matched with described identification marking, determines to send described rich media file to be transmitted to described server;
Second determines submodule, for when there is not the rich media file matched with described identification marking, determines not send described rich media file to be transmitted to described server.
In conjunction with fourth aspect, in the implementation that the second of fourth aspect is possible, described judge module comprises:
First obtains submodule, for obtaining the file content of described rich media file to be transmitted;
Whether the second inquiry submodule, comprise the rich media file matched with the file content of described rich media file to be transmitted for inquiring about in the rich media file of server transmission;
3rd determines submodule, for when there is the rich media file matched with the file content of described rich media file to be transmitted, determines to send described rich media file to be transmitted to described server;
4th determines submodule, for when there is not the rich media file matched with the file content of described rich media file to be transmitted, determines not send described rich media file to be transmitted to described server.
In conjunction with fourth aspect, in the third possible implementation of fourth aspect, described acquisition module comprises:
Second obtains submodule, for obtaining the original rich media file that user chooses;
3rd obtains submodule, and for obtaining shot operation instruction, produce described shot operation instruction is detected the shot operation of user during by transmitting terminal, intercepting coordinate is carried in described shot operation instruction;
4th obtains submodule, and for intercepting rich media file corresponding to described intercepting coordinate from described original rich media file, obtain described rich media file to be transmitted, described beacon information comprises described identification marking and described intercepting coordinate.
According to the 5th aspect of disclosure embodiment, a kind of rich media file transmitting device is provided, is applied in server, comprises:
Receiver module, for the information of the rich media file to be transmitted that receiving end/sending end sends;
Judge module, for the information according to the rich media file described to be transmitted received, judges whether store described rich media file to be transmitted in server;
Acquisition module, for when determining that this locality stores described rich media file to be transmitted, obtains the beacon information of described rich media file to be transmitted;
Sending module, for transmitting described beacon information to receiving terminal, obtains to make described receiving terminal the target rich media file matched with described beacon information from the rich media file self stored.
In conjunction with the 5th aspect, in the first the possible implementation in the 5th, the information of described rich media file to be transmitted at least comprises the identification marking of described rich media file to be transmitted; Described judge module comprises:
First inquiry submodule, for inquiring about in the local rich media file stored whether there is the rich media file matched with the identification marking of described rich media file to be transmitted;
First determines submodule, for when there is the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted;
Second determines submodule, for when there is not the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted.
In conjunction with the 5th aspect, in the implementation that the second in the 5th is possible, the information of described rich media file to be transmitted comprises described rich media file to be transmitted self; Described judge module comprises:
First obtains submodule, for obtaining the file content of described rich media file to be transmitted;
Second inquiry submodule, for inquiring about in the local rich media file stored whether comprise the rich media file matched with the file content of described rich media file to be transmitted;
3rd determines submodule, for when there is the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted;
4th determines submodule, for there is not the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted.
In conjunction with the 5th aspect, in the third the possible implementation in the 5th, described rich media file to be transmitted is the local sectional drawing of original rich media file, then described acquisition module is used for:
From the information of the rich media file described to be transmitted received, extract the beacon information of described rich media file to be transmitted, described beacon information comprises the identification marking of described rich media file to be transmitted and intercepts coordinate; Described intercepting coordinate is obtained from carrying the shot operation instruction of described sectional drawing coordinate of detecting by transmitting terminal.
According to the 6th aspect of disclosure embodiment, a kind of rich media file transmitting device is provided, is applied to receiving terminal, comprises:
Receiver module, for the beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge module, for judging whether receiving terminal stores the rich media file matched with described identification marking;
Acquisition module, for when determining that receiving terminal stores the rich media file matched with described identification marking, utilizes described beacon information to obtain the target rich media file identical with described rich media file to be transmitted.
In conjunction with the 6th aspect, in the first the possible implementation in the 6th, described acquisition module comprises:
Extract submodule, for extracting the intercepting coordinate of described rich media file to be transmitted from described beacon information;
Obtain submodule, in the rich media file matched with described identification marking that stores from receiving terminal, obtain the rich media file in described intercepting coordinate range, obtain described target rich media file.
According to the 7th aspect of disclosure embodiment, a kind of terminal equipment is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain rich media file to be transmitted, described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge whether to send described rich media file to be transmitted to server;
When determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
According to the eighth aspect of disclosure embodiment, a kind of server is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The information of the rich media file to be transmitted that receiving end/sending end sends;
According to the information of the rich media file described to be transmitted received, judge whether this locality stores described rich media file to be transmitted;
When determining that this locality stores described rich media file to be transmitted, obtain the beacon information of described rich media file to be transmitted;
Transmit described beacon information to receiving terminal, from the rich media file self stored, obtain to make described receiving terminal the target rich media file matched with described beacon information.
According to the 9th aspect of disclosure embodiment, a kind of terminal equipment is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted;
When determining that this locality stores the rich media file matched with described identification marking, described beacon information is utilized to obtain the target rich media file identical with described rich media file to be transmitted.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when transmitting rich media file between two terminals, after transmitting terminal obtains rich media file to be transmitted, first judges whether to send this rich media file to be transmitted to server; If sent this rich media file to be transmitted, then only the beacon information of rich media file to be transmitted is sent to server, by server, beacon information is sent to receiving terminal again, receiving terminal obtains the rich media file matched with beacon information from the rich media file that self EMS memory stores up, receiving terminal does not need to obtain rich media file to be transmitted from server, therefore, it is possible to saving receiving terminal obtains the Internet resources needed for rich media file to be transmitted.And, obtain the speed of rich media file from this locality far away higher than the speed obtaining rich media file from server, therefore, adopt this method can improve the speed that receiving terminal obtains rich media file to be transmitted.In addition, after transmitting terminal determines to send described rich media file to be transmitted to server, only send beacon information to server, therefore, receiving terminal and server do not need to store the rich media file repeated in this locality, reduce the pressure of receiving terminal and server stores rich media file.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the flow chart of a kind of rich media file transmission method according to an exemplary embodiment;
Fig. 2 is the method flow diagram of a kind of step S120 according to an exemplary embodiment;
Fig. 3 is the method flow diagram of the another kind of step S120 according to an exemplary embodiment;
Fig. 4 is the flow chart of a kind of rich media file transmission method according to an exemplary embodiment;
Fig. 5 is the flow chart of the another kind of rich media file transmission method according to an exemplary embodiment;
Fig. 6 is the flow chart of another the rich media file transmission method according to an exemplary embodiment;
Fig. 7 is the block diagram of a kind of rich media file transmitting device according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of the judge module 120 according to an exemplary embodiment;
Fig. 9 is the another kind of block diagram of the judge module 120 according to an exemplary embodiment;
Figure 10 is the block diagram of the described acquisition module 110 according to an exemplary embodiment;
Figure 11 is the block diagram of the another kind of rich media file transmitting device according to an exemplary embodiment;
Figure 12 is a kind of block diagram of the judge module 220 according to an exemplary embodiment;
Figure 13 is the another kind of block diagram of the judge module 220 according to an exemplary embodiment;
Figure 14 is the block diagram of another the rich media file transmitting device according to an exemplary embodiment;
Figure 15 is the block diagram of a kind of device 800 for rich media file transmission method according to an exemplary embodiment;
Figure 16 is the block diagram of a kind of device 1900 for rich media file transmission method according to an exemplary embodiment.
By above-mentioned accompanying drawing, illustrate the embodiment that the disclosure is clear and definite more detailed description will be had hereinafter.These accompanying drawings be not in order to limited by any mode the disclosure design scope, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of a kind of rich media file transmission method according to an exemplary embodiment, and the method is applied in transmitting terminal (that is, the intelligent terminal of transmitter side), as shown in Figure 1, said method comprising the steps of.
In step s 110, transmitting terminal obtains rich media file to be transmitted.Described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted.
After transmitting terminal detects the rich media file transmit operation of user, determine that the current rich media file chosen of user is rich media file to be transmitted.Described rich media file to be transmitted can be the file such as picture, video.Described rich media file to be transmitted can be the rich media file that transmitting terminal this locality stores, and also can be the rich media file stored in server.
The rich media file to be transmitted that transmitting terminal obtains carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted.
If rich media file is picture, described rich media file to be transmitted can be original image, also can be the local sectional drawing of original image, then comprise the intercepting coordinate of described rich media file to be transmitted in described beacon information.
In the step s 120, transmitting terminal judges whether to send described rich media file to be transmitted to server; If so, step S130 is performed; If not, step S140 is performed.
Rich media file has unique identification marking, (such as, file ID), and transmitting terminal can determine whether to send rich media file to be transmitted to server by the identification marking of rich media file; Transmitting terminal can also determine whether to send rich media file to be transmitted to server according to the file content of rich media file.
In step s 130, which, transmitting terminal is to the beacon information of the described rich media file to be transmitted of described server transmission.
The beacon information of the rich media file described to be transmitted received is sent to receiving terminal by server.Receiving terminal obtains the target rich media file matched with described beacon information from the rich media file self stored.
Described beacon information comprises and intercepts coordinate, temporal information, any one or multiple combination arbitrarily in file details, and wherein, file details can comprise the attribute information of file, such as, and the size, file size etc. of picture.Such as, rich media file to be transmitted is picture, and picture waiting for transmission is the local sectional drawing in the picture be once transmitted across, then described beacon information comprises intercepting coordinate, obtains picture waiting for transmission according to intercepting coordinate from original image.
The beacon information of rich media file to be transmitted is sent to server by transmitting terminal, described beacon information is sent to receiving terminal by server again, after receiving terminal receives described beacon information, first judge whether this locality stores the rich media file matched with the identification marking in beacon information; If there is the rich media file matched with identification marking, then utilize the out of Memory of beacon information, and with the rich media file that identification marking matches, obtain the target rich media file identical with rich media file to be transmitted.
In step S140, transmitting terminal sends described rich media file to be transmitted to described server.
If transmitting terminal is determined not send described rich media file to be transmitted to server, then transmitting terminal needs file to be transmitted to send to server, and file to be transmitted is sent to receiving terminal by server.
The rich media file transmission method that the present embodiment provides, when transmitting rich media file between two terminal equipments, after transmitting terminal obtains rich media file to be transmitted, first judges whether to send this rich media file to be transmitted to server; If sent this rich media file to be transmitted, then only the beacon information of rich media file to be transmitted is sent to server, by server, beacon information is sent to receiving terminal again, receiving terminal obtains the rich media file matched with beacon information from the rich media file that self EMS memory stores up, receiving terminal does not need to obtain rich media file to be transmitted from server, therefore, it is possible to saving receiving terminal obtains the Internet resources needed for rich media file to be transmitted.And, obtain the speed of rich media file from this locality far away higher than the speed obtaining rich media file from server, therefore, adopt this method can improve the speed that receiving terminal obtains rich media file to be transmitted.In addition, after transmitting terminal determines to send described rich media file to be transmitted to server, only send beacon information to server, therefore, receiving terminal and server do not need to store the rich media file repeated in this locality, reduce the pressure of receiving terminal and server stores rich media file.
Fig. 2 is the method flow diagram of a kind of step S120 according to an exemplary embodiment, and as shown in Figure 2, the method can comprise the following steps:
In step S1211, inquire about in the rich media file sent to server whether there is the rich media file matched with the identification marking of described rich media file to be transmitted; If so, step S1212 is performed; Otherwise, perform step S1213.
Identification marking is the unique identification of rich media file, carries corresponding identification marking in rich media file to be transmitted, transmitting terminal or can extract from rich media file to be transmitted and obtain identification marking.
In step S1212, determine to send described rich media file to be transmitted to described server.
In step S1213, determine not send described rich media file to be transmitted to described server.
The method that the present embodiment provides, determine whether to send described rich media file to be transmitted to server by the identification marking of rich media file to be transmitted, identification marking is made up of a series of character usually, the time that relative discern mark needs is very short, therefore, it is possible to judge whether with raising the speed sending described rich media file to be transmitted to server.
Fig. 3 is the method flow diagram of the another kind of step S120 according to an exemplary embodiment, and as shown in Figure 3, the method can comprise the following steps:
In step S1221, obtain the file content of described rich media file to be transmitted.If rich media file to be transmitted is picture, accordingly, the file content of picture is picture material.
In step S1222, inquire about in the rich media file sent to server whether comprise the rich media file matched with the file content of described rich media file to be transmitted; If existed, then perform step S1223; If there is no, then step S1224 is performed.
In step S1223, determine to send described rich media file to be transmitted to described server.
In step S1224, determine not send described rich media file to be transmitted to described server.
The method that the present embodiment provides, determine whether to send described rich media file to be transmitted to server according to the file content of rich media file, judge whether comprise the rich media file matched with the file content of rich media file to be transmitted in the rich media file sent to server, if existed, determine to send described rich media file to be transmitted to server.File content can characterize rich media file more accurately, and therefore, the method can improve the accuracy rate of deterministic process.
Fig. 4 is the flow chart of a kind of rich media file transmission method according to an exemplary embodiment, and the method is applied in rich media file transmission system, and described rich media file transmission system comprises transmitting terminal, server and receiving terminal.As shown in Figure 4, described method can comprise the following steps:
In step S210, transmitting terminal obtains the original rich media file that user chooses.
Rich media file to be transmitted.Described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted and the intercepting coordinate of described rich media file to be transmitted.
In step S220, transmitting terminal obtains shot operation instruction, and intercepting coordinate is carried in described shot operation instruction; Described shot operation instruction produces when the shot operation of user being detected by transmitting terminal.
In step S230, transmitting terminal intercepts rich media file corresponding to described intercepting coordinate from described original rich media file, obtains described rich media file to be transmitted.
In step S240, transmitting terminal judges whether to send described rich media file to be transmitted to server.If so, then step S250 is performed; If not, then step S290 is performed.
In step s 250, transmitting terminal is to the beacon information of the described rich media file to be transmitted of server transmission.Described beacon information comprises the identification marking of described rich media file to be transmitted and described intercepting coordinate.
In step S260, server sends described beacon information to receiving terminal.
In step S270, receiving terminal judges whether this locality stores the rich media file matched with described identification marking, if so, then performs step S280; If not, then step S2100 is performed.
In step S280, the rich media file matched with described identification marking that receiving terminal stores from this locality, obtain and the rich media file in described intercepting coordinate range, obtain target rich media file.
In step S290, transmitting terminal is to the described rich media file to be transmitted of server transmission.
In step S2100, receiving terminal obtains described rich media file to be transmitted as target rich media file from server.
In step S2110, receiving terminal display-object rich media file.
The rich media file transmission method that the present embodiment provides, if rich media file to be transmitted is the local sectional drawing of the original rich media file once sent, when then obtaining rich media file to be transmitted, obtain the intercepting coordinate of this rich media file to be transmitted, obtain beacon information according to identification marking and intercepting coordinate, and the beacon information obtained is sent to receiving terminal by server.Receiving terminal inquires after this locality stores the rich media file matched with identification marking, utilize and intercept coordinate, and the rich media file matched with identification marking that inquiry obtains, obtain the target rich media file identical with rich media file to be transmitted, saving receiving terminal obtains the Internet resources needed for rich media file to be transmitted.And, improve the speed that receiving terminal obtains rich media file to be transmitted.In addition, after transmitting terminal determines to send described rich media file to be transmitted to server, only send beacon information to server, therefore, receiving terminal and server do not need to store the rich media file repeated in this locality, reduce the pressure of receiving terminal and server stores rich media file.
Fig. 5 is the flow chart of the another kind of rich media file transmission method according to an exemplary embodiment, and the method is applied to and comprises in the rich media file transmission system of transmitting terminal, server and receiving terminal, and as shown in Figure 5, the method can comprise the following steps:
In step S310, transmitting terminal obtains rich media file to be transmitted.
In step s 320, transmitting terminal sends the information of described rich media file to be transmitted to server.
In the disclosure one exemplary embodiment, the information of described rich media file to be transmitted comprises the beacon information of rich media file to be transmitted, and described beacon information at least comprises identification marking.
In another exemplary embodiment of the disclosure, the information of described rich media file to be transmitted comprises rich media file to be transmitted self and beacon information.
In step S330, server, according to the information of described rich media file to be transmitted, judges whether this locality stores described rich media file to be transmitted; If so, then step S350 is performed; If not, then step S340 is performed.
In the disclosure one exemplary embodiment, if the information of rich media file to be transmitted comprises rich media file to be transmitted self, then server judges whether there is the rich media file matched with the file content of rich media file to be transmitted in the local rich media file stored, and determines whether this locality stores described rich media file to be transmitted.Under this kind of application scenarios, server does not store the rich media file of repetition, therefore, it is possible to reduce the storage pressure of server.
In another exemplary embodiment of the disclosure, if the information of rich media file to be transmitted comprises the beacon information of rich media file to be transmitted, this beacon information at least comprises the identification marking of rich media file, then server judges whether there is the rich media file matched with the identification marking of rich media file to be transmitted in the local rich media file stored.
In step S340, server obtains rich media file to be transmitted, and stores this rich media file to be transmitted.
In step S350, server extracts beacon information from the information of described rich media file to be transmitted.
In step S360, server transmits described beacon information to receiving terminal.
In step S370, receiving terminal judges whether this locality stores the rich media file matched with the identification marking of described rich media file to be transmitted; If existed, then perform step S380; If there is no, then step S390 is performed.
In step S380, receiving terminal utilizes described beacon information, obtains the target rich media file identical with described rich media file to be transmitted.
In step S390, the rich media file described to be transmitted obtained from server is defined as target rich media file by receiving terminal.
In step S3100, receiving terminal display-object rich media file.
The rich media file transmission method that the present embodiment provides, the rich media file to be transmitted self whether storing transmitting terminal transmission is judged by server, if store rich media file to be transmitted in server, then the beacon information of rich media file to be transmitted is only transferred to receiving terminal by server, receiving terminal searches the target rich media file identical with rich media file to be transmitted according to described beacon information from receiving terminal, without the need to transmitting rich media file, the Internet resources of receiving terminal acquisition needed for rich media file can be saved.Due to the aboundresources of server, operational capability is obviously strong than intelligent terminal, can improve and judge whether server stores the speed of rich media file to be transmitted.
Fig. 6 is the flow chart of another the rich media file transmission method according to an exemplary embodiment, and the method is applied in the system comprising transmitting terminal, server and receiving terminal.As shown in Figure 6, described method can comprise the 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 described rich media file to be transmitted to server, the information of described rich media file to be transmitted comprises the beacon information of rich media file to be transmitted, and described beacon information at least comprises the identification marking of rich media file to be transmitted.
In step S430, server sends the beacon information of described rich media file to be transmitted to receiving terminal.
In step S440, receiving terminal judges whether this locality stores the rich media file matched with described identification marking; If so, then step S450 is performed; If not, then step S460 is performed.
In step S450, receiving terminal utilizes described beacon information, obtains the target rich media file identical with described rich media file to be transmitted.
In step S460, the rich media file described to be transmitted obtained from server is defined as target rich media file by receiving terminal.
In step S470, the rich media file that receiving terminal display obtains.
The rich media file transmission method that the present embodiment provides, the beacon information of the rich media file to be transmitted that receiving terminal reception server sends, when receiving terminal determine this locality store with the identification marking of rich media file to be transmitted after, described beacon information is utilized to obtain the target rich media file matched with described rich media file to be transmitted, without the need to obtaining described rich media file to be transmitted from server, thus the Internet resources of receiving terminal can be saved.And, improve the speed that receiving terminal obtains rich media file to be transmitted.In addition, receiving terminal is without the need to storing the rich media file repeated, therefore, it is possible to the storage pressure of reduction receiving terminal.
Fig. 7 is the block diagram of a kind of rich media file transmitting device according to an exemplary embodiment, is applied to transmitter side terminal equipment, and as shown in Figure 7, described device can comprise: acquisition module 110, judge module 120 and sending module 130.
Acquisition module 110 is configured to, and obtains rich media file to be transmitted, and described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted.
Judge module 120 is configured to, and judges whether to send described rich media file to be transmitted to server.
Sending module 130 is configured to, when determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
After the transmitting terminal that the present embodiment provides obtains rich media file to be transmitted, judge module is utilized to judge whether to send this rich media file to be transmitted to server; If sent this rich media file to be transmitted, then only the beacon information of rich media file to be transmitted is sent to server, by server, beacon information is sent to receiving terminal again, receiving terminal obtains the rich media file matched with beacon information from the rich media file that self EMS memory stores up, receiving terminal does not need to obtain rich media file to be transmitted from server, therefore, it is possible to saving receiving terminal obtains the Internet resources needed for rich media file to be transmitted.And, obtain the speed of rich media file from this locality far away higher than the speed obtaining rich media file from server, therefore, adopt this method can improve the speed that receiving terminal obtains rich media file to be transmitted.In addition, after transmitting terminal determines to send described rich media file to be transmitted to server, only send beacon information to server, therefore, receiving terminal and server do not need to store the rich media file repeated in this locality, reduce the pressure of receiving terminal and server stores rich media file.
Fig. 8 is a kind of block diagram of the judge module 120 according to an exemplary embodiment, and as shown in Figure 8, described judge module comprises: the first inquiry submodule 1210, first determines that submodule 1211 and second determines submodule 1212.
First inquiry submodule 1210 is configured to, and inquires about in the rich media file sent to server whether there is the rich media file matched with the identification marking of described rich media file to be transmitted.
First determines that submodule 1211 is configured to, and when there is the rich media file matched with described identification marking, determines to send described rich media file to be transmitted to described server.
Second determines that submodule 1212 is configured to, and when there is not the rich media file matched with described identification marking, determines not send described rich media file to be transmitted to described server.
The judge module that the present embodiment provides, determine whether to send described rich media file to be transmitted to server by the identification marking of rich media file to be transmitted, identification marking is made up of a series of character usually, the time that relative discern mark needs is very short, therefore, it is possible to judge whether with raising the speed sending described rich media file to be transmitted to server.
Fig. 9 is the another kind of block diagram of the judge module 120 according to an exemplary embodiment, as shown in Figure 9, described judge module comprises: first obtains submodule 1220, second inquiry submodule 1221, the 3rd determines that submodule 1222 and the 4th determines submodule 1223.
First obtains submodule 1220 is configured to, and obtains the file content of described rich media file to be transmitted.
Second inquiry submodule 1221 is configured to, and inquires about in the rich media file sent to server whether comprise the rich media file matched with the file content of described rich media file to be transmitted.
3rd determines that submodule 1222 is configured to, and when there is the rich media file matched with the file content of described rich media file to be transmitted, determines to send described rich media file to be transmitted to described server.
4th determines that submodule 1223 is configured to, and when there is not the rich media file matched with the file content of described rich media file to be transmitted, determines not send described rich media file to be transmitted to described server.
The judge module that the present embodiment provides, determine whether to send described rich media file to be transmitted to server according to the file content of rich media file, judge whether comprise the rich media file matched with the file content of rich media file to be transmitted in the rich media file sent to server, if existed, determine to send described rich media file to be transmitted to server.File content can characterize rich media file more accurately, and therefore, the method can improve the accuracy rate of deterministic process.
Figure 10 is the block diagram of the described acquisition module 110 according to an exemplary embodiment, and as shown in Figure 10, described acquisition module comprises: second obtains submodule 111, the 3rd obtains submodule 112 and the 4th acquisition submodule 113.
Second obtains submodule 111 is configured to, and obtains the original rich media file that user chooses.
3rd obtains submodule 112 is configured to, and obtain shot operation instruction, produce described shot operation instruction is detected the shot operation of user during by transmitting terminal, intercepting coordinate is carried in described shot operation instruction.
4th obtains submodule 113 is configured to, and from described original rich media file, intercept rich media file corresponding to described intercepting coordinate, obtain described rich media file to be transmitted, described beacon information comprises described identification marking and described intercepting coordinate.
Figure 11 is the block diagram of the another kind of rich media file transmitting device according to an exemplary embodiment, and this application of installation is in server, and as shown in figure 11, described device comprises: receiver module 210, judge module 220, acquisition module 230 and sending module 240.
Receiver module 210 is configured to, the information of the rich media file to be transmitted that receiving end/sending end sends.
Judge module 220 is configured to, and according to the information of the rich media file described to be transmitted received, judges whether store described rich media file to be transmitted in server.
Acquisition module 230 is configured to, and when determining that this locality stores described rich media file to be transmitted, obtains the beacon information of described rich media file to be transmitted.
In the disclosure one exemplary embodiment, described rich media file to be transmitted is the local sectional drawing of original rich media file, then described acquisition module 230 for:
From the information of the rich media file described to be transmitted received, extract the beacon information of described rich media file to be transmitted, described beacon information comprises the identification marking of described rich media file to be transmitted and intercepts coordinate; Described intercepting coordinate is obtained from carrying the shot operation instruction of described sectional drawing coordinate of detecting by transmitting terminal.
Sending module 240 is configured to, and transmits described beacon information to receiving terminal, obtains to make described receiving terminal the target rich media file matched with described beacon information from the rich media file self stored.
The rich media file transmitting device that the present embodiment provides, the rich media file to be transmitted whether storing transmitting terminal transmission in server is judged by judge module, if store rich media file to be transmitted in server, then the beacon information of rich media file to be transmitted is only transferred to receiving terminal by server, receiving terminal searches the target rich media file identical with rich media file to be transmitted according to described beacon information from receiving terminal, without the need to transmitting rich media file, the Internet resources of receiving terminal acquisition needed for rich media file can be saved.Due to the aboundresources of server, operational capability is obviously strong than intelligent terminal, can improve and judge whether server stores the speed of rich media file to be transmitted.
Figure 12 is a kind of block diagram of the judge module 220 according to an exemplary embodiment, and in the present embodiment, the information of described rich media file to be transmitted at least comprises the identification marking of described rich media file to be transmitted.
As shown in figure 12, described judge module 220 comprises the first inquiry submodule 2210, first and determines that submodule 2211 and second determines submodule 2212.
First inquiry submodule 2210 is configured to, and whether there is the rich media file matched with the identification marking of described rich media file to be transmitted in the local rich media file stored of inquiry.
First determines that submodule 2211 is configured to, and when there is the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted.
Second determines that submodule 2212 is configured to, and when there is not the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted.
The judge module that the present embodiment provides, determine whether to send described rich media file to be transmitted to server by the identification marking of rich media file to be transmitted, identification marking is made up of a series of character usually, the time that relative discern mark needs is very short, therefore, it is possible to judge whether with raising the speed sending described rich media file to be transmitted to server.
Figure 13 is the another kind of block diagram of the judge module 220 according to an exemplary embodiment, and in the present embodiment, the information of described rich media file to be transmitted comprises described rich media file to be transmitted self.As shown in figure 13, described judge module 220 can comprise: first obtains submodule 2220, second inquiry submodule 2221, the 3rd determines that submodule 2222 and the 4th determines submodule 2223.
First obtains submodule 2220 is configured to, and obtains the file content of described rich media file to be transmitted.
Second inquiry submodule 2221 is configured to, and whether comprises the rich media file matched with the file content of described rich media file to be transmitted in the local rich media file stored of inquiry.
3rd determines that submodule 2222 is configured to, and when there is the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted.
4th determines that submodule 2223 is configured to, and there is not the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted.
The judge module that the present embodiment provides, determine whether to send described rich media file to be transmitted to server according to the file content of rich media file, judge whether comprise the rich media file matched with the file content of rich media file to be transmitted in the rich media file sent to server, if existed, determine to send described rich media file to be transmitted to server.File content can characterize rich media file more accurately, and therefore, the method can improve the accuracy rate of deterministic process.
Figure 14 is the block diagram of another the rich media file transmitting device according to an exemplary embodiment, and this application of installation is in receiving terminal, and as shown in figure 14, described device comprises: receiver module 310, judge module 320 and acquisition module 330.
Receiver module 310 is configured to, and the beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted.
Judge module 320 is configured to, and judges whether receiving terminal stores the rich media file matched with described identification marking.
Acquisition module 330 is configured to, and when determining that receiving terminal stores the rich media file matched with described identification marking, utilizes described beacon information to obtain the target rich media file identical with described rich media file to be transmitted.
In the disclosure one exemplary embodiment, described acquisition module comprises: extract submodule and obtain submodule.
Described extraction submodule is configured to, and extracts the intercepting coordinate of described rich media file to be transmitted from described beacon information.
Described acquisition submodule is configured to, and from the rich media file matched with described identification marking that receiving terminal stores, obtains the rich media file in described intercepting coordinate range, obtains described target rich media file.
The rich media file transmitting device that the present embodiment provides, the beacon information of the rich media file to be transmitted that receiving terminal reception server sends, when receiving terminal determine this locality store with the identification marking of rich media file to be transmitted after, described beacon information is utilized to obtain the target rich media file matched with described rich media file to be transmitted, without the need to obtaining described rich media file to be transmitted from server, thus the Internet resources of receiving terminal can be saved.And, improve the speed that receiving terminal obtains rich media file to be transmitted.In addition, receiving terminal is without the need to storing the rich media file repeated, therefore, it is possible to the storage pressure of reduction receiving terminal.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 15 is the block diagram of a kind of device 800 for rich media file transmission method according to an exemplary embodiment.Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
As shown in figure 15, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for device 800.Such as, sensor cluster 814 can detect the opening/closing state of device 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make terminal equipment can perform a kind of rich media file transmission method, described method comprises:
Obtain rich media file to be transmitted, described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge whether to send described rich media file to be transmitted to server;
When determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
On the other hand, provide another kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make terminal equipment can perform a kind of rich media file transmission method, described method comprises:
The beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted;
When determining that this locality stores the rich media file matched with described identification marking, described beacon information is utilized to obtain the target rich media file identical with described rich media file to be transmitted.
Figure 16 is the block diagram of a kind of device 1900 for rich media file transmission method according to an exemplary embodiment.Such as, device 1900 may be provided in a server.As shown in figure 16, device 1900 comprises processing components 1922, and it comprises one or more processor further, and the memory resource representated by memory 1932, can such as, by the instruction of the execution of processing components 1922, application program for storing.The application program stored in memory 1932 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1922 is configured to perform instruction, to perform following method:
The information of the rich media file to be transmitted that receiving end/sending end sends;
According to the information of the rich media file described to be transmitted received, judge whether this locality stores described rich media file to be transmitted;
When determining that this locality stores described rich media file to be transmitted, obtain the beacon information of described rich media file to be transmitted;
Transmit described beacon information to receiving terminal, from the rich media file self stored, obtain to make described receiving terminal the target rich media file matched with described beacon information.
Device 1900 can also comprise the power management that a power supply module 1926 is configured to final controlling element 1900, and a wired or wireless network interface 1950 is configured to device 1900 to be connected to network, and input and output (I/O) interface 1958.Device 1900 can operate the operating system based on being stored in memory 1932, such as WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (23)

1. a rich media file transmission method, is applied to transmitting terminal, it is characterized in that, comprising:
Obtain rich media file to be transmitted, described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge whether to send described rich media file to be transmitted to server;
When determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
2. method according to claim 1, is characterized in that, described in judge whether to send described rich media file to be transmitted to server, comprising:
Inquire about in the rich media file sent to server and whether there is the rich media file matched with the identification marking of described rich media file to be transmitted;
If there is the rich media file matched with described identification marking, determine to send described rich media file to be transmitted to described server;
If there is no the rich media file matched with described identification marking, determines not send described rich media file to be transmitted to described server.
3. method according to claim 1, is characterized in that, described in judge whether to send described rich media file to be transmitted to server, comprising:
Obtain the file content of described rich media file to be transmitted;
Inquire about in the rich media file sent to server and whether comprise the rich media file matched with the file content of described rich media file to be transmitted;
If there is the rich media file matched with the file content of described rich media file to be transmitted, determine to send described rich media file to be transmitted to described server;
If there is no the rich media file matched with the file content of described rich media file to be transmitted, determines not send described rich media file to be transmitted to described server.
4. method according to claim 1, is characterized in that, described acquisition rich media file to be transmitted, comprising:
Obtain the original rich media file that user chooses;
Obtain shot operation instruction, produce described shot operation instruction is detected the shot operation of user during by transmitting terminal, intercepting coordinate is carried in described shot operation instruction;
From described original rich media file, intercept rich media file corresponding to described intercepting coordinate, obtain described rich media file to be transmitted, described beacon information comprises described identification marking and described intercepting coordinate.
5. a rich media file transmission method, is applied in server, it is characterized in that, comprising:
The information of the rich media file to be transmitted that receiving end/sending end sends;
According to the information of the rich media file described to be transmitted received, judge whether this locality stores described rich media file to be transmitted;
When determining that this locality stores described rich media file to be transmitted, obtain the beacon information of described rich media file to be transmitted;
Transmit described beacon information to receiving terminal, from the rich media file self stored, obtain to make described receiving terminal the target rich media file matched with described beacon information.
6. method according to claim 5, is characterized in that, the information of described rich media file to be transmitted at least comprises the identification marking of described rich media file to be transmitted;
The information of the rich media file described to be transmitted that described basis receives, judges whether this locality stores described rich media file to be transmitted, comprising:
The rich media file matched with the identification marking of described rich media file to be transmitted whether is there is in the local rich media file stored of inquiry;
If there is the rich media file matched with described identification marking, determine that this locality stores described rich media file to be transmitted;
If there is no the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted.
7. method according to claim 5, is characterized in that, the information of described rich media file to be transmitted comprises described rich media file to be transmitted self;
The information of the rich media file described to be transmitted that described basis receives, judges whether this locality stores described rich media file to be transmitted, comprising:
Obtain the file content of described rich media file to be transmitted;
The rich media file matched with the file content of described rich media file to be transmitted whether is comprised in the local rich media file stored of inquiry;
If there is the rich media file matched with the file content of described rich media file to be transmitted, determine that this locality stores described rich media file to be transmitted;
If there is no the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted.
8. method according to claim 5, it is characterized in that, described rich media file to be transmitted is the local sectional drawing of original rich media file, then described when determining that this locality stores described rich media file to be transmitted, obtain the beacon information of described rich media file to be transmitted, comprising:
From the information of the rich media file described to be transmitted received, extract the beacon information of described rich media file to be transmitted, described beacon information comprises the identification marking of described rich media file to be transmitted and intercepts coordinate; Described intercepting coordinate is obtained from carrying the shot operation instruction of described sectional drawing coordinate of detecting by transmitting terminal.
9. a rich media file transmission method, is applied to receiving terminal, it is characterized in that, comprising:
The beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted;
When determining that this locality stores the rich media file matched with described identification marking, described beacon information is utilized to obtain the target rich media file identical with described rich media file to be transmitted.
10. method according to claim 9, is characterized in that, the described target rich media file identical with described rich media file to be transmitted according to described beacon information acquisition, comprising:
The intercepting coordinate of described rich media file to be transmitted is extracted from described beacon information;
From the rich media file matched with described identification marking that this locality stores, obtain the rich media file in described intercepting coordinate range, obtain described target rich media file.
11. 1 kinds of rich media file transmitting devices, are applied to transmitting terminal, it is characterized in that, comprising:
Acquisition module, for obtaining rich media file to be transmitted, described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge module, sent described rich media file to be transmitted for judging whether to server;
Sending module, for when determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
12. devices according to claim 11, is characterized in that, described judge module comprises:
Whether the first inquiry submodule, exist the rich media file matched with the identification marking of described rich media file to be transmitted for inquiring about in the rich media file of server transmission;
First determines submodule, for when there is the rich media file matched with described identification marking, determines to send described rich media file to be transmitted to described server;
Second determines submodule, for when there is not the rich media file matched with described identification marking, determines not send described rich media file to be transmitted to described server.
13. devices according to claim 11, is characterized in that, described judge module comprises:
First obtains submodule, for obtaining the file content of described rich media file to be transmitted;
Whether the second inquiry submodule, comprise the rich media file matched with the file content of described rich media file to be transmitted for inquiring about in the rich media file of server transmission;
3rd determines submodule, for when there is the rich media file matched with the file content of described rich media file to be transmitted, determines to send described rich media file to be transmitted to described server;
4th determines submodule, for when there is not the rich media file matched with the file content of described rich media file to be transmitted, determines not send described rich media file to be transmitted to described server.
14. devices according to claim 11, is characterized in that, described acquisition module comprises:
Second obtains submodule, for obtaining the original rich media file that user chooses;
3rd obtains submodule, and for obtaining shot operation instruction, produce described shot operation instruction is detected the shot operation of user during by transmitting terminal, intercepting coordinate is carried in described shot operation instruction;
4th obtains submodule, and for intercepting rich media file corresponding to described intercepting coordinate from described original rich media file, obtain described rich media file to be transmitted, described beacon information comprises described identification marking and described intercepting coordinate.
15. 1 kinds of rich media file transmitting devices, are applied in server, it is characterized in that, comprising:
Receiver module, for the information of the rich media file to be transmitted that receiving end/sending end sends;
Judge module, for the information according to the rich media file described to be transmitted received, judges whether store described rich media file to be transmitted in server;
Acquisition module, for when determining that this locality stores described rich media file to be transmitted, obtains the beacon information of described rich media file to be transmitted;
Sending module, for transmitting described beacon information to receiving terminal, obtains to make described receiving terminal the target rich media file matched with described beacon information from the rich media file self stored.
16. devices according to claim 15, is characterized in that, the information of described rich media file to be transmitted at least comprises the identification marking of described rich media file to be transmitted; Described judge module comprises:
First inquiry submodule, for inquiring about in the local rich media file stored whether there is the rich media file matched with the identification marking of described rich media file to be transmitted;
First determines submodule, for when there is the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted;
Second determines submodule, for when there is not the rich media file matched with described identification marking, determines that this locality stores described rich media file to be transmitted.
17. devices according to claim 15, is characterized in that, the information of described rich media file to be transmitted comprises described rich media file to be transmitted self; Described judge module comprises:
First obtains submodule, for obtaining the file content of described rich media file to be transmitted;
Second inquiry submodule, for inquiring about in the local rich media file stored whether comprise the rich media file matched with the file content of described rich media file to be transmitted;
3rd determines submodule, for when there is the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted;
4th determines submodule, for there is not the rich media file matched with the file content of described rich media file to be transmitted, determines that this locality stores described rich media file to be transmitted.
18. devices according to claim 15, is characterized in that, described rich media file to be transmitted is the local sectional drawing of original rich media file, then described acquisition module is used for:
From the information of the rich media file described to be transmitted received, extract the beacon information of described rich media file to be transmitted, described beacon information comprises the identification marking of described rich media file to be transmitted and intercepts coordinate; Described intercepting coordinate is obtained from carrying the shot operation instruction of described sectional drawing coordinate of detecting by transmitting terminal.
19. 1 kinds of rich media file transmitting devices, are applied to receiving terminal, it is characterized in that, comprising:
Receiver module, for the beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge module, for judging whether receiving terminal stores the rich media file matched with described identification marking;
Acquisition module, for when determining that receiving terminal stores the rich media file matched with described identification marking, utilizes described beacon information to obtain the target rich media file identical with described rich media file to be transmitted.
20. devices according to claim 19, is characterized in that, described acquisition module comprises:
Extract submodule, for extracting the intercepting coordinate of described rich media file to be transmitted from described beacon information;
Obtain submodule, in the rich media file matched with described identification marking that stores from receiving terminal, obtain the rich media file in described intercepting coordinate range, obtain described target rich media file.
21. 1 kinds of terminal equipments, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain rich media file to be transmitted, described rich media file to be transmitted at least carries beacon information, and described beacon information at least comprises the identification marking of described rich media file to be transmitted;
Judge whether to send described rich media file to be transmitted to server;
When determining to send described rich media file to be transmitted to server, described beacon information is transmitted to described server, to make described server that described beacon information is sent to receiving terminal, and make described receiving terminal from the rich media file self stored, obtain the target rich media file matched with described beacon information.
22. 1 kinds of servers, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The information of the rich media file to be transmitted that receiving end/sending end sends;
According to the information of the rich media file described to be transmitted received, judge whether this locality stores described rich media file to be transmitted;
When determining that this locality stores described rich media file to be transmitted, obtain the beacon information of described rich media file to be transmitted;
Transmit described beacon information to receiving terminal, from the rich media file self stored, obtain to make described receiving terminal the target rich media file matched with described beacon information.
23. 1 kinds of terminal equipments, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The beacon information of the rich media file to be transmitted that reception server sends, described beacon information at least comprises the identification marking of described rich media file to be transmitted;
When determining that this locality stores the rich media file matched with described identification marking, described beacon information is utilized to obtain the target rich media file identical with described rich media file to be transmitted.
CN201510147772.2A 2015-03-31 2015-03-31 Rich media file transmission method and device Active CN104883385B (en)

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 true CN104883385A (en) 2015-09-02
CN104883385B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101843A (en) * 2016-06-06 2016-11-09 腾讯科技(北京)有限公司 The methods of exhibiting of rich media file and device
CN107547352A (en) * 2016-06-24 2018-01-05 腾讯科技(深圳)有限公司 Document sending method, apparatus and system
CN109309651A (en) * 2017-07-28 2019-02-05 阿里巴巴集团控股有限公司 A kind of document 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101843A (en) * 2016-06-06 2016-11-09 腾讯科技(北京)有限公司 The methods of exhibiting of rich media file and device
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
CN109309651A (en) * 2017-07-28 2019-02-05 阿里巴巴集团控股有限公司 A kind of document transmission method, device, equipment and storage medium
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

Also Published As

Publication number Publication date
CN104883385B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN104318741A (en) Bluetooth device control method and device
CN105430208A (en) Voice conversation method and apparatus, and terminal equipment
CN104703252A (en) Terminal device accessing into wireless network method and device
CN105491048A (en) Account management method and apparatus
CN103973900B (en) The method of transmission information and device
CN104301308B (en) Call control method and device
CN104883385A (en) Rich media file transmission method and apparatus
CN105183835A (en) Method and apparatus for information marking in social software
CN104468971A (en) Method and device for connecting playing source
CN105100355A (en) Method and device for identifying calling user
CN104837154A (en) Wireless access point control method and device
CN106507282B (en) Wireless connection control method and device
CN105376144A (en) Information processing method and device
CN105245675A (en) Method and device for managing contact account
CN105491518A (en) Method and device for social reminding based on wearable devices
CN104881342A (en) Terminal testing method and device
CN105517078A (en) Network connection switching method and device
CN105491632A (en) Wireless access point switching method and wireless access point switching device
CN105634920A (en) Message withdrawing method and device
CN104918253A (en) Method and device for identifying fake base station and terminal device
CN105306567A (en) Method and device for terminal connection
CN105376318A (en) File transmission method, device and system
CN105307226A (en) Method, device and system for selecting signal source
CN105100352A (en) Method and device for acquiring contact information
CN104731615A (en) Intelligent device configuration method 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