Embodiment
Through accompanying drawing and embodiment, the technical scheme of the embodiment of the invention is done further detailed description below.
Because wireless site distributes extensively; Therefore second terminal can upload to data server with shared data through wireless site in the embodiment of the invention; First terminal selects the appointment metadata from the metadata of the second terminal information catalogue obtained, and obtains the shared data corresponding with specifying metadata from data server.The restriction of the access internet that has received when having avoided carrying out information sharing through the Internet, thus realized information sharing anywhere or anytime.
The flow chart of a kind of information sharing method that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, this method comprises:
Step 101, send the second terminal information catalogue to first terminal, this message catalog comprises the metadata of the shared data that send through wireless site at second terminal;
Each step in the present embodiment can be carried out by data server.Second terminal sends to data server through wireless site with the metadata of shared data, and data server sends to first terminal with the metadata store of shared data in the second terminal information catalogue of creating and with the second terminal information catalogue.
The request of data that send at step 102, reception first terminal carries the appointment metadata of from the metadata of message catalog, choosing at first terminal in this request of data;
The appointment metadata can be chosen in first terminal from the metadata of the second terminal information catalogue that receives, and sends request of data to data server, and this request of data comprises the appointment metadata of choosing.
Step 103, from the shared data that send through wireless site at second terminal, inquire the shared data corresponding with specifying metadata;
Second terminal can also send to data server with shared data through wireless site, this shared data of data server storage.Data server receives after the request of data of carrying the appointment metadata of sending at first terminal, can from the shared data of storage, inquire the shared data corresponding with specifying metadata.
Step 104, will be somebody's turn to do with specifying the corresponding shared data of metadata and send to first terminal.
Data server will send to first terminal with specifying the corresponding shared data of metadata, thereby make first terminal can share to the shared data at second terminal.In the present embodiment; Second terminal is through transmitting shared data on the wireless site; The restriction of the access internet that has received when having avoided carrying out information sharing through the Internet, and first terminal obtains the second terminal information catalogue, from the metadata of the second terminal information catalogue, selects the appointment metadata; And obtain the shared data corresponding, thereby realized information sharing anywhere or anytime with specifying metadata.
The flow chart of a kind of information sharing method that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, this method comprises:
Step 201, second terminal are sent shared data through wireless site to data server, and this shared data carries the metadata of this shared data and the identification information at second terminal;
The metadata of shared data can comprise the title of this shared data, and metadata can also comprise further: size, type are perhaps revised information such as date.In the process that realizes the embodiment of the invention, metadata can also comprise out of Memory according to actual needs.
In the present embodiment, second terminal can be portable terminal, and wireless site can be the base station.Then the identification information at second terminal can adopt travelling carriage ISDN sign indicating number (the The Mobile StationISDN number at second terminal; Be called for short: MSISDN), international mobile subscriber identity (international mobilesubscriber identity; Be called for short IMSI) or International Mobile Equipment Identity sign indicating number (InternationalMobile Equipment Identity, abbreviation: IMEI).
In this step, second terminal need not to insert the Internet, only need just can realize transmitting shared data on data server through wireless site.
This shared data of step 202, data server storage, and according to the identification information at second terminal with the metadata store of this shared data in the second terminal information catalogue of creating;
Data server can be that a message catalog is created at second terminal according to the identification information at second terminal when receiving the shared data that sends at second terminal first, and this message catalog is corresponding to the identification information at second terminal.The title of this message catalog can adopt the identification information at second terminal.In actual application, search the second terminal information catalogue for the convenience of the user, the title of this directory information can adopt the MSISDN at second terminal or adopt the user's who holds second terminal title, the pet name etc.Data server can be created a plurality of terminal information catalogues simultaneously, is that example is described with second terminal only in the present embodiment.
When data server has been created the second terminal information catalogue, can find out the second terminal information catalogue according to the identification information at second terminal, and with the metadata store of shared data in the second terminal information catalogue.
In the present embodiment, can repeat above-mentioned steps 201, to accomplish the process of second terminal transmitting shared data on data server to step 202.
Step 203, data server send the second terminal information catalogue to first terminal;
Data server can initiatively send the second terminal information catalogue to first terminal;
Perhaps data server can periodically send the second terminal information catalogue to first terminal after receiving the message catalog request of sending at first terminal, up to receiving the Stop message that send at first terminal;
Perhaps data server sends one time second terminal information catalogue to first terminal after receiving the message catalog request of sending at first terminal.
When can communicate by letter with data server through wireless site in first terminal, data server can send to first terminal with the second terminal information catalogue through wireless site;
When need communicate by letter with data server through the Internet in first terminal; Message catalog can be presented to first terminal with the form of webpage, and then the data server process of sending the second terminal information catalogue to first terminal is specially the process of first terminal through the internet access webpage.
Step 204, first terminal select the appointment metadata from the metadata of the second terminal information catalogue;
Particularly, first terminal can select the appointment metadata according to the title of the shared data under the message catalog.Further, on the basis of the title of shared data, first terminal can also or be revised information such as date according to size, the type of the shared data in the metadata and selected the appointment metadata.
Request of data is sent to data server in step 205, first terminal, carries the appointment metadata in this request of data;
When can communicate by letter with data server through wireless site in first terminal, first terminal can directly be sent request of data through wireless site to data server;
When need communicate by letter with data server through the Internet in first terminal, first terminal needs to insert earlier the Internet, and sends request of data through the Internet to data server.
Step 206, data server inquire the shared data corresponding with specifying metadata from the shared data of storage;
Step 207, data server will send to first terminal with specifying the corresponding shared data of metadata;
When can communicate by letter with data server through wireless site in first terminal, data server can directly will send to first terminal with specifying the corresponding shared data of metadata through wireless site;
When need communicate by letter with data server through the Internet in first terminal, first terminal needs to insert earlier the Internet, and will send to first terminal with specifying the corresponding shared data of metadata through the Internet.
First terminal receives and specifies the corresponding shared data of metadata, and the user can browse the shared data corresponding with specifying metadata with online browse or the local mode of browsing through first terminal.
Further, the modify instruction that present embodiment can also comprise the steps 208, data server sends according to second terminal is made amendment to the second terminal information catalogue;
When the modify instruction that sends when second terminal comprises a certain shared data of deletion, data server in the deletion shared data also with message catalog in the metadata deletion of this shared data; Perhaps
The modify instruction that sends when second terminal comprises when upgrading a certain shared data that data server is gone back the metadata of this shared data in the lastest imformation catalogue when upgrading shared data; Perhaps
When the modify instruction that sends when second terminal comprises deletion or upgrades the metadata of a certain shared data, the metadata of this shared data in data server deletion or the lastest imformation catalogue.
In the present embodiment, can execution in step 208 when need make amendment to the second terminal information catalogue in second terminal.
In the present embodiment; Second terminal is through wireless site transmitting shared data on data server, the restriction of the access internet that has received when having avoided carrying out information sharing through the Internet, and; First terminal can obtain the shared data that second terminal uploads to data server through the second terminal information catalogue; And the approach that obtains shared data has multiple, for example through wireless site or the Internet, needn't necessarily obtain shared data through the Internet; Thereby realized information sharing anywhere or anytime, improved information sharing efficient.And when first terminal was positioned at network side, second terminal can and be positioned at the first terminals share information of the Internet one side through data server, thereby has realized information sharing widely.
The flow chart of a kind of information sharing method that Fig. 3 provides for the embodiment of the invention three, as shown in Figure 3, this method comprises:
Step 301 to step 302 is identical with step 201 to step 202 among the embodiment two, repeats no more here.
It is the authority information that message catalog is provided with that step 303, data server receive this second terminal of sending at second terminal;
Particularly, authority information can comprise access authority information or power of amendment limit information.Stipulate in the access authority information that which terminal can visit this message catalog.Stipulate in the power of amendment limit information that which terminal can revise this message catalog.
Step 304, data server are stored in this authority information in the second terminal information catalogue;
Step 305, data server receive the message catalog request that send at first terminal;
Step 306, data server verify first terminal of sending the message catalog request according to access authority information, if verify successfully then execution in step 307, if authentication failed then execution in step 312.
When communicate by letter with data server through wireless site in first terminal, the identification information at first terminal that data server can carry according to access authority information and message catalog request is verified first terminal.
When communicate by letter with data server through the Internet in first terminal, data server can be verified first terminal according to the username and password that access authority information and message catalog request are carried.
Step 307 to step 311 is identical with step 203 to step 207 among the embodiment two, repeats no more here.Flow process finishes after the step 311.
Step 312, data server refusal are carried out the message catalog request that send at first terminal.
Further; When authentication failed and second terminal are not provided with authority to first terminal; First terminal can also obtain authority to second terminal through data server; Specifically comprise: first terminal obtains request through data server to the second terminal sending permission; Second terminal is that first terminal provides authority and will send to data server for the authority that first terminal provides, and data server is that the authority that first terminal provides writes in the second terminal information catalogue with second terminal, and will return to first terminal for the authority that first terminal provides.First terminal can be accomplished with the form of short message to the information interaction that second terminal obtains in the authority process through data server.
Further, present embodiment can also comprise the steps 313, and step 313 is identical with step 208 among the embodiment two, repeats no more here.In the present embodiment, can execution in step 313 when need make amendment to the second terminal information catalogue in second terminal.
Further, present embodiment can also comprise the steps:
Modify instruction is sent to data server in step 314, first terminal;
Step 315, data server verify first terminal of sending modify instruction according to power of amendment limit information, if verify successfully then execution in step 316, if authentication failed then execution in step 317;
The modify instruction that step 316, data server send according to first terminal is made amendment to the second terminal information catalogue, and flow process finishes.
When the modify instruction that sends when first terminal comprises a certain shared data of delete second terminal, data server in the deletion shared data also with message catalog in the metadata of this shared data delete; Perhaps
When the modify instruction that sends when first terminal comprised a certain shared data that upgrades second terminal, data server was gone back the metadata of this shared data in the lastest imformation catalogue when upgrading shared data; Perhaps
When the modify instruction that sends when first terminal comprises the metadata of deleting a certain shared data that perhaps upgrades second terminal, the metadata of this shared data in data server deletion or the lastest imformation catalogue.
Step 317, data server refusal are carried out the modify instruction that send at first terminal.
In step 314 to the step 317, be that example is described only, can also be other terminal what the second terminal information catalogue was made amendment with first terminal.
In the present embodiment,, first terminal gets final product execution in step 314 when need making amendment to the second terminal information catalogue to step 317.
Present embodiment is on the basis of embodiment two; Data server is that the access authority information of message catalog setting is verified first terminal of sending the message catalog request through second terminal; And data server is that the power of amendment limit information of message catalog setting is verified first terminal of sending modify instruction through second terminal, thus the fail safe that has improved the information sharing process.
The structural representation of a kind of data server that Fig. 4 provides for the embodiment of the invention four, as shown in Figure 4, this data server comprises memory module 11, first sending module 12, first receiver module 13 and enquiry module 14.
First receiver module 13 receives the metadata of second terminal through shared data and this shared data of wireless site transmission; The metadata store of the shared data that send through wireless site at second terminal that memory module 11 receives first receiver module 13 is in the second terminal information catalogue; And store the shared data that send through wireless site at second terminal that first receiver module 13 receives, wherein the second terminal information directory stores is in memory module 11; First sending module 12 sends the second terminal information catalogue that memory module 13 is stored to first terminal, wherein can after the message catalog request that receives the transmission of first terminal, send the second terminal information catalogue of memory module 11 storages or can be the second terminal information catalogue of first sending module, 12 actives to 11 storages of first terminal transmission memory module to first terminal for first sending module 12; First receiver module 13 receives the request of data that send at first terminal, carries the appointment metadata of from the metadata of message catalog, choosing at first terminal in this request of data; Enquiry module 14 inquires the shared data corresponding with specifying metadata from the shared data of second terminal through the wireless site transmission of memory module 11 storages; First sending module 12 sends to first terminal with specifying the corresponding shared data of metadata with enquiry module 14 is that inquire.
Data server in the present embodiment can receive the shared data that upload through wireless site at second terminal; Need not second terminal uploads through the Internet; The restriction of the access internet that has received when therefore having avoided carrying out information sharing through the Internet, first terminal can obtain the second terminal information catalogue and obtain the shared data at second terminal according to this message catalog from data server through data server, and has multiple from the approach that data server obtains shared data; For example through wireless site or the Internet; Needn't necessarily obtain shared data, thereby realize information sharing anywhere or anytime, improve information sharing efficient through the Internet.And when first terminal was positioned at network side, second terminal can and be positioned at the first terminals share information of the Internet one side through data server, thereby has realized information sharing widely.
The structural representation of a kind of data server that Fig. 5 provides for the embodiment of the invention five, as shown in Figure 5, present embodiment also comprises the establishment module 15 that is connected with memory module 11 with first receiver module 13 on the basis of the foregoing description four.The shared data that send through wireless site at second terminal that first receiver module 13 receives carries the identification information at second terminal; Create module 15 and create the second terminal information catalogue, and the second terminal information catalogue that will create sends to memory module 11, by the memory module 11 preservations second terminal information catalogue according to the identification information at second terminal.
Further, in the present embodiment, it is the authority information that message catalog is provided with that first receiver module 13 can also receive second terminal of sending at second terminal; Memory module 11 is stored in the authority information that first receiver module 13 receives in the second terminal information catalogue.
When authority information comprised access authority information, this data server also comprised the authentication module 16 that is connected with memory module 11 with first receiver module 13.When first receiver module 13 receives the message catalog request of sending at first terminal; Authentication module 16 is verified first terminal of sending the message catalog request according to the access authority information of memory module 11 storages; And when authentication module 16 is verified successfully, trigger first sending module 12, send the second terminal information catalogue of memory module 11 storages to first terminal by first sending module 12.
When authority information comprised power of amendment limit information, this data server also comprised the authentication module 16 that is connected with memory module 11 with first receiver module 13, and the command execution module 17 that is connected with authentication module 16.First receiver module 13 can also receive the modify instruction that send at first terminal; Authentication module 16 can be verified first terminal of sending modify instruction according to the power of amendment limit information of memory module 11 storages; When authentication module 16 is verified successfully, carry out the modify instruction that send at first terminal, when authentication module 16 authentication faileds, carry out the modify instruction that send at first terminal by command execution module 17 refusals by command execution module 17.
Present embodiment is on the basis of embodiment four; Data server is that the access authority information of message catalog setting is verified first terminal of sending the message catalog request through second terminal; And data server is that the power of amendment limit information of message catalog setting is verified first terminal of sending modify instruction through second terminal, thus the fail safe that has improved the information sharing process.
The structural representation at a kind of terminal that Fig. 6 provides for the embodiment of the invention six, as shown in Figure 6, this terminal comprises second receiver module 21, chooses the module 22 and second sending module 23;
Second receiver module 21 receives the second terminal information catalogue that data server sends, and this message catalog comprises the metadata of second terminal through the shared data of wireless site transmission; Choose module 22 and from the metadata of message catalog, select the appointment metadata; Second sending module 23 sends request of data to data server, carries in this request of data and chooses the appointment metadata that module 22 selects; Second receiver module 21 receive that data servers send with specify the corresponding shared data of metadata.
Terminal in the present embodiment obtains the shared data at second terminal through the second terminal information catalogue from data server; And the approach that obtains shared data has multiple; For example through wireless site or the Internet; Needn't necessarily obtain shared data, thereby realize information sharing anywhere or anytime, improve information sharing efficient through the Internet.
The structural representation at a kind of terminal that Fig. 7 provides for the embodiment of the invention seven, as shown in Figure 7, this terminal comprises: the 3rd sending module 31 is used for through the metadata of wireless site to data server transmission shared data and this shared data.
Further, this terminal also comprises: authority is provided with module 32, is used to this terminal information catalogue authority information is set, and by the 3rd sending module 31 authority information is sent to data server.
Terminal in the present embodiment is uploaded data through wireless site to data server, need not to upload through the Internet, thereby has realized information sharing anywhere or anytime.
The structural representation of a kind of information sharing system that Fig. 8 provides for the embodiment of the invention eight, as shown in Figure 8, this system comprises: data server 1, first terminal 2, second terminal 3 and wireless site 4.
The metadata of shared data and this shared data is sent at second terminal 3 to data server 1 through wireless site 4; Data server 1 sends the message catalog at second terminal 3 to first terminal 2, and this message catalog comprises the metadata of this shared data; First terminal 2 selects the appointment metadata from the metadata of message catalog, and sends request of data to data server 1, carries the appointment metadata in this request of data; Data server 1 inquires the shared data corresponding with specifying metadata from shared data, and will send to first terminal 2 with specifying the corresponding shared data of metadata.
Further, this data server 1 can adopt the data server among embodiment four or the embodiment five; The terminal among the embodiment six can be adopted in first terminal 2; The terminal among the embodiment seven can be adopted in second terminal 3.
In the information sharing system of present embodiment; Second terminal is through wireless site transmitting shared data on data server; The restriction of the access internet that has received when having avoided carrying out information sharing, and first terminal can obtain the shared data at second terminal through the second terminal information catalogue through the Internet, and the approach that obtains shared data has multiple; For example through wireless site or the Internet; Needn't necessarily obtain shared data, thereby realize information sharing anywhere or anytime, improve information sharing efficient through the Internet.And when first terminal was positioned at network side, second terminal can and be positioned at the first terminals share information of the Internet one side through data server, thereby has realized information sharing widely.
Message catalog in the technical scheme of the embodiment of the invention has been realized the function of Virtual File System, and first terminal can share to the shared data at second terminal through the second terminal information catalogue of obtaining.The user operates the shared data that promptly may have access to second terminal of preserving on the data server through the second terminal information catalogue on first terminal; For the user; Data server is transparent, and the shared data on the user accesses data server is equivalent to visit " fixed disk file " at first terminal.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-OnlyMemory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
What should explain at last is: above embodiment is only in order to technical scheme of the present invention to be described but not limit it; Although the present invention has been carried out detailed explanation with reference to preferred embodiment; Those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, also can not make amended technical scheme break away from the spirit and the scope of technical scheme of the present invention and these are revised or be equal to replacement.