Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of data transferring method, as shown in Figure 1, comprising:
101: originating process generates and intercept and capture source data, obtain the transmission channel information of each target process;
Originating process is to provide the source of data, and originating process can produce source data, and source data can be sound, image, flow data etc., and source data kind is varied, and it does not affect the realization of the embodiment of the present invention, so the embodiment of the present invention will not limit this.
Above-mentioned transmission channel information is the information that adopts which kind of mode to transmit for sign, its form of expression can be varied, except transmission mode, can also represent to obtain by various information the information of target process and the originating process of source data, different transmission channels based on transmission mode can adopt different forms to embody, below provided the specific implementation of transmission channel information for example, as follows:
First, the mode of obtaining can adopt monitor thread to realize, specific as follows: the above-mentioned transmission channel information of obtaining each target process comprises: employing monitor thread obtains the transmission channel information of each target process, and whether the transmission channel information of definite target process and target process has change.
In addition, the sign of transmission channel information can identify in the following way, make originating process easily determine which the target process that need to obtain source data has, specific as follows: the above-mentioned transmission channel information of obtaining each target process comprises: to obtain sign with target process sign and the originating process sign gap marker to foundation.
In embodiments of the present invention, transmission mode can adopt the mode of block of shared memory to realize, shared storage block can be shared drive, it should be noted that transmission channel can also be other system object, therefore transmission channel information can be also other, below should not be construed as for example the unique restriction to the embodiment of the present invention.The concrete scheme that the mode of employing block of shared memory realizes is as follows: the destination address that above-mentioned gap marker has indicated source data to deposit; Above-mentionedly send to above-mentioned target process to comprise above-mentioned source data: to leave source data in above-mentioned destination address, for target process, read.
In embodiments of the present invention, transmission channel information can be deposited in by target process, concrete scheme is as follows: the above-mentioned transmission channel information of obtaining each target process comprises: above-mentioned originating process obtains the transmission channel information being deposited in by the target process that adopts hook to inject above-mentioned originating process after being adopted hook to inject by target process.
Based on a specific application, the embodiment of the present invention can be applied to the broadcasting of the audio frequency such as music, based on this embodiment of the present invention, provide following scheme, it should be noted that except audio frequency is play, other as video player as originating process, be also passable, audio player process should not be construed as the unique restriction to the embodiment of the present invention as the scheme of originating process, specific as follows: above-mentioned target process has two or more; Above-mentioned originating process is audio player process.In subsequent embodiment, by providing, take the more illustrated in greater detail that music player is example.
102: according to above-mentioned transmission channel information, determine the target process that above-mentioned source data is corresponding, and transmission source data are given the transmission mode of each target process;
103: above-mentioned source data is sent to above-mentioned target process; The send mode that transmission source data adopt to each target process is corresponding with the transmission mode of each target process of determining.
The embodiment of the present invention, employing is intercepted and captured source data by originating process, and obtain the transmission channel information of each target process, determine the target process that source data is corresponding, and transmission source data are to the transmission mode of each target process, then complete the transmission of source data, can reach the object that a plurality of target process obtain the data of an originating process, and this scheme does not need file, and all storage is complete, also do not need target process to adopt polling mode to obtain latest data, so data messaging efficiency is higher.In addition, due to embodiment of the present invention scheme, the mode that each target process obtains source data is independently, so each target process obtains source data and can't influence each other.
Implementation based on aforementioned use shared address piece, the embodiment of the present invention also provides the specific implementation in the address that how target data is stored in to gap marker indication, specific as follows: above-mentionedly to leave source data in above-mentioned destination address, for target process, read and comprise:
Adopt transmission thread to read the address of above-mentioned gap marker indication, and source data is write to the address of above-mentioned gap marker indication, for target process, read.
The Audio Players of below usining illustrates in more detail as originating process, the embodiment of the present invention is by Hook(hook) mode injects player process, the play function of hook broadcasting process obtains voice data, then by shared drive, voice data is returned to other application programs and use.
Hook (Hook), is a platform of Windows (Windows) message processing facility, and application program can arrange sub-journey in the above to monitor certain message of specified window, and the window monitoring can be that other processes create.After message arrives, before processing function, target window processes it.Hook Mechanism allows application program to intercept and capture and processes windows messaging or particular event.
Implementation is illustrated in fig. 2 shown below in detail:
The implication of a paper part signal is as follows:
Application program: the program of wanting to obtain voice data; Figure 2 shows that n application process.
Player process: sound data sources, is acquired the target program of sound.
Transmission channel ID(Identity, sign): can take that program process ID and player process ID be that key-value pair sets up the unique ID of 64 of the system overall situation, a high position is the process ID of 32 of application programs, low level is the process ID of 32 of players, is representing which application program wishes to obtain the sound of which player.
Transmission channel allocation table: transmission channel ID is being stored in this table the inside.
Transmission channel: this is to take the unique shared drive piece of the system overall situation that transmission channel ID is that sign is set up, and is used for transmitting voice data, player data writing, application program is sense data therefrom.
Transmission channel table: this transmission channel table, in player process, is used for storing transmission channel address.
Voice data buffer memory buf: be used for the voice data of buffer memory from player process interception.
Distribute monitor thread: this thread monitors transmission channel allocation table, when allocation table has change, this thread can scan whole table, check each transmission channel ID, look into and see if there is the voice data that application program wants to obtain this player process, if had, transmission channel address corresponding to this transmission channel ID is updated in transmission channel table.
Transfer voice thread: this thread reads the transmission channel address in transmission channel table, then voice data is write to corresponding transmission channel one by one.
Application program obtains the flow process of player voice data, also refers to shown in Fig. 2, specific as follows:
First step 1, application program are injected target and are play process, then link up with the play function of broadcasting process, and the voice data that distributes buffer memory (buf) storage to intercept and capture creates and distributes monitor thread and sound line journey;
For example: team's voice communication instrument that a support multi-person speech of Qtalk(exchanges) program injection player obtains sound.
It is that sign generates transmission channel ID that step 2, application program be take own ID and player ID, and take this transmission channel ID and set up transmission channel as sign;
Step 3, application program are updated to transmission channel ID in transmission channel allocation table, and notify player process to upgrade; As shown in Figure 2, application process can also be revised in channel allocation table the transmission channel ID of self.
The distribution monitor thread scan transfer channel allocation table of step 4, player process monitors the distributing altering of transmission channel allocation table, and discovery application program wants to obtain the sound of oneself, so the address of transmission channel is deposited in transmission channel table; If have the situation of change to occur, need to upgrade transmission channel table;
The transfer voice thread of step 5, player process takes out the voice data of intercepting and capturing from voice data buffer memory buf, then from transmission channel table, takes out transmission channel address, then writes data to corresponding transmission channel;
After this step 6, application program read voice data from each self-corresponding transmission channel.
If other application programs also want to obtain the sound of this player, repeating step (2) is to (6); If application program is not wanted to have obtained voice data, just delete the transmission channel ID in transmission channel allocation table, the distribution monitor thread of player detects This move and just deletes transmission channel address corresponding in local transmission channel table, closes corresponding transmission channel simultaneously.
This technical scheme supports a plurality of application programs to obtain the voice data of destination player simultaneously, thereby the music that user can be play this locality is shared a plurality of voice-enabled chats chamber simultaneously, in addition the switch of each application program background music separate being independent of each other all, make Qtalk background music function be simple and easy to use and powerful, to user, brought better experience.
The embodiment of the present invention also provides a kind of data transfer device, as shown in Figure 3, comprising:
Data generating unit 301, for generating source data;
Originating process is to provide the source of data, and originating process can produce source data, and source data can be sound, image, flow data etc., and source data kind is varied, and it does not affect the realization of the embodiment of the present invention, so the embodiment of the present invention will not limit this.
Data cutout unit 302, the source data generating for intercepting and capturing above-mentioneddata generating unit 301;
Information acquisition unit 303, for obtaining the transmission channel information of each target process;
Modetarget determining unit 304, determines for the transmission channel information of obtaining according to above-mentionedinformation acquisition unit 303 target process that above-mentioned source data is corresponding, and transmission source data are given the transmission mode of each target process;
Transmittingelement 305, for sending to above-mentioned target process by above-mentioned source data; The send mode that transmission source data adopt to each target process is corresponding with the transmission mode of each target process that aforesaid waytarget determining unit 304 is determined.
The embodiment of the present invention, employing is intercepted and captured source data by originating process, and obtain the transmission channel information of each target process, determine the target process that source data is corresponding, and transmission source data are to the transmission mode of each target process, then complete the transmission of source data, can reach the object that a plurality of target process obtain the data of an originating process, and this scheme does not need file, and all storage is complete, also do not need target process to adopt polling mode to obtain latest data, so data messaging efficiency is higher.In addition, due to embodiment of the present invention scheme, the mode that each target process obtains source data is independently, so each target process obtains source data and can't influence each other.
Above-mentioned transmission channel information is the information that adopts which kind of mode to transmit for sign, its form of expression can be varied, except transmission mode, can also represent to obtain by various information the information of target process and the originating process of source data, different transmission channels based on transmission mode can adopt different forms to embody, below provided the specific implementation of transmission channel information for example, as follows:
First, the mode of obtaining can adopt monitor thread to realize, specific as follows: alternatively, and above-mentionedinformation acquisition unit 303, be used for adopting monitor thread to obtain the transmission channel information of each target process, and whether the transmission channel information of definite target process and target process have change.
In addition, the sign of transmission channel information can identify in the following way, make originating process easily determine which the target process that need to obtain source data has, specific as follows: alternatively, above-mentionedinformation acquisition unit 303, for obtaining sign with target process sign and the originating process sign gap marker to foundation.
In embodiments of the present invention, transmission mode can adopt the mode of block of shared memory to realize, shared storage block can be shared drive, it should be noted that transmission channel can also be other system object, therefore transmission channel information can be also other, below should not be construed as for example the unique restriction to the embodiment of the present invention.The concrete scheme that the mode of employing block of shared memory realizes is as follows: alternatively, and above-mentionedinformation acquisition unit 303, the destination address of having indicated source data to deposit for gap marker;
Above-mentionedtransmitting element 305, for source data being left in to above-mentioned destination address, reads for target process.
Implementation based on aforementioned use shared address piece, the embodiment of the present invention also provides the specific implementation in the address that how target data is stored in to gap marker indication, specific as follows: alternatively, as shown in Figure 4, above-mentionedtransmitting element 305 comprises:
Address reading unit 401, for adopting transmission thread to read the address of above-mentioned gap marker indication;
Data r/w cell 402, for source data being write to the address of the above-mentioned gap marker indication that address above mentionedreading unit 401 reads, reads for target process.
In embodiments of the present invention, transmission channel information can be deposited in by target process, concrete scheme is as follows: alternatively, above-mentionedinformation acquisition unit 303, after being adopted hook to inject at originating process by target process, obtain the transmission channel information being deposited in by the target process that adopts hook to inject above-mentioned originating process.
The embodiment of the present invention also provides another kind of data transfer device, as shown in Figure 5, comprising:
Receiver 501,transmitter 502,processor 503 andstorer 504;
Whereinprocessor 503, for generating and intercept and capture source data, obtain the transmission channel information of each target process; According to above-mentioned transmission channel information, determine the target process that above-mentioned source data is corresponding, and transmission source data are given the transmission mode of each target process; Above-mentioned source data is sent to above-mentioned target process; The send mode that transmission source data adopt to each target process is corresponding with the transmission mode of each target process of determining.
Originating process is to provide the source of data, and originating process can produce source data, and source data can be sound, image, flow data etc., and source data kind is varied, and it does not affect the realization of the embodiment of the present invention, so the embodiment of the present invention will not limit this.
The embodiment of the present invention, employing is intercepted and captured source data by originating process, and obtain the transmission channel information of each target process, determine the target process that source data is corresponding, and transmission source data are to the transmission mode of each target process, then complete the transmission of source data, can reach the object that a plurality of target process obtain the data of an originating process, and this scheme does not need file, and all storage is complete, also do not need target process to adopt polling mode to obtain latest data, so data messaging efficiency is higher.In addition, due to embodiment of the present invention scheme, the mode that each target process obtains source data is independently, so each target process obtains source data and can't influence each other.
Above-mentioned transmission channel information is the information that adopts which kind of mode to transmit for sign, its form of expression can be varied, except transmission mode, can also represent to obtain by various information the information of target process and the originating process of source data, different transmission channels based on transmission mode can adopt different forms to embody, below provided the specific implementation of transmission channel information for example, as follows:
First, the mode of obtaining can adopt monitor thread to realize, specific as follows: alternatively, above-mentionedprocessor 503, for the transmission channel information of obtaining each target process, comprise: for adopting monitor thread to obtain the transmission channel information of each target process, and whether the transmission channel information of definite target process and target process has change.
In addition, the sign of transmission channel information can identify in the following way, make originating process easily determine which the target process that need to obtain source data has, specific as follows: above-mentionedprocessor 503, comprises for obtaining the transmission channel information of each target process: for obtaining sign with target process sign and the originating process sign gap marker to foundation.
In embodiments of the present invention, transmission mode can adopt the mode of block of shared memory to realize, shared storage block can be shared drive, it should be noted that transmission channel can also be other system object, therefore transmission channel information can be also other, below should not be construed as for example the unique restriction to the embodiment of the present invention.The concrete scheme that the mode of employing block of shared memory realizes is as follows: alternatively, and the destination address that above-mentioned gap marker has indicated source data to deposit; Above-mentionedprocessor 503, for sending to above-mentioned target process to comprise above-mentioned source data: for source data being left in to above-mentioned destination address, read for target process.
Implementation based on aforementioned use shared address piece, the embodiment of the present invention also provides the specific implementation in the address that how target data is stored in to gap marker indication, specific as follows: above-mentionedprocessor 503, for leaving source data in above-mentioned destination address, for target process, read and comprise: for adopting transmission thread to read the address of above-mentioned gap marker indication, and source data is write to the address that above-mentioned gap marker is indicated, for target process, read.
In embodiments of the present invention, transmission channel information can be deposited in by target process, concrete scheme is as follows: above-mentionedprocessor 503, for obtaining the transmission channel information of each target process, comprise: after being adopted hook to inject at originating process by target process, obtain the transmission channel information being deposited in by the target process that adopts hook to inject above-mentioned originating process.
The embodiment of the present invention also provides a kind of equipment, and for distinguishing software type, this equipment can be terminal, as shown in Figure 6, for convenience of explanation, only show the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.This terminal can be for comprising mobile phone, panel computer, PDA(Personal Digital Assistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), the terminal device arbitrarily such as vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Fig. 6 is the block diagram of the part-structure of the mobile phone that the terminal that provides to the embodiment of the present invention is relevant.With reference to figure 6, mobile phone comprises: radio frequency (Radio Frequency, RF) parts such ascircuit 610,storer 620,input block 630,display unit 640,sensor 650,voicefrequency circuit 660, Wireless Fidelity (wireless fidelity, WiFi)module 670,processor 680 and power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 does not form the restriction to mobile phone, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 6, each component parts of mobile phone is carried out to concrete introduction:
RF circuit 610 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, after the downlink information of base station is received, process toprocessor 680; In addition, the up data of design are sent to base station.Conventionally, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (Low Noise Amplifier, LNA), diplexer etc.In addition,RF circuit 610 can also be by radio communication and network and other devices communicatings.Above-mentioned radio communication can be used arbitrary communication standard or agreement, include but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc.
Storer 620 can be used for storing software program and module, andprocessor 680 is stored in software program and the module ofstorer 620 by operation, thereby carries out various function application and the data processing ofmobile phone.Storer 620 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of mobile phone etc. can be stored in storage data field.In addition,storer 620 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 630 can be used for receiving numeral or the character information of input, and generation arranges with the user of mobile phone and function is controlled relevant key signals input.Particularly, input block 630 can comprise contact panel 631 and other input equipments 632.Contact panel 631, also referred to as touch-screen, can collect user or near touch operation (using any applicable object or near the operations of annex on contact panel 631 or contact panel 631 such as finger, stylus such as user) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, contact panel 631 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 680, and the order that energy receiving processor 680 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 631.Except contact panel 631, input block 630 can also comprise other input equipments 632.Particularly, other input equipments 632 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
Display unit 640 can be used for showing the information inputted by user or the various menus of the information that offers user and mobilephone.Display unit 640 can comprisedisplay panel 641, optionally, can adopt the forms such as liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) to configure display panel 641.Further,contact panel 631 can coverdisplay panel 641, whencontact panel 631 detect thereon or near touch operation after, sendprocessor 680 to determine the type of touch event, corresponding vision output is provided according to the type of touch event withpreprocessor 680 on display panel 641.Although in Fig. 6,contact panel 631 anddisplay panel 641 be as two independently parts realize input and the input function of mobile phone, but in certain embodiments, can contactpanel 631 anddisplay panel 641 is integrated and realize the input and output function of mobile phone.
Mobile phone also can comprise at least onesensor 650, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness ofdisplay panel 641, proximity transducer can, when mobile phone moves in one's ear, cut outdisplay panel 641 and/or backlight.A kind of as motion sensor; accelerometer sensor can detect the size of the acceleration that (is generally three axles) in all directions; when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc.; As for mobile phone other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the audio interface between user and mobile phone.Voicefrequencycircuit 660 can be transferred to loudspeaker 661 by the electric signal after the voice data conversion receiving, and is converted to voice signal exports by loudspeaker 661; On the other hand, microphone 662 is converted to electric signal by the voice signal of collection, after being received byvoicefrequency circuit 660, be converted to voice data, after again voicedata output processor 680 being processed, throughRF circuit 610, to send to such as another mobile phone, or export voice data tostorer 620 to further process.
WiFi belongs to short range wireless transmission technology, mobile phone byWiFi module 670 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 showsWiFi module 670, be understandable that, it does not belong to must forming of mobile phone, completely can be as required in not changing the essential scope of invention and omit.
Processor 680 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored instorer 620, and call the data that are stored instorer 620, carry out various functions and the deal with data of mobile phone, thereby mobile phone is carried out to integral monitoring.Optionally,processor 680 can comprise one or more processing units; Preferably,processor 680 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated inprocessor 680.
Mobile phone also comprises that the power supply 690(powering to all parts is such as battery), preferred, power supply can be connected withprocessor 680 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the includedprocessor 680 of this terminal also has following functions:
Generate and intercept and capture source data, obtain the transmission channel information of each target process; According to above-mentioned transmission channel information, determine the target process that above-mentioned source data is corresponding, and transmission source data are given the transmission mode of each target process; Above-mentioned source data is sent to above-mentioned target process; The send mode that transmission source data adopt to each target process is corresponding with the transmission mode of each target process of determining.
Originating process is to provide the source of data, and originating process can produce source data, and source data can be sound, image, flow data etc., and source data kind is varied, and it does not affect the realization of the embodiment of the present invention, so the embodiment of the present invention will not limit this.
The embodiment of the present invention, employing is intercepted and captured source data by originating process, and obtain the transmission channel information of each target process, determine the target process that source data is corresponding, and transmission source data are to the transmission mode of each target process, then complete the transmission of source data, can reach the object that a plurality of target process obtain the data of an originating process, and this scheme does not need file, and all storage is complete, also do not need target process to adopt polling mode to obtain latest data, so data messaging efficiency is higher.In addition, due to embodiment of the present invention scheme, the mode that each target process obtains source data is independently, so each target process obtains source data and can't influence each other.
Above-mentioned transmission channel information is the information that adopts which kind of mode to transmit for sign, its form of expression can be varied, except transmission mode, can also represent to obtain by various information the information of target process and the originating process of source data, different transmission channels based on transmission mode can adopt different forms to embody, below provided the specific implementation of transmission channel information for example, as follows:
First, the mode of obtaining can adopt monitor thread to realize, specific as follows: alternatively, above-mentionedprocessor 680, for the transmission channel information of obtaining each target process, comprise: for adopting monitor thread to obtain the transmission channel information of each target process, and whether the transmission channel information of definite target process and target process has change.
In addition, the sign of transmission channel information can identify in the following way, make originating process easily determine which the target process that need to obtain source data has, specific as follows: above-mentionedprocessor 680, comprises for obtaining the transmission channel information of each target process: for obtaining sign with target process sign and the originating process sign gap marker to foundation.
In embodiments of the present invention, transmission mode can adopt the mode of block of shared memory to realize, shared storage block can be shared drive, it should be noted that transmission channel can also be other system object, therefore transmission channel information can be also other, below should not be construed as for example the unique restriction to the embodiment of the present invention.The concrete scheme that the mode of employing block of shared memory realizes is as follows: alternatively, and the destination address that above-mentioned gap marker has indicated source data to deposit; Above-mentionedprocessor 680, for sending to above-mentioned target process to comprise above-mentioned source data: for source data being left in to above-mentioned destination address, read for target process.
Implementation based on aforementioned use shared address piece, the embodiment of the present invention also provides the specific implementation in the address that how target data is stored in to gap marker indication, specific as follows: above-mentionedprocessor 680, for leaving source data in above-mentioned destination address, for target process, read and comprise: for adopting transmission thread to read the address of above-mentioned gap marker indication, and source data is write to the address that above-mentioned gap marker is indicated, for target process, read.
In embodiments of the present invention, transmission channel information can be deposited in by target process, concrete scheme is as follows: above-mentionedprocessor 680, for obtaining the transmission channel information of each target process, comprise: after being adopted hook to inject at originating process by target process, obtain the transmission channel information being deposited in by the target process that adopts hook to inject above-mentioned originating process.
It should be noted that, in above-mentioned data transfer device embodiment, included unit is just divided according to function logic, but be not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realizing in above-mentioned each embodiment of the method is to come the hardware that instruction is relevant to complete by program, corresponding program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
These are only preferably embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the present invention discloses, the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.