CN105516937A - Multi-network message pushing method based on Andriod mobile phone system - Google Patents

Multi-network message pushing method based on Andriod mobile phone system Download PDF

Info

Publication number
CN105516937A
CN105516937A CN201510851585.2A CN201510851585A CN105516937A CN 105516937 A CN105516937 A CN 105516937A CN 201510851585 A CN201510851585 A CN 201510851585A CN 105516937 A CN105516937 A CN 105516937A
Authority
CN
China
Prior art keywords
message
mobile phone
server
recipient
background service
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.)
Granted
Application number
CN201510851585.2A
Other languages
Chinese (zh)
Other versions
CN105516937B (en
Inventor
林一新
张建宁
沈翔宇
赖礼袍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Linewell Software Co Ltd
Original Assignee
Linewell Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN201510851585.2A priority Critical patent/CN105516937B/en
Publication of CN105516937A publication Critical patent/CN105516937A/en
Application granted granted Critical
Publication of CN105516937B publication Critical patent/CN105516937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • 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]

Landscapes

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

Abstract

The invention provides a multi-network message pushing method based on an Andriod mobile phone system. A mobile phone and a server are required to be provided; the mobile phone comprises a message backstage service; the message backstage service is automatically started when the mobile phone is started up; the method comprises following steps that: the message backstage service of the mobile phone of a sender selects the sending mode of an instruction message through judging whether the message backstage service of the mobile phone of a receiver is connected to the server, if the mobile phone of the receiver is connected to the internet, the instruction message is packaged into a network message, the network message is forwarded to the mobile phone of the receiver through the server, otherwise the message is packaged into an encrypted short message, the encrypted short message is sent to the mobile phone number of the receiver through a GSM network; the message backstage service of the mobile phone of the receiver intercepts the instruction message, analyzes the instruction message and executes the instruction. According to the method provided in the invention, different message sending modes are selected according to different network connection states, therefore, the message is ensured to be pushed and executed immediately, the message transmission stability is ensured, and the message processing efficiency is improved.

Description

A kind of Multi net voting information push method based on Android phone system
Technical field
The present invention relates to message push mechanism, particularly relate to a kind of Multi net voting information push method based on Android phone system.
Background technology
In Android phone operating system, due to the difference of the network environment of each mobile phone, when carrying out some important messages propelling movements to mobile phone, usually occur that message push not in time or push failed problem.Such as; when mobile phone is lost or is stolen; we wish that in time instruction message can be pushed to mobile phone carries out corresponding operating, and such as delete some application to protect important information, traditional solution carries out message push by connecting Internet; if but the non-interconnection network of mobile phone; so message push is just nonsensical, therefore needs to design a kind of Multi net voting information push method, guarantees the timely propelling movement of message; do not limit by cell phone network, the stability that guarantee information transmits.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of Multi net voting information push method based on Android phone system, guarantees promptness and the stability of message push, improves Message Processing efficiency.
The present invention is achieved in that a kind of Multi net voting information push method based on Android phone system, mobile phone and server need be provided, described mobile phone comprises a message background service, and the self-starting when mobile phone power-on of described message background service, described method comprises the steps:
The message background service of step 1, transmit leg mobile phone passes through network attached server, to recipient's mobile phone edit instruction message of specifying, judge the message background service whether connection server of recipient's mobile phone simultaneously, if, then message is packaged into internet message and directly sends to server, enter step 2; Otherwise, message is packaged into the short message of encryption, and calls short message interface, send described short message by GSM network to recipient's cell-phone number, jump to step 3;
Step 2, server obtain the network address of recipient's mobile phone of specifying, and the internet message received are transmitted to recipient's mobile phone of specifying;
The message background service of step 3, recipient's mobile phone intercepts all message received, if described message is internet message, then and the instruction in the direct rule parsing internet message by pre-defining, and perform described instruction; Otherwise, if the message received is short message, then judge whether described short message is encrypted further, if again by the instruction in the rule parsing short message pre-defined after being then decrypted described short message, and perform described instruction, otherwise, if described short message unencryption, then described short message is given the short message inbox process that cell phone system carries.
Further, when described message background service and server are in connection status, carry out a heartbeat packet at interval of message background service described in certain hour and server and be connected, and the network address current for mobile phone and cell-phone number are passed to server.
Further, described server comprises data cube computation table, records the network address and the cell-phone number of the mobile phone be connected with described server in described data cube computation table.
Further, the mode of the message background service judging recipient in described step 1 whether connection server is specially: the message background service of transmit leg initiates request to server, obtain the information of recipient's mobile phone in the data cube computation table of server, if there is the network address of described recipient's mobile phone in data cube computation table, then be judged to the message background service connection server of recipient, otherwise be judged to the non-connection server of message background service of recipient.
Further, described transmit leg mobile phone and recipient's mobile phone carrying out first carrying out handset binding before Message Transmission first, and by the cellphone information of bound the other side stored in the machine.
Further, the content of described instruction message comprises screen locking, shuts down, opens application, deletes application, deleted file, broadcasting music or automatically locate.
Further, the short message of described encryption refers to add message identification at the head of short message.
Further, described server also for direct editing command information, and issues command information to the recipient's mobile phone be connected with described server.
Further, described step 3 comprises further: the message background service of described recipient's mobile phone resolves instruction and after performing instruction, in the content performed by status bar display completing.
Further, described method also comprises step 4, the message background service of recipient's mobile phone is preserved to the result of the message received, and when interconnection network, result fed back to server.
Tool of the present invention has the following advantages: by designing message background service on mobile phone, transmit leg mobile phone can do respective handling according to the networking situation of recipient's mobile phone to sent instruction message, and select the Internet or GSM network mode that message is pushed to recipient's mobile phone in time, effective transmission of information cannot be carried out when losing efficacy to avoid single network, and carry out resolving in time and performing to the message received by the message background service of recipient's mobile phone, thus guarantee timely propelling movement and the execution of message, improve Message Processing efficiency.
Accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flowchart of a kind of Multi net voting information push method based on Android phone system of the present invention.
Embodiment
As shown in Figure 1, a kind of Multi net voting information push method based on Android phone system, mobile phone and server need be provided, described mobile phone comprises a message background service, and the self-starting when mobile phone power-on of described message background service, described server comprises data cube computation table, and record the network address and the cell-phone number of the mobile phone be connected with described server in described data cube computation table, described method comprises the steps:
Step 1, the message background service of transmit leg mobile phone passes through network attached server, to recipient's mobile phone edit instruction message of specifying, the content of described instruction message comprises screen locking, shutdown, open application, play music or automatically locate, judge the message background service whether connection server of recipient's mobile phone simultaneously, judgment mode is specially: initiate request by the message background service of transmit leg to server, obtain the information of recipient's mobile phone in the data cube computation table of server, if there is the network address of described recipient's mobile phone in data cube computation table, then be judged to the message background service connection server of recipient, otherwise be judged to the non-connection server of message background service of recipient, if the message background service connection server of recipient's mobile phone, then message is packaged into internet message and directly sends to server by the message background service of transmit leg mobile phone, enter step 2, otherwise, transmit leg mobile phone message background service message is packaged into the short message of encryption, be encrypted by adding message identification at the head of short message, and call short message interface, send described short message by GSM network to recipient's cell-phone number, jump to step 3,
Step 2, server obtain the network address of recipient's mobile phone of specifying, and the internet message received are transmitted to recipient's mobile phone of specifying;
The message background service of step 3, recipient's mobile phone intercepts all message received, if described message is internet message, then and the instruction in the direct rule parsing internet message by pre-defining, and perform described instruction; Otherwise, if the message received is short message, then judge whether described short message is encrypted further, if again by the instruction in the rule parsing short message pre-defined after being then decrypted described short message, and perform described instruction, otherwise, if described short message unencryption, then described short message is given the short message inbox process that cell phone system carries, the message background service of described recipient's mobile phone resolves instruction and after performing instruction, in the content performed by status bar display completing;
The message background service of step 4, recipient's mobile phone is preserved to the result of the message received, and when interconnection network, result is fed back to server.
When described message background service and server are in connection status, carry out a heartbeat packet at interval of message background service described in certain hour and server and be connected, and the network address current for mobile phone and cell-phone number are passed to server.
Described transmit leg mobile phone and recipient's mobile phone carrying out first carrying out handset binding before Message Transmission first, and by the cellphone information of bound the other side stored in the machine.
Described server also for direct editing command information, and issues command information to the recipient's mobile phone be connected with described server.
Below in conjunction with an embodiment, the present invention will be further described:
Start cell phone apparatus, self-starting resides in the message background service in mobile phone EMS memory, in mobile phone connecting Internet situation, described background service is connected with the Internet, and attempt at interval of certain hour (as 5 minutes) connection carrying out a heartbeat packet with server, connected by heartbeat packet and the network address current for mobile phone is sent to server, server receives the described network address and is recorded in the data cube computation table of server;
When the instruction message that transmit leg mobile phone editor one is to be sent, the message background service of transmit leg mobile phone initiates request to server, the online situation of acquisition request recipient mobile phone, after server receives described request, search data cube computation table and judge recipient's mobile phone whether connection server, if, then be judged to recipient's mobile phone online, and obtain the information such as the network address and phone number of recipient's mobile phone, otherwise, be judged to recipient's mobile phone not online;
The instruction message editted is pushed by message background service by transmit leg mobile phone: recipient's mobile phone is online, directly be pushed to server by the Internet after then instruction message being packaged into internet message, then by the Internet, described internet message be transmitted to intended receiver mobile phone by server; If recipient's mobile phone is not online, then instruction message is packaged into the short message with message identification head, and calls short message interface described short message is sent to designated mobile phone number by GSM network;
Recipient's mobile phone is when receiving message, the interception of its message background service is tackled the message received, judge whether described message is internet message, if, then resolve command content wherein and perform corresponding operating, if, after then described short message being decrypted, resolve command content wherein and perform corresponding operating, otherwise, if described short message is without message identification head, then described short message is sent to the short message inbox process carried in cell phone system, the content of described instruction message comprises screen locking, shutdown, open application, delete application, deleted file, play music or automatically locate, when recipient's hand-set from stolen or when losing, the instruction message deleting application or deleted file can be sent in time, information on recipient's mobile phone is protected, the message background service of described recipient's mobile phone resolves instruction and after performing instruction completing, in the content performed by status bar display, notify the operation that user this time performs,
The message background service of recipient's mobile phone often processes a message and just result is preserved, and judge currently whether be connected to server, if, then result is fed back to server, recipient's mobile phone is transmitted to by server, otherwise, wait during recipient's mobile phone connection server and send again.
The present invention by designing message background service on mobile phone, make transmit leg mobile phone can do respective handling according to the networking situation of recipient's mobile phone to sent instruction message, and select the Internet or GSM network mode that message is pushed to recipient's mobile phone in time, effective transmission of information cannot be carried out when losing efficacy to avoid single network, after adopting technical scheme of the present invention, the transmission capacity of server to the message of client obtains certain lifting, make cell phone apparatus receipt message more promptly and accurately, and carry out resolving in time and performing to the message received by the message background service of recipient's mobile phone, thus guarantee timely propelling movement and the execution of message, improve Message Processing efficiency.
Although the foregoing describe the specific embodiment of the present invention; but be familiar with those skilled in the art to be to be understood that; specific embodiment described by us is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art, in the modification of the equivalence done according to spirit of the present invention and change, should be encompassed in scope that claim of the present invention protects.

Claims (10)

1. the Multi net voting information push method based on Android phone system, it is characterized in that: mobile phone and server need be provided, described mobile phone comprises a message background service, and the self-starting when mobile phone power-on of described message background service, described method comprises the steps:
The message background service of step 1, transmit leg mobile phone passes through network attached server, to recipient's mobile phone edit instruction message of specifying, judge the message background service whether connection server of recipient's mobile phone simultaneously, if, then message is packaged into internet message and directly sends to server, enter step 2; Otherwise, message is packaged into the short message of encryption, and calls short message interface, send described short message by GSM network to recipient's cell-phone number, jump to step 3;
Step 2, server obtain the network address of recipient's mobile phone of specifying, and the internet message received are transmitted to recipient's mobile phone of specifying;
The message background service of step 3, recipient's mobile phone intercepts all message received, if described message is internet message, then and the instruction in the direct rule parsing internet message by pre-defining, and perform described instruction; Otherwise, if the message received is short message, then judge whether described short message is encrypted further, if again by the instruction in the rule parsing short message pre-defined after being then decrypted described short message, and perform described instruction, otherwise, if described short message unencryption, then described short message is given the short message inbox process that cell phone system carries.
2. a kind of Multi net voting information push method based on Android phone system according to claim 1, it is characterized in that: when described message background service and server are in connection status, carry out a heartbeat packet at interval of message background service described in certain hour and server to be connected, and the network address current for mobile phone and cell-phone number are passed to server.
3. a kind of Multi net voting information push method based on Android phone system according to claim 1, it is characterized in that: described server comprises data cube computation table, in described data cube computation table, record the network address and the cell-phone number of the mobile phone be connected with described server.
4. a kind of Multi net voting information push method based on Android phone system according to claim 3, it is characterized in that: the mode of the message background service judging recipient in described step 1 whether connection server is specially: the message background service of transmit leg initiates request to server, obtain the information of recipient's mobile phone in the data cube computation table of server, if there is the network address of described recipient's mobile phone in data cube computation table, then be judged to the message background service connection server of recipient, otherwise be judged to the non-connection server of message background service of recipient.
5. a kind of Multi net voting information push method based on Android phone system according to claim 1, it is characterized in that: described transmit leg mobile phone and recipient's mobile phone carrying out first carrying out handset binding before Message Transmission first, and by the cellphone information of bound the other side stored in the machine.
6. a kind of Multi net voting information push method based on Android phone system according to claim 1, is characterized in that: the content of described instruction message comprises screen locking, shuts down, opens application, deletes application, deleted file, broadcasting music or automatically locate.
7. a kind of Multi net voting information push method based on Android phone system according to claim 1, is characterized in that: the short message of described encryption refers to add message identification at the head of short message.
8. a kind of Multi net voting information push method based on Android phone system according to claim 1, is characterized in that: described server also for direct editing command information, and issues command information to the recipient's mobile phone be connected with described server.
9. a kind of Multi net voting information push method based on Android phone system according to claim 1, it is characterized in that: described step 3 comprises further: the message background service of described recipient's mobile phone resolves instruction and after performing instruction, in the content performed by status bar display completing.
10. a kind of Multi net voting information push method based on Android phone system according to claim 1, it is characterized in that: described method also comprises step 4, the message background service of recipient's mobile phone is preserved to the result of the message received, and when interconnection network, result fed back to server.
CN201510851585.2A 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost Active CN105516937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510851585.2A CN105516937B (en) 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510851585.2A CN105516937B (en) 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost

Publications (2)

Publication Number Publication Date
CN105516937A true CN105516937A (en) 2016-04-20
CN105516937B CN105516937B (en) 2020-02-07

Family

ID=55724506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510851585.2A Active CN105516937B (en) 2015-11-27 2015-11-27 Remote control method based on Android mobile phone system after mobile phone is lost

Country Status (1)

Country Link
CN (1) CN105516937B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911564A (en) * 2017-02-23 2017-06-30 中卓信(北京)科技有限公司 The identification of binary format information and execution method
CN107342981A (en) * 2017-06-07 2017-11-10 北京小鸟看看科技有限公司 Transmission method and device, the virtual reality helmet of sensing data
CN109379422A (en) * 2018-10-11 2019-02-22 广东小天才科技有限公司 Smartwatch reports the loss method, apparatus, equipment and storage medium
CN115550303A (en) * 2022-09-19 2022-12-30 中国建设银行股份有限公司 Notification message sending method, device, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1209937A2 (en) * 2000-11-28 2002-05-29 NTT DoCoMo, Inc. Location registration control method, mobile communication network, and communication terminal
CN1633206A (en) * 2004-12-31 2005-06-29 侯万春 Apparatus and method for intelligent communication based on mobile communication network and Internet
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN102355637A (en) * 2011-09-30 2012-02-15 奇智软件(北京)有限公司 Mobile terminal instant communication processing method and device
CN102624515A (en) * 2011-11-24 2012-08-01 中联重科股份有限公司 Data transmission method, system and terminals
CN102833712A (en) * 2012-08-31 2012-12-19 北京小米科技有限责任公司 Method, device, server and system for preventing information leakage and equipment
CN102938724A (en) * 2012-10-22 2013-02-20 深圳中兴网信科技有限公司 Message communication system and method
CN104184821A (en) * 2014-08-29 2014-12-03 北京奇虎科技有限公司 Conversation and terminal response feedback method and device based on push notification

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1209937A2 (en) * 2000-11-28 2002-05-29 NTT DoCoMo, Inc. Location registration control method, mobile communication network, and communication terminal
CN1633206A (en) * 2004-12-31 2005-06-29 侯万春 Apparatus and method for intelligent communication based on mobile communication network and Internet
CN102143444A (en) * 2010-09-02 2011-08-03 华为技术有限公司 Method, relevant equipment and system for pushing service delivery platform message
CN102355637A (en) * 2011-09-30 2012-02-15 奇智软件(北京)有限公司 Mobile terminal instant communication processing method and device
CN102624515A (en) * 2011-11-24 2012-08-01 中联重科股份有限公司 Data transmission method, system and terminals
CN102833712A (en) * 2012-08-31 2012-12-19 北京小米科技有限责任公司 Method, device, server and system for preventing information leakage and equipment
CN102938724A (en) * 2012-10-22 2013-02-20 深圳中兴网信科技有限公司 Message communication system and method
CN104184821A (en) * 2014-08-29 2014-12-03 北京奇虎科技有限公司 Conversation and terminal response feedback method and device based on push notification

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911564A (en) * 2017-02-23 2017-06-30 中卓信(北京)科技有限公司 The identification of binary format information and execution method
CN106911564B (en) * 2017-02-23 2018-08-21 中卓信(北京)科技有限公司 The identification of binary format information and execution method
CN107342981A (en) * 2017-06-07 2017-11-10 北京小鸟看看科技有限公司 Transmission method and device, the virtual reality helmet of sensing data
CN109379422A (en) * 2018-10-11 2019-02-22 广东小天才科技有限公司 Smartwatch reports the loss method, apparatus, equipment and storage medium
CN115550303A (en) * 2022-09-19 2022-12-30 中国建设银行股份有限公司 Notification message sending method, device, equipment and medium
CN115550303B (en) * 2022-09-19 2023-11-17 中国建设银行股份有限公司 Notification message sending method, device, equipment and medium

Also Published As

Publication number Publication date
CN105516937B (en) 2020-02-07

Similar Documents

Publication Publication Date Title
EP3285434B1 (en) Fallback messaging
EP2538746B1 (en) Method, device and system for supporting multiple international mobile subscriber identities (imsis)
US11112988B2 (en) System and apparatus for transferring data between communication elements
CN104137587A (en) Method and terminal sending and receiving user data
CN105516937A (en) Multi-network message pushing method based on Andriod mobile phone system
CN104660678A (en) Application data sharing method and device
US9553917B2 (en) Server, device and recording medium for HTTP file transfer during chatting session established by another protocol
WO2012065381A1 (en) Method and apparatus for preventing malicious softwares from transmitting data
US10419371B2 (en) Methods and systems for delayed notifications in communications networks
CN104486388A (en) Accessing method and device of cloud storage file
CN104349288A (en) Message transmission method and device
CN103547339B (en) File uploading method, client side and server side
CN102025784A (en) Method, device and system for downloading streaming media file
CN104661191A (en) Local area network communication method, system and terminal, and information sharing device
WO2016045214A1 (en) Decision method and device, terminal and computer storage medium
CN104869174A (en) File transmission method based on third party message-oriented middle-ware
CN102843308A (en) Instant messaging method and system based on mobile terminal local address book
US10412778B2 (en) Data transmission method and apparatus for data service
CN101179767A (en) Multimedia information limitation operation method, transmitting terminal, receiving terminal and system
CN104244171A (en) Data transmission system and method on basis of NFC (near field communication) connection
US9166794B2 (en) Securing private key access for cross-component message processing
CN103944806A (en) Data transmission method and system based on Wechat platform
CN107113281A (en) Content shared method, terminal, server and system
CN105072020B (en) method and system for processing instant communication message
JP2019527490A (en) Method, system, and computer program product for selectively adapting and transmitting message data

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