CN100546281C - A kind of method and device that transmits data - Google Patents

A kind of method and device that transmits data Download PDF

Info

Publication number
CN100546281C
CN100546281C CNB2006100865628A CN200610086562A CN100546281C CN 100546281 C CN100546281 C CN 100546281C CN B2006100865628 A CNB2006100865628 A CN B2006100865628A CN 200610086562 A CN200610086562 A CN 200610086562A CN 100546281 C CN100546281 C CN 100546281C
Authority
CN
China
Prior art keywords
data
sent
instant message
user
application program
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
CNB2006100865628A
Other languages
Chinese (zh)
Other versions
CN101094163A (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 CNB2006100865628A priority Critical patent/CN100546281C/en
Publication of CN101094163A publication Critical patent/CN101094163A/en
Application granted granted Critical
Publication of CN100546281C publication Critical patent/CN100546281C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method of transmitting data, have complex operation and inefficient problem when being used to solve prior art transmission data.The present invention includes: obtain data to be sent in the application program automatically according to user's transmission request at transmitter side; With described data encapsulation to be sent is instant message, and sends by instantaneous communication system; Resolve described instant message to recover data at receiver side, according to the positional information of carrying in specified position of the user of receiver side or the described data, determine the application's data input position, and data are outputed on the described application's data input position.The present invention discloses a kind of apparatus for transmitting data.

Description

A kind of method and device that transmits data
Technical field
The present invention relates to communication and field of computer technology, relate in particular to a kind of method and device that transmits data.
Background technology
Under traditional mode, user's transfer of electronic content in different application software adopted when (comprising text and picture etc.) duplicates technology for applying.Its operating process is: the user at first chooses one section document content of random length in the application software of current operation, carries out the Copy command, the object content of choosing is cached in the pasting boards of internal memory; Open or activate target software then, and the user's editing mode that enters this software, cursor focus is placed on the suitable position, carry out " stickups " order, just will be cached to the cursor focus place that content in the internal memory pasting boards reverts to the software editing window of current activation at this moment.
Along with the continuous development of instant messaging (IM) with popularize, the user often need wish certain section in software literal (as webpage or OFFICE document) is issued the other side by IM as the user at IM and other software swapping data when using IM.Under traditional mode, the user must open the IM dialog box with the good friend earlier, and the material handwork that will send copies to pasting boards, pastes in the IM dialog box again, just can send.Also sometimes, the information that the user need send the good friend saves as the data of oneself and uses later on, in traditional method, the user will enter the data of other software earlier and compile state (as OFFICE), with the content choice of IM dialog box and copy to pasting boards, paste again in the edit box of target software again.Because the IM system that has is restricted to the IM message-length that once sends, therefore,, just needs the user will send content and cut into several sections transmissions repeatedly if the content of exchange is a lot.
Above-mentioned exchanges data is that artificial indirect mode carries out, and needs the user to carry out a plurality of operating procedures.The IM that has is restricted to the data length that once sends, if the data that this moment, the user sent are more, just needs craft repeatedly duplicate, stickup and transmit operation; A side of reception message also will carry out many copy and pastes operations when simultaneously, need be applied to the information that receives other software.Therefore, this method is complex operation not only, and efficient is low, and operating mistake occurs easily.
Summary of the invention
The invention provides a kind of method and device that transmits data, have complex operation and inefficient problem when solving prior art by instant message transmission data.
The invention provides following technical scheme:
A kind of method of transmitting data comprises the steps:
Automatically obtain data to be sent in the application program at transmitter side according to user's transmission request;
With described data encapsulation to be sent is instant message, and sends by instantaneous communication system;
Resolve described instant message to recover data at receiver side, according to the positional information of carrying in appointed positions or the described data, determine the application's data input position, and data are outputed on the described application's data input position.
Wherein:
Earlier all data to be sent are saved in the buffer memory at transmitter side, from buffer memory, read these data then and be encapsulated as instant message; At receiver side, earlier with the metadata cache that recovers, these data with buffer memory directly paste on the application's data input position of appointment then.
When the user captures data to be sent, further in window, show these data and accept editor.
At transmitter side, when described data surpass the instant message capacity, it is cut apart and be encapsulated as many instant messages send; At receiver side, the data that recover are made up and form complete data from many instant messages.
Also comprise the pattern of the input of data in application program that the user is provided with in the described data to be sent, the receiver side analyzing instant messages is when recovering data, recover the pattern of the input that comprises in the data simultaneously, and data are outputed on the application's data input position of appointment according to described pattern of the input.
The application program of transmitter side and receiver side is identical with data format in the application program.Described data to be sent are revision partial data and positional information and the Revision Marks of these data in application program; Receiver side is determined described data input position according to this positional information, utilizes described revision partial data to replace the data of this position and presents Revision Marks, to guarantee the content synchronization in transmitter side and the receiver side application program.
A kind of apparatus for transmitting data comprises:
Be used for obtaining automatically the unit of the data to be sent of application program;
To be used for described data encapsulation to be sent be instant message and send this instant message, and receive instant message and decapsulation instant message to recover the unit of data;
Be used for the positional information of carrying, determine the application's data input position, and data are outputed to unit on the described application's data input position according to appointed positions or described data.
Beneficial effect of the present invention is as follows:
The present invention is the data input position that instant message sent and will directly paste automatically the software of appointment with data encapsulation to be sent, need not the user carry out the copy and paste operation by hand; When the data volume of data especially to be sent is big, avoided the user to carry out loaded down with trivial details operation.Therefore, the present invention is not only easy and simple to handle, and has avoided problem of makeing mistakes easily hand-manipulated.
The present invention makes the IM system as the bridge that carries out the remote switch data between the different software, for the industry-specific application of IM provides convenience, has high commercial value.
Description of drawings
Fig. 1 transmits the structural representation of data system for the present invention;
Fig. 2 A is the flow chart that sends user data in the embodiment of the invention one by the IM system;
Fig. 2 B is the flow chart that passes through IM system receiving subscriber data in the embodiment of the invention one;
Fig. 3 is a flow chart of realizing the user data of conveyer belt pattern of the input between two application software in the embodiment of the invention two;
Fig. 4 is a flow chart of realizing transmitting between two application software user data in the embodiment of the invention three.
Embodiment
The transmission data need fussy hand operation between different application in order to reduce, the present invention is by obtaining all data to be sent automatically, and data encapsulation is that IM message transmits, parse data and data are outputed in the application program of appointment at receiver side then.
Consult shown in Figure 1ly, the communication system in the present embodiment comprises instant communication server, and a plurality of subscriber equipmenies that are connected with instant communication server by network.Described instant communication server is used for transmitting instant message between subscriber equipment.
Described subscriber equipment comprises data acquisition unit, data encapsulation unit, data decapsulation unit, instant messaging unit and data output unit.Wherein:
Described data acquisition unit is used for extracting the data to be sent that the user selects from application program, and sends the data encapsulation unit to.This data acquisition unit can be with metadata cache to be sent, can provide the user to edit the window of data to be sent and accepts the editor of user to data.
Described data encapsulation unit is used for data encapsulation to be instant message and to send the instant messaging unit to.When the transmission data surpassed the heap(ed) capacity of instantaneous communication system, this unit was encapsulated as many instant messages after data are cut.
Described instant messaging unit is used for sending and receiving instant message.
The instant message that described decapsulation unit is used for the instant messaging unit is received carries out decapsulation, and recovers data.After transmitter side was to the data cutting, this unit made up and forms complete data with the data that recover.
In reality realized, data encapsulation unit and data decapsulation unit also can be included in the instant messaging unit.
In the present embodiment, data to be sent can be the arbitrary content parts that the user selectes in application program.As word content in the Word document and/or picture, can specify the assigned address that outputs in the application program by the user at receiver side, as it being outputed to current cursor position in the Word document.
If transmit data record clocklike between application program, then data acquisition unit obtains user's data record to be sent automatically; If transmit irregular text picture information, then the user selects data to be sent by hand, and data acquisition unit sends the data to be sent that the user selects to data cell automatically.
Under the application program of transmitter side and the receiver side situation identical with content format in the application program, the data of transmission can be revision partial data, positional information and the Revision Marks of these data in application program; Receiver side carries out data in the appropriate section of program program to be replaced and presents Revision Marks, content in transmit leg and recipient's the application program is presented keep synchronously, and promptly the recipient can be known modification, deletion and the increase of transmit leg to content.
Embodiment one:
The IM system applies is in work exchange the time, cooperate the online video display drama of writing with good friend as the user, show on the edit page of the content that everyone writes except oneself, simultaneously the user wishes that the content that oneself is write sends to the good friend, allows good friend's content that explicit user is write on edit page.Consult shown in Fig. 2 A, its implementation procedure is as follows:
Step 201, transmitter side user be chosen content and triggering transmission data manipulation in application program.Can be by shortcut by definition, or open the menu point percussion mode such as order of losing one's life by click right and trigger the transmission data manipulation.
Step 202, data acquisition unit obtain the data that the user chooses in the application program automatically and are saved in the buffer memory, and whether the prompting user edits the data of choosing, if the user selects editor, execution in step 203; Otherwise, execution in step 204.
Step 203, the data that explicit user is selected in window are accepted the data after the user edits and preserve editor.
If comprise picture in user's data to be sent, then can adopt the mode of image mixed character typeset in window, to show.
Step 204, judge whether to exist the user activated good friend, if there is execution in step 206; Otherwise, execution in step 205.
Step 205, prompting user select the good friend.
Step 206, be instant message, and send to the good friend user's data encapsulation to be sent.
User good friend termination receives that the handling process of data shown in Fig. 2 B, comprises the steps:
Step 210, good friend place instant communication client receive instant message.
Step 220, data decapsulation unit recover data, prompting user selective reception to data need be inserted into position in the application program.
Step 230, catch the user and click the position of current cursor in application program, back, and the data that receive are inserted into this position.
Adopt in the above-mentioned flow process,, the data encapsulation unit is cut apart data and is encapsulated as many instant messages send again, in instant message, carry and cut apart sign if the data that the user sends to the good friend surpass the maximum constraints capacity of IM system; After good friend's termination is received many instant messages,, make up the data that recover user's transmission according to cutting apart the data of sign with decapsulation with many instant message decapsulations.
Embodiment two:
In the present embodiment, also comprise the pattern of the input of data in application program that the user is provided with in the data of transmission, receiver side outputs to data by this form the assigned address of application program.Consult Fig. 3, its processing procedure is as follows:
Step 301, obtain user's data to be sent and user's data designated and be inserted into the pattern of the input that receives in the user software.
Step 302, the pattern of the input of user's data to be sent and data is encapsulated as instant message.
Step 303, the data that will be encapsulated as instant message and insertion form send to the good friend of user's appointment by the IM system.
Step 304, good friend's termination are received the data that are encapsulated as instant message and are inserted form, with the insertion form decapsulation of data and data.
Step 305, prompting good friend have data to insert.
The pattern of the input of step 306, reading of data.
Step 307, data are inserted into assigned address in the application program according to the pattern of the input of setting.Described pattern of the input can be direct stickup, also can be extended formatting.If pattern of the input is directly to paste, is about to data and directly pastes receiver side user appointed positions; If the transmitter side user has set pattern of the input, as data are records of a multiword section, the transmitter side user sets the pattern of the input of each field in application software of the data that will insert, after the receiver side user receives data, the insertion position of specific data, the data that receive are inserted into assigned address according to the pattern of the input of setting automatically.For example, the data of transmission are that an address list is recorded as " name, sex, mobile phone, E-MAIL ", receive this data, with the form of address list these data are inserted in the application software.
This inventive method also can be applicable to the remote online data of many softwares and imports jointly, has only LAN-sharing function (CS structure) as the data of many financial softwares or business software, if there is branch in a company in a plurality of places, just need regularly the data collection of each company to be come to gather merging, adopt method of the present invention, after each branch logins as the on-demand system user, only need the selected data of submission and the form that data are inserted of needing, and the data targeted customer that need send to, system sends to the targeted customer automatically with data, and data are inserted into appointed positions with the form of appointment automatically.Troublesome operation when having avoided data to gather has improved the efficient that data gather simultaneously.
Embodiment three
In the present embodiment, the application program of transmitter side and receiver side is identical with the content format in the application program, and the data of transmission are revised partial data, these data positional information and Revision Marks in application program for the transmitter side user; Receiver side carries out data in the appropriate section of program to be replaced and presents Revision Marks, content in transmit leg and recipient's the application program is presented keep synchronously.File is made amendment under the revision state as user in Word document, then amended data are sent to the recipient, make the recipient can know the change of the other side content.
Under the revision state, because the original position and the information such as end position and Revision Marks of raw content, revised content, revision all are kept in the internal memory, so data acquisition module can obtain these information from internal memory.
Consult shown in Figure 4ly, the implementation procedure of content synchronization is as follows in the application program of transmitting terminal and receiving terminal:
Step 401, transmitter side user select synchronous data operation behind the Description of Revision in application program under the revision state.Described revision can be one or more in deletion, modification and the increase.
Step 402, data acquisition unit obtain the original position and the data such as end position and Revision Marks of Description of Revision, revision, and send the data encapsulation unit to.
Step 403, data encapsulation unit are instant message with data encapsulation, and send instant communication client to.
The instant communication client of step 404, transmitter side sends to instant message the good friend of appointment.
Step 405, good friend place instant communication client receive instant message, and send decapsulation unit to.
Step 406, decapsulation unit parse original position and the end position and the Revision Marks etc. of Description of Revision, revision and point out the user synchrodata from instant message.
Step 407, data output unit be according to the relevant position in the original position of the described revision application program identical with transmitter side with the end position location, and utilize Description of Revision to replace the content of this position, and identify the modification mark.
From the above, the present invention is the data input position that instant message sent and will directly paste automatically the software of appointment with data encapsulation to be sent, need not the user carry out the copy and paste operation by hand; When the data volume of data especially to be sent is big, avoided the user to carry out loaded down with trivial details operation.
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 (11)

1, a kind of method of transmitting data is characterized in that, comprises the steps:
Automatically obtain data to be sent in the application program at transmitter side;
With described data encapsulation to be sent is instant message, and sends by instantaneous communication system;
Resolve described instant message to recover data at receiver side, according to the positional information of carrying in appointed positions or the described data, determine the application's data input position, and data are outputed on the described application's data input position.
2, the method for claim 1 is characterized in that, earlier all data to be sent is saved in the buffer memory at transmitter side, reads these data then and be encapsulated as instant message from buffer memory; At receiver side, earlier with the metadata cache that recovers, these data with buffer memory directly paste on the application's data input position of appointment then.
3, method as claimed in claim 2 is characterized in that, when the user captures data to be sent, further shows these data and accept editor in window.
4, method as claimed in claim 3 is characterized in that, when described data comprise picture, adopts the image mixed character typeset mode to show.
5, the method for claim 1 is characterized in that, at transmitter side, when described data to be sent surpass the instant message capacity, it is cut apart and be encapsulated as many instant messages sends; At receiver side, the data that recover are made up and form complete data from many instant messages.
6, the method for claim 1 is characterized in that, also comprises the pattern of the input of data in application program that the user is provided with in the described data to be sent; Described receiver side analyzing instant messages recovers the pattern of the input that comprises in the data simultaneously, and data is outputed on the application's data input position of appointment according to described pattern of the input when recovering data.
7, the method for claim 1 is characterized in that, the application program of transmitter side and receiver side is identical with the data format in the application program.
8, method as claimed in claim 7 is characterized in that, described data to be sent are revision partial data and positional information and the Revision Marks of these data in application program; Receiver side is determined described data input position according to this positional information, utilizes described revision partial data to replace the data of this position and presents Revision Marks, to guarantee the content synchronization in transmitter side and the receiver side application program.
9, a kind of apparatus for transmitting data is characterized in that, comprising:
Be used for obtaining automatically the unit of the data to be sent of application program;
To be used for described data encapsulation to be sent be instant message and send this instant message, and receive instant message and decapsulation instant message to recover the unit of data;
Be used for the positional information of carrying, determine the application's data input position, and data are outputed to unit on the described application's data input position according to appointed positions or described data.
10, device as claimed in claim 11 is characterized in that, also comprises:
Be used for data of catching and the unit of accepting editor at the window explicit user.
11, as claim 9 or 10 described devices, it is characterized in that, also comprise:
The unit that is used for partition data.
CNB2006100865628A 2006-06-22 2006-06-22 A kind of method and device that transmits data Active CN100546281C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100865628A CN100546281C (en) 2006-06-22 2006-06-22 A kind of method and device that transmits data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100865628A CN100546281C (en) 2006-06-22 2006-06-22 A kind of method and device that transmits data

Publications (2)

Publication Number Publication Date
CN101094163A CN101094163A (en) 2007-12-26
CN100546281C true CN100546281C (en) 2009-09-30

Family

ID=38992200

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100865628A Active CN100546281C (en) 2006-06-22 2006-06-22 A kind of method and device that transmits data

Country Status (1)

Country Link
CN (1) CN100546281C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413153B (en) * 2010-09-20 2014-03-26 腾讯科技(深圳)有限公司 Microblog message publishing method and device
CN104734936A (en) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 Instant message processing method, device and system
CN104901983B (en) * 2014-03-05 2019-09-13 腾讯科技(深圳)有限公司 A kind of information synchronization method, apparatus and system
TWI638321B (en) * 2015-02-12 2018-10-11 三竹資訊股份有限公司 System and method of an enterprise instant
CN105187370B (en) * 2015-06-05 2019-11-12 北京奇虎科技有限公司 Data processing method and system
CN106294874A (en) * 2016-08-24 2017-01-04 北京奇虎科技有限公司 Carry out the method and apparatus of picture and text mixing, immediate communication device in instant messaging

Also Published As

Publication number Publication date
CN101094163A (en) 2007-12-26

Similar Documents

Publication Publication Date Title
EP1577769B1 (en) Method and system for centralized copy/paste functionality
CN101080056B (en) A management method and system of network browser collection folder of mobile terminal
CN100546281C (en) A kind of method and device that transmits data
US20070200922A1 (en) Electronic conference system, electronic conference controller, information terminal device, and electronic conference support method
CN103440247A (en) Method and device for sending photos
US20220342518A1 (en) Card-based information management method and system
EP2087752A1 (en) Messenger system for transmitting handwriting instant messages through wire and/or wireless network system and messenger service method thereof
CN104077341A (en) Keyword auto-response mapping relation generation method and device in instant messaging
WO2005008370B1 (en) Remote population of computer clipboard via a messaging system
CN103136042B (en) A kind of information processing method and device
CN102495866A (en) Method and system for synchronously updating shared documents
CN102769687A (en) Mass texting system and method
KR20150032152A (en) Method and apparatus for performing edit operations between electronic devices
CN102611643A (en) Method and system for handling emails of mobile terminal
CN102238223A (en) Networked personal data management method for mobile device
CN101453509A (en) Processing method for mobile phone information timed sending
CN104298416B (en) The generation method and device of message are automatically replied in instant messaging
CN105376383B (en) A kind of method and system of quick transmission contact information
KR101501107B1 (en) Apparatus for Providing Electronic Business Card and Driving Method Thereof, Terminal and Driving Method Thereof
CN102014079A (en) Method for customizing network head portrait by user
CN101610464A (en) A kind of method and apparatus of transfer of data
CN114861611A (en) Method, device and equipment for collaborative editing of hypertext
CN102611736B (en) File transfer system and method
CN102510559A (en) Data processing method, system and application method
CN100433869C (en) Mobile phone with managing newsletter 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