CN103885666A - Transmission processing method and transmission processing system of shared information - Google Patents
Transmission processing method and transmission processing system of shared information Download PDFInfo
- Publication number
- CN103885666A CN103885666A CN201210558255.0A CN201210558255A CN103885666A CN 103885666 A CN103885666 A CN 103885666A CN 201210558255 A CN201210558255 A CN 201210558255A CN 103885666 A CN103885666 A CN 103885666A
- Authority
- CN
- China
- Prior art keywords
- address list
- socket
- sharing information
- information
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 28
- 238000003672 processing method Methods 0.000 title abstract 2
- 238000000034 method Methods 0.000 claims abstract description 114
- 238000004891 communication Methods 0.000 claims abstract description 108
- 230000007246 mechanism Effects 0.000 claims description 28
- 238000001514 detection method Methods 0.000 claims description 9
- 230000002452 interceptive effect Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 11
- 230000003993 interaction Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000009471 action Effects 0.000 description 3
- 238000005538 encapsulation Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000009527 percussion Methods 0.000 description 2
- 108010022579 ATP dependent 26S protease Proteins 0.000 description 1
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 1
- 244000046052 Phaseolus vulgaris Species 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a transmission processing method and a transmission processing system of shared information. The system comprises a subject part and an object part. The method comprises the following steps of: getting an address list of a communication program by the subject part; detecting an information input operation; displaying the address list if the information input operation is detected; after a selection instruction for a communication target in the address list is received, notifying the shared information input by the information input operation and an identifier of the selected communication target to the object part in the communication program; after the shared information and the identifier of the communication target are obtained, sending the shared information to the selected communication target by the object part of the communication program. With use of the method and system disclosed by the invention, sharing of transmission information by the communication program can be realized, meanwhile, number of human-computer interactive times is reduced, furthermore, operation complexity is reduced and operation efficiency is improved.
Description
Technical field
The application relates to data transmission and processing technology field, relates in particular to a kind of method for transmission processing and system of the sharing information in intelligent data treatment facility.
Background technology
Intelligent data treatment facility, is often referred to and can moves according to program, the modernization intelligent electronic device of automatic data processing.Such as conventional computing machine, smart mobile phone, panel computer etc. all belong to intelligent data treatment facility.Intelligent data treatment facility needs installing operating system platform, and the various application programs with particular procedure function are installed in operating system platform.Wherein, signal procedure refers to application program that can the sending and receiving network information, and user can utilize signal procedure send and share various information.Concrete signal procedure is for example: instant messaging (IM) program, can send and receive information immediately; Social networking service program (SNS, Social Networking Services), as microblogging etc., can help people to set up the internet communication relation of social network.
In the prior art, if user wish to utilize signal procedure by Information Sharings such as a segment file, picture, audio frequency and video or other files the communication object to oneself.Conventionally need to proceed as follows: open signal procedure; Carry out the authentication of user's login; From the address list of signal procedure, select wish to send the communication object of information; Open the information input window of selected communication object; Input message in described information input window, for example input characters, picture, audio frequency and video, or alternative document information etc.; Rearmost point percussion is sent or is determined etc. and sends described input message to selected communication object by button.Therefore, user shares an information need to carry out loaded down with trivial details and complicated operation to communication object, and the number of times of man-machine interaction is too many.
More specifically, for example, in IM communication, if user wish to utilize IM program by Information Sharings such as a segment file, picture, audio frequency and video or other files the good friend's (being a kind of communication object) to oneself.Conventionally need to proceed as follows: open IM application program; Carry out the authentication of user's login; From the buddy list (being a kind of address list) of IM program, select wish to send the good friend of information; Open selected good friend's chat window; Input message in described chat window, for example input characters, picture, audio frequency and video, or alternative document information etc.; Rearmost point percussion is sent or is determined etc. and sends described input message to selected good friend by button.As mentioned above, in prior art scheme, user shares an information need to carry out loaded down with trivial details and complicated operation to good friend, and the number of times of man-machine interaction is too many.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method for transmission processing of sharing information, when utilizing signal procedure to share transmission information, reduces man-machine interaction number of times to realize, and then reduces operation complexity, improves operating efficiency.
Technical scheme of the present invention is achieved in that
A method for transmission processing for sharing information, comprising:
The address list of obtaining communication program;
The operation of detection input information;
The described address list of demonstration after input information operation detected;
After receiving the selected instruction of the communication object in address list, the sharing information of described input information operation input and selected communication object mark are notified to described signal procedure;
Described signal procedure obtains, after described sharing information and communication object mark, described sharing information being sent to described selected communication object.
A transmission process system for sharing information, comprises main part and object part, and described object of entry divides and is arranged in signal procedure;
Described main part comprises:
Address list request module, obtains address list request to address list respond module described later for sending, and receives the address list that address list respond module is returned;
Detection module, operates for detection of input information;
Address list display module, for detecting the described address list of demonstration after input information operation;
Sharing information notification module, for receiving after the selected instruction of the communication object to address list, notifies the sharing information of described input information operation input and selected communication object mark to sharing information respond module described later;
Described object part mainly comprises:
Address list respond module, obtains address list request for receiving, and searches the address list of described signal procedure, and returns to described address list request module;
Sharing information respond module, for mutual with described sharing information notification module, obtains sharing information and communication object mark;
Sharing module, for utilizing described signal procedure that described sharing information is sent to described selected communication object.
Compared with prior art, the transmission process mode of sharing information of the present invention only needs considerably less man-machine interaction number of times can complete the transmission of a sharing information, for user, only needs following two step operations: (1) carries out input information operation.If inputting word information, starts and carries out text input box and to input characters in text input box; If the files such as input picture, video, are dragged to file icon in specified icons; (2) to be shown go out after address list, user clicks communication object wherein, the information of input can be sent to this communication object.Whole process, user only needs two step operations to complete, and therefore can realize when utilizing signal procedure to share transmission information, reduces man-machine interaction number of times, and then reduces operation complexity, improves operating efficiency.
Brief description of the drawings
Fig. 1 is a kind of process flow diagram of the method for transmission processing of sharing information of the present invention;
Fig. 2 is the one composition schematic diagram of the transmission process system of sharing information of the present invention;
Fig. 3 is a kind of process flow diagram that the embodiment of the present invention is passed through lightweight communication mechanism transmission sharing information between program;
Fig. 4 is a kind of process flow diagram that the embodiment of the present invention is passed through the complex data intercommunication mode transfer files sharing information between program.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail
Fig. 1 is a kind of process flow diagram of the method for transmission processing of sharing information of the present invention, and referring to Fig. 1, the method comprises:
The address list of step 101, obtaining communication program.
In the present invention, the operation of described input information is specifically as follows: start and specify text input box and to input characters in text input box, and described sharing information is the word of input in this text input box; Or described input information operation is specifically as follows: pull file icon into specified icons, and described sharing information is the file that this file icon is corresponding.
Corresponding, the invention also discloses a kind of transmission process system of sharing information, for carrying out the method for transmission processing of described sharing information.Fig. 2 is the one composition schematic diagram of the transmission process system of sharing information of the present invention.Referring to Fig. 2, the transmission process system of this sharing information can be divided into two parts, main part 201 and object part 202.Described main part 201 can be made into signal procedure mutually independently application program (being called main part program herein) operate in the operating system of intelligent data treatment facility, and on screen interface, showing the icon of an appointment, this icon is presented in the taskbar of operating system desktop conventionally.Described object part 202 need to be arranged on signal procedure inside, completes described Information Sharing operation to trigger signal procedure.Wherein, described main part 201 mainly comprises:
Address list request module 211, obtains address list request to address list respond module 215 described later for sending, and receives the address list that address list respond module 215 is returned; Described address list respond module 215 is arranged in the object part of signal procedure, described in receiving, obtains address list request, searches the address list of described signal procedure, and returns to described address list request module 211.The cooperation of address list request module 211 and described address list respond module 215 makes main part can get the address list of signal procedure.
Address list display module 213, for detecting the described address list of demonstration after input information operation;
Sharing information notification module 214, for receiving after the selected instruction of the communication object to address list, notifies the sharing information of described input information operation input and selected communication object mark to sharing information respond module 216 described later;
Described object of entry divides and is arranged in signal procedure, mainly comprises:
Address list respond module 215, obtains address list request for receiving, and searches the address list of described signal procedure, and returns to described address list request module 211;
Sharing information respond module 216, for mutual with described sharing information notification module 214, obtains sharing information and communication object mark;
Sharing module 217, for utilizing described signal procedure that described sharing information is sent to described selected communication object.
Wherein, in one embodiment, the concrete grammar of the address list of described main part program obtaining communication program comprises:
Described main part program is set up socket (socket) service end, and is a port numbers of this socket service end binding; Because main part is an independent program, therefore by the lightweight communication mechanism between program, described port numbers and address list request instruction are notified to described signal procedure, if now signal procedure does not start, first start signal procedure; Described signal procedure is being received after described address list request instruction, set up socket client, between this socket client and described socket service end, set up socket by described port numbers and be connected, connect the address list of this signal procedure logged-in user is sent to described socket service end by described socket.
In the present invention, lightweight communication mechanism between described program distinguishes with socket communication mechanism described later, and its effect is for transmitting lightweight (being that data volume is less) data, in different operating system, the lightweight communication mechanism that it adopts can be distinguished to some extent, for example:
In the iOS of apple operating system, the lightweight communication mechanism between described program is URL Scheme, and described main part of the present invention can be utilized URL scheme to transmit described sharing information, corresponding instruction and communication object and identify to signal procedure.
In the Andriod of Google operating system, lightweight communication mechanism between described program can be for to transmit simple data by Intent and Bundle between program, the actionname that operating system can comprise by Intent searches corresponding signal procedure, and the Bundle comprising by Intent transmits simple data.Described main part of the present invention can be transmitted simple data by Intent and Bundle and transmit described sharing information, corresponding instruction and communication object and identify to signal procedure between program.
In the Windows of Microsoft operating system, lightweight communication mechanism between described program can be to register a URL Protocol by registration table to complete the effect the same with URL Scheme, described main part of the present invention can be registered a URL Protocol by registration table, the similar described URL Scheme of 26S Proteasome Structure and Function of this URL Protocol, identifies to signal procedure for transmitting described sharing information, corresponding instruction and communication object.
Corresponding with said method, in Fig. 2, the address list request module 211 of described system specifically for: set up socket service end, for a port numbers of this socket service end binding, and by the lightweight communication mechanism between program, described port numbers and address list request instruction are notified to address list respond module 215; Described address list respond module 215 specifically for: receive described port numbers and address list request instruction, set up socket client, between this socket client and described socket service end, setting up socket by described port numbers is connected, the address list of the logged-in user of obtaining communication program, is connected described address list is sent to described socket service end by described socket.
In one embodiment, method of the present invention detects after input information operation in described main part program, further comprise: whether the address list that judges described signal procedure obtains successfully, if obtain failure, the sharing information of described input information operation input is notified to described signal procedure; If obtained successfully, receiving after the selected instruction of the communication object to address list, the sharing information of described input information operation input and selected communication object mark are notified to described signal procedure.Described signal procedure, receiving after the sharing information notice of not carrying communication object mark, triggers signal procedure and shows address list, and determines communication object mark according to the selected instruction of the communication object in described address list.
Corresponding, in the system of described Fig. 2, described sharing information notification module 214 is wherein further used for: detecting after input information operation to judge whether the address list of described signal procedure obtains successfully, if obtain failure, the sharing information of described input information operation input is notified to described sharing information respond module 216; If obtained successfully, receiving after the selected instruction of the communication object to address list, the sharing information of described input information operation input and selected communication object mark are notified to described sharing information respond module 216.Described sharing information respond module 216 is further used for: receiving after the sharing information notice of not carrying communication object mark, trigger signal procedure and show address list, and determine communication object mark according to the selected instruction of the communication object in described address list.
In described step 104, described main part program by communication object mark notice to the concrete grammar of signal procedure can be: by the lightweight communication mechanism between program, described communication object mark is notified to described signal procedure.
Described main part program is notified the sharing information of input information operation input to the concrete grammar of signal procedure and need to be processed respectively according to the type of sharing information, specifically comprises:
In the time that the sharing information of described input information operation input is Word message, described main part program is shared described Word message instruction notification to described signal procedure with word by the lightweight communication mechanism between program, described signal procedure receives that word shares after instruction, obtains described Word message from described notice;
When the sharing information of described input information operation input is for can by external program, (described external program refers in this operating system, other program except present procedure is described main part program is as signal procedure) access file time, by the lightweight communication mechanism between program, the routing information of described file is shared to instruction notification with file path to described signal procedure, described signal procedure is receiving that described file path shares after instruction, from described notice, obtain described routing information, acquire corresponding file data to be shared by this routing information,
In the time that the sharing information of described input information operation input is the file that can not be accessed by external program, comprise: main part program is set up socket service end, and be a port numbers of this socket service end binding, give described signal procedure by the lightweight communication mechanism between program by described port numbers and complex data intercommunication instruction notification; Described signal procedure, receiving after complex data intercommunication instruction, obtains port numbers from described notice, sets up socket client; Be connected with the socket that sets up of described socket service end in described socket client by described port numbers; Described in main part program basis, the routing information of file to be shared obtains file data, is connected the socket client that described file data is sent to described signal procedure by socket service end with described socket.
Corresponding, in the system described in Fig. 2, described sharing information notice communication module 214 specifically for:
In the time that the sharing information of described input information operation input is Word message, by the lightweight communication mechanism between program, word is shared to instruction and identify or word is shared to instruction and described Word message with described Word message and selected communication object, notice is to described sharing information respond module 216;
In the time that the sharing information of described input information operation input is the file that can be accessed by external program, by the lightweight communication mechanism between program, the routing information of described file is shared to instruction and selected communication object with file path and identified or the routing information of described file shared to instruction with file path, notice is to described sharing information respond module 216;
In the time that the sharing information of described input information operation input is the file that can not be accessed by external program, set up socket service end, and be a port numbers of this socket service end binding, by the lightweight communication mechanism between program, by described port numbers and complex data intercommunication instruction and selected communication object mark, or by described port numbers and complex data intercommunication instruction, notice is to described sharing information respond module 216, and setting up after socket connection, obtain file data according to the routing information of file described to be shared, be connected the socket client that described file data is sent to opposite end with socket by this socket service end,
Corresponding, described sharing information respond module 216 specifically for:
Receiving that word shares after instruction, from described notice, obtain described Word message; Receiving that file path shares after instruction, from described notice, obtain routing information, acquire corresponding file data to be shared by this routing information; Receiving after complex data intercommunication instruction, from described notice, obtain port numbers, set up socket client, be connected with the socket that sets up of described socket service end in described socket client by described port numbers, and be connected with socket and receive the file data that socket service end is sent by this socket client.
Signal procedure described in the present invention can be for example: IM program, SNS program, even Email etc. has the program of communication function.In IM program, described address list can be for example user's buddy list, and described communication object is the good friend in this buddy list; In SNS program, the list of the user ID that described address list for example can communicate with user for user's bean vermicelli list, user's concern list etc., described communication object is exactly the described user that can communicate with user, etc.
Further illustrate technical scheme of the present invention with the specific embodiment of a concrete application scenarios below.In this application scenarios, the operating system of described intelligent data treatment facility is assumed to be iOS operating system, can independent operating after described main part program starts in operating system, and on screen interface, show the icon of an appointment, conventionally this icon is presented in the taskbar of operating system desktop, described signal procedure is IM program, and described address list is the buddy list of this IM program, and described communication object is the good friend in this buddy list.
Under usual condition, the information that user wants to share is the content of lightweight very, such as in short, one can be accessed picture, an or MP3 song; Therefore described main part program can adopt the lightweight communication mechanism between program to notify the program to IM by relevant sharing information under normal circumstances.For example, in iOS operating system, described lightweight communication mechanism can adopt the mode of self-defining URL Scheme, fast described sharing information and related content thereof are sent to IM program through simplifying, transfer to IM program that sharing information is sent to selected good friend.
In iOS operating system, the URL Scheme can be defined as follows in one embodiment:
macqq://buddy=xxxbuddy&actiontype=xxxtype&content=something
Wherein, described macqq: // field is fixing URL Scheme grammer scheme, this macqq: // need to be registered in the configuration file of main part program, for identifying wanted associated IM program, as long as iOS operating system detects macqq: the URL of // beginning, will start associated IM program.
Described buddy field represents a good friend, and the xxxbuddy after buddy=is good friend's mark of selected good friend, normally key value corresponding to this good friend, and described IM program can determine it is which good friend according to this key value.Do not get in main part program after the buddy list of IM program, this field can be empty, can represent with SA_EMPTY.
Described actiontype field represents the type of an action command, xxxtype after actiontype=is the particular content of this actiontype field, for identifying concrete action command type, described content field represents particular content corresponding to described actiontype field.
For example described action command type and corresponding content thereof can be following several one of enumerate:
1) ACTION_TYPE_TEXT, instruction shared in expression word; After content=, need to add shared Word message thereafter;
2) ACTION_TYPE_FILE, expression file path is shared instruction, will share the path of some files or file; After content=, need to add the routing information of shared file thereafter;
3) ACTION_TYPE_SOCKET, represents complex data intercommunication instruction, refers to that data mutual between program are more, need to set up socket connection by local port and carry out data interaction; After content=, need to add described port numbers thereafter;
4) ACTION_TYPE_LIST, represents buddy list request instruction, because buddy list data also belong to complex data, therefore also needs to set up socket connection by local port and carries out data interaction; After content=, need to add described port numbers thereafter.
Described main part program needs to obtain the buddy list of IM program after startup, comprises:
Main part program is set up socket service end, and after being this socket service end bundling port, encapsulate the URL of an above-mentioned URL scheme form, represent buddy list request instruction by adding ACTION_TYPE_LIST after actiontype=wherein, and after content=, add set up port numbers.Then call operation system is opened this URL, and operating system is by the macqq in this URL: // start associated IM program.Described IM program is resolved this URL, find that this URL comprises after buddy list request instruction, set up socket client, between this socket client and described socket service end, set up socket by the port numbers in this URL and be connected, connect the buddy list of this IM program logged-in user is sent to described socket service end by described socket.
After getting buddy list, described main part program just can have been utilized described URL scheme transmission sharing information.
Fig. 3 is a kind of process flow diagram that the present embodiment passes through lightweight communication mechanism transmission sharing information between program.Referring to Fig. 3, this flow process comprises:
Step 301, user carry out input information operation.For example, the icon of clicking described main part program can show that is specified a text input box, and user can be to input characters in this text input box, and now described sharing information is the word of input in this text input box; Or, the selected file icon (this file icon can be that the icon of concrete file can be also the icon of file) that will share of user, pull this file icon into the icon of described main part program, now described sharing information is the file that this file icon is corresponding.
The URL of step 306, an above-mentioned URL scheme form of encapsulation, represent that by adding ACTION_TYPE_TEXT after actiontype=wherein word shares instruction, and after content=, add inputted Word message, after buddy=, add good friend's mark that user clicks.
Whether the file that step 309, judgement are inputted can be accessed by external program, if can, perform step 310, otherwise execution step 313.
The URL of step 310, an above-mentioned URL scheme form of encapsulation, represent sharing files instruction by adding ACTION_TYPE_FILE after actiontype=wherein, and after content=, add the routing information of inputted word, after buddy=, add good friend's mark that user clicks.
In the present invention, why needing to have complex data intercommunication flow process, is because under some special environment, and operating system limits the access rights of file, and user wishes that the file content of sharing cannot be accessed by external program.Described external program refers in this operating system, other program except present procedure is described main part program is as IM program, that is to say in this case, even the content that the routing information that IM program has been obtained file also cannot file reading, let alone this file is shared with to good friend.Now, just need the interworking implementation of a set of complex data, so that the file data delivery of content that permission main part program cannot be accessed these by external program is to IM program.
Fig. 4 is a kind of process flow diagram that the present embodiment passes through the complex data intercommunication mode transfer files sharing information between program, comprising:
The URL of step 402, an above-mentioned URL scheme form of encapsulation, represent complex data intercommunication instruction by adding ACTION_TYPE_SOCKET after actiontype=wherein, and after content=, add the port numbers described in described step 401, after buddy=, add good friend's mark that user clicks.
The socket service end of step 406, main part program receives described socket and connects the request of foundation, and the socket that sets up described port numbers connects.
Described in step 407, main part program basis, the routing information of file to be shared obtains file data, is connected the socket client that described file data is sent to described IM program by described socket service end with socket.
File data described in the socket client of step 408, IM program.
As shown in Figure 3 and Figure 4, in the transmitting procedure of whole sharing information, for user, only carry out twice man-machine interaction, described step 301 and step 303, all the other steps are all to be automatically performed by described main part program and IM program (being actually the object part in IM program), therefore the present invention greatly reduces the number of times of man-machine interaction with respect to prior art, realize the operation readiness of sharing information transmission, reduce operation complexity, improve operating efficiency; Meanwhile, because man-machine interaction number of times has reduced, can also reduce the loss to human interface device.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.
Claims (10)
1. a method for transmission processing for sharing information, is characterized in that, comprising:
The address list of obtaining communication program;
The operation of detection input information;
The described address list of demonstration after input information operation detected;
After receiving the selected instruction of the communication object in address list, the sharing information of described input information operation input and selected communication object mark are notified to described signal procedure;
Described signal procedure obtains, after described sharing information and communication object mark, described sharing information being sent to described selected communication object.
2. method according to claim 1, is characterized in that, the address list of described obtaining communication program, specifically comprises:
Set up socket service end, and be a port numbers of this socket service end binding; By the lightweight communication mechanism between program, described port numbers and address list request instruction are notified to described signal procedure;
Described signal procedure is being received after described address list request instruction, set up socket client, between this socket client and described socket service end, set up socket by described port numbers and be connected, connect the address list of this signal procedure logged-in user is sent to described socket service end by described socket.
3. method according to claim 1, it is characterized in that, describedly further comprise: whether the address list that judges described signal procedure obtains successfully detecting after input information operation, if obtain failure, the sharing information of described input information operation input is notified to described signal procedure; If obtained successfully, receiving after the selected instruction of the communication object to address list, the sharing information of described input information operation input and selected communication object mark are notified to described signal procedure;
Described signal procedure, receiving after the sharing information notice of not carrying communication object mark, triggers signal procedure and shows address list, and determines communication object mark according to the selected instruction of the communication object in described address list.
4. according to the method described in claim 1,2 or 3, it is characterized in that, described by communication object mark notice to signal procedure, specifically comprise: by the lightweight communication mechanism between program by described communication object mark notice to described signal procedure.
5. according to the method described in claim 1,2 or 3, it is characterized in that, the described sharing information by input information operation input is notified to signal procedure, specifically comprises:
In the time that the sharing information of described input information operation input is Word message, by the lightweight communication mechanism between program, described Word message is shared to instruction notification with word to described signal procedure, described signal procedure receives that word shares after instruction, obtains described Word message from described notice;
In the time that the sharing information of described input information operation input is the file that can be accessed by external program, by the lightweight communication mechanism between program, the routing information of described file is shared to instruction notification with file path to described signal procedure, described signal procedure is receiving that described file path shares after instruction, from described notice, obtain described routing information, acquire corresponding file data to be shared by this routing information;
In the time that the sharing information of described input information operation input is the file that can not be accessed by external program, comprise:
Set up socket service end, and be a port numbers of this socket service end binding, give described signal procedure by the lightweight communication mechanism between program by described port numbers and complex data intercommunication instruction notification;
Described signal procedure, receiving after complex data intercommunication instruction, obtains port numbers from described notice, sets up socket client; Be connected with the socket that sets up of described socket service end in described socket client by described port numbers;
Obtain file data according to the routing information of file described to be shared, be connected the socket client that described file data is sent to described signal procedure by described socket service end with socket.
6. according to the method described in claim 1,2 or 3, it is characterized in that, the operation of described input information is specially: start and specify text input box and to input characters in text input box, and described sharing information is the word of input in this text input box;
Or described input information operation is specially: pull file icon into specified icons, and described sharing information is the file that this file icon is corresponding.
7. a transmission process system for sharing information, is characterized in that,
Comprise main part and object part, described object of entry divides and is arranged in signal procedure;
Described main part comprises:
Address list request module, obtains address list request to address list respond module described later for sending, and receives the address list that address list respond module is returned;
Detection module, operates for detection of input information;
Address list display module, for detecting the described address list of demonstration after input information operation;
Sharing information notification module, for receiving after the selected instruction of the communication object to address list, notifies the sharing information of described input information operation input and selected communication object mark to sharing information respond module described later;
Described object part mainly comprises:
Address list respond module, obtains address list request for receiving, and searches the address list of described signal procedure, and returns to described address list request module;
Sharing information respond module, for mutual with described sharing information notification module, obtains sharing information and communication object mark;
Sharing module, for utilizing described signal procedure that described sharing information is sent to described selected communication object.
8. system according to claim 7, it is characterized in that, described address list request module specifically for: set up socket service end, for a port numbers of this socket service end binding, and by the lightweight communication mechanism between program, described port numbers and address list request instruction are notified to address list respond module;
Described address list respond module specifically for: receive described port numbers and address list request instruction, set up socket client, between this socket client and described socket service end, setting up socket by described port numbers is connected, the address list of the logged-in user of obtaining communication program, is connected described address list is sent to described socket service end by described socket.
9. system according to claim 7, is characterized in that,
Described sharing information notification module is further used for: detecting after input information operation to judge whether the address list of described signal procedure obtains successfully, if obtain failure, the sharing information of described input information operation input is notified to described sharing information respond module; If obtained successfully, receiving after the selected instruction of the communication object to address list, the sharing information of described input information operation input and selected communication object mark are notified to described sharing information respond module;
Described sharing information respond module is further used for: receiving after the sharing information notice of not carrying communication object mark, trigger signal procedure and show address list, and determine communication object mark according to the selected instruction of the communication object in described address list.
10. according to the system described in claim 7,8,9, it is characterized in that,
Described sharing information notice communication module specifically for:
In the time that the sharing information of described input information operation input is Word message, by the lightweight communication mechanism between program, word is shared to instruction and identify or word is shared to instruction and described Word message with described Word message and selected communication object, notice is to described sharing information respond module;
In the time that the sharing information of described input information operation input is the file that can be accessed by external program, by the lightweight communication mechanism between program, the routing information of described file is shared to instruction and selected communication object with file path and identified or the routing information of described file shared to instruction with file path, notice is to described sharing information respond module;
In the time that the sharing information of described input information operation input is the file that can not be accessed by external program, set up socket service end, and be a port numbers of this socket service end binding, by the lightweight communication mechanism between program, by described port numbers and complex data intercommunication instruction and selected communication object mark, or by described port numbers and complex data intercommunication instruction, notice is to described sharing information respond module, and setting up after socket connection, obtain file data according to the routing information of file described to be shared, be connected the socket client that described file data is sent to opposite end with socket by this socket service end,
Corresponding, described sharing information respond module specifically for:
Receiving that word shares after instruction, from described notice, obtain described Word message; Receiving that file path shares after instruction, from described notice, obtain routing information, acquire corresponding file data to be shared by this routing information; Receiving after complex data intercommunication instruction, from described notice, obtain port numbers, set up socket client, be connected with the socket that sets up of described socket service end in described socket client by described port numbers, and be connected with socket and receive the file data that socket service end is sent by this socket client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210558255.0A CN103885666A (en) | 2012-12-20 | 2012-12-20 | Transmission processing method and transmission processing system of shared information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210558255.0A CN103885666A (en) | 2012-12-20 | 2012-12-20 | Transmission processing method and transmission processing system of shared information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103885666A true CN103885666A (en) | 2014-06-25 |
Family
ID=50954593
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210558255.0A Pending CN103885666A (en) | 2012-12-20 | 2012-12-20 | Transmission processing method and transmission processing system of shared information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103885666A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105138895A (en) * | 2015-08-11 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | Single sign-on method and system during integration of third-party application by client |
CN107229526A (en) * | 2017-05-17 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Message treatment method, device, storage medium and computer equipment in group session |
CN109639561A (en) * | 2018-10-25 | 2019-04-16 | 北京达佳互联信息技术有限公司 | Sharing method, device, electronic equipment and storage medium based on information feedback |
CN111385265A (en) * | 2018-12-29 | 2020-07-07 | 北京奇虎科技有限公司 | Communication method and device in iOS system |
CN112783409A (en) * | 2021-03-15 | 2021-05-11 | 联想(北京)有限公司 | Control method and device and electronic equipment |
CN113885746A (en) * | 2021-09-16 | 2022-01-04 | 维沃移动通信有限公司 | Message sending method, device and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291329A (en) * | 2011-08-16 | 2011-12-21 | 青牛(北京)技术有限公司 | Method and system for sharing data content |
CN102594845A (en) * | 2012-03-29 | 2012-07-18 | 东南大学 | Instant message transmission method based on XMPP |
CN102833185A (en) * | 2012-08-22 | 2012-12-19 | 青岛飞鸽软件有限公司 | Tool and method for instant messaging by text dragging |
-
2012
- 2012-12-20 CN CN201210558255.0A patent/CN103885666A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291329A (en) * | 2011-08-16 | 2011-12-21 | 青牛(北京)技术有限公司 | Method and system for sharing data content |
CN102594845A (en) * | 2012-03-29 | 2012-07-18 | 东南大学 | Instant message transmission method based on XMPP |
CN102833185A (en) * | 2012-08-22 | 2012-12-19 | 青岛飞鸽软件有限公司 | Tool and method for instant messaging by text dragging |
Non-Patent Citations (2)
Title |
---|
刘俊贤: "基于Android平台的桥梁监测终端应用程序设计与开发", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
刘昌平: "Android手机的轻量级访问控制", 《计算机应用研究》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105138895A (en) * | 2015-08-11 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | Single sign-on method and system during integration of third-party application by client |
CN107229526A (en) * | 2017-05-17 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Message treatment method, device, storage medium and computer equipment in group session |
CN107229526B (en) * | 2017-05-17 | 2019-03-01 | 腾讯科技(深圳)有限公司 | Message treatment method, device, storage medium and computer equipment in group session |
US11057440B2 (en) | 2017-05-17 | 2021-07-06 | Tencent Technology (Shenzhen) Company Limited | Method for processing message in group session, storage medium, and computer device |
US11252203B2 (en) | 2017-05-17 | 2022-02-15 | Tencent Technology (Shenzhen) Company Limited | Method for processing message in group session, storage medium, and computer device |
CN109639561A (en) * | 2018-10-25 | 2019-04-16 | 北京达佳互联信息技术有限公司 | Sharing method, device, electronic equipment and storage medium based on information feedback |
CN109639561B (en) * | 2018-10-25 | 2022-03-04 | 北京达佳互联信息技术有限公司 | Sharing method and device based on information feedback, electronic equipment and storage medium |
CN111385265A (en) * | 2018-12-29 | 2020-07-07 | 北京奇虎科技有限公司 | Communication method and device in iOS system |
CN112783409A (en) * | 2021-03-15 | 2021-05-11 | 联想(北京)有限公司 | Control method and device and electronic equipment |
CN113885746A (en) * | 2021-09-16 | 2022-01-04 | 维沃移动通信有限公司 | Message sending method, device and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12107803B2 (en) | Chat-enabled messaging | |
CN112041791B (en) | A method and terminal for displaying input method virtual keyboard | |
US10686602B2 (en) | Portable device interface methods and systems | |
EP2584770B1 (en) | Electronic device and method for reply message composition | |
EP2901661B1 (en) | Terminal and method for transmitting and receiving data | |
EP4276605B1 (en) | Program orchestration method and electronic device | |
CN103365840A (en) | Web-based screenshot taking method and device | |
CN102902580B (en) | A kind of program callback method and device | |
CN103885666A (en) | Transmission processing method and transmission processing system of shared information | |
WO2016183378A1 (en) | Instant communication | |
JP2017504912A (en) | Page operation processing method and apparatus, and terminal | |
CN110136713A (en) | User's dialogue method and system in multimodal interaction | |
JP6317754B2 (en) | Using custom RTF commands to extend chat functionality | |
CN103973542A (en) | Voice information processing method and device | |
US9342386B1 (en) | Messaging channel for web pages, extensions, and applications to communicate | |
CN104679506B (en) | A kind of terminal | |
WO2022253132A1 (en) | Information display method and apparatus, and electronic device | |
CN109768921B (en) | Data transparent transmission method and corresponding instant communication terminal | |
CN107390981B (en) | A global menu control method, device, device and storage medium | |
CN103941961A (en) | Prompting method, device and facility for application updating | |
KR102784806B1 (en) | Method and apparatus for messaging service | |
CN106776059B (en) | Text input method and system | |
US20200334327A1 (en) | Method to automate processing form input to other systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140625 |