CN102694903B - Data communications method and device - Google Patents
Data communications method and device Download PDFInfo
- Publication number
- CN102694903B CN102694903B CN201110069260.0A CN201110069260A CN102694903B CN 102694903 B CN102694903 B CN 102694903B CN 201110069260 A CN201110069260 A CN 201110069260A CN 102694903 B CN102694903 B CN 102694903B
- Authority
- CN
- China
- Prior art keywords
- data
- communication
- information
- api
- data communication
- 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
Links
Abstract
Embodiments provide a kind of data communications method data communicator.Wherein, communication means includes:Obtain the first data, described first data includes the first communication objective address and the first communication data;Call corresponding first application programming interfaces;Generate information, described information comprises the described first communication objective address;Export described information.Application programming interfaces, after accepting the calling of data communication applications, make information be produced and export, reminded presence and the operation of improper application program, improve the safety of data communication equipment use.
Description
Technical field
The present invention relates to moving communicating field, more particularly, to data communications method and device.
Background technology
With the popularization of mobile data communication termination, through various approach installation rogue program on mobile terminals
Start to propagate its belief on a large scale.Relatively it is typically malice fee suction behavior, after that is, rogue program runs on mobile terminals, sent out by backstage
Note, or customization SP (Service Provider is service provider) service, or pay telephone is dialed by backstage secret,
Sometimes go back the notics of charge note that shielded communication operator sends, make terminal use unconsciously cause economic loss.
One of existing solution is to install antivirus software, but the renewal of virus base always lags behind sending out of Malware
Exhibition, meanwhile, virus base needs often to update, and this bandwidth that not only usually occupancy user's proper network browses is thus impact browses speed
Degree, and it is undoubtedly more rate losses for by the user of flow charging.
The two of existing solution are prohibited from the function of all generation expenses of terminal, such as forbid sending short messages, outwards dialling outward
Make a phone call, or close function of surfing the Net etc., the way of this single solution for diverse problems also makes legal software also cannot normally use, seriously simultaneously
The functional realiey of impact mobile terminal.
Content of the invention
In order to realize the information alert of data communication applications, the invention provides a kind of embodiment of data communications method,
Comprise the steps:
Obtain the first data, described first data includes the first communication objective address and the first communication data;
Call corresponding first application programming interfaces;
Generate information, described information comprises the described first communication objective address;
Export described information.
Further, above-mentioned acquisition first data is, the first data communication applications obtain the first data;
Described call corresponding first application programming interfaces to be, described first data communication applications are called corresponding first should
Use routine interface;
After described first data communication applications call corresponding first application programming interfaces, methods described is wrapped further
Include:
Described first application programming interfaces receive the second data that described first data communication applications send, described second number
According to inclusion the described first communication objective address and described first communication data.
Further, described generation information specifically includes:
Described first application programming interfaces obtain application program list;
Judge described first data communication applications whether within described application program list;
If described first data communication applications are outside described application program list, connect by described first application program
Mouth generates described information.
Or further, described generation information specifically includes:
Described first application programming interfaces call the second data communication applications, wherein said second data communication applications and institute
State the first data communication applications different;
Described second data communication applications receive the 3rd data that described first application programming interfaces send, described 3rd number
According to inclusion the described first communication objective address and described first communication data;
Described second data communication applications generate described information.
Further, after described second data communication applications generate described information, methods described further includes:
Described second data communication applications call corresponding second application programming interfaces, wherein, described second application program
Interface is different from described first application programming interfaces;
After described second application programming interfaces are called by described second data communication applications, receive described second data communication
The 4th data that application sends, described 4th data includes the described first communication objective address and described first communication data;
Send described first communication data to described first destination address.
Or, further, described second data communication applications in execution data communication, wherein:Described data communication
Consistent with the type of another data communication;
The type of described another data communication is that described first market demand calls described first application programming interfaces to be held
The type of the data communication of row.
Preferably, the described information of described output includes:
Send the information exporting described generation after described first communication data to the described first communication objective address.
Or preferably, after exporting described information, methods described further includes:
Receive and select message;
If described selection message is to allow execution to confirm message, send described first to the described first communication objective address
Communication data.
Present invention also offers the embodiment of data communication equipment, this data communication equipment comprises:
First application interface module, corresponding to the first data communication applications, for accepting described first data communication
Calling of application, obtains the second data, and described second packet contains the first communication objective address and the first communication data;
Information generation module, for generating information, described information comprises described first communications destination
Location;
Information output module, for exporting the information of described generation.
Further, described first application interface module includes:
Data receiver submodule, for receiving described second data that the first data communication applications send;
Application program list sub-module stored, for obtaining and preserving application program list;
Judging submodule, for judging whether described first data communication applications are within described application program list,
If described first data communication applications are outside described application program list, notify described information generation module;
Described information generation module, belongs to the first application interface module, specifically for being connected to judging submodule
Notice, generate described information.
Or further, described first application interface module includes, calling module, for accepting described first number
After communications applications, call the second data communication applications module, the 3rd data is activation is given described second data communication applications mould
Block, described 3rd packet contains the described first communication objective address and described first communication data;
Described data communication equipment further includes:Described second data communication applications module;
Described information generation module, belongs to described second data communication applications module.
Further, described second data communication applications module, for receiving described 3rd data, calls the second application
Program interface module, sends the 4th data to described second application interface module, described 4th packet contains described first
Communication objective address and described first communication data;
Described second application interface module, for accepting calling of the second application interface module, to described
One communication objective address sends described first data.
Or further, described second data communication applications module is additionally operable to, obtain the 5th data from input module,
Call described second application interface module, and send the 6th data to described second application interface module;Described
Five data include the second destination-address and the second communication data, and described 6th data includes the second destination-address and second and leads to
Letter data;
Described second application interface module is additionally operable to, and receives described 6th data, and to described second destination ground
Location sends described second communication data.
Preferably, described information generation module, has sent described first communication data to institute specifically for generating
State the information of the first communication objective address;
Described information output module specifically for:
It is connected to during inquiry request and export the described information corresponding to inquiry request condition, or
The information that described information generation module is generated is entered row information and is collected, and collect described in timing output
Information, or
Immediately the information that the described information generation module of output generates.
Preferably, described information generation module, will send to the described first communication objective address specifically for generating
The information of data;
Described information output module is specifically for output is described will to send data to the described first communication objective address
Information.
Data communications method and the embodiment of communicator that the present invention provides, make data communication applications operationally can
Call specific application programming interfaces, and, application programming interfaces, after accepting the calling of data communication applications, make information
Produced and exported, reminded presence and the operation of improper application program, effectively prevent the stealing of user's rate and use
Leaking of family information, improves the safety of data communication equipment use.
Brief description
Fig. 1 is the inventive method embodiment schematic diagram.
Fig. 2 is the present invention one embodiment of the method schematic diagram.
Fig. 3 is the present invention one embodiment of the method flow chart.
Fig. 4 is the present invention one embodiment of the method flow chart.
Fig. 5 is the present invention one device embodiment structure chart.
Fig. 6 is the present invention one device embodiment structure chart.
Specific embodiment
For realizing data communication applications are pointed out, the method and apparatus embodiments providing data communication.
The embodiment of wherein data communications method, as shown in figure 1, include:
Obtain the first data, this first data includes the first communication objective address and the first communication data;
Call corresponding first application programming interfaces;
Generate information, this information comprises the above-mentioned first communication objective address;
Export described information.
Because the most typically feature of rogue program is its covert behavior, i.e. answering in the various communication functions of the hidden execution in backstage
With program, so, if all of covert behavior is come into the open, that is, pointed out, then can be mobile terminal in the very first time
User knows, thus effectively warning or prevent the carrying out of this communication.
The present invention provides the embodiment of the method for a data communication as follows:
First data communication applications obtain the first data, and the first data includes at least the first communication objective address and first and leads to
Letter data;
First data communication applications are called and the first application programming interfaces corresponding to the first data communication applications, and to
One application programming interfaces send the second data, and the second data includes at least the above-mentioned first communication objective address and above-mentioned first and leads to
Letter data;
The information comprising at least first communication objective address generates and exports.
Above-mentioned first communication data may be NULL.
With reference to some specific embodiments, the present invention is done and explain further.
Because communication function all needs calling system Basic API (application programming interfaces) to realize, then led to by changing this
The corresponding former Basic API of telecommunication function is API ', or builds new API ' so that when signal procedure calls this API ', by this
API ' is generating information.
Fig. 2 illustrates the embodiment that a short message of present invention offer sends.Assume the first data communication applications (below
Referred to as first application program) obtain the first communication data needing to send, and the first communication objective address, it is ready for sending note
Breath, it will call execution to send short messages first application programming interfaces (API ') of function, and short message content is the first communication data,
And first communication objective address be sent to API '.
Can be using method below so that the first application program can not call the new API ' building in the present embodiment, and not
Remove the former API that calling system carries.Taking the Andriod system that data communication equipment adopts as a example, such as existing Android system
Carry the entitled sendTextMessage of the Basic API () that function correspondence of sending short messages is called, then so that the first application program is adjusted
It is to make API ' keep API Name constant with the method for API ', still for sendTextMessage (), such first application program
According to title, the API ' of entitled sendTextMessage () can be called.And API ' increased to generate and export than API and carries
Show the function of information, so, API ' is when accepting to call, you can output information.Now in order that the first application program not
Remove the former API that calling system carries, former API slightly can be adjusted as API ", adjustment mode is to be by name modifications
SendTextMessage " (), as long as different from sendTextMessage ().
In one of which embodiment, API ' sends after the first communication data to the first communication objective address, generates simultaneously
Output information.Before i.e. API ' generates information, first carry out called corresponding communication function, that is, to the first communication
Destination address sends short message content, then generates information, points out which destination address to have sent short message to.Maliciously soft
Part can be solely fee suction, so call carrying communication data during API ' for NULL, then the short message content that API ' sends may
For sky.First data communication applications are if Malware is it is also possible to steal the responsible consumer retained in mobile terminal simultaneously
Information retransmits away, so can arrange which destination address is the information that API ' generates send to for which kind of communication data.
In above-mentioned example, API ' generates and exports information can following several ways:
Mode one:Communication process is recorded in the way of daily record that (the such as concrete time sends to specific address by API '
Concrete data, and be subject to what routine call), obtain information daily record, and obtain query messages when, disappeared according to inquiry
The querying condition comprising in breath, exports corresponding information.Querying condition can be in daily record retain adjusted by a certain program
With and all data-communications processes within the communication process that carries out, or a period of time.
Mode two:Communication process is recorded in the way of daily record by API ', is aggregated into information daily record, and periodically defeated
Go out the information collecting.
Mode three:API ' is exported in instant message mode after completing this communication process (this example as have sent note)
Information.The user being connected to instant message can obtain prompting rapidly, and can quickly be positioned according to information and stop so
Program operation, and unload this class method in time.
In another embodiment, after API ' is connected to and calls and generate and export information, transmission wouldn't be executed, wait
Receive and select message;If selecting message to be to allow execution to confirm message, API ' sends to the described first communication objective address
Described first communication data;If selecting message to be that refusal execution confirms message, API ' is not to described first communications destination
Location sends described first communication data..
In other words, after API ' is connected to and calls, that is, prompt the user with and received which application program (the first application program)
Call, and sent which kind of data (the first communication data) to which address (the first communication objective address).Only when user exists
The information that API ' exports is known on operation interface, and have selected permission execution, that is, API ' receives permission execution confirmation message
Afterwards, just may proceed to communication process, the communication data receiving is sent the communication objective address providing to the first signal procedure.As
Fruit user knows the information that API ' exports in operation interface, selects to cancel that (such as user knows that oneself is not sent out
Play this communication process), after that is, API ' receives and cancels confirmation message, communication process will not be further continued for.This generation is pointed out
Information and etc. the mode just continuing executing with order to be confirmed so that the covert behavior being automatically performed becomes the row needing user intervention
For.This kind of mode more can stop the operation of rogue program in time, and quickly position and unloaded, the safety of protection user profile
And the safety of post and telecommunication tariff.
In the above-described embodiments, by API " name modifications be different from sendTextMessage ()
After sendTextMessage " (), in order to do not affect existing communication function such as send short messages function realization so that when user goes out
When itself wish is desirable for sending short messages function (rather than Malware hidden operation in the case that user does not know), pass through
Manual operation enters function interface of sending short messages, and oneself determines Content of Communication and the communications destination that will send, so no
Need to be using prompting mode above.Send short messages program SMS of function of the execution carrying original in mobile terminal can be set to
Call API ", only system developer knows API " presence, and its title is also specifically defined and and sendTextMessage
() distinguishes.API " though title be modified, have and former API identical function.Because the SMS that mobile terminal carries sends out
SMS program has the UI (user interface, user interface) of man-machine interaction, has understood to illustrate to user and has sent out
Send the information such as destination address information, Content of Communication, invoked API " need not be pointed out again, it is to avoid dual prompting brings
Loaded down with trivial details.In Fig. 2, SMS calls different application programming interfaces respectively from the first application program, more intuitively illustrates this real
Apply example.
The corresponding Basic API of communication function may more than one.Such as in existing Android system, correspondence of sending short messages
The API calling have three:sendDataMessage()、sendTextMessage()、
These three API are carried out above-mentioned modification by sendMultipartTextMessage ().Other system iOS, or window
Phone OS etc. also has its each corresponding various API of communication function, and method is communicated with above-mentioned, will not be described here.
In order to distinguish the communication application program carrying in mobile terminal and possible rogue program, the first application journey can be made
Sequence interface (API ') calls the judgement of program in advance.
First, API ' obtains application program list;
Then, whether API ' judges described first data communication applications within this application program list;
If the first application program is outside application program list, information is generated by API '.
Specific embodiment is as shown in Figure 3.An application program list first to be preserved, the application program in list is before
Communication function program that terminal carries or believable, program SMS of such as sending short messages, call or the Internet connect application program etc.,
Collectively referred to as white list program.
Only former API need to be revised as API ' in this example, and API ' need not be set up, amended API ' is still using former API's
Title, the API ' title of breath function of such as sending short messages is still sendTextMessage ().When API ' is called, obtain application
Program white list, judges whether caller is in application program white list.If not in white list, API ' generates simultaneously
Output information.Generate and export the mode of information, can be pointed out in the way of instant message after completing communication process,
Or output when generation daily record, timing output or reception inquiry.Or i.e. output prompting after judging caller outside white list,
Receive and be further continued for communication process after continuing executing with confirmation message, specifically refer to the corresponding embodiment of Fig. 2.
If caller is in white list, such as call API ' to execute the function of breath of sending short messages by SMS, API ' identifies
(because having comprised communication objective address, content of short message in the operation interface of SMS, that is, user is it is known that carried to omit prompting afterwards
Show all the elements contained by information), directly execute the function of the transmission short message performed by former API, will receive when accepting and calling
Communication data send to destination address.
Another only using API ' without using API " embodiment in, API ' compares API and increased information alert
Function, without the judgement using white list and caller.I.e. no matter which kind of routine call API ' sends out short to execute
The function of letter, do required for API ' is exactly that acceptance is called and provided information.In this case, can newly set API ' and incite somebody to action
Former API deletes (needing to be set to call API ' by SMS) simultaneously, or directly API is revised as API '.Directly API is revised as
During API ', title need not be changed, only need to adjust function, that is, increase the function of generating and export information newly.Provide information
Step equally can export prompting again for first sending short message, or export the prompting that will send simultaneously before sending short message
Confirm to retransmit during message etc. pending.
In this embodiment, user may have some loaded down with trivial details (such as when SMS adjusts using the communication application program with UI
During with API ') because now user has learned that the situation sending or will sending.But this kind of mode need not arrange the white name of storage
Single space, and larger modification need not be carried out to former API, also the number of application programming interfaces only needs to one, generally
Still can effectively point out, thus preventing the operation of the application program of fee suction or theft data information, to improve the safety of user profile
Property and the safety of rate.In addition, if using the prompting mode of " exporting information after obtaining information inquiry request ",
Then can save above-mentioned loaded down with trivial details simultaneously.
In another embodiment, API ' is to set up the title of API (maintain), and original API is adjusted to API ", by with
To execute the corresponding function of former API, and with the name identification in addition to sendTextMessage (), such as
sendTextMessage”().When API ' judges that caller is in white list, API ' calls API ", will be from calling journey
The information such as the communication objective address receiving at sequence and communication data is sent to API ", API " execute the work(sending short message
Energy.If API ' judges that caller, not in white list, is generated by API ' and exports information.
Former API is revised as API ', or builds new API ', after API ' can be made to accept to call, go to call mobile terminal certainly
The application program of the correlation function of band realizing prompt facility so that the covert behavior being automatically performed is changed into expressing or becomes
Need the behavior of user intervention.After i.e. the first application programming interfaces (API ') accept to call:
First application programming interfaces call the second data communication applications, wherein said second data communication applications and described the
One data communication applications are different;
Described second data communication applications receive the 3rd data that described first application programming interfaces send, described 3rd number
According to inclusion the described first communication objective address and described first communication data;
Described second data communication applications generate described information.
Specific embodiment is as shown in Figure 4.This builds new API ', and using SMS, (short message is applied, and that is, the second data is led to
Letter application) former API title sendTextMessage (), and when mobile terminal install, system carries, and has leading to of UI
Originally corresponding API is revised as API to letter application program SMS ", now API " only renaming (is such as changed into
SendTextMessage " ()), but function does not change.First signal procedure calls API ' to execute the work(of breath of sending short messages
During energy, API ' directly invokes SMS, sends the 3rd data to SMS, wherein comprises the first communication objective address and the first communication number
According to.Noted here is that the first signal procedure is different programs from SMS, and API ' will not go to call the caller of API '.Due to
SMS has the user interface of man-machine interaction, after now SMS accepts described 3rd data, generates information in SMS,
In user interface, the destination address and communication data sending short message is pointed out.User may be selected " continue send " or
" cancel send ", when user selects " continuing to send ", SMS calls API " completing the transmission of communication data.Or SMS accepts
After calling, call API " executing short message transmitting function, but because SMS has recorded this process, equal to express to
Family is so that user also can grasp information in time.
By changing API so that the covert behavior that implantation application program for mobile terminal is taken becomes to express, or need user
Intervene and just can proceed, the fee suction effectively preventing Malware and the behavior stealing subscriber data.Meanwhile, this modification is right
The impact very little of mobile terminal whole system, uses the impact also very little of proper communication function to terminal user.Although above-mentioned
All embodiments are all to send information citing, but such as initiate call and connect network similar with implementations described above
Mode, can apply corresponding Basic API to realize by changing call applications and network access.
The present invention also provides a kind of embodiment of data communication equipment, including:
First application interface module, corresponding to the first data communication applications, for accepting the first data communication applications
Calling of module, obtains the second data, and the wherein second packet contains the first communication objective address and the first communication data;
Information generation module, for generating information, this information comprises the described first communication objective address;
With
Information output module, for exporting the information of above-mentioned generation.
Above-mentioned data communication equipment is applied to the various terminal units that can enter row data communication, such as functional mobile phone, intelligence
Mobile phone, notebook computer, panel computer etc..
In a specific embodiment as shown in Figure 5, above-mentioned first application interface module includes:
Data receiver submodule, for receiving described second data that the first data communication applications module sends;
Application program list sub-module stored, for obtaining and preserving application program list;
Whether judging submodule, for judging corresponding first data communication applications of described first data communication applications module
It is within described application program list, if described first data communication applications, outside described application program list, are led to
Know described information generation module;
Described information generation module, belongs to the first application interface module, specifically for being connected to judging submodule
Notice, generate described information.Information output module may belong to the first application interface module it is also possible to solely
Stand on application interface module, but it is connected with information generation module.
The corresponding application program of communication function module that this communicator carries is generally comprised in above-mentioned application program list,
In this example taking send the SMS of short message as a example.If first calls the first application interface module for sending out according to communications applications
Send short message, send the second data to the data receiver submodule in the first application interface module, carry in the second data
First communication objective address and the first communication data, and the judged result that judging submodule draws is, the first data communication applications
It is not belonging to the application program list that application program list sub-module stored is obtained, then notify to belong to the first application programming interfaces
The information generation module of module, and carry the first communication objective address and the first communication data, and caller is
The information of one data communication applications.
In one of which embodiment, after information generation module is connected to the notice of judging submodule, generation will be to
Described first communication objective address sends the information of data, specifically can comprise caller, the first communication objective address and
The information such as the first communication data, and information is immediately exported by information output module.User is reading output
" confirming to allow execution " after information, can be selected.Then the first application interface module is connected to permission execution confirmation message
Afterwards, send the first communication data to the first communication objective address.After user reads the information of output, if not belonging to it
Wish the information sending, transmission can be cancelled it is achieved that rogue program is hidden sends data behavior to the transformation of user intervention behavior.
Information generation module can also only generate and will send the information of data to the first communication objective address, because
For the first communication data sometimes for NULL be Content of Communication be empty, it is desirable that generating the information comprising caller, so
Can facilitate and the first data communication applications are positioned as early as possible.
In another embodiment, when information generation module is connected to the notice of judging submodule, the first program application
Interface module sends the first communication data to the first communication objective address, so, information generation module generates
Information is, described first communication data has been sent to the information of the described first communication objective address, such as specifically
Comprise:Accept calling of the first data communication applications module, send the first communication data to the first communication objective address;Enter
One step may include the time of execution.
Information output module can export the described letter of the prompting corresponding to inquiry request condition when being connected to inquiry request
Breath;Or the information that will be prompted to information generating module generation is entered row information and is collected, and is preserved in the form of daily record, and timing
Output (such as once a day, once in a week, can be set by user interface and change);Or information generation module
Often generate such information, just immediately exported by information output module, be that user recognizes that data is led to immediately
In T unit, the ruuning situation of the non-corresponding communication function of communication function module carrying, find potential safety hazard as early as possible, as far as possible
Rapidly stop loss.
In the embodiment shown in fig. 6, described data communication equipment further includes the second data communication applications module.The
One application interface module comprises data receiver submodule and calls submodule.Wherein, calling module is used for accepting the first number
After communications applications, call the second data communication applications module, the 3rd data is activation is given described second data communication applications mould
Block, described 3rd packet contains the described first communication objective address and described first communication data.Described information generates
Module, belongs to described second data communication applications module.In brief, the first application interface module itself do not have by
The function that first communication data sends to the first communication objective address, but call other to have the communication function module of this function
To realize the transmission of communication data.
Data receiver submodule is connected to the second data that the first data communication applications module transmits, and receives the first data communication
Calling of application module, for executing the transmission of short message, then calls submodule that the second data communication applications module is carried out
Call, and send the 3rd data to the second market demand module, wherein comprise the one the first communication objective addresses and first logical
Letter data.
Second data communication applications module is used for receiving described 3rd data, calls the second application interface module, to
Described second application interface module send the 4th data, described 4th packet contain the described first communication objective address and
Described first communication data.Described second application interface module, for accepting calling of the second application interface module,
Send described first data to the described first communication objective address.
It is pointed out that the second data communication applications module is the communication function mould carrying in this data communication equipment
Block, obtains the 5th data from input module, calls described second application interface module, and connect to described second application program
Mouth module sends the 6th data;Described 5th data includes the second destination-address and the second communication data, described 6th data
Including the second destination-address and the second communication data;Described second application interface module is additionally operable to, and receives the described 6th
Data, and send described second communication data to described second destination-address.
In this example, the second data communication applications module is used to send the application program module SMS module of short message, runs
When there is the user interface of man-machine interaction, such as can individual reception be derived from the second communication objective address that input module provides and
Second communication data (as by input through keyboard second communication data, selected the second communication objective address by transferring address list),
Second application programming interfaces corresponding with the second data communication applications module are called to complete to lead to the second communication data to second
The transmission of letter destination address.Information generation module in this example and information output module broadly fall into the second data communication
Application module, the information that information output module will be prompted to information generating module generation is entered to user by user interface
Row prompting, information comprises the first communication objective address and the first communication data.
Wherein in an embodiment, after the second data communication applications module accepts the calling of the first application program module,
Call second application programming interfaces corresponding with the second data communication applications module, complete the second communication data to the second communication
After the transmission of destination address, generate information, immediately exported by information output module, or information output mould
Information in a period of time is collected by block with daily record or all will modes, timing output, or believes in the inquiry being connected to user
After breath, it is right to be exported according to querying condition (communication process that the communication process of such as certain time period or a certain signal procedure start)
The information answered.
In another embodiment, after the second data communication applications module accepts the calling of the first application program module, that is,
Can generate and export information, information comprises:Called by the first data communication applications module, will be to the first communication mesh
Address send the first communication data (or the first communication data be NULL).User is known in this information by user interface
Rong Hou, if selecting to allow execution, the second data communication applications module receives permission execution and confirms message, then calls second
Application programming interfaces, send the second communication data to the first communication objective address.
As it was noted above, above-mentioned data communication equipment is applied to the various terminal units that can enter row data communication, such as work(
Energy mobile phone, smart mobile phone, PDA etc..So, above-mentioned information output module is connected with the display screen of terminal unit, above-mentioned defeated
Entering module can be keyboard, touch screen, roller or slide-mouse etc..
Using such data communication equipment so that the bad data communication application program of implant data communicator (compares
As when the first data communication application is bad fee suction program) covert behavior taken becomes to express, or need user to do
Just can proceed in advance, effectively prevent rogue program fee suction and the behavior stealing subscriber data.Meanwhile, using this first journey
Sequence application module uses the impact of proper communication function (i.e. the second data communication application) to the user of communicator
Very little.The data communication connecting except the control to the data communication applications sending short message, such as out-going call or the Internet
The control of application, also can realize according to said structure.
Invention can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but
The former is more preferably embodiment in many cases.Based on such understanding, technical scheme is substantially right in other words
What prior art contributed partly can be embodied in the form of software product, and this software product is stored in a storage and is situated between
In matter, including some instructions with so that a station terminal equipment executes the method described in each embodiment of the present invention.
The above is only the preferred embodiment of the present invention it is noted that ordinary skill people for the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (15)
1. a kind of data communications method is it is characterised in that the former API carrying system is adjusted to API ", make the first data communication
The former API that calling system carries is not removed in application, and API " be there is the former API identical function of being carried with system, and called
API " need not be pointed out again;Methods described includes:
Obtain the first data, described first data includes the first communication objective address and the first communication data;
Call corresponding first application programming interfaces API ', wherein, by changing the former API that the corresponding system of communication function carries
Form described first application programming interfaces, or build the first new application programming interfaces, the first application programming interfaces maintainer
The title of the former API that system carries is constant, and the first application programming interfaces increased the work(generating and exporting information than API
Energy;
First application programming interfaces generate information, and described information comprises the described first communication objective address;
Export described information;
First application programming interfaces API ' receives after cancelling confirmation message, will not be further continued for communication process;
If the first data communication applications in white list, are omitted prompting after API ' identification, are directly executed system as caller
The function of the transmission short message performed by former API carrying of uniting, the communication data receiving when accepting and calling is sent to destination
Location.
2. data communications method as claimed in claim 1 is it is characterised in that methods described includes:
Described acquisition the first data is that the first data communication applications obtain the first data;
Described call corresponding first application programming interfaces to be, described first data communication applications call corresponding first application journey
Sequence interface;
After described first data communication applications call corresponding first application programming interfaces, methods described further includes:
Described first application programming interfaces receive the second data that described first data communication applications send, described second packet
Include the described first communication objective address and described first communication data.
3. data communications method as claimed in claim 2 is it is characterised in that described generation information specifically includes:
Described first application programming interfaces obtain application program list;
Judge described first data communication applications whether within described application program list;
If described first data communication applications are outside described application program list, by described first application programming interfaces life
Become described information.
4. data communications method as claimed in claim 2 is it is characterised in that described generation information specifically includes:
Described first application programming interfaces call the second data communication applications, wherein said second data communication applications and described the
One data communication applications are different;
Described second data communication applications receive the 3rd data that described first application programming interfaces send, described 3rd packet
Include the described first communication objective address and described first communication data;
Described second data communication applications generate described information.
5. data communications method as claimed in claim 4 is it is characterised in that carry described in described second data communication applications generation
After showing information, methods described further includes:
Described second data communication applications call corresponding second application programming interfaces, wherein, described second application programming interfaces
Different from described first application programming interfaces;
After described second application programming interfaces are called by described second data communication applications, receive described second data communication applications
The 4th data sending, described 4th data includes the described first communication objective address and described first communication data;
Send described first communication data to the described first communication objective address.
6. data communications method as claimed in claim 4 is it is characterised in that described second data communication applications are in execution data
Communication, wherein:Described data communication is consistent with the type of another data communication;
The type of described another data communication is that described first market demand calls performed by described first application programming interfaces
The type of data communication.
7. the data communications method as described in any one of claim 1 to 6 is it is characterised in that information as described in described output
Including:
Send the information exporting described generation after described first communication data to the described first communication objective address.
8. the data communications method as described in any one of claim 1 to 6 is it is characterised in that as described in output after information,
Methods described further includes:
Receive and select message;
If described selection message is to allow execution to confirm message, send described first communication to the described first communication objective address
Data.
9. a kind of data communication equipment is it is characterised in that comprise:
First application interface module, the former API being carried by changing the corresponding system of communication function is formed, wherein, first
The title of the former API that application programming interfaces API ' holding system carries is constant, and the first application programming interfaces increased life than API
Become and export the function of information;And, the former API that system is carried is adjusted to API ", make the first application program not go to adjust
The former API being carried with system, and API " has the former API identical function of carrying with system, and invoked API " need not
Pointed out again;
First application interface module, corresponding to the first data communication applications, for accepting described first data communication applications
Call, obtain the second data, described second packet contain the first communication objective address and the first communication data;
Information generation module, for generating information, described information comprises the described first communication objective address;
Information output module, for exporting the information of described generation;
First application interface module, be additionally operable to receive cancel confirmation message after, communication process will not be further continued for;If
First data communication applications omit prompting after API ' identification, direct-execution system carries as caller in white list
The function of the transmission short message performed by former API, the communication data receiving when accepting and calling is sent to destination address.
10. data communication equipment as claimed in claim 9 is it is characterised in that described first application interface module includes:
Data receiver submodule, for receiving described second data that the first data communication applications send;
Application program list sub-module stored, for obtaining and preserving application program list;
Judging submodule, for judging whether described first data communication applications are within described application program list, if
Described first data communication applications outside described application program list, then notify described information generation module;
Described information generation module, belongs to the first application interface module, specifically for being connected to the logical of judging submodule
Know, generate described information.
11. data communication equipments as claimed in claim 9 it is characterised in that described first application interface module includes,
Calling module, for accepting, after described first data communication applications, to call the second data communication applications module, the 3rd data is sent out
Give described second data communication applications module, described 3rd packet contains the described first communication objective address and described first
Communication data;
Described data communication equipment further includes:Described second data communication applications module;
Described information generation module, belongs to described second data communication applications module.
12. data communication equipments as claimed in claim 11, it is characterised in that described second data communication applications module, are used
In receiving described 3rd data, call the second application interface module, send the to described second application interface module
Four data, described 4th packet contains the described first communication objective address and described first communication data;
Described second application interface module, for accepting calling of the second application interface module, logical to described first
Letter destination address sends described first data.
13. data communication equipments as claimed in claim 12 are it is characterised in that described second data communication applications module is also used
In, from input module obtain the 5th data, call described second application interface module, and connect to described second application program
Mouth module sends the 6th data;Described 5th data includes the second destination-address and the second communication data, described 6th data
Including the second destination-address and the second communication data;
Described second application interface module is additionally operable to, and receives described 6th data, and sends out to described second destination-address
Send described second communication data.
14. data communication equipments as described in any one of claim 9 to 13 are it is characterised in that described information generates mould
Block, specifically for generating the information having sent described first communication data to the described first communication objective address;
Described information output module specifically for:
It is connected to during inquiry request and export the described information corresponding to inquiry request condition, or
The information that described information generation module is generated is entered row information and is collected, and the prompting collecting described in timing output
Information, or
Immediately the information that the described information generation module of output generates.
15. data communication equipments as described in any one of claim 9 to 13 are it is characterised in that described information generates mould
Block, will send the information of data specifically for generating to the described first communication objective address;
Described information output module is specifically for output is described will to send carrying of data to the described first communication objective address
Show information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110069260.0A CN102694903B (en) | 2011-03-22 | 2011-03-22 | Data communications method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110069260.0A CN102694903B (en) | 2011-03-22 | 2011-03-22 | Data communications method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102694903A CN102694903A (en) | 2012-09-26 |
CN102694903B true CN102694903B (en) | 2017-03-01 |
Family
ID=46860181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110069260.0A Active CN102694903B (en) | 2011-03-22 | 2011-03-22 | Data communications method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102694903B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159231A (en) * | 2014-08-19 | 2014-11-19 | 北京奇虎科技有限公司 | Method for optimizing background flow of client, and client |
CN107370740B (en) * | 2017-07-28 | 2020-08-11 | 北京五八信息技术有限公司 | Jump interception method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7606821B2 (en) * | 2004-06-30 | 2009-10-20 | Ebay Inc. | Method and system for preventing fraudulent activities |
US20060064469A1 (en) * | 2004-09-23 | 2006-03-23 | Cisco Technology, Inc. | System and method for URL filtering in a firewall |
CN101616141A (en) * | 2008-06-23 | 2009-12-30 | 宏碁股份有限公司 | Prevent the method and system of malicious link communication |
CN101784054A (en) * | 2009-01-20 | 2010-07-21 | 华为终端有限公司 | Method for preventing rogue software of mobile phone, terminal, server and system thereof |
CN101854335A (en) * | 2009-03-30 | 2010-10-06 | 华为技术有限公司 | Method, system and network device for filtration |
CN101977266A (en) * | 2010-10-19 | 2011-02-16 | 惠州Tcl移动通信有限公司 | Blacklist monitoring system and method during sending of short message by mobile phone |
-
2011
- 2011-03-22 CN CN201110069260.0A patent/CN102694903B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102694903A (en) | 2012-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101730357B1 (en) | Apparatus and method for connecting access point in portable terminal | |
CN104376263B (en) | The method and apparatus that application behavior intercepts | |
CN103152738A (en) | Method and device of intelligent intercept | |
CN103176789B (en) | A kind of method and system for realizing open platform Function Extension | |
CN102883048B (en) | In-car Bluetooth communication method and in-car Bluetooth communication device based on Android operating system | |
CN101304552B (en) | Method for automatically matching incoming call number or note number | |
CN102186167A (en) | Method and system for monitoring applications | |
CN103108074A (en) | Apparatus and method for securing mobile terminal | |
CN101262675A (en) | Method for mobile phone to prevent from spam | |
CN106559591A (en) | The mobile phone terminal call method realized based on call forwarding and device | |
CN103024709A (en) | Method, device, server and terminal for realizing call forwarding | |
CN104135556A (en) | Call method and call device based on mobile terminal | |
CN112672388A (en) | Call method, device, storage medium and user terminal | |
CN102811274A (en) | Mobile phone and control method thereof | |
CN106303990A (en) | A kind of theft preventing method and terminal | |
CN105718809A (en) | Mobile communication terminal, data security monitoring method and device thereof | |
CN104954533B (en) | Junk phone interception method, apparatus based on intelligent communications terminal and system | |
CN102694903B (en) | Data communications method and device | |
CN106357919A (en) | Crank call interception method and device thereof | |
CN101931945B (en) | Download and installation method for realizing (U) SIM card application by using PC terminal | |
CN103051625A (en) | Method and system for monitoring networking application programs by utilizing intelligent terminals | |
CN103974259B (en) | Prevention method, crime prevention device and crime prevention system that malice is deducted fees | |
KR101174139B1 (en) | Method for providing auto-switching call management by optimizing the cost and call connection reliability in smart-terminals, and computer-readable recording medium for storing auto-switching call management program for the same | |
CN105635497A (en) | Terminal call transfer method and call transfer terminal | |
CN106453494A (en) | Plug-in updating method, plug-in updating system, client and server side |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |