CN103905552A - File sharing method, terminal and server - Google Patents

File sharing method, terminal and server Download PDF

Info

Publication number
CN103905552A
CN103905552A CN201410135824.XA CN201410135824A CN103905552A CN 103905552 A CN103905552 A CN 103905552A CN 201410135824 A CN201410135824 A CN 201410135824A CN 103905552 A CN103905552 A CN 103905552A
Authority
CN
China
Prior art keywords
file
terminal
shared object
communication
place
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.)
Pending
Application number
CN201410135824.XA
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410135824.XA priority Critical patent/CN103905552A/en
Publication of CN103905552A publication Critical patent/CN103905552A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a file sharing method. The method includes the steps of firstly, obtaining files and property information of the files, wherein the property information includes a first position where a terminal is located when the terminal obtains the files; secondly, sending address book information of the terminal and the property information to a server, wherein the address book information includes communication information of at least one contact person; thirdly, receiving communication information, sent by the server, of recommended sharing objects, wherein the recommended sharing objects are at least one of the contact persons, and the first distance between a second position where the recommended sharing objects are located and the first position is smaller than or equal to a preset threshold value; fourthly, determining a target sharing object for sharing the files according to the recommended sharing objects; fifthly, sending the files to the target sharing object. By means of the method, the operation process that the object for sharing multimedia data is manually selected is simplified, and the condition of the sharing object error is reduced.

Description

A kind of file sharing method, terminal and server
Technical field
The present invention relates to communication technical field, relate in particular to a kind of file sharing method, terminal and server.
Background technology
At present, carry out the shared mode of multimedia by terminals such as mobile phones and be mainly: select photo and sharing mode that user institute will be shared, for the manually shared object of selection of different photos, after confirmation, carry out the transmission of photo.Many when the photo that needs send, and the object that will send is when inconsistent, need to operate respectively, such as A photo is issued to a object, B photo is issued to b object, such mode of operation very complicated, and easily make mistakes.
Summary of the invention
The embodiment of the present invention provides a kind of file sharing method, terminal and server, and the terminal that can recommend from trend is shared multi-medium data.
The embodiment of the present invention provides a kind of file sharing method, comprises the following steps:
Obtain the attribute information of file and described file, described attribute information comprises the primary importance at place when terminal is obtained described file;
The address list information of described terminal and described attribute information are sent to server, and described address list information comprises the communication information of at least one communication object;
Receive the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the second place at described recommendation shared object place, and the distance of first between described primary importance is less than or equal to default threshold value;
Determine the target shared object of shared file according to described recommendation shared object;
Described file is sent to described target shared object.
The embodiment of the present invention also provides another kind of file sharing method, comprises the following steps:
The address list information that receiving terminal sends and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, described address list information comprises the communication information of at least one communication object;
Whether the first distance between the second place at described at least one the communication object place of judgement and described primary importance is less than or equal to default threshold value;
If so, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
The embodiment of the present invention also provides a kind of terminal, comprising:
File acquisition unit, for obtaining the attribute information of file and described file, described attribute information comprises the primary importance at place when described file acquisition unit obtains described file;
The first transmitting element, for the address list information of described terminal and described attribute information are sent to server, described address list information comprises the communication information of at least one communication object;
The first receiving element, for receiving the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the second place at described recommendation shared object place, and the distance of first between described primary importance is less than or equal to default threshold value;
Shared object determining unit, for determining the target shared object of shared file according to described recommendation shared object;
The second transmitting element, for sending to described file described target shared object.
The embodiment of the present invention also provides a kind of server, comprising:
The second receiving element, the address list information sending for receiving terminal and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, described address list information comprises the communication information of at least one communication object;
Judging unit, for first between the second place that judges described at least one communication object place and described primary importance apart from whether being less than or equal to default threshold value;
The 3rd transmitting element, for when judged result is when being, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
Terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of file sharing method of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of file sharing method that provides of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another file sharing method of providing of the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another file sharing method of providing of the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of terminal of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of the another kind of terminal that provides of the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of server of providing of the embodiment of the present invention;
Fig. 8 is the structural representation of the another kind of server that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Terminal in the embodiment of the present invention comprises that mobile phone, panel computer etc. possess the mobile terminal of shoot function.
Refer to Fig. 1, the schematic flow sheet of a kind of file sharing method providing for the embodiment of the present invention, the present embodiment is mainly set forth from terminal one side, specifically comprises step S101-S105.
S101, obtains the attribute information of file and described file, and described attribute information comprises the primary importance at place when terminal is obtained described file.
In embodiment of the present invention, obtain file and refer to that terminal obtains the multi-medium data such as photo or video file, take pictures or the process of recorded video.In the time that user opens the shoot function of terminal, terminal is obtained the attribute information of file and file, and wherein, attribute information comprises that current real time position is primary importance, concrete, and this primary importance can be to exist with the form of latitude and longitude coordinates; Concrete, the navigation systems such as the GSM/CDMA/GPS that can carry by terminal are obtained current position, also can obtain current position by architecture or network positions.
In one embodiment, timing update time or the renewal frequency of primary importance can be set, such as often at regular intervals section (as 15 minutes) upgrade a real time position.
S102, sends to server by the address list information of described terminal and described attribute information, and described address list information comprises the communication information of at least one communication object.
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
In one embodiment, the primary importance after timing can being upgraded sends to server, so that server is grasped the position of terminal in real time.
S103, receive the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the distance of first between the second place at described recommendation shared object place and described primary importance is less than or equal to default threshold value.
S104, determines the target shared object of shared file according to described recommendation shared object.
In one embodiment, recommending the second place at shared object place can be the position of server Real-time Obtaining while receiving the attribute information that terminal sends, and server receives the recommendation operation of carrying out at once shared object after the message of terminal.In another embodiment, the time that the attribute information that terminal sends also can comprise terminal and obtains file, so that server goes to obtain according to this time of obtaining file the position that communication object is corresponding, it is the recommendation operation that server can not carried out shared object at once, can be according to each time point of storage the corresponding relation with position at that time, after certain time recommend again to operate.
S105, sends to described target shared object by described file.
Concrete, according to the communication information of target shared object, to target shared object Transmit message.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Refer to Fig. 2, the schematic flow sheet of a kind of file sharing method providing for the embodiment of the present invention, the present embodiment is mainly set forth from terminal one side, specifically comprises step S201-S209.
S201, obtains the attribute information of file and described file, and described attribute information comprises the primary importance at place when terminal is obtained described file.
In embodiment of the present invention, obtain file and refer to that terminal obtains the multi-medium data such as photo or video file, take pictures or the process of recorded video.In the time that user opens the shoot function of terminal, terminal is obtained the attribute information of file and file, and wherein, attribute information comprises that current real time position is primary importance, concrete, and this primary importance can be to exist with the form of latitude and longitude coordinates; Concrete, the navigation systems such as the GSM/CDMA/GPS that can carry by terminal are obtained current position, also can obtain current position by architecture or network positions.
In one embodiment, timing update time or the renewal frequency of primary importance can be set, such as often at regular intervals section (as 15 minutes) upgrade a real time position.
S202, sends to server by the address list information of described terminal and described attribute information, and described address list information comprises the communication information of at least one communication object;
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
In one embodiment, the primary importance after timing can being upgraded sends to server, so that server is grasped the position of terminal in real time.
S203, receive the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the distance of first between the second place at described recommendation shared object place and described primary importance is less than or equal to default threshold value.
In one embodiment, recommending the second place at shared object place can be the position of server Real-time Obtaining while receiving the attribute information that terminal sends, and server receives the recommendation operation of carrying out at once shared object after the message of terminal.In another embodiment, the time that the attribute information that terminal sends also can comprise terminal and obtains file, so that server goes to obtain according to this time of obtaining file the position that communication object is corresponding, it is the recommendation operation that server can not carried out shared object at once, can be according to each time point of storage the corresponding relation with position at that time, after certain time recommend again to operate.
S204, preserves the communication information of described recommended and described file association.
Terminal is preserved the communication information of recommending shared object with the file association getting, for instance, in the time that user photographs photo, the communication information of recommending shared object is kept in this photo, in the time that user need to share this photo, can, by the communication information of preserving, share this photo to corresponding recommendation shared object.
S205, determines the target shared object of shared file according to described recommendation shared object.
Target shared object is the object terminal of final definite terminal shared file.In one embodiment, can will recommend shared object directly as final definite shared object terminal, recommending shared object be final object shared object.In other embodiments, also can freely be selected to increase or delete by user the object terminal of shared file, and be as the criterion with user's selection, determine final target shared object.
S206, receives the 3rd position of the current time of the described target shared object that described server sends.
Concrete, in the time that terminal receives the sharing request of file, again the communication information that sends target shared object to server, so that server obtains the 3rd position of target shared object current time according to the communication information of target shared object, and returns to terminal.
S207, the 4th position that obtains described terminal current time;
S208, determines the second distance between described the 3rd position and described the 4th position;
S209, sends to described target shared object by described file.
According to second distance, determine the mode that file sends, concrete, comprising:
In the time that described second distance is less than or equal to the maximum transmission distance of bluetooth, described file is sent to described target shared object by bluetooth;
When described second distance is less than or equal to the maximum transmission distance of bluetooth, and described target shared object is not while supporting Bluetooth function (connecting as recommended shared object not open bluetooth), and described file is sent to described target shared object by wireless network;
In the time that described second distance is greater than the maximum transmission distance of bluetooth, described file is sent to described target shared object by wireless network.
In one embodiment, the maximum transmission distance of bluetooth can be set to 10 meters.In the time that terminal show that according to the 3rd position and the 4th position calculation distance between terminal and target shared object is less than the maximum transmission distance of bluetooth, described file is sent to described target shared object by bluetooth; In the time that terminal show that according to the 3rd position and the 4th position calculation distance between terminal and target shared object is greater than the maximum transmission distance of bluetooth, described file is sent to described target shared object by wireless network.Wherein, comprise by the method for wireless network Transmit message: judge the type of communication information, if the account that communication information is bitcom is logined corresponding bitcom, by bitcom Transmit message; If communication information is telephone number, file is uploaded to Network U plate and carry out file-sharing.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Refer to Fig. 3, the schematic flow sheet of the another kind of file sharing method providing for the embodiment of the present invention, the present embodiment is mainly set forth from server one side, specifically comprises step S301-S303.
S301, the address list information that receiving terminal sends and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, described address list information comprises the communication information of at least one communication object.
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
S302, whether the first distance between the second place at described at least one the communication object place of judgement and described primary importance is less than or equal to default threshold value.
It should be noted that, server can obtain at once the second place of at least one communication object after the attribute information that receives address list information that terminal sends and file, and carries out immediately the recommendation operation of shared object; Also can be according to the time of obtaining file of also carrying in attribute information and communication object in the second place corresponding to this time, after certain time recommend operation.
It should be noted that, default threshold value is for carrying out the distance of file-sharing between each default terminal, as is set to 1000 meters, and expression terminal can be carried out file-sharing with the communication object in 1000 meters.
S303, if so, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
Above-mentioned communication information refers to the account of cell-phone number or the mounted bitcom (as micro-letter, QQ, FACEBOOK etc.) of at least one communication object.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Refer to Fig. 4, the schematic flow sheet of a kind of file sharing method providing for the embodiment of the present invention, the present embodiment is mainly set forth from server one side, specifically comprises step S401-S404.
S401, the address list information that receiving terminal sends and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, described address list information comprises the communication information of at least one communication object;
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
S402, whether the first distance between the second place at described at least one the communication object place of judgement and described primary importance is less than or equal to default threshold value.Concrete, can comprise following two kinds of execution modes:
One, whether the first distance between the second place and the described primary importance at described at least one communication object of judgement place in the time that described server receives described attribute information is less than or equal to default threshold value, be that server obtains the second place of at least one communication object while receiving described attribute information at once, and carry out immediately the recommendation operation of shared object.
Its two, the positional information of Real-time Obtaining described at least one communication object of storage;
Obtain the positional information of the time of file and the described communication object of storage according to described terminal, determine described communication object corresponding position in the time that described terminal is obtained the time of described file;
Described at least one communication object of judgement obtains first between position corresponding to time of described file and described primary importance apart from whether being less than or equal to default threshold value in described terminal.
Wherein, the attribute information that terminal sends has also carried the time that terminal is obtained file, so that server goes to obtain according to this time of obtaining file the position that communication object is corresponding, it is the recommendation operation that server can not carried out shared object at once, can be according to the corresponding relation of each time point of storage and position at that time, after certain time determine described communication object corresponding position in the time that described terminal is obtained the time of described file, then recommend operation.
S403, if so, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
Concrete, in one embodiment, if described at least one communication object need to obtain sharing of file from other-end, can initiatively send its communication information and send in real time the information such as the second place to server to server, if the distance of primary importance and the second place is in default threshold value, and the communication information of at least one communication object is present in the address list information of terminal, described at least one communication object of server is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal.
In another embodiment, server is receiving after the primary importance and address list information of terminal, also can be according to primary importance, other-end in detection range primary importance certain limit, and then obtain the communication information of the terminal within the scope of this, if this communication information is present in address list information, described at least one communication object of server is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal.
It should be noted that, default threshold value is for carrying out the distance of file-sharing between each default terminal, as is set to 1000 meters, and expression terminal can be carried out file-sharing with the communication object in 1000 meters.
Above-mentioned communication information refers to the account of cell-phone number or the mounted bitcom (as micro-letter, QQ, FACEBOOK etc.) of at least one communication object.
S404, server receives the target shared object that described terminal sends, and the 3rd position that obtains target shared object current time returns to terminal, and wherein target shared object is the object terminal of the final definite shared file of terminal.
Further, also can obtain the state information of target shared object, state information comprises the information such as target shared object Bluetooth switch state, Bluetooth address and network switching state.
Further, also obtain the 4th position of terminal current time, according to the distance of the 3rd position and the 4th position, judge whether the distance of terminal and target shared object is less than or equal to the maximum transmission distance of bluetooth, if the determination result is YES, and the bluetooth of described state information display-object shared object is closed condition, notification target shared object starts bluetooth, and send the Bluetooth address of target shared object to terminal, so that initiating bluetooth by this Bluetooth address to target shared object, terminal connects and shared file; If judged result is no, and the network of described state information display-object shared object is closed condition, can start network by notification target shared object, further, also can open login bitcom (as micro-letter, QQ, FACEBOOK) by notification target shared object, so that terminal is by logining bitcom to target shared object Transmit message.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Refer to Fig. 5, the structural representation of a kind of terminal 5 providing for the embodiment of the present invention, comprises control unit 50, file acquisition unit 51, the first transmitting element 52, the first receiving element 53, shared object determining unit 54 and the second transmitting element 55.
Control unit 50, for controlling the workflow management of the mutual and program of the signal of other units, control unit 50 can adopt central processor CPU.
File acquisition unit 51, for obtaining the attribute information of file and described file, described attribute information comprises the primary importance at place when described file acquisition unit obtains described file.
In embodiment of the present invention, obtain file and refer to that terminal obtains the multi-medium data such as photo or video file, take pictures or the process of recorded video.In the time that user opens the shoot function of terminal, terminal is obtained the attribute information of file and file, wherein, attribute information comprises current real time position (latitude and longitude coordinates), it is primary importance, concrete, the navigation systems such as the GSM/CDMA/GPS that can carry by terminal are obtained current position, also can obtain current position by architecture or network positions.
In one embodiment, timing update time or the renewal frequency of primary importance can be set, such as often at regular intervals section (as 15 minutes) upgrade a real time position.
The first transmitting element 52, for the address list information of described terminal and described attribute information are sent to server, described address list information comprises the communication information of at least one communication object.
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
In one embodiment, the primary importance after timing can being upgraded sends to server, so that server is grasped the position of terminal in real time.
The first receiving element 53, for receiving the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the second place at described recommendation shared object place, and the distance of first between described primary importance is less than or equal to default threshold value.
In one embodiment, recommending the second place at shared object place can be the position of server Real-time Obtaining while receiving the attribute information that terminal sends, and server receives the recommendation operation of carrying out at once shared object after the message of terminal.In another embodiment, the time that the attribute information that terminal sends also can comprise terminal and obtains file, so that server goes to obtain according to this time of obtaining file the position that communication object is corresponding, it is the recommendation operation that server can not carried out shared object at once, can be according to each time point of storage the corresponding relation with position at that time, after certain time recommend again to operate.
Shared object determining unit 54, for determining the target shared object of shared file according to described recommendation shared object.
Target shared object is the object terminal of final definite terminal shared file.In one embodiment, shared object determining unit 54 can will recommend shared object directly as final definite shared object terminal, and recommending shared object is final object shared object.In other embodiments, also can freely be selected to increase or delete by user the object terminal of shared file, and be as the criterion with user's selection, determine final target shared object.
The second transmitting element 55, for sending to described file described target shared object.
Concrete, according to the communication information of target shared object, to target shared object Transmit message.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Refer to Fig. 6, the structural representation of the another kind of terminal 6 providing for the embodiment of the present invention, comprises control unit 60, file acquisition unit 61, the first transmitting element 62, the first receiving element 63, storage unit 64, shared object determining unit 65, the second receiving element 66, position acquisition unit 67, distance determining unit 68 and the second transmitting element 69.
Control unit 60, for controlling the workflow management of the mutual and program of the signal of other units, control unit 60 can adopt central processor CPU.
File acquisition unit 61, for obtaining the attribute information of file and described file, described attribute information comprises the primary importance at place when described file acquisition unit obtains described file.
In embodiment of the present invention, obtain file and refer to that terminal obtains the multi-medium data such as photo or video file, take pictures or the process of recorded video.In the time that user opens the shoot function of terminal, terminal is obtained the attribute information of file and file, wherein, attribute information comprises current real time position (latitude and longitude coordinates), it is primary importance, concrete, the navigation systems such as the GSM/CDMA/GPS that can carry by terminal are obtained current position, also can obtain current position by architecture or network positions.
In one embodiment, timing update time or the renewal frequency of primary importance can be set, such as often at regular intervals section (as 15 minutes) upgrade a real time position.
The first transmitting element 62, for the address list information of described terminal and described attribute information are sent to server, described address list information comprises the communication information of at least one communication object.
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
In one embodiment, the primary importance after timing can being upgraded sends to server, so that server is grasped the position of terminal in real time.
The first receiving element 63, for receiving the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the second place at described recommendation shared object place, and the distance of first between described primary importance is less than or equal to default threshold value.
In one embodiment, recommending the second place at shared object place can be the position of server Real-time Obtaining while receiving the attribute information that terminal sends, and server receives the recommendation operation of carrying out at once shared object after the message of terminal.In another embodiment, the time that the attribute information that terminal sends also can comprise terminal and obtains file, so that server goes to obtain according to this time of obtaining file the position that communication object is corresponding, it is the recommendation operation that server can not carried out shared object at once, can be according to each time point of storage the corresponding relation with position at that time, after certain time recommend again to operate.
Storage unit 64, for preserving the communication information of described recommended and described file association.
Storage unit 64 is preserved the communication information of recommending shared object with the file association getting, for instance, in the time that user photographs photo, the communication information of recommending shared object is kept in this photo, in the time that user need to share this photo, can, by the communication information of preserving, share this photo to corresponding recommendation shared object.
Shared object determining unit 65, for determining the target shared object of shared file according to described recommendation shared object;
Target shared object is the object terminal of final definite terminal shared file.In one embodiment, shared object determining unit 65 can will recommend shared object directly as final definite shared object terminal, and recommending shared object is final object shared object.In other embodiments, also can freely be selected to increase or delete by user the object terminal of shared file, and be as the criterion with user's selection, determine final target shared object.
The second receiving element 66, for receiving the 3rd position of current time of the described target shared object that described server sends;
Concrete, in the time that terminal receives the sharing request of file, again the communication information that sends target shared object to server, so that server obtains the 3rd position of target shared object current time according to the communication information of target shared object, and returns to the second receiving element 66.
Position acquisition unit 67, for obtaining the 4th position of described terminal current time;
Distance determining unit 68, for determining the second distance between described the 3rd position and described the 4th position;
The second transmitting element 69, for sending to described file described target shared object.In one embodiment, the second transmitting element 69 is specifically in the time that described second distance is less than or equal to the maximum transmission distance of bluetooth, described file is sent to described target shared object by bluetooth, when described second distance is less than or equal to the maximum transmission distance of bluetooth, and when described target shared object is not supported Bluetooth function, described file is sent to described target shared object by wireless network, in the time that described second distance is greater than the maximum transmission distance of bluetooth, described file is sent to described target shared object by wireless network.
In one embodiment, the maximum transmission distance of bluetooth can be set to 10 meters.In the time that terminal show that according to the 3rd position and the 4th position calculation distance between terminal and target shared object is less than the maximum transmission distance of bluetooth, described file is sent to described target shared object by bluetooth; In the time that terminal show that according to the 3rd position and the 4th position calculation distance between terminal and target shared object is greater than the maximum transmission distance of bluetooth, described file is sent to described target shared object by wireless network.Wherein, comprise by the method for wireless network Transmit message: judge the type of communication information, if the account that communication information is bitcom is logined corresponding bitcom, by bitcom Transmit message; If communication information is telephone number, file is uploaded to Network U plate and carry out file-sharing.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Refer to Fig. 7, the structural representation of a kind of server 7 providing for the embodiment of the present invention, comprises control unit 70, the second receiving element 71, judging unit 72 and the 3rd transmitting element 73.
Control unit 70, for controlling the workflow management of the mutual and program of the signal of other units, control unit 70 can adopt central processor CPU.
The second receiving element 71, the address list information sending for receiving terminal and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, and described address list information comprises the communication information of at least one communication object.
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
Judging unit 72, for first between the second place that judges described at least one communication object place and described primary importance apart from whether being less than or equal to default threshold value.
It should be noted that, server can obtain at once the second place of at least one communication object after the attribute information that receives address list information that terminal sends and file, and carries out immediately the recommendation operation of shared object; Also can be according to the time of obtaining file of also carrying in attribute information and communication object in the second place corresponding to this time, after certain time recommend operation.
It should be noted that, default threshold value is for carrying out the distance of file-sharing between each default terminal, as is set to 1000 meters, and expression terminal can be carried out file-sharing with the communication object in 1000 meters.
The 3rd transmitting element 73, for when judged result is when being, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
Above-mentioned communication information refers to the account of cell-phone number or the mounted bitcom (as micro-letter, QQ, FACEBOOK etc.) of at least one communication object.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
Refer to Fig. 8, the structural representation of the another kind of server 8 providing for the embodiment of the present invention, comprises control unit 80, the second receiving element 81, judging unit 82, the 3rd transmitting element 83 and the 3rd receiving element 84.
Control unit 80, for controlling the workflow management of the mutual and program of the signal of other units, control unit 80 can adopt central processor CPU.
The second receiving element 81, the address list information sending for receiving terminal and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, and described address list information comprises the communication information of at least one communication object.
Wherein, address list information can comprise the telephone number of at least one contact person in cell-phone number and the phone directory thereof of terminal, the account that also can be included at least one good friend in account and the buddy list thereof that in terminal, mounted bitcom is logined, bitcom comprises micro-letter, QQ, FACEBOOK etc.
Judging unit 82, for first between the second place that judges described at least one communication object place and described primary importance apart from whether being less than or equal to default threshold value.
In one embodiment, judging unit 82 specifically for first between the second place that judges described at least one communication object place in the time that described server receives described attribute information and described primary importance apart from whether being less than or equal to default threshold value.
In another embodiment, the attribute information time that also carried terminal obtains described file; Judging unit 82 is specifically for the positional information of Real-time Obtaining described at least one communication object of storage, obtain the positional information of the time of file and described at least one communication object of storage according to described terminal, determine described communication object corresponding second place in the time that described terminal is obtained the time of described file, described at least one communication object of judgement in the time that described terminal is obtained the time of described file first between the corresponding second place and described primary importance apart from whether being less than or equal to default threshold value.
The 3rd transmitting element 83, for when judged result is when being, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
Concrete, in one embodiment, if described at least one communication object need to obtain sharing of file from other-end, can initiatively send its communication information and send in real time the information such as the second place to server to server, if the distance of primary importance and the second place is in default threshold value, and the communication information of at least one communication object is present in the address list information of terminal, described at least one communication object of server is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal.
In another embodiment, server is receiving after the primary importance and address list information of terminal, also can be according to primary importance, other-end in detection range primary importance certain limit, and then obtain the communication information of the terminal within the scope of this, if this communication information is present in address list information, described at least one communication object of server is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal.
It should be noted that, default threshold value is for carrying out the distance of file-sharing between each default terminal, as is set to 1000 meters, and expression terminal can be carried out file-sharing with the communication object in 1000 meters.
Above-mentioned communication information refers to the account of cell-phone number or the mounted bitcom (as micro-letter, QQ, FACEBOOK etc.) of at least one communication object.
The 3rd receiving element 84, the target shared object sending for receiving described terminal, and the 3rd position that obtains target shared object current time returns to terminal, wherein target shared object is the object terminal of the final definite shared file of terminal.
Further, server also can obtain the state information of target shared object, and state information comprises the information such as target shared object Bluetooth switch state, Bluetooth address and network switching state.
Further, server also obtains the 4th position of terminal current time, according to the distance of the 3rd position and the 4th position, judge whether the distance of terminal and target shared object is less than or equal to the maximum transmission distance of bluetooth, if the determination result is YES, and the bluetooth of described state information display-object shared object is closed condition, notification target shared object starts bluetooth, and send the Bluetooth address of target shared object to terminal, so that initiating bluetooth by this Bluetooth address to target shared object, terminal connects and shared file; If judged result is no, and the network of described state information display-object shared object is closed condition, can start network by notification target shared object, further, also can open login bitcom (as micro-letter, QQ, FACEBOOK) by notification target shared object, so that terminal is by logining bitcom to target shared object Transmit message.
In embodiments of the present invention, terminal is by sending address list information and primary importance to server, make server in address list information, search the communication object of the distance of first between position and primary importance in predetermined threshold value, and this communication object is set to the recommendation shared object of terminal shared file, terminal can be determined final target shared object by the recommendation shared object receiving in the time of shared file, according to the communication information of target shared object to target shared object shared file, simplify thus the operating process of the object of manual selection shared file, and the situation that object is made mistakes is shared in minimizing.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Unit in embodiment of the present invention device can merge according to actual needs, divides and delete.
Unit described in the embodiment of the present invention, can pass through universal integrated circuit, for example CPU(Central Processing Unit, central processing unit), or by ASIC(Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) realize.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (12)

1. a file sharing method, is characterized in that, comprising:
Obtain the attribute information of file and described file, described attribute information comprises the primary importance at place when terminal is obtained described file;
The address list information of described terminal and described attribute information are sent to server, and described address list information comprises the communication information of at least one communication object;
Receive the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the distance of first between the second place at described recommendation shared object place and described primary importance is less than or equal to default threshold value;
Determine the target shared object of shared file according to described recommendation shared object;
Described file is sent to described target shared object.
2. file sharing method according to claim 1, is characterized in that, before described file is sent to described target shared object, also comprises:
Receive the 3rd position of the current time of the described target shared object that described server sends;
Obtain the 4th position of described terminal current time;
Determine the second distance between described the 3rd position and described the 4th position;
Described described file is sent to described target shared object, comprising:
In the time that described second distance is less than or equal to the maximum transmission distance of bluetooth, described file is sent to described target shared object by bluetooth;
When described second distance is less than or equal to the maximum transmission distance of bluetooth, and described target shared object is not while supporting Bluetooth function, and described file is sent to described target shared object by wireless network;
In the time that described second distance is greater than the maximum transmission distance of bluetooth, described file is sent to described target shared object by wireless network.
3. file sharing method according to claim 1, is characterized in that, after the communication information of the recommendation shared object that the described server of described reception sends, also comprises:
The communication information of described recommended and described file association are preserved.
4. a file sharing method, is characterized in that, comprising:
The address list information that receiving terminal sends and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, described address list information comprises the communication information of at least one communication object;
Whether the first distance between the second place at described at least one the communication object place of judgement and described primary importance is less than or equal to default threshold value;
If so, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
5. file sharing method according to claim 4, is characterized in that, whether the first distance described in described judgement between the second place at least one communication object place and described primary importance is less than or equal to default threshold value, comprising:
Whether the first distance between the second place and the described primary importance at described at least one communication object of judgement place in the time that described server receives described attribute information is less than or equal to default threshold value.
6. file sharing method according to claim 4, is characterized in that, the time that described attribute information also carries described terminal and obtains described file;
Whether the distance of first described in described judgement between the second place at least one communication object place and described primary importance is less than or equal to default threshold value, comprising:
The positional information of Real-time Obtaining described at least one communication object of storage;
Obtain the positional information of the time of file and the described communication object of storage according to described terminal, determine described communication object corresponding position in the time that described terminal is obtained the time of described file;
Described at least one communication object of judgement obtains first between position corresponding to time of described file and described primary importance apart from whether being less than or equal to default threshold value in described terminal.
7. a terminal, is characterized in that, comprising:
File acquisition unit, for obtaining the attribute information of file and described file, described attribute information comprises the primary importance at place when described file acquisition unit obtains described file;
The first transmitting element, for the address list information of described terminal and described attribute information are sent to server, described address list information comprises the communication information of at least one communication object;
The first receiving element, for receiving the communication information of the recommendation shared object that described server sends, wherein, described recommendation shared object is at least one in described communication object, and the second place at described recommendation shared object place, and the distance of first between described primary importance is less than or equal to default threshold value;
Shared object determining unit, for determining the target shared object of shared file according to described recommendation shared object;
The second transmitting element, for sending to described file described target shared object.
8. terminal as claimed in claim 7, is characterized in that, described terminal also comprises:
The second receiving element, for receiving the 3rd position of current time of the described target shared object that described server sends;
Position acquisition unit, for obtaining the 4th position of described terminal current time;
Distance determining unit, for determining the second distance between described the 3rd position and described the 4th position;
Described the second transmitting element is specifically in the time that described second distance is less than or equal to the maximum transmission distance of bluetooth, described file is sent to described target shared object by bluetooth, when described second distance is less than or equal to the maximum transmission distance of bluetooth, and when described target shared object is not supported Bluetooth function, described file is sent to described target shared object by wireless network, in the time that described second distance is greater than the maximum transmission distance of bluetooth, described file is sent to described target shared object by wireless network.
9. terminal according to claim 7, is characterized in that, also comprises:
Storage unit, for preserving the communication information of described recommended and described file association.
10. a server, is characterized in that, comprising:
The second receiving element, the address list information sending for receiving terminal and the attribute information of file, described attribute information comprises the primary importance at place when described terminal is obtained described file, described address list information comprises the communication information of at least one communication object;
Judging unit, for first between the second place that judges described at least one communication object place and described primary importance apart from whether being less than or equal to default threshold value;
The 3rd transmitting element, for when judged result is when being, described at least one communication object is set to recommend shared object and the communication information of described recommendation shared object is sent to described terminal, and described recommendation shared object is for carrying out sharing files with described terminal.
11. servers as claimed in claim 10, it is characterized in that, described judging unit specifically for first between the second place that judges described at least one communication object place in the time that described server receives described attribute information and described primary importance apart from whether being less than or equal to default threshold value.
12. servers as claimed in claim 10, is characterized in that, the described attribute information time that also carried terminal obtains described file;
Described judging unit is specifically for the positional information of Real-time Obtaining described at least one communication object of storage, obtain the positional information of the time of file and described at least one communication object of storage according to described terminal, determine described communication object corresponding second place in the time that described terminal is obtained the time of described file, described at least one communication object of judgement in the time that described terminal is obtained the time of described file first between the corresponding second place and described primary importance apart from whether being less than or equal to default threshold value.
CN201410135824.XA 2014-04-04 2014-04-04 File sharing method, terminal and server Pending CN103905552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410135824.XA CN103905552A (en) 2014-04-04 2014-04-04 File sharing method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410135824.XA CN103905552A (en) 2014-04-04 2014-04-04 File sharing method, terminal and server

Publications (1)

Publication Number Publication Date
CN103905552A true CN103905552A (en) 2014-07-02

Family

ID=50996706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410135824.XA Pending CN103905552A (en) 2014-04-04 2014-04-04 File sharing method, terminal and server

Country Status (1)

Country Link
CN (1) CN103905552A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550933A (en) * 2014-10-23 2016-05-04 三星电子株式会社 Electronic device and method of operating content receiver recommendation service
WO2016127438A1 (en) * 2015-02-15 2016-08-18 华为技术有限公司 Information sharing method and apparatus
CN106411980A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Digital content sharing method and sharing apparatus thereof
CN106686105A (en) * 2017-01-09 2017-05-17 车智互联(北京)科技有限公司 Method of pushing messages, computing device, server and information sharing system
WO2017185652A1 (en) * 2016-04-25 2017-11-02 乐视控股(北京)有限公司 Method for implementing file sharing and electronic device
CN110324373A (en) * 2018-03-29 2019-10-11 华为技术有限公司 Sharing files method and device, file syn chronizing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080275865A1 (en) * 2007-05-04 2008-11-06 Sony Ericsson Mobile Communications Ab Searching and ranking contacts in contact database
CN102546835A (en) * 2012-03-08 2012-07-04 腾讯科技(深圳)有限公司 Method for sharing contents, terminal, server and system
CN102982115A (en) * 2011-11-09 2013-03-20 微软公司 Connection of users by geo-location
CN103327443A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and linkman searching method
CN103327452A (en) * 2013-07-11 2013-09-25 深圳市聚领信息科技有限公司 Method and device for quick sharing of software and information based on GPS (Global Positioning System)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080275865A1 (en) * 2007-05-04 2008-11-06 Sony Ericsson Mobile Communications Ab Searching and ranking contacts in contact database
CN102982115A (en) * 2011-11-09 2013-03-20 微软公司 Connection of users by geo-location
CN102546835A (en) * 2012-03-08 2012-07-04 腾讯科技(深圳)有限公司 Method for sharing contents, terminal, server and system
CN103327443A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and linkman searching method
CN103327452A (en) * 2013-07-11 2013-09-25 深圳市聚领信息科技有限公司 Method and device for quick sharing of software and information based on GPS (Global Positioning System)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550933A (en) * 2014-10-23 2016-05-04 三星电子株式会社 Electronic device and method of operating content receiver recommendation service
WO2016127438A1 (en) * 2015-02-15 2016-08-18 华为技术有限公司 Information sharing method and apparatus
CN107211041A (en) * 2015-02-15 2017-09-26 华为技术有限公司 information sharing method and device
US11223671B2 (en) 2015-02-15 2022-01-11 Huawei Technologies Co., Ltd. Information sharing method and apparatus
US11489913B2 (en) 2015-02-15 2022-11-01 Huawei Technologies Co., Ltd. Information sharing method and apparatus
CN106411980A (en) * 2015-07-31 2017-02-15 腾讯科技(深圳)有限公司 Digital content sharing method and sharing apparatus thereof
CN106411980B (en) * 2015-07-31 2020-02-14 腾讯科技(深圳)有限公司 Sharing method and sharing device of digital content
WO2017185652A1 (en) * 2016-04-25 2017-11-02 乐视控股(北京)有限公司 Method for implementing file sharing and electronic device
CN106686105A (en) * 2017-01-09 2017-05-17 车智互联(北京)科技有限公司 Method of pushing messages, computing device, server and information sharing system
CN106686105B (en) * 2017-01-09 2020-01-17 车智互联(北京)科技有限公司 Message pushing method, computing device, server and information sharing system
CN110324373A (en) * 2018-03-29 2019-10-11 华为技术有限公司 Sharing files method and device, file syn chronizing system

Similar Documents

Publication Publication Date Title
USRE49470E1 (en) Visual representation of contact location
CN103905552A (en) File sharing method, terminal and server
US9867025B2 (en) Mobile terminal and method for controlling same
RU2640646C2 (en) Method and device for cloud card transmission
US20120195295A1 (en) System and method for identification of mobile device users in an area of a wireless access point
JP4620054B2 (en) Portable terminal and wireless quality display method, program and system using the same
CN104202396A (en) Information sharing method, device, server, terminal device and system
US20150350855A1 (en) Data Sending Method and Apparatus
KR20110016349A (en) A method and an apparatus for providing social network service
CN102546656A (en) Method, system and device for finding user in social network
CN106254467A (en) Sharing files method and device
CN111010663B (en) Information sharing method and device, storage medium and computer equipment
CN104618854A (en) Method, terminal and server for sharing location information
CN103220310A (en) Calling card exchange method and terminal and calling card server used for calling card exchange
EP3435639A1 (en) Mobile terminal and contact adding and sharing method thereof
US20150149545A1 (en) Apparatus and method for sharing of location information using social network service
JP2018032134A (en) Construction machine management system
CN104184898A (en) Incoming call information display processing method and device
CN108235237B (en) Data reporting method and device, mobile terminal and computer readable medium
CN105208176A (en) Contact record processing method and device
CN103281236B (en) Electronic business card exchange method, device and system
CN103648157A (en) A method for a mobile terminal to request wireless communication network registration, a mobile terminal, a wireless communication network server, and a system
CN108934025B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium
KR102343328B1 (en) Device and method for transmitting file
EP3171608B1 (en) Playing device grouping control method and user terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140702

RJ01 Rejection of invention patent application after publication