The content of the invention
The purpose of the embodiment of the present application is to provide a kind of method and apparatus of transmission file, so that participant is more just
It is prompt, accurately participate in the displaying of live related media and share.
To solve above-mentioned technical problem, it is this that the embodiment of the present application provides a kind of method and apparatus of transmission file
What sample was realized:
A kind of method of transmission file, including:
The geographical location information of first the first client of client upload is to media server;
First client sends the request of upload media file to the media server;
The media server judges whether the geographical location information of the first client upload is located at defaultly
Within the scope of reason;If it is return and confirm upload message to the first client;
First client is received after the confirmation upload message that the media server is returned, upload media file
To the media server;
The geographical location information of second the second client of client upload is to the media server;
The media server judges the geographical location information of the second client upload in default geographic range
When, the media file of the first client upload is sent to the second client.
A kind of method of transmission file, including:
Media server sends default geographic range to the first client;
First client gathers the current geographical location information of the first client;
The upload media file instruction of the first client receives input;
First client judges that the geographical position of the collection is located within the default geographic range of the reception
When, in response to the upload media file instruction being input into, the media file is uploaded to the media server;
The geographical location information of second the second client of client upload is to the media server;
The media server judges the geographical location information of the second client upload in default geographic range
When, the media file of the first client upload is sent to the second client.
A kind of method of transmission file, including:
Receive the geographical location information of the first client upload;
Receive the upload file request of the first client transmission;
Whether the geographical location information for judging the first client upload is located within default geographic range;If
It is then to return to confirm upload message to the first client;
Receive the media file of the first client upload.
A kind of method of transmission file, including:
Receive the geographical location information of the first client upload;
Receive the upload file request of the first client transmission;
Whether the geographical location information for judging the first client upload is located within default geographic range;If
Refusal upload message is otherwise returned to the first client.
A kind of method of transmission file, including:
Receive the media file of the first client upload;
Receive the geographical location information of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The media file for uploading is sent to the second client.
A kind of method of transmission file, including:
The geographical location information of the first client is uploaded to media server;
The request of upload media file is sent to the media server;
After receiving the confirmation upload message that the media server is returned, upload media file is to the media
Server.
A kind of method of transmission file, including:
Receive the live media file of the first client upload;
Receive the geographical location information of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The media file for uploading is sent to the second client.
A kind of method of transmission file, including:
Media file of first client upload comprising geographical location information is to media server;
It is pre- that the media server judges whether the geographical location information included in the media file for uploading is located at
If geographic range within;If it is the media file of upload is preserved;
The geographical location information of second the second client of client upload is to the media server;
The media server judges the geographical location information of the second client upload in default geographic range
When, the media file of the first client upload is sent to the second client.
A kind of method of transmission file, including:
Media server sends default geographic range to the first client;
First client gathers the current geographical location information of the first client;
The upload media file instruction of the first client receives input;The media file is believed comprising geographical position
Breath;
First client judges that the geographical position that the media file is included is located at the default geography of the reception
Within the scope of when, in response to the upload media file instruction being input into, upload the media file to the media
Server;
The geographical location information of second the second client of client upload is to the media server;
The media server judges the geographical location information of the second client upload in default geographic range
When, the media file of the first client upload is sent to the second client.
A kind of method of transmission file, including:
Receive the media file comprising geographical location information of the first client upload;
Judge in the media file for uploading the geographical location information that includes whether be located at default geographic range it
It is interior;If it is the media file of upload is preserved;
Receive the geographical location information of the second client of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The media file for uploading is sent to the second client.
A kind of method of transmission file, including:
Receive the default geographic range that media server sends;
Gather the current geographical location information of the first client;
The upload media file instruction of receives input;The media file includes geographical location information;
When judging that the geographical position that the media file is included is located within the default geographic range of the reception,
In response to the upload media file instruction being input into, the media file is uploaded to the media server.
A kind of media server, including:
First receiving unit, receives the geographical location information of the first client upload;
Second receiving unit, receives the upload file request that the first client sends;
Whether judging unit, the geographical location information for judging the first client upload is located at default geographic range
Within;If it is return and confirm upload message to the first client;
3rd receiving unit, receives the media file of the first client upload.
A kind of media server, including:
First receiving unit, receives the media file of the first client upload;
Second receiving unit, receives the geographical location information of the second client upload;
Whether judging unit, judge the geographical location information of the second client upload in default geographic range;
Transmitting element, when the judging unit judged result is to be, by the matchmaker of the first client upload
Body file is sent to the second client.
A kind of client, including:
First uploading unit, uploads the geographical location information of the first client to media server;
Transmitting element, sends the request of upload media file to the media server;
Second uploading unit, after receiving the confirmation upload message that the media server is returned, upload media
File is to the media server.
A kind of client, including:
First receiving unit, receives the live media file of the first client upload;
Second receiving unit, receives the geographical location information of the second client upload;
Whether judging unit, judge the geographical location information of the second client upload in default geographic range;
Transmitting element, when the judging unit judged result is to be, by the matchmaker of the first client upload
Body file is sent to the second client.
A kind of media server, including:
First receiving unit, receives the media file comprising geographical location information of the first client upload;
First judging unit, judges whether the geographical location information included in the media file for uploading is located at default
Geographic range within;
Storage unit, when the first judging unit judged result is to be, preserves the media file for uploading;
Second receiving unit, receives the geographical location information of the second client of the second client upload;
Whether the second judging unit, judge the geographical location information of the second client upload in default geographic range
It is interior;
Transmitting element, when the second judging unit judged result is to be, by the matchmaker of the first client upload
Body file is sent to the second client.
A kind of client, including:
First receiving unit, receives the default geographic range that media server sends;
Collecting unit, gathers the current geographical location information of the first client;
Second receiving unit, the upload media file instruction of receives input;The media file includes geographical position
Confidence ceases;
Judging unit, judge geographical position that the media file includes whether be located at the reception defaultly
Within the scope of reason;
Uploading unit, when the second judging unit judged result is to be, uploads the media file to the matchmaker
Body server.
A kind of media server, including:
First receiving unit, receives the media file comprising geographical location information of the first client upload;
First judging unit, judges whether the geographical location information included in the media file for uploading is located at default
Geographic range within;
Storage unit, when the first judging unit judged result is to be, preserves the media file for uploading;
Second receiving unit, receives the geographical location information of the second client of the second client upload;
Whether the second judging unit, judge the geographical location information of the second client upload in default geographic range
It is interior;
Transmitting element, when the second judging unit judged result is to be, by the matchmaker of the first client upload
Body file is sent to the second client.
A kind of client, including:
First receiving unit, receives the default geographic range that media server sends;
Collecting unit, gathers the current geographical location information of the first client;
First uploading unit, receives the instruction for selecting simultaneously upload media file;The media file includes geography
Positional information;
Judging unit, judge geographical position that the media file includes whether be located at the reception defaultly
Within the scope of reason;
Second uploading unit, when judging unit judged result is to be, in response to the upload media file being input into
Instruction, uploads the media file to the media server.
A kind of method of sharing video frequency, including:
Receive the geographical location information of the first social networking application client upload;
Receive the request of the upload live video file of the first social networking application client transmission;
Whether the geographical location information for judging the first social networking application client upload is located at default geographic range
Within;If it is return and confirm upload message to the first client;
Receive the live video file of the first client upload.
A kind of method of sharing video frequency, including:
Receive the live video file of the first client upload;
Receive the geographical location information of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The live video file for uploading is sent to the second client.
A kind of method of sharing video frequency, including:
The geographical location information of the first client is uploaded to media server;
The request for uploading live video file is sent to the media server;
After receiving the confirmation upload message that the media server is returned, the live video file is uploaded extremely
The media server.
A kind of method of sharing video frequency, including:
Receive the live video file of the first client upload;
Receive the geographical location information of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The media file for uploading is sent to the second client.
A kind of method of sharing video frequency, including:
Receive the live video file comprising geographical location information of the first client upload;
Judge whether the geographical location information included in the live video file for uploading is located at default geographical model
Within enclosing;If it is the live video file of upload is preserved;
Receive the geographical location information of the second client of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The live video file for uploading is sent to the second client.
A kind of method of sharing video frequency file, including:
Receive the default geographic range that media server sends;
Gather the current geographical location information of the first client;
Receive the instruction for selecting and uploading live video file;The live video file is believed comprising geographical position
Breath;
Judge geographical position that the live video file includes be located at the reception default geographic range it
When interior, in response to the upload live video file instruction being input into, the live video file is uploaded to the matchmaker
Body server.
A kind of media server, including:
First receiving unit, receives the geographical location information of the first social networking application client upload;
Second receiving unit, receives the request of the upload live video file that the first social networking application client sends;
Whether judging unit, judge the geographical location information of the first social networking application client upload positioned at default
Within geographic range;If it is return and confirm upload message to the first client;
3rd receiving unit, receives the live video file of the first client upload.
A kind of media server, including:
First receiving unit, receives the live video file of the first client upload;
Second receiving unit, receives the geographical location information of the second client upload;
Transmitting element, when judging that the geographical location information of the second client upload is in default geographic range, will
The live video file of the first client upload is sent to the second client.
A kind of client, including:
First uploading unit, uploads the geographical location information of the first client to media server;
Transmitting element, sends the request for uploading live video file to the media server;
Second uploading unit, after receiving the confirmation upload message that the media server is returned, uploads described
Live video file is to the media server.
A kind of media server, including:
Receive the live video file of the first client upload;
Receive the geographical location information of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The media file for uploading is sent to the second client.
A kind of media server, including:
First receiving unit, receives the live video file comprising geographical location information of the first client upload;
First judging unit, judges whether the geographical location information included in the live video file for uploading is located at
Within the scope of the default reason of ground first;
Storage unit, if the first judging unit judged result is yes, preserves the live video text for uploading
Part;
Second receiving unit, receives the geographical location information of the second client of the second client upload;
Whether the second judging unit, judge the geographical location information of the second client upload in default geographic range
It is interior;
Transmitting element, when the second judging unit judged result is to be, by the described existing of the first client upload
Field video file is sent to the second client.
A kind of client, including:
First receiving unit, receives the default geographic range that media server sends;
Collecting unit, gathers the current geographical location information of the first client;
Second receiving unit, receives the instruction for selecting and uploading live video file;The live video file
Comprising geographical location information;
Judging unit, judges whether the geographical position that the live video file is included is located at the pre- of the reception
If within geographic range;
Uploading unit, when judging unit judged result is to be, uploads the live video file to the matchmaker
Body server.
The technical scheme provided from above the embodiment of the present application, media server will can be received to be located at and lived
Move the media file of the client upload at scene;And media server can be by the media file of the upload
Send to the second client positioned at same site of activity.Particularly, when the second client place terminal movement
During to default geographic range belonging to site of activity, the media of media server push can be automatically received
Information, so that the second client can be with convenient, the accurate information for obtaining site of activity.
Specific embodiment
The embodiment of the present application provides a kind of method and apparatus of transmission file.
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with this
Accompanying drawing in application embodiment, is clearly and completely described to the technical scheme in the embodiment of the present application,
Obviously, described embodiment is only some embodiments of the present application, rather than the embodiment of whole.Base
Embodiment in the application, those of ordinary skill in the art are obtained under the premise of creative work is not made
The every other embodiment for obtaining, should all belong to the scope of the application protection.
As it was previously stated, social networkies (such as Facebook, Renren Network, wechat), video sharing network are (such as
YouTube, Yoqoo, Rhizoma Solani tuber osi net, iqiyi.com), photo share network (Flickr), microblogging (as Twitter,
Sina weibo) etc. in media, as participant therein, can issue and share media information.Media
Server can be responsible for processing these information and being completed the issue on its platform.Media server one
As be located in network, as the physical media of participant --- mobile terminal and/or fixed terminal can be by mutual
Networking is connected with media server.Being connected by means of media server, extensive media can be formed and participated in
The interconnection of people.
In convenient and some safe considerations, can be with the mobile terminal and/or fixed terminal of media participant
Special client (one form of which is application), such as application of media server offer are installed, or
By the browser in terminal, efficiently carry out the issue of media information and interact.In order to express easily, this
In be referred to as client.
The application introduced below transmits one embodiment of document method, and Fig. 1 shows the flow process of the embodiment.
As illustrated, the method includes:
S11:The geographical location information of first the first client of client upload is to media server.
First client install or present hardware in, it is possible to obtain the letter in geographical position residing for the hardware
Breath.So, the first client can obtain the geographical location information of current location.Conventional method is mainly
By the built-in GPS positioning system of information client side or the mobile communications network of telecommunications mobile operator, or
Person is come localization message client and to obtain the geographical position of information client side by the combination of above two mode
Confidence ceases.Can also be with reference to the geographical location information of WIFI hot spot information acquisition messages client.
The mobile terminal location that such as client is located at, can record position by the mobile terminal with Jing
What the positioner of confidence breath was recorded, represent the coordinate information of position.Common positioner can be adopted
GPS of America satellite navigation system, European " Galileo " satellite navigation system, Russian GLONASS
Satellite navigation system, or Chinese Beidou satellite navigation system etc., or similar combination.It is this kind of fixed
The coordinate information of position is also referred to as running fix.In addition it is also possible to be that the network equipment is located at based on client
What the signal characteristic of mobile terminal was converted to, for example principle is covered using base station by Virtual network operator, pass through
The signal of the mobile terminal that the client is located at passes through the calculated positional information of architecture.Rear
In the location Calculation of person, the down-bound pilot frequency signal of different base station is typically measured by mobile terminal, obtain different bases
Stand the due in (Time of Arrival, TOA) or reaching time-difference (Time Difference of descending pilot frequency
Of Arrival, TDOA), according to the measurement result and with reference to the coordinate of base station, typically estimated using triangle formula
Calculating method, so as to calculate the position of mobile terminal.Actual location-estimation algorithm needs to consider many base stations (3
It is individual or more than 3) positioning situation, have many algorithms in prior art, it is complex.In general,
The number of base stations of moving table measuring is more, and certainty of measurement is higher, and positioning performance improves more obvious.The position
Information, can also be by base station auxiliary positioning and jointly positioning is obtained with reference to the positioner in mobile terminal
More accurate position.Here not acquisition modes of defined position information.
First client is obtained after the geographical location information of the first client, the network that can be accessed by it,
The geographical location information of the first client is sent to media server.
S12:First client sends the request of upload media file to the media server.
First client may be located in the terminal in scene.Media participant may carry the terminal movement
To certain scene, such as concert scene, celebration scene, site of activity etc.
The scene at scene can be taken pictures in first client, video capture and shorthand, voice
Deng formation media file.Participant participate in media interaction in, the first client can according to
The operational order at family, the request for uploading above-mentioned media file is initiated to media server.
S13:It is default that the media server judges whether the geographical location information of the first client upload is located at
Geographic range within;If it is return and confirm upload message to the first client.
Media server is before confirming that the first client can upload the media file, it can be determined that first
Geographical position residing for client.Media server can be according to the geographical position of the first client upload in S11
Whether confidence breath is located within default geographic range to complete to judge.
Media server can preset a geographic range.This geographic range, for example, can be according to longitude and latitude
The geographic area of degree setting;Can also be to preset the geographic range within the pre-set radius of geography dot center;
Can also be presupposed information point (POI).In the map comprising navigation data, Jing often includes POI.
POI can generally include the information of title, classification, latitude, longitude, neighbouring retail shop of restaurant of hotel etc..
For example, the rectangular area that media server can arrange specific longitude and latitude scope is default geographic range,
Such as certain square;The geographic range that can also be arranged within the pre-set radius of default geography dot center is default
Geographic range, such as certain commercial circle;Certain POI can also be set for default geographic range, such as certain business
Body.The scene that concert, celebration or activity etc occur can be drawn a circle to approve in default geographic range.
Media server can judge the first client whether position with the geographical location information of the first client upload
Within default geographic range, that is, judge whether the terminal residing for the first client is located at site of activity.
By judging, if it is determined that the first client is located at site of activity, then can return confirmation upload message
To the first client, as the first client the response of upload media file request is sent.
S14:First client is received after the confirmation upload message that the media server is returned, upper medium
Body file is to the media server.
First client is received after the confirmation upload message that the media server is returned, and can be uploaded aforementioned
Media file is to the media server.
With the uploading instructions of the first client, may also have and share instruction.So, the media services
Device can issue the media file of the first client upload.The first client is for example issued in video sharing network
Video that end uploads etc, photo of the client upload of Web Publishing first etc is shared in photo, in microblogging
Video/audio/picture/word of the first client upload etc is issued in/wechat.
Additionally, in S13, the media server judges the geographical location information of the first client upload not
When within default geographic range, the message of refusal upload media information can be returned to the first client.
By such mode, it can be determined that the first client is not on site of activity, then the media text that it is uploaded
Part may be not relevant with site of activity.So, the first client can't will be little with site of activity relation
Media file be uploaded to media server, the first client is referred in particular to here will not be uploaded to media server
In the related page of the column relevant with site of activity/topic that open up.
S15:The geographical location information of second the second client of client upload is to the media server.
Similar to the media server with the first client upload geographical location information, the second client can
To upload the geographical location information of oneself to the media server.
S16:The media server judges the geographical location information of the second client upload in default geography model
When enclosing interior, the media file of the first client upload is sent to the second client.
The media server can judge the second client according to the geographical location information of the second client upload
Whether end is located in default geographic range.When judging that the second client is located in default geographic range, i.e.,
Second client also is located at the scene of same activity, then the media server can be by the first client upload
The media file send to the second client.
By above-described embodiment, media server can be by the matchmaker for receiving the client upload positioned at site of activity
Body file;And media server can send the media file of the upload to positioned at same site of activity
The second client.Particularly, when the second client place terminal move to it is default belonging to site of activity
During reason scope, the media information of media server push can be automatically received, so that the second client
End can be with convenient, the accurate information for obtaining site of activity.
The application introduced below transmits another embodiment of document method, and Fig. 2 shows the stream of the embodiment
Journey.As illustrated, the method includes:
S21:Media server sends default geographic range to the first client.
Media server can preset a geographic range.This geographic range, as it was previously stated, for example can be with
It is the geographic area according to longitude and latitude setting;Can also be to preset within the pre-set radius of geography dot center
Geographic range;Can also be presupposed information point (POI).In the map comprising navigation data, Jing is often included
POI.
For example, the rectangular area that media server can arrange specific longitude and latitude scope is default geographic range,
Such as certain square;The geographic range that can also be arranged within the pre-set radius of default geography dot center is default
Geographic range, such as certain commercial circle;Certain POI can also be set for default geographic range, such as certain business
Body.The scene that concert, celebration or activity etc occur can be drawn a circle to approve in default geographic range.
Media server can send the default geographic range to the first client.For example, the first client
End can be when program starts, the setting and media apparatus interaction according to program, and it is right to complete in the process
The reception of default geographic range.
S22:First client gathers the current geographical location information of the first client.
As it was previously stated, the first client install or present hardware in, it is possible to obtain the residing ground of the hardware
The information of reason position.So, the first client can gather the geographical location information of current location.
S23:The upload media file instruction of the first client receives input.
First client can be with the instruction of the upload media file of receiving user's input.
S24:First client judges that the geographical position of the collection is located at the default geographic range of the reception
Within when, in response to the upload media file instruction being input into, upload the media file to the media services
Device.
It is default that first client can judge whether the first client is located at according to the geographical location information for uploading
Geographic range within, that is, judge whether terminal residing for the first client is located at site of activity.
By judging, if the first client determines that current location is located at site of activity, can be with upload media
File is to the media server.
From unlike the corresponding embodiments of Fig. 1, in Fig. 2 examples, media server is by by default geography
Scope is sent to the first client, can there is the first client completes whether be located at default ground to the first client
The judgement of reason scope.This mode for the first client periodically report self geographical position information in the case of,
Do not need Fig. 1 embodiments in it is possible it is multiple upload self geographical position information and by media server judge
Process, so as to reduce network transmission number of times, it is also possible to mitigate the pressure of media server.Instead,
First client can be completed to sentence after default geographic range is obtained by the local computing resource of place terminal
It is disconnected, that is, judge whether the first client is located within default geographic range, response speed can also be to a certain degree
Raising.
S25:The geographical location information of second the second client of client upload is to the media server.
S26:The media server judges the geographical location information of the second client upload in default geography model
When enclosing interior, the media file of the first client upload is sent to the second client.
Step S25, S26 is similar respectively with aforementioned S15, S16, repeats no more.
The corresponding embodiment of the method based on media server of Fig. 1 embodiments introduced below, such as schemes
Shown in 3:
S110:Receive the geographical location information of the first client upload.
S120:Receive the upload media file request of the first client transmission.
S130:Whether the geographical location information for judging the first client upload is located within default geographic range;
If it is return and confirm upload message to the first client.
S140:Receive the live media file of the first client upload.
In S130, if it is determined that the geographical location information of the first client upload is not on default geographical model
Within enclosing, then refusal upload message can be returned to the first client.
As it was previously stated, if it is determined that the geographical location information of the first client upload is not on default geography
Within the scope of, then media server can return refusal upload message to the first client, so as to avoid first
Client upload may be with live unrelated media file.
The corresponding embodiment of the method based on media server of Fig. 2 embodiments introduced below, such as schemes
Shown in 4:
S210:Receive the live media file of the first client upload.
S220:Receive the geographical location information of the second client upload.
S230:When judging that the geographical location information of the second client upload is in default geographic range, by first
The media file of client upload is sent to the second client.
The corresponding embodiment of the method based on the first client of Fig. 1 embodiments introduced below, such as schemes
Shown in 5:
S310:The geographical location information of the first client is uploaded to media server.
S320:The request of upload media file is sent to the media server.
S330:After receiving the confirmation upload message that the media server is returned, upload media file is to institute
State media server.
The corresponding other method embodiment based on the first client of Fig. 2 embodiments introduced below, such as schemes
Shown in 6:
S410:Receive the default geographic range that media server sends.
S420:Gather the current geographical location information of the first client.
S430:The upload media file instruction of receives input.
S440:When the geographical position of collection is located within the default geographic range of the reception, in response to defeated
The upload media file instruction for entering, uploads the media file to the media server.
The corresponding embodiment of the method based on the second client of Fig. 1 introduced below, 2 embodiments, such as
Shown in Fig. 7:
S510:Gather the current geographical location information of the second client.
S520:The current geographical location information of the second client for gathering is sent to media server.
S530:Receive the media file that the media server sends.
A kind of embodiment of the method for transmitting file of the application introduced below, as shown in figure 8, including:
S31:Media file of first client upload comprising geographical location information is to media server.
First client can have the media file comprising geographical location information with itself.These geographical positions
Confidence ceases, for example, can include when media file is generated, and the photo for such as shooting can be with shooting
Comprising GPS information.
S32:The media server judges in the media file for uploading the geographical location information that includes whether position
Within default geographic range;If it is the media file of upload is preserved.
After the media file of the first client upload that the media server is received, can be by wherein wrapping
The geographical location information for containing judges whether to be located within default geographic range.
S33:The geographical location information of second the second client of client upload is to the media server.
S34:The media server judges the geographical location information of the second client upload in default geography model
When enclosing interior, the media file of the first client upload is sent to the second client.
A kind of embodiment of the method for transmitting file of the application introduced below, as shown in figure 9, including:
S41:Media server sends default geographic range to the first client;
S42:First client gathers the current geographical location information of the first client;
S43:First client is received to be selected and upload media file instruction;The media file includes geography
Positional information;
S44:First client judges that the geographical position that the media file is included is located at the default of the reception
When within geographic range, in response to the upload media file instruction being input into, the media file is uploaded to described
Media server;
S45:The geographical location information of second the second client of client upload is to the media server;
S46:The media server judges the geographical location information of the second client upload in default geography model
When enclosing interior, the media file of the first client upload is sent to the second client.
The corresponding embodiment of the method based on media server of Fig. 8 embodiments introduced below, such as Figure 10
It is shown, including:
S610:Receive the media file comprising geographical location information of the first client upload;
S620:Judge whether the geographical location information included in the media file for uploading is located at default geographical model
Within enclosing;If it is the media file of upload is preserved;
S630:Receive the geographical location information of the second client of the second client upload;
S640:When judging that the geographical location information of the second client upload is in default geographic range, by first
The media file of client upload is sent to the second client.
The corresponding embodiment of the method based on the first client of Fig. 9 embodiments introduced below, such as Figure 11
It is shown, including:
S710:Receive the default geographic range that media server sends;
S720:Gather the current geographical location information of the first client;
S730:The upload media file instruction of receives input;The media file includes geographical location information;
S740:Judge geographical position that the media file includes be located at the reception default geographic range it
When interior, in response to the upload media file instruction being input into, the media file is uploaded to the media server.
The corresponding media server embodiment of Fig. 3 embodiments introduced below, as shown in figure 12, including:
First receiving unit 121, receives the geographical location information of the first client upload;
Second receiving unit 122, receives the upload file request that the first client sends;
Whether judging unit 123, the geographical location information for judging the first client upload is located at default geography
Within the scope of;If it is return and confirm upload message to the first client;
3rd receiving unit 124, receives the media file of the first client upload.
The corresponding media server embodiment of Fig. 4 embodiments introduced below, as shown in figure 13, including:
First receiving unit 131, receives the media file of the first client upload;
Second receiving unit 132, receives the geographical location information of the second client upload;
Whether judging unit 133, judge the geographical location information of the second client upload in default geographic range
It is interior;
Transmitting element 134, when the judging unit judged result is to be, by the institute of the first client upload
State media file to send to the second client.
Corresponding first client embodiment of Fig. 5 embodiments introduced below, as shown in figure 14, including:
First uploading unit 141, uploads the geographical location information of the first client to media server;
Transmitting element, sends the request of upload media file to the media server;
Second uploading unit 142, after receiving the confirmation upload message that the media server is returned, uploads
Media file is to the media server.
The corresponding media server embodiment of Fig. 6 embodiments introduced below, as shown in figure 15, including:
First receiving unit 151, receives the live media file of the first client upload;
Second receiving unit 152, receives the geographical location information of the second client upload;
Whether judging unit 153, judge the geographical location information of the second client upload in default geographic range
It is interior;
Transmitting element 154, when the judging unit judged result is to be, by the institute of the first client upload
State media file to send to the second client.
The corresponding media server embodiment of Fig. 5 embodiments introduced below, as shown in figure 16, including:
First receiving unit 161, receives the media file comprising geographical location information of the first client upload;
First judging unit 162, judges whether the geographical location information included in the media file for uploading is located at
Within default geographic range;
Storage unit 163, when the first judging unit judged result is to be, preserves the media text for uploading
Part;
Second receiving unit 164, receives the geographical location information of the second client of the second client upload;
Whether the second judging unit 165, judge the geographical location information of the second client upload in default geography
In the range of;
Transmitting element 166, when the second judging unit judged result is to be, by the institute of the first client upload
State media file to send to the second client.
Corresponding first client embodiment of Fig. 5 embodiments introduced below, as shown in figure 17, including:
First receiving unit 171, receives the default geographic range that media server sends;
Collecting unit 172, gathers the current geographical location information of the first client;
Second receiving unit 173, the upload media file instruction of receives input;The media file is inclusively
Reason positional information;
Judging unit 174, judges whether the geographical position that the media file is included is located at the pre- of the reception
If within geographic range;
Uploading unit 175, when the second judging unit judged result is to be, uploads the media file to institute
State media server.
The corresponding media server embodiment of Figure 10 embodiments introduced below, as shown in figure 18, including:
First receiving unit 181, receives the media file comprising geographical location information of the first client upload;
First judging unit 182, judges whether the geographical location information included in the media file for uploading is located at
Within default geographic range;
Storage unit 183, when the first judging unit judged result is to be, preserves the media text for uploading
Part;
Second receiving unit 184, receives the geographical location information of the second client of the second client upload;
Whether the second judging unit 185, judge the geographical location information of the second client upload in default geography
In the range of;
Transmitting element 186, when the second judging unit judged result is to be, by the institute of the first client upload
State media file to send to the second client.
Corresponding first client embodiment of Figure 11 embodiments introduced below, as shown in figure 19, including:
First receiving unit 191, receives the default geographic range that media server sends;
Collecting unit 192, gathers the current geographical location information of the first client;
First uploading unit 193, receives the instruction for selecting simultaneously upload media file;The media file is included
Geographical location information;
Judging unit 194, judges whether the geographical position that the media file is included is located at the pre- of the reception
If within geographic range;
Second uploading unit 195, when judging unit judged result is to be, in response to the upload media being input into
File instruction, uploads the media file to the media server.
It is understood that under different scenes, above-mentioned media server may refer to individually carry out matchmaker
The server of body, such as audio frequency and video, picture processing and broadcasting, or can also be integrated with these functions,
And other servers with social or instant communication function etc.;Corresponding client can realize difference
Function, such as media play, social activity share or instant communication function client etc..
The embodiment of the present application also provides a kind of method of video sharing, can be applicable to immediately in video sharing method
In the social intercourse systems such as communication, social system can be shared with by uploaded videos mode between the user in social intercourse system
Other users in system, then specifically, a user in social intercourse system can be by it at a certain scene
The video file of shooting, the server being uploaded in social intercourse system can be shared the video file by server
Give other users.Wherein, the video sharing project of different themes, society can be set up on the server of social intercourse system
User in friendship system can carry out sharing for video in the video sharing project, for example can be with uploaded videos
Or viewing video, in video upload procedure, can be determined whether on user based on geographical position
Pass, for example, the user in certain geographic range can be allowed to carry out the shooting and upload of video;After video is uploaded,
Certain user and/or the user's viewing video in certain geography scope can also be allowed, for example, it may be the
The related user of tool of one user, the e.g. user of the good friend of first user just has permission viewing video,
Or, only the user in the geographic range of setting can just watch the video etc..Meanwhile, video point
Can be that, by video playback interface, such as each video sharing project has a video playback when enjoying
Interface is supplied to each user in social intercourse system so that user can be carried out based on the video playback interface
Action is shared in shooting, upload, viewing of video etc..In video sharing, such as watching process, can be with
Realization is beaten reward function, i.e. user and can pay certain to the video upload user oneself liked by beating reward function
Expense is rewarding etc..
Will be illustrated with the video sharing process in social networking application below, it is to be understood that below
Described media server can be single server or the server in social networking application, described visitor
Family end may refer to the client of social networking application.
A kind of method of sharing video frequency of the application, the method can be based on media server including as follows
Step:
S51:Receive the geographical location information of the first social networking application client upload;
S52:Receive the request of the upload live video file of the first social networking application client transmission;
S53:Whether the geographical location information for judging the first social networking application client upload is located at default geography
Within the scope of;If it is return and confirm upload message to the first client;
S54:Receive the live video file of the first client upload.
Wherein, the live video file of upload can be carried and share range information;It is described to share range information
Can specify can check the user type and/or user name of the live video file in social networkies.
In one implementation, media server is received after video file, can be shared the video file
To other users of the first social networking application.
In one implementation, the video file can be played out at a video playback interface, to be shared with
Other users of first social networking application, wherein, can according to the customer relationship of the corresponding user of the first client,
And/or first client geographical position, it is determined that other users to be shared, and the video file is shared
To determining other users to be shared.
Specifically, the client of above-mentioned first social networking application corresponds to first user, its video file for uploading
May refer to be uploaded to a video sharing project, the video sharing project can be in other visitors of the first social networking application
Show on the end of family, it is possible to which the mode at video playback interface is supplied to user to carry out the broadcasting of sharing video frequency, together
When can also realize the upload of sharing video frequency, i.e. the video playback interface, the recording button of video can be provided,
There can also be comment, beat the functions such as reward.Additionally, the video sharing project can include multiple social clients
End, i.e., the video that user in multiple social networking applications uploads, multiple videos that the plurality of user uploads can be
The video playback interface is played by turns or shuffle, while in the different corresponding clients of social user
Can selectively play, for example the only good friend of the user of uploaded videos, or use within the specific limits
Just play out in the client at family, i.e. sharing for video needs to meet condition.
A kind of method of sharing video frequency file of the application introduced below, the method can be based on media server
Body, including:
S61:Receive the live video file of the first client upload;
S62:Receive the geographical location information of the second client upload;
S63:When judging that the geographical location information of the second client upload is in default geographic range, by first
The live video file of client upload is sent to the second client.
Wherein, the live video file of upload can be carried and share range information;It is described to share range information
Can specify can check the user type and/or user name of the live video file in social networkies.
A kind of method of sharing video frequency file of the application introduced below, the method can be based on the first client
Body, including:
S71:The geographical location information of the first client is uploaded to media server;
S72:The request for uploading live video file is sent to the media server;
S73:After receiving the confirmation upload message that the media server is returned, the live video is uploaded
File is to the media server.
Wherein, the live video file of upload can be carried and share range information;It is described to share range information
Can specify can check the user type and/or user name of the live video file in social networkies.
A kind of method of sharing video frequency file of the application introduced below, the method can be based on media server
Body, including:
S81:Receive the live video file of the first client upload;
S82:Receive the geographical location information of the second client upload;
S83:When judging that the geographical location information of the second client upload is in default geographic range, by first
The media file of client upload is sent to the second client.
Wherein, the live video file of upload can be carried and share range information;It is described to share range information
Can specify can check the user type and/or user name of the live video file in social networkies.
A kind of method of sharing video frequency file of the application introduced below, the method can be based on media server
Body, including:
S91:Receive the live video file comprising geographical location information of the first client upload;
S92:Judge whether the geographical location information included in the live video file for uploading is located at defaultly
Within the scope of reason;If it is the live video file of upload is preserved;
S93:Receive the geographical location information of the second client of the second client upload;
S94:When judging that the geographical location information of the second client upload is in default geographic range, by first
The live video file of client upload is sent to the second client.
Wherein, the live video file of upload can be carried and share range information;It is described to share range information
Can specify can check the user type and/or user name of the live video file in social networkies.
A kind of method of sharing video frequency file of the application introduced below, the method can be based on the first client
Body, including:
S101:Receive the default geographic range that media server sends;
S102:Gather the current geographical location information of the first client;
S103:Receive the instruction for selecting and uploading live video file;The live video file includes geography
Positional information;
S104:Judge that geographical position that the live video file includes is located at the default geographical model of the reception
When within enclosing, in response to the upload live video file instruction being input into, the live video file is uploaded to institute
State media server.
Wherein, the live video file of upload can be carried and share range information;It is described to share range information
Can specify can check the user type and/or user name of the live video file in social networkies.
A kind of media server embodiment of the application introduced below, including:
First receiving unit, receives the geographical location information of the first social networking application client upload;
Second receiving unit, receives the request of the upload live video file that the first social networking application client sends;
Whether judging unit, judge the geographical location information of the first social networking application client upload positioned at default
Within geographic range;If it is return and confirm upload message to the first client;
3rd receiving unit, receives the live video file of the first client upload.
A kind of media server embodiment of the application introduced below, including:
First receiving unit, receives the live video file of the first client upload;
Second receiving unit, receives the geographical location information of the second client upload;
Transmitting element, when judging that the geographical location information of the second client upload is in default geographic range, will
The live video file of the first client upload is sent to the second client.
A kind of client embodiment of the application introduced below, including:
First uploading unit, uploads the geographical location information of the first client to media server;
Transmitting element, sends the request for uploading live video file to the media server;
Second uploading unit, after receiving the confirmation upload message that the media server is returned, uploads described
Live video file is to the media server.
A kind of media server embodiment of the application introduced below, including:
Receive the live video file of the first client upload;
Receive the geographical location information of the second client upload;
When judging that the geographical location information of the second client upload is in default geographic range, by the first client
The media file for uploading is sent to the second client.
A kind of media server embodiment of the application introduced below, including:
First receiving unit, receives the live video file comprising geographical location information of the first client upload;
First judging unit, judges whether the geographical location information included in the live video file for uploading is located at
Within the scope of the default reason of ground first;
Storage unit, if the first judging unit judged result is yes, preserves the live video text for uploading
Part;
Second receiving unit, receives the geographical location information of the second client of the second client upload;
Whether the second judging unit, judge the geographical location information of the second client upload in default geographic range
It is interior;
Transmitting element, when the second judging unit judged result is to be, by the described existing of the first client upload
Field video file is sent to the second client.
A kind of client embodiment of the application introduced below, including:
First receiving unit, receives the default geographic range that media server sends;
Collecting unit, gathers the current geographical location information of the first client;
Second receiving unit, receives the instruction for selecting and uploading live video file;The live video file
Comprising geographical location information;
Judging unit, judges whether the geographical position that the live video file is included is located at the pre- of the reception
If within geographic range
Uploading unit, when judging unit judged result is to be, uploads the live video file to the matchmaker
Body server.
It is changing on hardware for the improvement of a technology can be distinguished clearly in the nineties in 20th century
Improvement on entering (for example, to the improvement of the circuit structures such as diode, transistor, switch) or software is (right
In the improvement of method flow).However, with the development of technology, the improvement of current many method flows is
Jing can be considered as directly improving for hardware circuit.Designer is nearly all by by improved method flow
It is programmed in hardware circuit to obtain corresponding hardware circuit.Therefore, it cannot be said that method flow
Improvement cannot be realized with hardware entities module.For example, PLD (Programmable
Logic Device, PLD) (for example field programmable gate array (Field Programmable Gate Array,
FPGA it is exactly)) such a integrated circuit, its logic function is determined by user to device programming.By setting
Meter personnel are voluntarily programmed a digital display circuit " integrated " on a piece of PLD, without asking chip manufacturing
Manufacturer is designing and make special IC chip.And, nowadays, replacement manually makes integrated electricity
Road chip, this programming also uses " logic compiler (logic compiler) " software instead to realize mostly, it
Software compiler used is similar when writing with program development, and the source code before compiling is also handy
Writing, this is referred to as hardware description language (Hardware Description to specific programming language
Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL (Advanced
Boolean Expression Language)、AHDL(Altera Hardware Description Language)、
Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL
(Ruby Hardware Description Language) etc., that what is most commonly used at present is VHDL
(Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog.
Those skilled in the art also will be apparent to the skilled artisan that only need to by method flow with above-mentioned several hardware description languages slightly
Programming in logic is simultaneously programmed in integrated circuit, it is possible to be readily available the hardware for realizing the logical method flow process
Circuit.
Controller can be implemented in any suitable manner, and for example, controller can take such as microprocessor
Or processor and storage can be by computer readable program code (such as softwares of (micro-) computing device
Or firmware) computer-readable medium, gate, switch, special IC (Application Specific
Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, controller
Example include but is not limited to following microcontroller:ARC 625D、Atmel AT91SAM、Microchip
PIC18F26K20 and Silicone Labs C8051F320, Memory Controller is also implemented as depositing
A part for the control logic of reservoir.It is also known in the art that except with pure computer-readable program
Code means are realized beyond controller, can cause to control by the way that method and step is carried out into programming in logic completely
Device is with the shape of gate, switch, special IC, programmable logic controller (PLC) and embedded microcontroller etc.
Formula is realizing identical function.Therefore this controller is considered a kind of hardware component, and to bag in it
The structure that the device for realizing various functions for including can also be considered as in hardware component.Or or even, can be with
To be used to realizing that the device of various functions is considered as not only being the software module of implementation method but also can be hardware
Structure in part.
System, device, module or unit that above-described embodiment is illustrated, specifically can be by computer chip or reality
Body is realized, or is realized by the product with certain function.
For convenience of description, it is divided into various units with function when describing apparatus above to describe respectively.Certainly,
The function of each unit can be realized in same or multiple softwares and/or hardware when the application is implemented.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot
Close the form of the embodiment in terms of software and hardware.And, the present invention can be adopted and wherein wrapped at one or more
Computer-usable storage medium containing computer usable program code (including but not limited to disk memory,
CD-ROM, optical memory etc.) on implement computer program form.
The present invention is produced with reference to method according to embodiments of the present invention, equipment (system) and computer program
The flow chart and/or block diagram of product is describing.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or square frame and flow chart and/or the flow process in block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedded
The processor of formula datatron or other programmable data processing devices is producing a machine so that by calculating
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device of the function of specifying in individual flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas process to set
In the standby computer-readable memory for working in a specific way so that in being stored in the computer-readable memory
Instruction produce and include the manufacture of command device, command device realization is in one flow process or multiple of flow chart
The function of specifying in one square frame of flow process and/or block diagram or multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices, made
Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place
Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output
Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read only memory (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).It is interior
Deposit be computer-readable medium example.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by appointing
What method or technique is realizing information Store.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer include, but are not limited to phase transition internal memory (PRAM),
It is static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random
Access memorizer (RAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM),
Fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital multi light
Disk (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, can be used to store the information that can be accessed by a computing device.According to herein
Define, computer-readable medium does not include temporary computer readable media (transitory media), such as modulates
Data signal and carrier wave.
Also, it should be noted that term " including ", "comprising" or its any other variant are intended to non-row
His property is included, so that a series of process, method, commodity or equipment including key elements not only includes
Those key elements, but also including other key elements being not expressly set out, or also include for this process,
The intrinsic key element of method, commodity or equipment.In the absence of more restrictions, by sentence " including
One ... " key element that limits, it is not excluded that including the process of the key element, method, commodity or setting
Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or with reference to software and
The form of the embodiment of hardware aspect.And, the application can be adopted and wherein include calculating at one or more
Machine usable program code computer-usable storage medium (including but not limited to disk memory, CD-ROM,
Optical memory etc.) on implement computer program form.
The application can be described in the general context of computer executable instructions, example
Such as program module.Usually, program module includes performing particular task or realizes particular abstract data type
Routine, program, object, component, data structure etc..This can also in a distributed computing environment be put into practice
Application, in these distributed computing environment, by the remote processing devices connected by communication network come
Execution task.In a distributed computing environment, program module may be located at including local including storage device
In remote computer storage medium.
Each embodiment in this specification is described by the way of progressive, phase homophase between each embodiment
As part mutually referring to what each embodiment was stressed is the difference with other embodiment.
For especially for system embodiment, because it is substantially similar to embodiment of the method, so the comparison of description
Simply, related part is illustrated referring to the part of embodiment of the method.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill
For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle
Any modification, equivalent substitution and improvements of work etc., within the scope of should be included in claims hereof.