Embodiment
By reference to one exemplary embodiment, the purpose of the present invention and function and the side for realizing these purposes and function
Method will be illustrated.However, the present invention is not limited to one exemplary embodiment as disclosed below;Can by multi-form come
It is realized.The essence of specification is only to aid in the detail of the various equivalent modifications Integrated Understanding present invention.
Embodiments in accordance with the present invention include mesh network nodes(MNN)Using, the method for inviting new user, with
And for sharing the method for file between a plurality of users.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical reference represents identical
Or similar part, or same or like step.
Fig. 1 schematically shows mesh networks 100 according to embodiments of the present invention.Mesh network 100 includes multiple mobile electricity
Sub- equipment 110.Mobile electronic device 110 for example can be that mobile phone, tablet personal computer, notebook computer or mobile media are played
Device.Any two mobile electronic device 110 is joined directly together each other by wireless connection 120.Wireless connection 120 for example can be
WiFi connections, bluetooth connection, near-field communication(NFC)Connection etc..
MNN applications according to embodiments of the present invention may be mounted on mobile electronic device 110.MNN applications can be stored
And install on a computer-readable medium, such as flash memory or ROM of mobile electronic device 110.Each movement for being mounted with MNN applications
Electronic equipment 110 can be used as router, server or client.As server, mobile electronic device can be for example in TCP
Listen to monitor any request from other mobile electronic devices in port 9876.So, mobile electronic device 110 is formd
Mesh networks, every a pair of mobile electronic devices 110 can be directly communicated with each other in the mesh networks.By any one movement electricity
Sub- equipment 110 removes the communication not interfered between other two mobile electronic devices 110.Can be in any two mobile electron
File is conveniently shared between equipment 110 or any mobile electronic device 110 of three or more.
Fig. 2 (a) -2 (f) shows the exemplary user interface 200 of MNN applications according to embodiments of the present invention.MNN is applied
On the mobile electronic device 110 with screen 130.The screen can be touch-screen.
User interface 200 can include connection and shared region 210, invite region 220 and content area 230.According to this
The embodiment of invention, it is whether ready in mesh networks according to mobile electronic device 110, can be in connection and shared region
Different contents are shown in 210.Embodiments in accordance with the present invention, when mobile electronic device 110 is not attached in mesh networks
When, connection button 211 is shown in connection and shared region 210, such as shown in Fig. 2 (a).User can be by clicking on connection button
211 set up a mesh network, or search for and add neighbouring mesh networks.In the present invention, user clicks on button or figure
Mark may mean that user touches the icon in the user interface on the screen of mobile electronic device by object, then quick pine
Open the contact.The object can be a part for any physical object, including but not limited to screen touch pen or user's limbs, for example with
The finger at family.
When mobile electronic device 110 is connected in mesh networks, column of icons is shown in connection and shared region 210
Table 212, such as shown in Fig. 2 (a) -2 (f).Icon 212 is represented currently to be connected in the mesh networks with mobile electronic device 110
Other mobile electronic devices.
Invite region 220 to include inviting button 221, and can be used for inviting to neighbouring mobile electronic device transmission installing
MNN is applied.The process for inviting new user will be hereafter discussed in detail.
Content area 230, which is used to show, is stored in can divide with other mobile electronic devices on mobile electronic device 110
The file enjoyed.This document for example can be apply, game file, image file, audio file or video file.
These files can be organized into different groups, and one is once shown in content area 230 a page
Group.For example, as shown in Fig. 2 (b), the application on mobile electronic device 110 is displayed in five application page 231;Such as Fig. 2
(c) shown in, the photo and image being stored on mobile electronic device 110 are displayed on image page 232;Such as Fig. 2 (d) institutes
Show, the video and audio being stored on mobile electronic device are displayed in media page 233.In certain embodiments, show
File in five application page 231, image page 232 and media page 233 can be ranked up according to shared history.Example
Such as, the file being shared recently may be displayed on page top.
The file management page 234 can also be included in content area 230, such as shown in Fig. 2 (e).In file management page
In face 234, user may browse through the file being stored on mobile electronic device 110.Content area 230 also includes history page
235, wherein a series of files received by mobile electronic device 110 are shown, shown in such as Fig. 2 (f).In history page 235
Services set indications of each file with the mobile electronic device for sending this document(SSID)2351.Mobile electronic device
110 user is easy to pass through the attached SSID 2351 of received file to recognize the source of received file.
Embodiments in accordance with the present invention, SSID 2351 can include up to 32 bytes.Basis will be described in further detail later
The method for generating SSID 2351 of the present invention.
User can be by sliding object on screen 130, such as his/her finger, is carried out between the different pages
Switching.Switching between the different pages can also click on the various buttons for being presented on the bottom of user interface 200, for example should
Realized with button 241, image button 242, media button 243, file management button 244 and history button 245.
Be provided with its mobile electronic device MNN application user easily can share with another user the MNN should
With.Fig. 3 shows the exemplary process diagram for being used to invite new user installation MNN applications according to embodiments of the present invention.In Fig. 3
The example process is related to such a scene, wherein the invited party that MNN applications are provided with its mobile electronic device is wished
With the shared file of invited party for not installing MNN applications on its mobile electronic device.Therefore in this scene, invited
Please just before it can receive the file to be shared, it is necessary first to which MNN applications are installed on its mobile electronic device.The process
Comprise the following steps.
Step S1.Invited party is pressed and pins the icon for the file to be shared with invited party, drag the icon and by its
It is discharged into invitation region 220.In the present invention, user presses icon and may mean that user utilizes object(Such as finger tip)
Touch the icon in the user interface on the screen of mobile electronic device.Pin icon may mean that be maintained on the icon with
The contact of screen is for a period of time.Icon is dragged to may mean that while the contact with screen is maintained on the icon, will be right
As being moved towards specific direction so that contact point is moved on screen.Release icon may mean that user unclamps on the icon
Contact with screen.
Step S2.In the window of ejection, the telephone number of the mobile electronic device of invited party input invited party, and point
Send button is hit to send short message to the mobile electronic device of invited party.The short message can include installation key including instruction
The download information of the position of file, such as download link.The short message can also include the SSID of the mobile electronic device of invited party
With the telephone number by invited party.The SSID of the mobile electronic device of invited party can be made by the mobile electronic device of invited party
With the mobile electronic device for search invited party, so as to set up the mobile electronic device of invited party and the movement of invited party
Connection between electronic equipment.
Step S3.When the short message is received by the mobile electronic device of the invited party and is shown on its screen, quilt
Invited party can choose whether the invitation for the side of accepting the invitation.After it is determined that accepting the invitation, invited party click on the download link with
Download the installation key file.The installation key file can be about 100kb small files, and this document can be much smaller than
The complete installation file of MNN applications.The installation key file can be stored on single server, rather than in invited party
On mobile electronic device.The single server for example can be wide area network(WAN)Or internet.Above and below single server
The speed of load is generally than the speed between two mobile electronic devices by directly being transmitted according to the wireless direct-connected mode of the present invention
Degree is slow.In addition, service provider often collects the charges according to flow to user.Thus, it is only required to will be above and below the server
Less installation key file, rather than big complete installation file are carried, this can save the time of user and reduce expense.
Step S4.After the download for installing key file is completed, invited party clicks on downloaded installation key text
Part installs the installation application program.The installation application program can include such code, and the code is invited to for guidance
The mobile electronic device of side sets up wireless direct-connected between the mobile electronic device of invited party by the service set identifier,
And the mobile electron that the MNN complete installation files applied are transferred to invited party by startup from the mobile electronic device of invited party is set
It is standby.
Step S5.After the installation application program is installed, invited party clicks on the installation application program, starts and sets up
Wireless direct-connected process is carried out with the mobile electronic device of invited party, and passes through the wireless direct-connected mobile electricity from invited party
Sub- equipment directly transmits the process of complete installation file.The transmission needs not move through single server, therefore can be with speed
Faster and it will not produce extra-pay.Step S5 can include performing automatically by mobile electronic device doing without user
Pre- some sub-steps, such as Fig. 4 and described below.
With reference to Fig. 4, first, in sub-step S51, the shifting that application program fetches invited party from received short message is installed
The SSID of dynamic electronic equipment.Secondly, in step S52, application program is installed and sent out by the mobile electronic device searched for by invited party
The wireless signal sent, make invited party mobile electronic device use the invited party mobile electronic device SSID as mark
Accord with searching the mobile electronic device of invited party.Once detect the wireless communication sent by the mobile electronic device of invited party
Number, it is possible to set up wireless direct-connected between the mobile electronic device of invited party and the mobile electronic device of invited party.For
It is this wireless direct-connected not need any extra wireless router.3rd, in sub-step S53, the installation application program is sent please
The mobile electronic device to invited party is sought to ask to obtain complete installation file.4th, in sub-step S54, the shifting of invited party
Dynamic electronic equipment wireless direct-connected is sent complete installation file to the mobile electronic device of invited party by this.
Fig. 3 is returned to, in step S6, after complete installation file is transmitted, invited party opens the complete installation
File is applied with installing the MNN on the mobile electronic device of invited party.
After said process is completed, MNN applications are installed on the mobile electronic device of invited party.Connect down
Come, invited party, which wants shared file, to be transferred on the mobile electronic device of invited party.In certain embodiments, invite
MNN applications on the mobile electronic device of side can create journal file after the invitation is sent.The journal file can be included
About the information of file to be shared.Once it is mounted with the mobile electronic device of invited party after MNN applications, should
MNN applications can make the mobile electronic device of invited party send messages to the mobile electronic device of invited party.When invited party
When mobile electronic device receives the message, the MNN on the mobile electronic device of invited party is applied to can be by reference to this
Journal file, is recommended to this document on the mobile electronic device of invited party by wirelessly direct-connected.
Or, in other embodiments, it is mounted with after MNN applications, is invited on the mobile electronic device of invited party
It please can just start MNN to apply to start the transmission that invited party wants shared this document.The mobile electron of invited party is set
Standby upper MNN applications can check the short message to find that invited party is wanted what file shared, and be then attached to invited party
Mobile electronic device so as to fetching this document.
In certain embodiments, invited party can also send invitation to invited party, only invite invited party to install this
MNN is applied without sharing a file immediately.In these embodiments, invited party, which can be clicked on, invites inviting in region 220
Please button 221, then input receive mobile electronic device(That is the mobile electronic device of invited party)Mobile electronic device number
Code.In addition to the process that transmission needs shared file, remaining step is similar to descriptions above.
In the embodiment above, the invitation applied using MNN is transmitted using short message.Generally, this may require that mobile electricity
Sub- equipment accesses Short Message Service.For example, mobile electronic device can be cell phone and be connected to cellular network, such as
GSM network, LTE network or cdma network.However, in other examples, invitation can be sent without using short message.Example
Such as, invitation can be sent by Email.Email, which can be included, is similar to the above-mentioned information being included in short message.
In certain embodiments, if the mobile electronic device of invited party is equipped with camera, it can also use and take the photograph
The invitation is realized as head.In these embodiments, invited party can use the MNN applications on its mobile electronic device to generate
Bar code, the bar code may be displayed on the screen of its mobile electronic device.The bar code can be one-dimensional bar code or two
Bar code is tieed up, and the code for representing the download address for installing key file can be included.Invited party can use it to move
Camera on electronic equipment is to scan the bar code to obtain the SSID of the download address and invited party of installing key file
Information.Remaining step is similar to the content described in above example.
In the above-described embodiments, the mobile electronic device of invited party can access WAN or internet.In these embodiments
In, may download big file to the server of the mobile electronic device of invited party from WAN or on internet has some limitations.
For example, speed of download may be excessively slow, or link service provider can be according to flow charging.Therefore, in the above-described embodiments, will
The installation key file of small size is from the mobile electronic device that server downloads to invited party, rather than downloads complete big chi
Very little installation file.However, in other embodiments, such as discounting for flow, the mobile electronic device of invited party
Server that can be directly from WAN or on internet downloads complete installation file.In certain embodiments, the invitation can be wrapped
URL containing the position for pointing to WAN or the complete installation file that is stored with internet.
In certain embodiments, the mobile electronic device of invited party may be not attached to WAN or internet, but connect
To WLAN (WLAN), and the mobile electronic device of invited party is also connected to wherein.Mobile electronic device in the WLAN
It can be connected by one or more routers.In these embodiments, the mobile electronic device for being sent to invited party is invited
It please can include the URL of the complete installation file.When the mobile electronic device of invited party receives the invitation, it can root
The complete installation file is downloaded according to the URL request.In certain embodiments, the URL can include the mobile electron of invited party
The path of the position for the complete installation file that the IP address of equipment and sensing are stored on the mobile electronic device of invited party.
Embodiments in accordance with the present invention, file can be mounted with the mobile electron of MNN applications in two, three or more
Shared between equipment.Multiple mobile electronic devices after MNN applications are mounted with are connected each other by wireless direct-connected mode
After connecing, it is desirable to the shared user of shared file(That is sender)The biography of file can be realized by performing some predetermined gestures
It is defeated.By detecting that sender will transmit on the screen of its mobile electronic device with being represented in the user interface of mobile electronic device
File icon contact, sender user operates the icon to carry out the transmission of startup file with prearranged gesture.It is then detected that
Whether the operation of the gesture is consistent with pre-defined rule, if unanimously, triggering command is by the file from the movement of sender
Electronic equipment is on one or more other mobile electronic devices.If the operation of gesture and pre-defined rule are inconsistent,
The transmission of file is not triggered, that is, represents that the gesture that user is done is not intended to triggering file transmission, or represent user misoperation.
The mode of the above-mentioned transmission file between multiple mobile electronic devices of MNN applications are mounted with can also with module or
The mode of device is realized.Realizing the mobile electronic device of above-mentioned functions may include following module or device:For wireless direct-connected
Module or device, the device are used to multiple mobile electronic devices being connected to each other by wireless direct-connected mode;For detecting figure
The tactile module of tag splice or device, the module or device be used for detecting user wherein on the screen of a mobile electronic device with should
The contact of icon in the user interface of mobile electronic device, and the icon representation file to be transmitted;And for judging hand
The module or device of gesture operation, the module or device operate the figure on the basis of hookup target according to user with prearranged gesture
Mark, so as to detect whether the operation of the gesture is consistent with pre-defined rule, if unanimously, the module or device then triggering command
The file is transferred to another or multiple mobile electronic devices from a mobile electronic device.
In certain embodiments, it is desirable to which the shared user of shared file can pin expression by performing such gesture
The icon is simultaneously moved to connection and shared region 210 by the icon of the file to be shared, so that this document is dragged into its movement electricity
Connection and shared region 210 in sub- equipment, then unclamp contact.In certain embodiments, this document can be sent to this
All mobile electronic devices listed in connection and shared region 210.In other examples, the shared user can be from figure
Select one or more to share the reception mobile electronic device of this document in mark list 212.In certain embodiments, when by text
When part is dragged to connection and shared region 210 on the mobile electronic device of the shared user, this document can be automatically transferred between
Onto one or more reception mobile electronic devices.In other embodiments, when by file be dragged to connection and shared region 210
When middle, one or more reception mobile electronic devices can be sent notification to.It can be ejected on the reception mobile electronic device
Window queries receive whether user receives this document.The mobile electron of the shared user can for example be included by transmitting the mode of file
Equipment send download invite gives receive mobile electronic device, and the reception mobile electronic device response and be connected to this share
The mobile electronic device of user is to download this document.
In addition to the method described above, shared user can also represent the icon of file to be shared by dragging, and
Which unclamped on the icon for representing the mobile electronic device that receive this document, to select mobile electronic device to be total to receive
The file enjoyed.For example, as shown in Fig. 5 (a), user circle for the file that shared user presses and represents to be shared by staying in first
Icon 532 in face, then along the direction indicated by dotted line 540(Referring to Fig. 5 (b)), icon 532 is shifted into expression to receive
Icon 512 in the user interface of the mobile electronic device of this document.After icon 532 to be moved to the top of icon 512, share
User unclamps the contact with icon 532, such as shown in Fig. 5 (c).File represented by icon 532 is in being sent to the table of icon 512
On the mobile electronic device shown.
Other method can also be used to trigger the shared of file.In certain embodiments, shared user can click on he/
The icon of her file to be shared, this can contain the pop-up menu of " shared " option with trigger packet.The shared user then can
To select " shared " button in the pop-up menu to share this document.
In other embodiments, sharing for file can be by pinning one or more of connection and shared region figure
Mark, the icon 212 as shown in Fig. 2 (a) -2 (f), so as to select one or more to receive shared file mobile electron
Equipment, while(Still these icons are pinned), click on represent he/her want with reception mobile electronic device share these
The icon of file.When the shared user discharges one or more icons 212, the file chosen can be transferred to one
Or on multiple reception mobile electronic devices.For example, as shown in Fig. 6 (a), shared user presses and is connected to by expression is stayed in first
The icon 612 of another mobile electronic device of the mobile electronic device of the shared user.Then, as shown in Fig. 6 (b), still
While pressing and pin icon 612, shared user clicks table shows that the icon 632 of file to be shared carrys out filesselected.Altogether
Multiple icons 632 can also be clicked on to select the multiple files to be shared by enjoying family.When shared user unclamps icon 612,
File represented by icon 632 will be transferred on the mobile electronic device represented by icon 612.
Embodiments in accordance with the present invention, mobile electronic device 110 can be provided with acceleration sensor.Acceleration sensor can be with
Output indication mobile electronic device 110 is due to the signal of accelerated motion produced by whipping.MNN applications can be monitored to come from and are somebody's turn to do
The output signal of acceleration sensor, and the triggering command when detecting the peak value of output signal.For example, when the movement of user's whipping
The peak value occurs during electronic equipment 110.In certain embodiments, this instruction can perform to include series of steps
During next step instruction.For example, when mobile electronic device 110 is connected with other mobile electronic devices, if with
When family whipping mobile electronic device 110 pins the icon for representing its file for wanting to share simultaneously, MNN applications, which can start to send, is somebody's turn to do
On the mobile electronic device that file is listed into connection and shared region 210.This process such as Fig. 7 is schematically shown.
As shown in fig. 7, when the user of the first mobile electronic device 710 wants the user with the second mobile electronic device 710 '
During shared file, he/her presses and pins the icon 732 in the interface on the first mobile electronic device 710, the wherein figure first
Mark 732 represents file to be shared, then rocks the mobile electronic device 710 along direction 740.This move triggers icon
File represented by 732 is transmitted to the second mobile electronic device 710 ' from the first mobile electronic device 710, such as imaginary dotted line
Shown in 750.After transmission is completed, represent that the icon 732 ' of the file transmitted is appeared on the second mobile electronic device 710 '
Interface in.From the perspective of Consumer's Experience, this process just look like by file from mobile electronic device " throw away " or
On " being dropped into " another mobile electronic device or other mobile electronic devices.
The peak signal that acceleration sensor is generated can be also used for triggering other steps.For example, working as mobile electronic device
110 when being not connected with other any mobile electronic devices, if pin it wants what is shared to user's whipping mobile electronic device 110 simultaneously
File icon, then MNN applications, which can be generated, will be sent to the installation invitation of another mobile electronic device.In certain embodiments,
The instruction can be pre-defined by user.
In certain embodiments, the function of being realized by physics whipping mobile electronic device 110 can also be by movement
Perform and " flick on the screen of electronic equipment 110(flicking)" gesture realizes.In these embodiments, " flicking " gesture can
With including following action:The figure of file is represented in the user interface for pinning the MNN applications on mobile electronic device 110
Mark, it is quick mobile in one direction, for example moved to connection and shared region 210, then quickly unclamp the contact with screen.It is logical
Cross the file that will be chosen to flick to connection and shared region 210, MNN applications can trigger the mistake for performing and including series of steps
Next step in journey, such as transmit file from the mobile electronic device 110 of shared user to another mobile electronic device, or
The installation that generation is sent to another mobile electronic device is invited, and similar above by the step of mobile electronic device is triggered is rocked
Seemingly.
Fig. 8 (a) -8 (c) shows an example by performing " flicking " gesture shared file.As shown in Fig. 8 (a), altogether
The icon 832 that file is represented in the user interface on mobile electronic device of the family first by touching the shared user is enjoyed, from
And press and pin icon 832.Then, as shown in Fig. 8 (b), the direction indicated by the shared user towards arrow 840 is quickly moved
Move its finger.During its mobile finger, shared user quickly unclamps the contact with screen.This " flicks " gesture triggering
The file represented by icon 832 is transferred to the mobile electronic device represented by icon 812.
In the embodiment that file is transmitted is triggered described by above-mentioned Fig. 5-Fig. 8 by gesture operation, in shared file
When user chooses the file to be shared, it can detect and be connect on the screen of its mobile electronic device with icon in user interface
The tactile time, i.e., whether the contact continue for a scheduled time.After it continue for the scheduled time, the expression that user is chosen will be passed
Defeated file icon can be exaggerated, to confirm the selection of user.
Shared file user successfully triggered by gesture operation file transmission after, can recipient movement
Pop-up window is to inquire whether recipient agrees to receive the file transmitted from the mobile electronic device of shared user on electronic equipment.
Once recipient has agreed to the reception from shared user, the shared user can also be automatically added to the white of recipient by recipient
In list, checking during receiving file again from the same shared user every time after saving.
Shared file can also make between embodiments in accordance with the present invention, multiple mobile electronic devices in mesh networks
Realized with shared pool.Fig. 9 (a) -9 (e) be it is according to embodiments of the present invention include mobile electronic device 110-1,110-2 and
The schematic diagram of 110-3 exemplary mesh networks 900.Each mobile electronic device 110-1,110-2 and 110-3 can be included can
The some files shared with other mobile electronic devices.For example, file A, B and C on mobile electronic device 110-1 can be total to
Enjoy;File D, E and F on mobile electronic device 110-2 can be shared;File G, H and I on mobile electronic device 110-3
It can be shared.
Here, in the mesh networks being made up of mobile electronic device 110-1,110-2 and 110-3, mobile electronic device
110-1 as first build mesh networks host side, and afterwards by mobile electronic device 110-1 actively invite or passively should
The mode for answering receiving is connected to host side, so that other mobile electronic devices of the mesh networks are added to as client,
Such as mobile electronic device 110-2 and 110-3.
In this example, as shown in Fig. 9 (a), mesh networks 900 are started by mobile electronic device 110-1, and are used as mesh
Host side in network.It will be added to as in the mobile electronic device 110-1 of host side with future in the mesh networks
Mobile electronic device shared file A, B and C.Shared file A, B and C information are included in shared pool i.e., now.It is each shared
The information of file can for example include the download location link of file name and file.Mobile electronic device 110-2 is by sending
Subscribe to(SUBSCRIBE)Message 902-1 asks to be connected with mobile electronic device 110-1 to mobile electronic device 110-1.Subscribe to
Message 902-1 can include the file that will be shared about mobile electronic device 110-2(That is file D, E and F)Information, for example
The download location link of file name and file.When mobile electronic device 110-1 receives subscription message 902-1, it will be closed
In file D, E and F information record in shared pool 904-1, i.e., will be original shared comprising shared file A, B and C information
Pond 904-1 is updated to include shared file A, B, C, D, E and F information, and with response(ACK)Message 902-2 responses.ACK disappears
Breath 902-2 can include the file that will be shared about mobile electronic device 110-1(That is file A, B and C)Information.Work as movement
When electronic equipment 110-2 receives ACK message 902-2, it is by the information on file A, B and C(For example, file name and text
The download location link of part)Record is in shared pool 904-2.Now, the information recorded in shared pool 904-2 is by original only bag
D containing file, E and F information updating are the information for including shared file A, B, C, D, E and F.
Similarly, as shown in Fig. 9 (b), as mobile electronic device 110-3(That is customer end B)Request adds mesh networks 900
When, it, which sends, subscribes to message 902-3 to host side, i.e. mobile electronic device 110-1.Subscription message 902-3 can include
Close the file that mobile electronic device 110-3 will share(That is file G, H and I)Information.When mobile electronic device 110-1 is received
During subscription message 902-3, it in shared pool 904-1, i.e., will be included on file G, H and I information record by original
The shared pool 904-1 of shared file A, B, C, D, E and F information is updated to comprising shared file A, B, C, D, E, F, G, H and I
Information(For example, the download location link of file name and file), and with response (ACK) message 902-4 responses.ACK message
902-4 can be included about the current file in shared pool 604-1(That is file A, B, C, D, E and F)Information.When mobile electricity
When sub- equipment 110-3 receives ACK message 902-4, it by file A, B, C, D, E and F information record in shared pool
In 904-3.Now, the information recorded in shared pool 904-3 by the original only information updating comprising file G, H and I be comprising
Shared file A, B, C, D, E, F, G, H and I information.Mobile electronic device 110-1 is also by using from mobile electronic device
110-1 is sent to mobile electronic device 110-2 renewal(UPDATE)Message 902-5, by have updated file G, H and I
The shared pool information of information is transmitted to all other clients having been coupled in mesh networks, such as mobile electronic device
110-2.When receiving new information 902-5, mobile electronic device 110-2 exists the information record on file G, H and I
In shared pool 904-2, now, the information recorded in shared pool 904-2 is by the original letter for only including file A, B, C, D, E and F
Breath is updated to include shared file A, B, C, D, E, F, G, H and I information.
By using shared pool, the user of mobile electronic device may be easy to control it to be ready to share which file, and
Which file is the other users of mobile electronic device that may be easy to check in same mesh networks sharing.
The shared pool of all mobile electronic devices in embodiments in accordance with the present invention, same mesh networks can include phase
Same information.In the shared pool of one mobile electronic device of structure, it need not can make to be total to by other mobile electronic devices
The file enjoyed is actually stored on a mobile electronic device.And only need this being shared the fileinfo record of file altogether
Enjoy in pond.Any one user can ask its fileinfo record to exist in mobile electronic device 110-1,110-2 and 110-3
Any file in shared pool.
Fig. 9 (c) schematically shows this process.As shown in Fig. 9 (c), for example, as mobile electronic device 110-3(I.e.
Customer end B)User check that shared pool goes for the copy of the shared file D in shared pool(903-1), by shared pool
The file D of record fileinfo finds that file D is stored on mobile electronic device 110-2.Then, mobile electronic device 110-
3 download file D pair according to the download location links and accesses mobile electronic device 110-2 included in file D fileinfo
This(903-2).The information of download location link is, for example, URL(URL).File D copy from mobile electron
Equipment 110-2 is successfully transmitted to after mobile electronic device 110-3 completions, and mobile electronic device 110-3 can send response letter
Breath(903-3)Mobile electronic device 110-2 is given, is completed with informing that it is downloaded.
Alternatively, after mobile electronic device 110-3 downloads completion, it will can be downloaded from mobile electronic device 110-2
The log information of this process of file D(903-4)It is sent at host side, i.e. mobile electronic device 110-1 and is preserved.
Describe to be actively discovered file from shared pool from mobile electronic device 110-3 above by reference to Fig. 9 (c) and take text
The process of part.Embodiments in accordance with the present invention, any mobile electronic device in mesh networks can also be any to others
One or more mobile electronic devices recommend file.Specifically, reference picture 9 (d), when mobile electronic device 110-2 will be to movement
When electronic equipment 110-3 recommends file D, mobile electronic device 110-2 can be sent to mobile electronic device 110-3 to be recommended to invite
Message(904-1), the message can want to recommend mobile electronic device 110-3 file D comprising mobile electronic device 110-2
Title and file D download location link information.After mobile electronic device 110-3 confirms to receive this document D recommendation,
File D copy is downloaded according to the download location links and accesses mobile electronic device 110-2 included in file D fileinfo
(904-2).The information of download location link is, for example, URL(URL).Set in file D copy from mobile electron
Standby 110-2 is successfully transmitted to after mobile electronic device 110-3 completions, and mobile electronic device 110-3 can send response message
(904-3)Mobile electronic device 110-2 is given, is completed with informing that it is downloaded.Alternatively, downloaded in mobile electronic device 110-3
After, the log information of this process of file D can will be downloaded from mobile electronic device 110-2(904-4)It is sent to main frame
Preserved at end, i.e. mobile electronic device 110-1.
Mobile electronic device 110-2 can not only recommend the text of the storage with to other mobile electronic devices connected
Part, can also recommend any file being stored in shared pool in other any clients or host side.Fig. 9 (e) is schematically
Show this process.In Fig. 9 (e), the file D recommended is stored in sending the mobile electronic device 110- for recommending to invite
On 2 different another mobile electronic device 110-4.Mobile electronic device 110-2 sends recommendation to mobile electronic device 110-3 and invited
Please message(905-1), the message can want to recommend mobile electronic device 110-3 text comprising mobile electronic device 110-2
Part D title and the information of file D download location link.When mobile electronic device 110-3 confirms to receive this document D recommendation
Afterwards, mobile electronic device 110-3 accesses mobile electronic device 110-4 to obtain text according to file D download location link information
Part D copy(905-2).The information of download location link is, for example, URL(URL).File D copy from
Mobile electronic device 110-2 is successfully transmitted to after mobile electronic device 110-3 completions, and mobile electronic device 110-3 can be sent out
Send response message(905-3)Mobile electronic device 110-4 is given, is completed with informing that it is downloaded.Alternatively, in mobile electronic device
110-3 is downloaded after completion, and the log information of this process of file D can will be downloaded from mobile electronic device 110-2(905-4)
It is sent at host side, i.e. mobile electronic device 110-1 and is preserved.
During above-mentioned file recommendation, whether recommended side can need to confirm to receive to come from other with sets itself
The file recommendation of mobile electronic device, can also be set as always receiving with default behavior from some specific mobile electronic devices
File recommendation, i.e., without being confirmed to recommendation information and directly be received.Alternatively, recommended side can set up white list machine
System, once once confirming to receive after the file recommendation from some other mobile electronic device, the recommendation side is added to white
In list, i.e. need not then be reaffirmed for the file recommendation from the mobile electronic device from now on.
Above-mentioned file recommendation process is not limited to carry out point-to-point between the different mobile electronic devices in mesh networks
Recommendation, the recommendation of " broadcast type " can also be carried out by any one mobile electronic device, i.e., it is simultaneously electric to other multiple movements
Sub- equipment is recommended.By sending the recommendation that each recommendation process for receiving broadcaster in broadcast direction is similar between point-to-point
Journey.
Embodiments in accordance with the present invention, when receiving mobile electronic device reception file, this document can be automatically displayed in
In the history page 235 for receiving mobile electronic device.If this document is the installation file of application, receiving user can click on
This document is to install the application.
MNN according to embodiments of the present invention using special SSID using mobile electronic device is recognized, such as Fig. 2 (f) institutes
The SSID 2351 shown.Figure 10 schematically illustrates SSID 1000 according to embodiments of the present invention example arrangement.SSID
1000 include three parts:First regular length part 1002, includes a byte;Second regular length part 1004, comprising
Four bytes;And variable-length part 1006,1 to 27 byte is included as needed.Therefore, SSID total length can be 6
To 32 bytes.
First regular length part 1002 represents whether variable-length part 1006 is encoded.If for example, first fixes
A byte in length thereof 1002 is " D ", then variable-length part 1006 is encoded.On the other hand, first length is fixed
A byte in degree part 1002 can also include alphabetical " I " to represent that variable-length part 1006 is not encoded.Certainly, may be used
To replace " D " and " I " using other characters.
Second regular length part 604 can include the medium education of mobile electronic device(MAC)Address it is minimum
Four.
Variable-length part 1006 can represent the user's name of the user using mobile electronic device.Variable-length part
1006 length may be as little to 1 byte, or up to 27 bytes.Embodiments in accordance with the present invention, variable-length part 1006 can be with
It is encoded or is not encoded.As described above, whether variable-length part 1006 is encoded to represent in the first regular length portion
Divide in 1002.Variable-length part 1006 can be encoded by base62 coding strategies.The variable-length part being encoded
1006 can be the word selected from all capitalization English letters, all small English alphabets, digital 0-9 and two symbol "+" and "/"
The combination of character in symbol set.
Figure 11 is the flow chart of generation SSID according to embodiments of the present invention process.In step 1101, mobile electron is set
Standby MAC Address, user's name and the encoding option(Whether user's name is encoded)Mobile electron is input into set
The generation module that the MNN of standby upper installation is applied.In step 1102, the generation module examines whether the MAC Address is legal MAC
Address.If it is not, then generation module generation error message and terminating the SSID generating process(Step 1103).If the MAC
Address is legal MAC Address, then generation module extracts the MAC Address MAC of the second regular length part 10044Minimum four
(Step 1104).
In step 1105, judge whether user's name is encoded.In certain embodiments, if user's name is compiled
Code is to carry out default when the MNN being arranged in configuration on mobile electronic device is applied, and sets a mark to indicate
Whether user's name is encoded.When needing to be judged, generation module checks the mark to determine whether to enter user's name
Row coding.In certain embodiments, when needing to be judged, dialog box can be ejected, is asked the user whether to its user name
Title is encoded.Disabling the coding can allow to use longer readable variable-length SSID, while coding can be also avoided in SSID
Random binary file.
In step 1105, if it is determined that without coding, then the process enters step 1106, generates in this step not
The character string of coding represents uncoded so as to as variable-length part 1006 for the selection of the first regular length part 1002
Character, such as " I ".Then, in step 1107, SSID 1000 is generated, it includes character " I ", MAC4With uncoded character
String.
If judging that user's name needs to be encoded in step 1105, the process enters step 1108, in the step
The character string of coding is generated in rapid to select as variable-length part 1006, and for the first regular length part 1002
The character of presentation code, such as " D ".Then, in step 1109, SSID 1000 is generated, it includes character " D ", MAC4And coding
Character string.
Figure 12 is that embodiments in accordance with the present invention obtain use entrained by the SSID received as reception mobile electronic device
The flow chart for the process that name in an account book claims.The SSID can be another mobile electronic device for having been set up access point network
SSID。
In step 1201, mobile electronic device scanning WiFi signal simultaneously receives SSID.In step 1202, mobile electron is received
Whether the length for the SSID that the decoder module inspection for the MNN applications installed in equipment is received is longer than 5 bytes.If it is not, then
Decoder module ignores received SSID and terminates the process(Step 1203).If the SSID length received is longer than 5 bytes,
So decoder module further checks whether the first byte is defined as indicating whether the character for performing coding, such as at some
It is " D " or " I " in embodiment, and checks that the 2nd to 5 byte indicates whether legal MAC Address(Step 1204).If wherein appointed
Whether one assay, then the process enters step 1203, and decoder module ignores received SSID and termination in this step
The process.
If in step 1204, it is determined that the SSID received the first byte is defined as indicating whether to perform coding
Character, and the legal MAC Address of the 2nd to 5 byte representation then further checks whether the first byte is " D "(Step 1205).
If it is not, then the variable-length part for meaning received SSID is uncoded character string, i.e. the SSID institutes received
The user's name of carrying is not encoded.Therefore, the user's name entrained by SSID received is without decoding directly from variable
Length thereof is obtained(Step 1206).If in step 1205, the first byte for judging SSID is " D ", then means to be connect
The SSID of receipts variable-length part is the character string encoded, then process proceeds to step 1207.Use Base62 decoding sides
Method is solved to the SSID received variable-length part from the SSID received the 6th byte to last byte
Code is to obtain user's name(Step 1207).
In certain embodiments, the user's name obtained by method as shown in figure 12 can be additional to or replace
SSID 2351 is shown on reception mobile electronic device.
Embodiments in accordance with the present invention computer-readable are deposited there is provided one or more non-transitories of storage MNN applications
Store up medium.One or more non-transitory storage media may be mounted on mobile electronic device, or independently of mobile electricity
Sub- equipment is provided separately, such as in personal computer or network connection formula memory(NAS).Mobile electronic device can perform MNN
Using to perform method and step according to an embodiment of the invention.Storage medium can be magnetic storage medium, such as hard disk, application
Or other disks, tape storage devices or card type reservoir.Storage medium can also be optical storage media, such as CD(Such as CD
Or DVD).Storage medium can also be further semiconductor storage media, such as DRAM, SRAM, EPROM, EEPROM, flash memory or
Memory stick.
With reference to the explanation of the invention disclosed here and practice, other embodiment of the invention is for those skilled in the art
It will be apparent from.Illustrate and embodiment is to be considered only as exemplary, of the invention true scope and purport by right
It is required that being limited.