CN108768595A - The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android - Google Patents

The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android Download PDF

Info

Publication number
CN108768595A
CN108768595A CN201810469728.7A CN201810469728A CN108768595A CN 108768595 A CN108768595 A CN 108768595A CN 201810469728 A CN201810469728 A CN 201810469728A CN 108768595 A CN108768595 A CN 108768595A
Authority
CN
China
Prior art keywords
mobile phones
target mobile
short message
monitored
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810469728.7A
Other languages
Chinese (zh)
Inventor
马璐萍
朱大立
孙红举
朱海涛
冯维淼
吴荻
刘超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Information Engineering of CAS
Original Assignee
Institute of Information Engineering of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Information Engineering of CAS filed Critical Institute of Information Engineering of CAS
Priority to CN201810469728.7A priority Critical patent/CN108768595A/en
Publication of CN108768595A publication Critical patent/CN108768595A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • H04L1/1816Hybrid protocols; Hybrid automatic repeat request [HARQ] with retransmission of the same, encoded, message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/189Transmission or retransmission of more than one copy of a message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

An embodiment of the present invention provides a kind of monitoring retransmission methods of real-time new information of the mobile terminal based on Android and system, method to include:The incoming call of target mobile phones, short message and instant message are monitored, the configuration information based on target mobile phones, the listening mode that selection incoming call, short message and instant message are suitble to;The information listened to is forwarded, if judging to know that target mobile phones are in non-serving state in monitoring and repeating process, is monitored and is forwarded again after waiting for mobile phone to enter service state;Wherein, there is failure retransfer mechanism in repeating process, when sending times and time being more than specified threshold, user is reminded to send not successfully.The embodiment of the present invention is according to the suitable corresponding listening mode of various interception types of specific model selection, efficiently solve current system poor compatibility, monitor method is easy the problem of failure in different model mobile phone, at the same time, by judging the service state and failure retransfer mechanism of user, the success rate of monitoring information forwarding ensure that.

Description

The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android
Technical field
The present embodiments relate to information secure communications technical field more particularly to a kind of mobile ends based on Android Hold the monitoring retransmission method and system of real-time new information.
Background technology
Currently, mobile terminal model is numerous in market, especially android system, due to its characteristic of increasing income, manufacturer Modification can be customized to operating system according to oneself demand.
In the prior art, when monitoring incoming call, short message, the information of mobile terminal such as instant message, use it is often single Listening mode, such as:The ContentObserver of registration and short message database address are stored to middle layer In service;Then short message database positioning is monitored, to judge whether short message database changes;If short message number It is when receiving new message breath, then to be inquired from the service corresponding with the short message database address according to library state The ContentObserver, to show that the new message ceases.But this single listening mode may be to certain form of Handset compatibility is preferable, and certain form of handset compatibility is poor, will result in so certain types monitoring failure or It is inaccurate to monitor content.And due to the custom-modification of operating system, also result in some carry out monitoring incoming call, short message, immediately The monitor method and transmission process of the information of mobile terminal such as message fail on certain types.
Therefore, there is an urgent need for a kind of the monitoring retransmission methods and system of the real-time new information of the mobile terminal based on Android now To solve the above problems.
Invention content
To solve the above-mentioned problems, the embodiment of the present invention provides one kind and overcoming the above problem or solve at least partly State the monitoring retransmission method and system of the real-time new information of the mobile terminal based on Android of problem.
The first aspect embodiment of the present invention provides a kind of monitoring forwarding of the real-time new information of the mobile terminal based on Android Method, including:
The incoming call of target mobile phones, short message and instant message are monitored, based on the configuration information of the target mobile phones, The listening mode that selection incoming call, short message and instant message are suitble to;
The information listened to is forwarded, if judging to know that target mobile phones are in non-serving shape in monitoring and repeating process State then waits for the target mobile phones to enter after service state and is monitored and forwarded again;
Wherein, there is failure retransfer mechanism in repeating process, when sending times and time being more than specified threshold, remind and use Family is sent not successfully.
An embodiment of the present invention provides a kind of monitorings of the real-time new information of the mobile terminal based on Android to turn for second aspect Hair system, the system comprises:
Module is monitored, for monitoring the incoming call of target mobile phones, short message and instant message, is based on the target hand The configuration information of machine, the listening mode that selection incoming call, short message and instant message are suitble to;
Forwarding module, for the information listened to be forwarded, if judging to know target hand in monitoring and repeating process Machine is in non-serving state, then waits for the target mobile phones to enter after service state and monitored and forwarded again;
Module is retransmitted, for having failure retransfer mechanism in repeating process, when sending times and time are more than specified threshold When, remind user to send not successfully.
An embodiment of the present invention provides a kind of monitorings of the real-time new information of the mobile terminal based on Android to turn for the third aspect Equipment is sent out, including:
Processor, memory, communication interface and bus;Wherein, the processor, memory, communication interface pass through described Bus completes mutual communication;The memory is stored with the program instruction that can be executed by the processor, the processor The monitoring that described program instruction is able to carry out a kind of real-time new information of mobile terminal based on Android described above is called to turn Forwarding method.
A kind of monitoring retransmission method of the real-time new information of mobile terminal based on Android provided in an embodiment of the present invention and System efficiently solves current system compatibility by selecting the corresponding listening mode of various interception types according to specific model At the same time the problem of difference, monitor method is easy failure in different model mobile phone, by judging the service state of user, protects The success rate of monitoring and information forwarding is demonstrate,proved.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of monitoring forwarding of the real-time new information of mobile terminal based on Android provided in an embodiment of the present invention Method flow diagram;
Fig. 2 is a kind of monitoring forwarding of the real-time new information of mobile terminal based on Android provided in an embodiment of the present invention System construction drawing;
Fig. 3 is the monitoring repeater system of the real-time new information of the mobile terminal based on Android provided in an embodiment of the present invention Structural schematic diagram;
Fig. 4 is the monitoring forwarding unit of the real-time new information of the mobile terminal based on Android provided in an embodiment of the present invention Structure diagram.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of monitoring forwarding of the real-time new information of mobile terminal based on Android provided in an embodiment of the present invention Method flow diagram, as shown in Figure 1, including:
S1, the incoming call to target mobile phones, short message and instant message are monitored, and match confidence based on the target mobile phones Breath, the listening mode that selection incoming call, short message and instant message are suitble to;
S2, the information listened to is forwarded, if judging to know that target mobile phones are in non-clothes in monitoring and repeating process Business state then waits for the target mobile phones to enter after service state and is monitored and forwarded again;
Wherein, there is failure retransfer mechanism in repeating process, when sending times and time being more than specified threshold, remind and use Family is sent not successfully.
It should be noted that the executive agent of the embodiment of the present invention be provide monitoring and forwarding capability software systems or Server is not specifically limited this embodiment of the present invention.
Specifically, in step S1, it is to be understood that there are various types of mobile phone models on existing market, especially It is the mobile phone using android system, due to its characteristic of increasing income, manufacturer makes mobile phone always according to the demand of oneself It is suitble to the custom-modification of oneself manufacturer's characteristic, so listening mode and message processing of each mobile phone for message on the market There are many differences for formula.For said circumstances, an embodiment of the present invention provides preset algorithms to carry out pipe to all types of mobile phones Reason matching, according to preset algorithm, can be three kinds of interception types of mobile phone configuration incoming call, short message, instant message of each model with And the corresponding message listening mode of each message interception type.
Wherein, the corresponding message listening mode of interception type is that the embodiment of the present invention is taken not according to interception type difference With the means of monitoring, such as:It monitors notification bar, monitor the various ways such as short message bar.
Further, in step S1, the embodiment of the present invention need to only obtain the mobile phone model of the target mobile phones using this method The information such as information, system version, it will be able to which determination monitors the incoming call of target mobile phones, short message and instant message specific Listening mode.Wherein, the configuration information of target mobile phones includes the much informations such as mobile phone brand, operating system version, mobile phone type, This embodiment of the present invention is not especially limited.
In step s 2, judge to know that target mobile phones are in non-serving state to detect target described in the embodiment of the present invention The state of mobile phone at this time, wherein non-serving state defined in the embodiment of the present invention is that can not effectively be realized in preset duration It monitors or repeating process or causes to monitor or the state of retransmission failure is defined as the non-serving state of mobile phone, such as:Target hand Machine is limited due to system -- and when mobile phone jingle bell or talking state, does not allow to read address list information and send short message to outside, lead It causes to obtain incoming call connection people information at this time and can fail into row information forwarding.If may be defined as not having at this time for this target mobile phones Have be in jingle bell or talking state, then be service state, if target mobile phones be in jingle bell or talking state, accordingly this When be non-serving state, at this moment carry out message forwarding can cause forward success rate it is relatively low.So, the embodiment of the present invention can be right The target mobile phones incoming call, short message, instant message are monitored, and at the same time judging the state of target mobile phones for service state Afterwards, the information listened to can be sent with multimedia forms such as short messages, multimedia form, that is, common word, voice, The multiple informations such as picture, it is to be understood that and though using which kind of multimedia form be required to ensure send before the information content and The information content is consistent after transmission.
A kind of monitoring retransmission method of the real-time new information of mobile terminal based on Android provided in an embodiment of the present invention and System, by according to the suitable listening mode of specific model selection, efficiently solving current system poor compatibility, monitor method exists At the same time the problem of failure is easy in different model mobile phone by judging the service state of user, ensure that monitoring information turns The success rate of hair.
On the basis of the above embodiments, described that the incoming call of target mobile phones, short message and instant message are monitored, base In the listening mode that the configuration information of the target mobile phones, selection incoming call, short message and instant message are suitble to, specifically include:
Incoming call listening mode, short message listening mode and the instant message prison of the target mobile phones are determined according to preset algorithm Listen mode;
According to the target mobile phones incoming call listening mode to incoming call monitored, according to the short message listening mode to short Letter monitor and monitored instant message according to the instant message listening mode.
Wherein, preset algorithm provided in an embodiment of the present invention includes but not limited to according to the machine type data of target mobile phones in number The applicable listening mode of the type is determined according to matching is carried out in library, or according to mobile phones such as mobile phone brand a, cell phone system version b Information and corresponding preset weights determine suitable listening mode.For example, mobile phone brand a uses the power of broadcast listening new message Value be m, use monitored data library method monitor short message weights for n, use listening state column monitoring new message weights for Q, the mobile phone that system version is b use the weights of broadcast listening new message for r, and short message is monitored using the method in monitored data library Weights are w, use the weights of listening state column monitoring new message for x, then being obtained after each weights are added m+n+q+r+w+x Value in which specific section, different monitor methods is used according to different intervals.Or by the configuration of mobile phone Information, such as after mobile phone brand, mobile phone operating system version information are uploaded onto the server, according to the judgement information decision of server Go out the listening mode of use.
The embodiment of the present invention is all provided with listening mode accordingly for each interception type of target mobile phones.Wherein, A kind of interception type may correspond to a variety of listening modes, such as:The incoming call monitoring of target mobile phones may correspond to three kinds of monitorings Mode, then the embodiment of the present invention can determine the applicable monitoring of the type according to the machine type data of target mobile phones according to preset algorithm Mode completes the monitoring to the incoming call of target mobile phones, short message and instant message.
On the basis of the above embodiments, the incoming call listening mode according to the target mobile phones supervises incoming call It listens, includes at least:
The notification bar of the target mobile phones is monitored and/or the telephone state of the target mobile phones is monitored.
It is understood that when the embodiment of the present invention determines that interception type is monitoring incoming call, it can be according to preset judgement Algorithm selects different listening modes, specially monitors the notification bar of the target mobile phones and/or to the target mobile phones Telephone state is monitored.Two kinds of listening modes can realize the function of monitoring incoming call, rationally be selected according to preset judgement algorithm Select listening mode.
Specifically, judging that algorithm is represented by:
((a&&b) * m) | | (a*m) | | (b*m),
Wherein, a is to be monitored using the notification bar to the target mobile phones, and b is using the phone shape to the target mobile phones State is monitored, and the value range of m is (0,1), and the specific value of m will be obtained according to preset algorithm.Such as:By test It was found that the mobile phone of A models uses the monitoring accuracy rate highest of b modes, then the value of m is taken as 1 in (b*m), other m are 0, then the m=1 of the mobile phone (b*m) of A models is stored in machine type data library, it, will when getting the mobile phone of A models next time Automatically it is monitored using b modes.
It is understood that if without judging, m can whole values be 1, i.e., acquiescence can be used all modes into Row is monitored.
Further, it is that the embodiment of the present invention monitors the content of notification bar to monitor the notification bar of target mobile phones, If having update in notification bar, then newer content is extracted, completes to monitor;To the telephone state of the target mobile phones Monitored and monitored for the embodiment of the present invention carrying out electricity condition, carry out electricity condition if be in, obtain the incoming number, The contents such as associated person information are completed to monitor.
It is monitored it should be noted that the mode provided in an embodiment of the present invention for monitoring incoming call is not limited only to above-mentioned notification bar It is monitored with telephone state, it is any to may be applicable to monitor method provided in an embodiment of the present invention with relevant listening mode of sending a telegram here, This embodiment of the present invention is not especially limited.
On the basis of the above embodiments, described that short message is monitored according to the short message listening mode, it includes at least:
The notification bar of the target mobile phones is monitored, to the short message broadcast listening of the target mobile phones and to the target Monitored one or more in the note data library of mobile phone.
It is understood that when the embodiment of the present invention determines that interception type is monitoring short message, it can be according to preset judgement Algorithm selects different listening modes, specially monitors, the notification bar of the target mobile phones to the short message of the target mobile phones Broadcast listening and the note data library of the target mobile phones is carried out to monitor such three kinds of modes.Three kinds of listening modes can be real The function of now monitoring short message reasonably selects listening mode according to preset judgement algorithm.
Specifically, judging that algorithm is represented by:
((a&&b)*m)||((b&&c)*m)||((a&&c)*m)||((a&&b&&c)*m)||(a*m)||(b*m)||(c* M),
Wherein, a is to be monitored using the notification bar to the target mobile phones, and b is using wide to the short message of the target mobile phones Monitoring is broadcast, c is to use to monitor the note data library of the target mobile phones, and the value range of m is (0,1), and the specific of m takes Value will be obtained according to mobile phone model in machine type data library.Such as:Find that the mobile phone of Type B number uses c modes by test Monitoring accuracy rate highest, then the value of m is taken as 1 in (c*m), other m are 0, then by the mobile phone (c*m) of Type B number M=1 be stored in machine type data library, when getting the mobile phone of Type B number next time, automatic will be monitored using c modes.
It is understood that if without judge, whole m can value be 1, i.e., acquiescence all modes can be used Carry out short message monitoring.
Further, monitor the notification bar of the target mobile phones is that the embodiment of the present invention supervises the content of notification bar It listens, if the interior of notification bar has update, then extracts newer content, complete to monitor;To the short message of the target mobile phones Broadcast listening is that the embodiment of the present invention monitors new message broadcasted content, if there is new message, then extracting the new message Content is completed to monitor.
On the basis of the above embodiments, the note data library to the target mobile phones is monitored, and is specifically included:
Maximum No. id of the short message item number and short message in the note data library is obtained in real time;
By detecting the variation of current short message item number and short message maximum id, to realize the prison to the note data library It listens.
Specifically, the variation by detecting current short message item number and short message maximum id, to realize to the note data The monitoring in library is:To the note data library of the target mobile phones monitor is that the embodiment of the present invention obtains current short message number in real time According to short message the item number a, short message maximum id in library.When listening to note data library and changing, current short message item number b is obtained.When (a < b) && (b>0) when, illustrate that short message item number increases, there may be new message, set short message id to id+1, whether check this id In inbox, if in inbox, illustrate to be the short message newly received, then obtains the short message newly received and complete to monitor; Obtain current note data library maximum id values -- maxid, if maxid>Id then adds 1, repeats the above process, and completes to entire The traversal in note data library.If obtaining current short message item number b, as (a > b), then illustrates to delete short message, obtain current short message Database maximum id values-maxid, maxid is assigned a value of by id.
It should be noted that the mode provided in an embodiment of the present invention for monitoring short message is not limited only to above-mentioned notification bar prison It listens, short message broadcast listening and note data library are monitored, any to may be applicable to this hair with the relevant listening mode of short message The monitor method that bright embodiment provides, is not especially limited this embodiment of the present invention.
It is on the basis of the above embodiments, described that instant message is monitored according to the instant message listening mode, It includes at least:
The notification bar of the target mobile phones is monitored.
It is understood that the mode of monitoring notification bar may be used for monitoring the instant message embodiment of the present invention, such as Have update in fruit notification bar, then then extracting newer content, completes to monitor.
It should be noted that the mode provided in an embodiment of the present invention for monitoring instant message is not limited only to above-mentioned notification bar It monitors, it is any to may be applicable to monitor method provided in an embodiment of the present invention with the relevant listening mode of instant message, to this Inventive embodiments are not especially limited.
On the basis of the above embodiments, if the incoming call listening mode of the target mobile phones, short message listening mode and i.e. When message listening mode there are many when, the method further includes:
The information content that each listening mode listens to is obtained, by the most detailed information of described information content with multimedia shape Formula is sent.
It is understood that either for any interception type, when there are a kind of interception types to have a variety of monitorings When mode, the embodiment of the present invention will classify information according to the information category listened to, and the consistent then selection of information category is each The most detailed information of category information content obtaining is forwarded.
It on the basis of the above embodiments, will if judging to know that target mobile phones are in service state in snoop procedure After the message listened to is sent in the multimedia form, the method further includes:
If judging to know, the message listened to carries out transmission failure in the multimedia form, and distance send for the first time when Between interval be less than the second predetermined threshold value less than the first predetermined threshold value and sending times, then the message is retransmitted.
It is understood that in the prior art for lacking effective management in the repeating process of message, often message turns It is without any processing after hair, the safety and stability of user information is all injured in this way.
For said circumstances, an embodiment of the present invention provides a kind of failure retransfer mechanism, substantially according to preset fixed When device function, message complete send after start timing, if detected in timing range message send failure, carry out message It retransmits, it is to be understood that if it is more than the threshold value of setting to forward unsuccessful number and time, prove that this message can not turn Hair, needs to be reported to user in time.
It should be noted that the first predetermined threshold value of customization duration, that is, embodiment of the present invention of specific timer, presets Sending times be the embodiment of the present invention the second predetermined threshold value, the first predetermined threshold value and the second predetermined threshold value can be according to realities Border situation is configured, and the embodiment of the present invention is not especially limited this.
Fig. 2 is a kind of monitoring forwarding of the real-time new information of mobile terminal based on Android provided in an embodiment of the present invention System construction drawing, as shown in Fig. 2, the system comprises:Module 1 and forwarding module 2 are monitored, wherein:
Module 1 is monitored for monitoring the incoming call of target mobile phones, short message and instant message, is based on the target hand The configuration information of machine, the listening mode that selection incoming call, short message and instant message are suitble to;
Forwarding module 2 is for the information listened to be forwarded, if judging to know target hand in monitoring and repeating process Machine is in non-serving state, then waits for the target mobile phones to enter after service state and monitored and forwarded again;
Wherein, there is failure retransfer mechanism in repeating process, when sending times and time being more than specified threshold, remind and use Family is sent not successfully.
Specific how to be forwarded to the monitoring of the real-time new information of mobile terminal by monitoring module 1 and forwarding module 2 can Technical solution for executing message treatment method embodiment shown in FIG. 1, implementing principle and technical effect are similar, herein not It repeats again.
A kind of monitoring repeater system of the real-time new information of mobile terminal based on Android provided in an embodiment of the present invention, By selecting the corresponding listening mode of various interception types according to specific model, current system poor compatibility is efficiently solved, is supervised The problem of listening method to be easy failure in different model mobile phone, at the same time, by judging the service state of user, ensure that prison The success rate for listening information to forward.
Specifically, the monitoring that Fig. 3 is the real-time new information of the mobile terminal based on Android provided in an embodiment of the present invention turns System structure diagram is sent out, as shown in figure 3, the real-time new information of the mobile terminal provided in an embodiment of the present invention based on Android The Android phone platform monitored in repeater system, that is, Fig. 3, the company of handset in Fig. 3 is to receive Android phone platform letter The other equipment with display function of the additional functional modules of breath, generally user.Wherein company of handset includes that information connects again Receive module and information display module, it is to be understood that, will be listening to after Android phone platform carries out Message Processing Message be transmitted to company of handset, so that user passes through the real-time monitoring state of company of handset.
Further, the mobile phone model of target mobile phones is obtained in Fig. 3 by type acquisition module, then decision-making module should Mobile phone model is matched in preset machine type data library, determines obtain mould using incoming call acquisition module, short message respectively Which kind of listening mode of the interception type corresponding to block and instant message data obtaining module.
After being monitored according still further to the corresponding listening mode of various interception types, target hand is judged by condition judgment module Whether the state that machine is in is service state, if if the service state by information forwarding module by the message listened into Row forwarding, and by the failure retransfer of timer module and forwarding judgment module realization monitoring information, finally forward mobile phone New information information inform company of handset, after the information display module of company of handset shows new information, user only needs to see The companion that sees the mobile phone can obtain all monitoring informations in real time, and ensure that accuracy and the safety of monitoring information.
The embodiment of the present invention provides a kind of monitoring forwarding unit of the real-time new information of the mobile terminal based on Android, packet It includes:At least one processor;And at least one processor being connect with the processor communication, wherein:
Fig. 4 is the monitoring forwarding unit of the real-time new information of the mobile terminal based on Android provided in an embodiment of the present invention Structure diagram, with reference to Fig. 4, the monitoring forwarding unit of the real-time new information of the mobile terminal based on Android, including:Place Manage device (processor) 410, communication interface (Communications Interface) 420,430 He of memory (memory) Bus 440, wherein processor 410, communication interface 420, memory 430 complete mutual communication by bus 440.Processing Device 410 can call the logical order in memory 430, to execute following method:To the incoming call of target mobile phones, short message and it is When message monitored, based on the configuration information of the target mobile phones, selection incoming call, short message and the suitable monitoring of instant message Mode;The information listened to is forwarded, if judging to know that target mobile phones are in non-serving state in monitoring and repeating process, It then waits for the target mobile phones to enter after service state to be monitored and forwarded again;Wherein, there is failure retransfer in repeating process Mechanism reminds user to send not successfully when sending times and time being more than specified threshold.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt When computer executes, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:To target mobile phones Incoming call, short message and instant message are monitored, and based on the configuration information of the target mobile phones, are selected incoming call, short message and are When the suitable listening mode of message;The information listened to is forwarded, if judging to know target hand in monitoring and repeating process Machine is in non-serving state, then waits for the target mobile phones to enter after service state and monitored and forwarded again;Wherein, forwarded over There is failure retransfer mechanism in journey, when sending times and time being more than specified threshold, user is reminded to send not successfully.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage Medium storing computer instructs, and the computer instruction makes the computer execute the side that above-mentioned each method embodiment is provided Method, such as including:The incoming call of target mobile phones, short message and instant message are monitored, the configuration based on the target mobile phones Information, the listening mode that selection incoming call, short message and instant message are suitble to;The information listened to is forwarded, if monitor and Judge to know that target mobile phones are in non-serving state in repeating process, then wait for the target mobile phones enter after service state again into Row is monitored and forwarding;Wherein, there is failure retransfer mechanism in repeating process, when sending times and time being more than specified threshold, User is reminded to send not successfully.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light The various media that can store program code such as disk.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of monitoring retransmission method of the real-time new information of mobile terminal based on Android, which is characterized in that including:
The incoming call of target mobile phones, short message and instant message are monitored, based on the configuration information of the target mobile phones, selection The suitable listening mode of incoming call, short message and instant message;
The information listened to is forwarded, if judging to know that target mobile phones are in non-serving state in monitoring and repeating process, It then waits for the target mobile phones to enter after service state to be monitored and forwarded again;
Wherein, there is failure retransfer mechanism in repeating process, when sending times and time being more than specified threshold, remind user not It is successfully transmitted.
2. according to the method described in claim 1, it is characterized in that, described disappear to the incoming call of target mobile phones, short message and immediately Breath is monitored, based on the configuration information of the target mobile phones, the monitoring side for selecting incoming call, short message and instant message suitable Formula specifically includes:
The incoming call listening mode, short message listening mode and instant message monitoring side of the target mobile phones are determined according to preset algorithm Formula;
According to the target mobile phones incoming call listening mode to incoming call monitored, according to the short message listening mode to short message into Row is monitored and is monitored instant message according to the instant message listening mode.
3. according to the method described in claim 2, it is characterized in that, the incoming call listening mode pair according to the target mobile phones Incoming call is monitored, and is included at least:
The notification bar of the target mobile phones is monitored and/or the telephone state of the target mobile phones is monitored.
4. according to the method described in claim 2, it is characterized in that, described supervise short message according to the short message listening mode It listens, includes at least:
The notification bar of the target mobile phones is monitored, to the short message broadcast listening of the target mobile phones and to the target mobile phones Note data library monitored it is one or more.
5. according to the method described in claim 4, it is characterized in that, the note data library to the target mobile phones is supervised It listens, specifically includes:
Maximum No. id of the short message item number and short message in the note data library is obtained in real time;
By detecting the variation of current short message item number and short message maximum id, to realize the monitoring to the note data library.
6. according to the method described in claim 2, it is characterized in that, it is described according to the instant message listening mode to disappearing immediately Breath is monitored, and is included at least:
The notification bar of the target mobile phones is monitored.
7. if according to the method described in claim 2, it is characterized in that, the incoming call listening mode of the target mobile phones, short message are supervised Listen mode and instant message listening mode there are many when, the method further includes:
The information content that each listening mode listens to is obtained, the most detailed information of described information content is sent out in the multimedia form It send.
8. according to the method described in claim 1, it is characterized in that, the failure retransfer mechanism includes:
If judging to know that the message listened to sends failure, and the time interval that distance is sent for the first time is less than the first default threshold Value and sending times are less than the second predetermined threshold value, then are retransmitted to the message.
9. a kind of monitoring repeater system of the real-time new information of mobile terminal based on Android, which is characterized in that the system packet It includes:
Module is monitored, for monitoring the incoming call of target mobile phones, short message and instant message, based on the target mobile phones Configuration information, the listening mode that selection incoming call, short message and instant message are suitble to;
Forwarding module, for the information listened to be forwarded, if judging to know at target mobile phones in monitoring and repeating process In non-serving state, then waits for the target mobile phones to enter after service state and monitored and forwarded again;
Wherein, there is failure retransfer mechanism in repeating process, when sending times and time being more than specified threshold, remind user not It is successfully transmitted.
10. a kind of monitoring forwarding unit of the real-time new information of mobile terminal based on Android, which is characterized in that including storage Device and processor, the processor and the memory complete mutual communication by bus;The memory is stored with can The program instruction executed by the processor, the processor call described program instruction to be able to carry out such as claim 1 to 7 times Method described in one.
CN201810469728.7A 2018-05-16 2018-05-16 The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android Pending CN108768595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810469728.7A CN108768595A (en) 2018-05-16 2018-05-16 The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810469728.7A CN108768595A (en) 2018-05-16 2018-05-16 The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android

Publications (1)

Publication Number Publication Date
CN108768595A true CN108768595A (en) 2018-11-06

Family

ID=64008198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810469728.7A Pending CN108768595A (en) 2018-05-16 2018-05-16 The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android

Country Status (1)

Country Link
CN (1) CN108768595A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086263A (en) * 2022-07-22 2022-09-20 康键信息技术(深圳)有限公司 IM message sending method, system, storage medium and computer equipment of IOS terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956422A (en) * 2005-10-26 2007-05-02 乐金电子(中国)研究开发中心有限公司 Instant message service apparatus and method with forwarding function
CN102638624A (en) * 2012-04-26 2012-08-15 南京云恒瑞通网络科技有限责任公司 Mobile terminal capable of realizing automatic forwarding of incoming call information and forwarding method thereof
CN102811425A (en) * 2012-08-14 2012-12-05 深圳市金立通信设备有限公司 System and method for automatically forwarding missed calls and new short messages through email
CN106209834A (en) * 2016-07-08 2016-12-07 大连理工大学 A kind of realize mobile phone remote communication and monitor the method with multicast in real time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956422A (en) * 2005-10-26 2007-05-02 乐金电子(中国)研究开发中心有限公司 Instant message service apparatus and method with forwarding function
CN102638624A (en) * 2012-04-26 2012-08-15 南京云恒瑞通网络科技有限责任公司 Mobile terminal capable of realizing automatic forwarding of incoming call information and forwarding method thereof
CN102811425A (en) * 2012-08-14 2012-12-05 深圳市金立通信设备有限公司 System and method for automatically forwarding missed calls and new short messages through email
CN106209834A (en) * 2016-07-08 2016-12-07 大连理工大学 A kind of realize mobile phone remote communication and monitor the method with multicast in real time

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
YUNXIOAYANG_123: "Android 通过监听收信箱获取短信,Cursor对象字段的详细信息", 《HTTPS://BLOG.CSDN.NET/YUNXIOAYANG_123/ARTICLE/DETAILS/50055467》 *
申民发: "轻量级即时通讯系统的研究与实现", 《北京邮电大学 硕士论文》 *
程序园: "Android实现短信监听并且转发到指定的手机号,转发后不留痕", 《HTTP://WWW.VOIDCN.COM/ARTICLE/P-TTMYBODA-UC.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086263A (en) * 2022-07-22 2022-09-20 康键信息技术(深圳)有限公司 IM message sending method, system, storage medium and computer equipment of IOS terminal
CN115086263B (en) * 2022-07-22 2024-04-05 康键信息技术(深圳)有限公司 IM message sending method, system, storage medium and computer equipment of IOS terminal

Similar Documents

Publication Publication Date Title
US10897513B2 (en) Method and apparatus for selecting information pushed-to terminal
US10681200B2 (en) Message processing method and system, and related device
US8234289B2 (en) Restoration of conversation stub for recognized experts
CN103581429A (en) Method, device, and system for providing notification of shutdown
US20120108212A1 (en) Monitoring System For Mobile Terminal And Monitoring Method Thereof
CN108449194A (en) A kind of method and device that user is reminded in group chat
US10306070B2 (en) Call transfer method and user equipment
CN102946460B (en) A kind of terminal equipment and information cuing method thereof
US8582745B1 (en) Simultaneous mutual call handling
US8798248B2 (en) Intelligent call log and schedule integration
CN106911556A (en) A kind of prompting message management method and terminal
CN105871683A (en) Video message leaving method, video message leaving device, terminal and server
CN108055404A (en) Reminder announced method, apparatus, terminal and storage medium
CN103249146A (en) Message notice method and device
CN102883289A (en) Communication processing method, client and mobile terminal
CN101902712A (en) Processing method and device for call failure
CN108768595A (en) The monitoring retransmission method and system of the real-time new information of mobile terminal based on Android
CN103051811A (en) Method and device for terminal information transfer
CN104394258B (en) The method and apparatus that contact method change to communication object is handled
CN107425994A (en) A kind of method, terminal and server for realizing parameters remote management
CN101741987A (en) Method and device for sending short messages at definite time
CN113055921B (en) Fault processing method and terminal
US8331919B1 (en) System, method, and software program product for tracking call failures on a wireless phone
WO2017012207A1 (en) Information display processing method, terminal, system and computer storage medium
CN112243031B (en) Response follow-up method, system, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106