CN101141470B - Resource sharing method and system - Google Patents

Resource sharing method and system Download PDF

Info

Publication number
CN101141470B
CN101141470B CN2006101276616A CN200610127661A CN101141470B CN 101141470 B CN101141470 B CN 101141470B CN 2006101276616 A CN2006101276616 A CN 2006101276616A CN 200610127661 A CN200610127661 A CN 200610127661A CN 101141470 B CN101141470 B CN 101141470B
Authority
CN
China
Prior art keywords
file
sign
terminal
shared
resource
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.)
Active
Application number
CN2006101276616A
Other languages
Chinese (zh)
Other versions
CN101141470A (en
Inventor
陈妍
王麒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2006101276616A priority Critical patent/CN101141470B/en
Publication of CN101141470A publication Critical patent/CN101141470A/en
Application granted granted Critical
Publication of CN101141470B publication Critical patent/CN101141470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a sharing resource method and a system, which relates to the internet field, the present invention is used to solve the problems that the two parties of an internet can not synchronistically activate a same document in the sharing resource, and a dialogue is expanded aiming at the document. The present invention method comprises firstly, a share initiator and a share receiver respectively memorize the same sharing resource in a local; secondly, the two parties perform an interaction by an identification provided for the document in the sharing resource, and thesame document activated synchronistically is realized. The present invention system comprises a share initiator terminal and a share receiver terminal, which are used to respectively memorize the same resource in the local; a document identification gain cell, which is placed in the share initiator terminal and the share receiver terminal, to get a document identification, and hereby, the same document activated synchronistically by the two parties is realized. The present invention can enable the two parties of an internet to synchronistically activate a same document in the sharing resource, and a dialogue is expanded aiming at the document.

Description

A kind of shared resource method and system
Technical field
The present invention relates to internet arena, particularly relate to a kind of shared resource method and system.
Background technology
Along with the Internet is popularized and development, increasing people shares the resource of oneself by the Internet with friend.
The scheme of present shared resource is memory allocated space in the server of network side normally, and the user will desire resources shared and upload in the memory allocated space; Can logon server for other users with access rights, from described memory space, obtain the resource that is shared.
The scheme that also has some shared resources is as based on the sharing download of P2P (point-to-point) agreement etc.
But, the user (as QQ, when MSN) chatting, can't chat at the identical file in the shared resource with the good friend and (promptly can't activate the same file in the shared resource synchronously with present IM software, and at this document expansion session), thus user experience reduced.
Summary of the invention
The invention provides a kind of shared resource method and system, can't activate same file in the shared resource synchronously in order to solve present interconnected both sides, and launch the problem of session at this document.
Shared resource method of the present invention comprises the following steps:
Share the initiator and store identical shared resource respectively in this locality with shared reciever;
When a square tube is wherein crossed the chat panel when the other side sends message, sending side terminal obtains the sign that the file of current activation in the shared resource of local storage has, and described message content and the sign obtained are sent to the recipient in the lump; Receiving side terminal display message content, and with described sign extraction and synchronous file that activates the current activation of transmit leg from the shared resource of this locality storage; Or
When wherein a side selected to activate arbitrary file from the shared resource of this locality storage, on-site terminal obtained the sign that this activation file has, and the sign of obtaining is sent to the other side; Distant terminal obtains described sign, extracts and activate corresponding file with described sign from the shared resource of this locality storage, is shown to the user by the window of following in the chat panel.
Wherein, with the filename of file in the described shared resource sign as this document; Perhaps, share the initiator to shared reciever transmission shared resource the time, the sequence number that has nothing in common with each other for each file editor in the described shared resource is with the sign of this sequence number as described file.
Realize described resource-sharing and activate same file in the shared resource synchronously based on instant messaging IM.
Shared resource system of the present invention comprises:
Share initiator's terminal and shared reciever terminal, be used for respectively in the identical resource of this locality storage;
The file identification acquiring unit places described shared initiator's terminal and shared reciever terminal respectively, is used to obtain file identification, and realizes that in view of the above both sides activate identical file synchronously; Specifically comprise:
Place the file identification acquiring unit of sending side terminal, be used for when by the chat panel when the other side sends message, obtain the sign that the file of current activation in the described resource of storing in the sending side terminal has, and described message content and the sign obtained are sent to receiving side terminal; Accordingly, place the file identification acquiring unit of receiving side terminal, be used to obtain the file identification that sending side terminal is sent, receiving side terminal extracts and activates corresponding file according to this sign from this locality;
Perhaps, the described file identification acquiring unit in the side's terminal that is placed in one is used for obtaining the sign that this activation file has, so that the sign that local terminal will obtain sends to the other side when selecting the arbitrary file of activation from local stored resource; Accordingly, place the described file identification acquiring unit of the opposing party's terminal, be used to obtain file identification, and make local terminal extract and activate corresponding file from this locality, be shown to the user by the window of following in the chat panel with this sign.
Beneficial effect of the present invention is as follows:
The inventive method is stored identical resource in shared initiator this locality respectively with recipient this locality earlier; Afterwards, the sign that both sides have with the file in the described resource is carried out alternately, realizes activating synchronously identical file; And then both sides can be at identical file expansion session, to strengthen user experience.
In order to support the inventive method, the present invention also provides a kind of shared resource system.
Description of drawings
Fig. 1 is the inventive method flow chart of steps;
Fig. 2 is a picture browsing panel schematic diagram;
Fig. 3 the schematic diagram that the other side's desire sends the prompting of picture occurs for sharing in the reciever chat panel;
Fig. 4 browses schematic diagram for sharing reciever edge joint receipts picture limit;
Fig. 5 is for to chat at certain pictures, and the picture tracking schematic diagram;
Fig. 6 is a system configuration schematic diagram of the present invention.
Embodiment
In order to make interconnected both sides can activate same file in the shared resource synchronously, and launch session, thereby strengthen user experience at this document, the invention provides a kind of shared resource method, can based on but be not limited to instant messaging IM software, referring to shown in Figure 1, comprise following key step:
S1, shared initiator and shared reciever are respectively at the identical shared resource of this locality storage.
Sharing the initiator includes but not limited to shared reciever is stored identical shared resource respectively in this locality mode: share the initiator selects shared resource in this locality path, and after shared reciever is determined store path, shared resource is sent to shared reciever.
In this step when sending shared resource, can be directly the file in the shared resource be sent to shared reciever one by one, promptly with the filename of file in the described shared resource as the sign of this document (existing file resource management system give tacit consent to each file under the same path filename have nothing in common with each other); Perhaps, share the initiator when shared reciever sends shared resource, the sequence number (can unify to number, be convenient to calling of subsequent step) that has nothing in common with each other for each file editor in the described resource, the sequence number that has with file is as the sign of this document.Also can compress the file in this resource one by one shared initiator when shared reciever sends shared resource, shared reciever is received in this resource and to its decompression, thereby to be reduced network consumption, and to realize resource-sharing as early as possible behind the compressed file.
S2, both sides carry out with the sign that the file in the described shared resource has alternately.
There are two kinds of situations in this step.
Situation one: when above-mentioned shared initiator and shared reciever when wherein a direction the other side sends message, sending side terminal obtains the sign that the file of current activation in the shared resource of local storage has; Afterwards, described message content and the sign obtained are sent to the recipient in the lump.
Situation two: when above-mentioned shared initiator and shared reciever when wherein a side selects to activate arbitrary file from the shared resource of this locality storage, on-site terminal obtains the sign that this activation file has; Afterwards, the sign of obtaining is sent to the other side.
S3, realization activate identical file synchronously.
Two kinds of situations among the corresponding step S2, also there are two kinds of situations in this step.
Situation one among the corresponding step S2: receiving side terminal display message content, and with described sign extraction and activation corresponding file from the shared resource of this locality storage, thereby realize activating synchronously identical file.
Situation two among the corresponding step S2: distant terminal extracts and activates corresponding file with described sign from the shared resource of this locality storage, thereby realizes activating synchronously identical file.
Below specifically describe the inventive method by two examples.
Method example one: the image sharing resource, and chat at one of image sharing.
L11, initiation image sharing request.
When the user opens chat during panel by IM software, can click " browsing pictures " button on the chat panel, select a local picture directory to open (picture resource is all pictures under the catalogue).After the user selects picture resource,, extend a picture browsing panel on the right side of the panel of chatting one to one on the IM software left side referring to shown in Figure 2.
The user can click " sharing to the good friend " button when browsing own local picture resource, then represent to send to the user who carries out the IM chat request of image sharing resource, and wait the other side's response.
L12, affirmation receive the picture resource of sharing.
Referring to shown in Figure 3, when shared initiator clicked " sharing to the good friend " button, the prompting (showing the hypertonic sketch map in the image sharing) that the other side's desire sends picture appearred in meeting in the chat panel of shared reciever, and the shared reciever of wait receives or refusal.When the user clicked picture, expression received this image sharing resource; Share this moment and eject an acquiescence storing path in the reciever interface, the user also can specify a catalogue to preserve this picture resource.
The picture resource that L13, transmission are shared.
Shared initiator begins all picture files under the selected catalogue are unified numbering and compression, be that every pictures all has a unique sequence number, sharing reciever and shared initiator like this can transmit information based on unique serial number, also is convenient to subsequent step and calls to raise the efficiency.Picture file after shared initiator will compress sends to shared reciever one by one.After shared reciever is received compressed picture, at first carry out decompress(ion), the original document behind the decompress(ion) is kept at shares in the saving contents of reciever user appointment then.Referring to shown in Figure 4, when receiving picture, receive the user and needn't wait for that all pictures have all transmitted just and browse, can see while receiving.
L14, chat at one of image sharing.
Picture receive or receiving course in, two parties can be carried out IM chat.Simultaneously, can also chat at certain pictures.Referring to shown in Figure 5, specific implementation is as user's (share initiator and shared reciever all can) when sending a chat messages, sending side terminal obtains the sequence number of the picture of user's browsing in the described picture browsing panel, and picture sequence numbers is sent to the other side together with chat messages.When the other side receives a chat messages, at first take out chat content and directly show; Next obtain chat content at picture sequence numbers; From the saving contents of user's appointment, take out corresponding local picture with this sequence number then; Be compressed into one 20 * 20 little picture (being not limited to 20 * 20) at last, be presented at after the chat content.Which pictures which bar chat messages two parties can very clearly be known at, thereby bring better user experience in chat process like this.
Method example two: the image sharing resource, and carry out picture tracking.
L21 to L23 is identical with L11 to L13.
L24, carry out picture tracking.
Referring to shown in Figure 5, have in the described picture browsing panel and follow window, be used to show the picture of the other user's browsing.Following has " a following " button on the window, when the user clicks " following " button, will show the picture of the other user's browsing in the picture browsing panel, and keep synchronous with the other user.Concrete realization is that on-site terminal obtains the sequence number of photo current and sends to the other side when a side user wherein (share initiator and shared reciever all can) browses arbitrary pictures in the image sharing resource of local storage; After distant terminal obtains this picture sequence numbers, from the saving contents of user's appointment, take out corresponding local picture with this sequence number, and be shown to the user.Not only can know the other user's browsing any pictures by following window, and can follow the other user and browse together, thereby bring better user experience.
Also provide a kind of shared resource system in order to support the inventive method the present invention, referring to shown in Figure 6, it comprises interconnective shared initiator's terminal 1 and shared reciever terminal 2, and the file identification acquiring unit 3 that places described shared initiator's terminal 1 and shared reciever terminal 2 respectively.
Described shared initiator's terminal 1 and shared reciever terminal 2 are used for respectively in the identical resource of this locality storage.
Described file identification acquiring unit 3 is used to obtain file identification, and realizes that in view of the above both sides activate identical file synchronously.
Further, corresponding said method example one, when described file identification acquiring unit 1 places described both sides' terminal to send in message one side's the terminal, be used for obtaining the sign that the file of the current activation of described resource of local storage has, so that local terminal sends described message content and the sign obtained in the lump to the recipient; When described file identification acquiring unit 1 places described both sides' terminal to receive in message one side's the terminal, be used to obtain the file identification that message sender is sent, and local terminal is extracted from this locality and the activation corresponding file with this sign.
Further, corresponding said method example two, when described file identification acquiring unit 1 places described both sides' terminal to select in the terminal of the arbitrary file of activation from local stored resource, be used to obtain the sign that this activation file has, so that the sign that local terminal will obtain sends to the other side; In the time of in described file identification acquiring unit 1 places the terminal of stating both sides' terminal reception file identification, be used to obtain file identification, and make local terminal extract and activate corresponding file from this locality with this sign.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (4)

1. a shared resource method is characterized in that, comprises the following steps:
Share the initiator and store identical shared resource respectively in this locality with shared reciever;
When a square tube is wherein crossed the chat panel when the other side sends message, sending side terminal obtains the sign that the file of current activation in the shared resource of local storage has, and described message content and the sign obtained are sent to the recipient in the lump; Receiving side terminal display message content, and with described sign extraction and synchronous file that activates the current activation of transmit leg from the shared resource of this locality storage; Or
When wherein a side selected to activate arbitrary file from the shared resource of this locality storage, on-site terminal obtained the sign that this activation file has, and the sign of obtaining is sent to the other side; Distant terminal obtains described sign, extracts and activate corresponding file with described sign from the shared resource of this locality storage, is shown to the user by the window of following in the chat panel.
2. shared resource method as claimed in claim 1 is characterized in that, with the filename of file in the described shared resource sign as this document; Perhaps, share the initiator to shared reciever transmission shared resource the time, the sequence number that has nothing in common with each other for each file editor in the described shared resource is with the sign of this sequence number as described file.
3. shared resource method as claimed in claim 1 is characterized in that, realizes described resource-sharing and activates same file in the shared resource synchronously based on instant messaging IM.
4. a shared resource system is characterized in that, comprising:
Share initiator's terminal and shared reciever terminal, be used for respectively in the identical resource of this locality storage;
The file identification acquiring unit places described shared initiator's terminal and shared reciever terminal respectively, is used to obtain file identification, and realizes that in view of the above both sides activate identical file synchronously; Specifically comprise:
Place the file identification acquiring unit of sending side terminal, be used for when by the chat panel when the other side sends message, obtain the sign that the file of current activation in the described resource of storing in the sending side terminal has, and described message content and the sign obtained are sent to receiving side terminal; Accordingly, place the file identification acquiring unit of receiving side terminal, be used to obtain the file identification that sending side terminal is sent, receiving side terminal extracts and activates corresponding file according to this sign from this locality; Or
Described file identification acquiring unit in the side's terminal that is placed in one is used for obtaining the sign that this activation file has, so that the sign that local terminal will obtain sends to the other side when selecting the arbitrary file of activation from local stored resource; Accordingly, place the described file identification acquiring unit of the opposing party's terminal, be used to obtain file identification, and make local terminal extract and activate corresponding file from this locality, be shown to the user by the window of following in the chat panel with this sign.
CN2006101276616A 2006-09-05 2006-09-05 Resource sharing method and system Active CN101141470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101276616A CN101141470B (en) 2006-09-05 2006-09-05 Resource sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101276616A CN101141470B (en) 2006-09-05 2006-09-05 Resource sharing method and system

Publications (2)

Publication Number Publication Date
CN101141470A CN101141470A (en) 2008-03-12
CN101141470B true CN101141470B (en) 2011-04-06

Family

ID=39193211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101276616A Active CN101141470B (en) 2006-09-05 2006-09-05 Resource sharing method and system

Country Status (1)

Country Link
CN (1) CN101141470B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834937A (en) * 2010-03-19 2010-09-15 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for information interaction between terminals
CN103209223B (en) * 2013-04-27 2016-08-10 中国农业银行股份有限公司 distributed application session information sharing method, system and application server
CN104469974B (en) * 2013-09-23 2019-10-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN103716227B (en) * 2013-12-12 2018-03-30 北京京东尚科信息技术有限公司 A kind of method and apparatus for being used in instant messaging carry out information exchange
CN105635931B (en) * 2014-11-04 2019-08-13 华为技术有限公司 A kind of method and apparatus of resource access
CN104602133B (en) * 2014-11-21 2018-09-18 腾讯科技(北京)有限公司 Multimedia file sharing method and terminal and server
CN114374690B (en) * 2022-01-21 2023-10-31 荣耀终端有限公司 File sharing method, communication system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1292627A (en) * 1999-10-04 2001-04-25 Actv公司 Video program enhancement equipment providing shared white plate and method
WO2004104759A2 (en) * 2003-05-16 2004-12-02 Picasa, Inc. Methods and systems for image sharing over a network
CN1605057A (en) * 2001-10-19 2005-04-06 德马特斯有限公司 Rich communication over internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1292627A (en) * 1999-10-04 2001-04-25 Actv公司 Video program enhancement equipment providing shared white plate and method
CN1605057A (en) * 2001-10-19 2005-04-06 德马特斯有限公司 Rich communication over internet
WO2004104759A2 (en) * 2003-05-16 2004-12-02 Picasa, Inc. Methods and systems for image sharing over a network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
同上.

Also Published As

Publication number Publication date
CN101141470A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
CN101141470B (en) Resource sharing method and system
US10123183B2 (en) Voice messaging method and mobile terminal supporting voice messaging in mobile messenger service
US8625550B2 (en) Mobile communication terminal and method for transmission of image in mobile messenger service
WO2015123145A1 (en) Syncrhonizing an unread message in instant communication
AU2005211565A1 (en) Mixed messaging mode for multiple points of presence
CN104954492B (en) Instant communication method, the distribution server, user terminal and instant communicating system
US20100198988A1 (en) Methods for using the addressing, protocols and the infrastructure of email to support near real-time communication
CN103716227A (en) Method and device for performing information interaction in instant messenger
EP2605460A1 (en) Method, apparatus, and system for transferring file to user of instant message system
CN103069755A (en) Instant messaging using multiple instances of a client
CN102222064A (en) Real-time translation system and method, network communication apparatus
CN102523289A (en) Method and system for storing screenshot in network
US8050269B2 (en) Mobile terminal and message transmitting/receiving method for adaptive converged IP messaging
CN105681260A (en) Cloud storage file transmission method, fusion communication platform, sending end and system
CN105099860A (en) Method and system for performing real-time interaction in instant messaging and client
CN102769640A (en) Method, server and system for user information updating
CN112817671B (en) Image processing method, device, equipment and computer readable storage medium
US20150189484A1 (en) Method, Apparatus, And System For Updating Contact Information
KR20060039497A (en) Mobile multimedia instant messenger service method and mobile multimedia messenger serive method using the same system
CN103237074A (en) Data interactive method and data interactive system between intelligent terminals
CN110620672B (en) Multi-person session data processing method and device, computer equipment and storage medium
CN104283762A (en) Method, system, client-side and server for transmitting instant messaging conversation content
CN103339898B (en) For providing the method and system of enhancement mode event notice in UPnP home network environment
CN101860821A (en) Method and system for acquiring instant messages
KR20090116268A (en) System and method for processing storage messenger information of mobile communication terminal and mobile communication terminal having messenger information storage function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant