CN108683733A - Compatible full platform mobile phone supplying system and method - Google Patents

Compatible full platform mobile phone supplying system and method Download PDF

Info

Publication number
CN108683733A
CN108683733A CN201810459621.4A CN201810459621A CN108683733A CN 108683733 A CN108683733 A CN 108683733A CN 201810459621 A CN201810459621 A CN 201810459621A CN 108683733 A CN108683733 A CN 108683733A
Authority
CN
China
Prior art keywords
push
customer
mobile phone
android
representative
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
CN201810459621.4A
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.)
Suzhou Playing Friends Era Polytron Technologies Inc
Original Assignee
Suzhou Playing Friends Era Polytron Technologies Inc
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 Suzhou Playing Friends Era Polytron Technologies Inc filed Critical Suzhou Playing Friends Era Polytron Technologies Inc
Priority to CN201810459621.4A priority Critical patent/CN108683733A/en
Publication of CN108683733A publication Critical patent/CN108683733A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Abstract

The invention discloses a kind of full platform mobile phone supplying systems of compatibility and method, system to include:Customer's representative end and server agent side, are attached between customer's representative end and server agent end by network, and customer's representative end includes:Local information acquisition module, the AM access module of push frame, notification module and process keep-alive module, server agent end include:Logging modle and message pushing module, customer's representative terminates the push frame into multiple commercial vendors, and current phone information and manufacturer's information are sent to server agent end, call push framework interface that message is pushed to corresponding mobile phone in server agent end, by the push frame for accessing multiple commercial vendors, the various PUSH messages that server-side is sent can be received on the Android system of customization, to reach application or game on different Android systems, in time, accurately receive the purpose of notification message.

Description

Compatible full platform mobile phone supplying system and method
Technical field
The present invention relates to Android custom-built systems to receive application message technical field, and in particular to a kind of full platform mobile phone of compatibility Supplying system and method.
Background technology
In present mobile phone market, the brand of mobile phone is increasing, and custom-built system is more and more also with mobile phone brand, What is become becomes increasingly complex.The diversification of custom-built system results in a serious problem, be exactly the push protocol of Android primary with And structure may be changed, and cause to play or apply after accessing the Push Service frame that a certain manufacturer provides, in major part Custom-built system in cannot be satisfied requirement, the message that server is pushed to mobile phone occur can not receive in time, in addition occur can not The case where receiving.
Therefore, an application or game how are helped, can in time be received in numerous custom-built systems and mobile phone The message pushed to server-side will be solved the problems, such as at current message push.
Invention content
In order to solve the above technical problems, the present invention proposes a kind of full platform mobile phone supplying system of compatibility and method, to reach It to application or plays on different Android systems, in time, accurately receives the purpose of notification message.
In order to achieve the above objectives, technical scheme is as follows:A kind of full platform mobile phone supplying system of compatibility, the system System includes:Customer's representative end and server agent side pass through network between the customer's representative end and the server agent end It is attached;
The customer's representative end includes:Local information acquisition module, the AM access module of push frame, notification module and process are protected Flexible module, the local information acquisition module, for obtaining the unit type of current phone equipment, Android version number, Android ID With the addresses current phone mac;The push frame AM access module, the push frame for accessing multiple commercial vendors;The notice mould Block, for notifying the information of current phone information and corresponding manufacturer to give server agent end;The process keep-alive module, is used for Ensure that the process of access multiple commercial vendors push frame is not closed by the Android system of current phone;
The server agent end includes:Logging modle and message pushing module, the logging modle, for recording mobile phone The information of information and corresponding manufacturer;The message pushing module, for message to be pushed to correspondence according to corresponding manufacturer's information Mobile phone on.
Further, the push frame of the multiple commercial vendors includes:Homing pigeon push, Baidu's cloud push, millet push, Ali Push, it is a push away, aurora push, Huawei's push and the push of friendly alliance.
A kind of full platform mobile phone method for pushing of compatibility, steps are as follows for the method:Customer's representative terminates into multiple commercial vendors Push frame;Customer's representative end obtains current phone information by Android primary interface;Customer's representative end judges current phone type Number and Android version number, will be in current phone information registering to the push frame of corresponding manufacturer;Customer's representative end is by current phone Information and the information of corresponding manufacturer are sent to server agent end;Server agent end records current phone information and corresponding manufacturer Information;When applying or game starts, server agent terminates the message into application or the push of game manufacturer, and uses and correspond to Manufacturer push framework interface the message of push is pushed to corresponding mobile phone.
Further, the mode that the customer's representative terminates the push frame into multiple commercial vendors is that customer's representative end is called The access interface of the push frame of multiple commercial vendors.
Further, it is deleted when the customer's representative terminates the push frame of multiple commercial vendors in multiple commercial vendors push frame The resource repeated, simplifies resource, the necessary interface being uniformly accessed into multiple commercial vendors push frame.
Further, the customer's representative end judges that current phone Android version number is to judge whether the version number of Android is big In 5.0.
Further, the use corresponding manufacturer push framework interface is to be initialized to interface, and ensure to access The process that multiple commercial vendors push frame keeps active state.
Further, described to ensure that the process for accessing multiple commercial vendors push frame keeps active state to show according to current phone Android version number select keep-alive mode, if Android version number be more than 5.0, use Android primary work service class, will The process for obtaining push frame is primary in one end time startup of backstage interval, so that it is kept active state, is not closed by Android system It closes, otherwise uses process keep-alive techniques, so that the process of acquisition push frame is kept active state, do not closed by Android system.
Further, the process keep-alive techniques include:Create primary process, two process is monitored mutually, is activated, ensure into Journey is permanently present;A hiding interface is created, on the table by the covering of hiding interface, constantly activates oneself, ensures oneself forever It is foreground process.
The invention has the advantages that:
(1) the present invention can receive service by the push frame of access multiple commercial vendors on the Android system of customization Hold the various PUSH messages sent, it is ensured that the message of application or game can be accurately and timely is pushed to mobile phone, reaches good User experience.
(2) the present invention ensures that the process of access multiple commercial vendors push frame is in active state by process keep-alive techniques, Ensure the promptness of message push.
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.
Fig. 1 is the full platform mobile phone supplying system high-level schematic functional block diagram of compatibility disclosed by the embodiments of the present invention;
Fig. 2 is the full platform mobile phone method for pushing flow chart of compatibility disclosed by the embodiments of the present invention;
Number and the corresponding component title represented by letter in figure:
1, customer's representative end;2, server agent end;101, local information acquisition module;102, push frame accesses mould Block;103, notification module;104, process keep-alive module;201, logging modle;202, message pushing module.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes.
The present invention provides a kind of full platform mobile phone supplying system of compatibility and method, operation principle is by accessing more families The push frame of manufacturer can receive the various PUSH messages that server-side is sent, to reach on the Android system of customization Using or game on different Android systems, in time, accurately receive notification message purpose.
With reference to embodiment and specific implementation mode, the present invention is described in further detail.
As depicted in figs. 1 and 2, the full platform mobile phone supplying system of a kind of compatibility, the system comprises:1 He of customer's representative end Server agent end 2 is attached between the customer's representative end 1 and the server agent end 2 by network;
The customer's representative end 1 includes:Local information acquisition module 101, push frame AM access module 102, notification module 103 and process keep-alive module 104, the local information acquisition module 101, for obtain current phone equipment unit type, Android version number, Android ID and the addresses current phone mac;The push frame AM access module 102, for accessing multiple commercial vendors Push frame;The notification module 103, for notifying the information of current phone information and corresponding manufacturer to give server agent end 2;The process keep-alive module 104, for ensureing the process for accessing multiple commercial vendors push frame not by the Android system of current phone System is closed;
The server agent end 2 includes:Logging modle 201 and message pushing module 202, the logging modle 201 are used In the information of recording mobile phone information and corresponding manufacturer;The message pushing module 202, for that will be disappeared according to corresponding manufacturer's information Breath is pushed on corresponding mobile phone.
Wherein, the push frame of the multiple commercial vendors includes:Homing pigeon push, Baidu's cloud push, millet push, Ali push away Give, it is a push away, aurora push, Huawei's push and the push of friendly alliance.
A kind of full platform mobile phone method for pushing of compatibility, steps are as follows for the method:Multiple commercial vendors are accessed at customer's representative end 1 Push frame;Customer's representative end 1 obtains current phone information by Android primary interface;Customer's representative end 1 judges current phone Model and Android version number, will be in the push frame of current phone information registering to corresponding manufacturer;Customer's representative end 1 will work as remote holder The information of machine information and corresponding manufacturer is sent to server agent end 2;Server agent end 2 records current phone information and correspondence The information of manufacturer;When application or game start, the message of the access application of server agent end 2 or the push of game manufacturer, and make The message of push is pushed to corresponding mobile phone with corresponding manufacturer push framework interface.
Wherein, the mode that the push frame of multiple commercial vendors is accessed at the customer's representative end 1 is that customer's representative end 1 is called more The access interface of the push frame of manufacturer of family, customer's representative end 1 is managed collectively all push frames, can flexibly be controlled System, when there is new push frame to generate, 1, customer's representative end need to call the access interface of newly generated push frame.
Wherein, weight in multiple commercial vendors push frame is deleted when the push frame of multiple commercial vendors is accessed at the customer's representative end 1 Multiple resource, simplifies resource, and the necessary interface being uniformly accessed into multiple commercial vendors push frame improves the accurate of push frame access Property, reduce resource occupation.
Wherein, the customer's representative end 1 judges that current phone Android version number is to judge whether the version number of Android is more than 5.0。
Wherein, the use corresponding manufacturer push framework interface is to be initialized to interface, and ensure to access more families The process that manufacturer pushes frame keeps active state.
Wherein, described to ensure that the process for accessing multiple commercial vendors push frame keeps active state to show the peace according to current phone Tall and erect version number selects keep-alive mode, if Android version number is more than 5.0, uses the work service class of Android primary, will obtain The process for pushing frame starts once in backstage interval one end time, so that it is kept active state, is not closed by Android system, no Process keep-alive techniques are then used, so that the process of acquisition push frame is kept active state, is not closed by Android system.
Wherein, the process keep-alive techniques include:Primary process is created, two process is monitored mutually, activated, and ensures process forever It is remote to exist;A hiding interface is created, on the table by the covering of hiding interface, oneself is constantly activated, ensures before oneself being forever Platform process.
Android system is divided into according to the priority of process:Foreground process, visible process, service processes and null process,
Foreground process:Top layer activity (executed onResume);There is a Service, and is tied to user Interactive activity;StartForground functions are had invoked in process;It is carrying out broadcasting back to for onReceive functions It adjusts,
It can be seen that process:The activity blocked by dialog box, performs onPause;Possess and is tied to Activity's Service, but the Activity is blocked, such as by Home key, and onStop is performed,
Service processes:There is a Service being currently running, but not 1/2 characteristic,
The Service that background process is not currently running, only sightless Activity, i.e. Activity are performed OnStop functions,
Null process is free of the process of 4 big components of Android.
The application improves the process priority of oneself, reduces pent probability, it is ensured that and process is not closed by Android system, It is constantly in active state.
Above-described is only a kind of preferred reality being compatible with full platform mobile phone supplying system and method disclosed in this invention Apply mode, it is noted that for those of ordinary skill in the art, without departing from the concept of the premise of the invention, Various modifications and improvements can be made, these are all within the scope of protection of the present invention.

Claims (9)

1. a kind of full platform mobile phone supplying system of compatibility, which is characterized in that the system comprises:Customer's representative end and server generation End is managed, is attached by network between the customer's representative end and the server agent end;
The customer's representative end includes:Local information acquisition module, the AM access module of push frame, notification module and process keep-alive mould Block, the local information acquisition module, for obtaining the unit type of current phone equipment, Android version number, Android ID and working as The addresses preceding mobile phone mac;The push frame AM access module, the push frame for accessing multiple commercial vendors;The notification module is used It notifies to give server agent end in by the information of current phone information and corresponding manufacturer;The process keep-alive module, for ensureing The process for accessing multiple commercial vendors push frame is not closed by the Android system of current phone;
The server agent end includes:Logging modle and message pushing module, the logging modle are used for recording mobile phone information With the information of corresponding manufacturer;The message pushing module, for message to be pushed to corresponding hand according to corresponding manufacturer's information On machine.
2. the full platform mobile phone supplying system of compatibility according to claim 1, which is characterized in that the push of the multiple commercial vendors Frame includes:Homing pigeon push, the push of Baidu cloud, millet push, Ali's push, it is a push away, aurora push, Huawei's push and friendly alliance push away It send.
3. a kind of full platform mobile phone method for pushing of compatibility, which is characterized in that steps are as follows for the method:Customer's representative terminates into more The push frame of manufacturer of family;Customer's representative end obtains current phone information by Android primary interface;Customer's representative end judges to work as Preceding mobile phone model and Android version number, will be in the push frame of current phone information registering to corresponding manufacturer;It customer's representative end will Current phone information and the information of corresponding manufacturer are sent to server agent end;Server agent end record current phone information and The information of corresponding manufacturer;When application or game start, server agent terminates the message into application or the push of game manufacturer, and The message of push is pushed to corresponding mobile phone using corresponding manufacturer push framework interface.
4. the full platform mobile phone method for pushing of compatibility according to claim 3, which is characterized in that the customer's representative terminate into The mode of the push frame of multiple commercial vendors is that the access interface of the push frame of multiple commercial vendors is called at customer's representative end.
5. the full platform mobile phone method for pushing of compatibility according to claim 3, which is characterized in that the customer's representative terminate into The resource repeated in multiple commercial vendors push frame is deleted when the push frame of multiple commercial vendors, is simplified resource, is uniformly accessed into Duo Jiachang Quotient pushes the necessary interface in frame.
6. the full platform mobile phone method for pushing of compatibility according to claim 3, which is characterized in that the customer's representative end judges Current phone Android version number is to judge whether the version number of Android is more than 5.0.
7. the full platform mobile phone method for pushing of compatibility according to claim 3, which is characterized in that described to use corresponding manufacturer Push framework interface is to be initialized to interface, and ensure that the process for accessing multiple commercial vendors push frame keeps active state.
8. the full platform mobile phone method for pushing of compatibility according to claim 7, which is characterized in that described to ensure to access more factories The process that quotient pushes frame keeps active state to show according to the Android version number of current phone selection keep-alive mode, if Android version This number is more than 5.0, then uses the work service class of Android primary, and the process for obtaining push frame is spaced one end time on backstage Start once, so that its is kept active state, do not closed by Android system, otherwise use process keep-alive techniques, acquisition is made to push frame The process of frame keeps active state, is not closed by Android system.
9. the full platform mobile phone method for pushing of compatibility according to claim 8, which is characterized in that the process keep-alive techniques packet It includes:Primary process is created, two process is monitored mutually, activated, and the process of guarantee is permanently present;A hiding interface is created, will be hidden Interface covers on the table, constantly activates oneself, it is foreground process to ensure oneself forever.
CN201810459621.4A 2018-05-15 2018-05-15 Compatible full platform mobile phone supplying system and method Pending CN108683733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810459621.4A CN108683733A (en) 2018-05-15 2018-05-15 Compatible full platform mobile phone supplying system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810459621.4A CN108683733A (en) 2018-05-15 2018-05-15 Compatible full platform mobile phone supplying system and method

Publications (1)

Publication Number Publication Date
CN108683733A true CN108683733A (en) 2018-10-19

Family

ID=63805153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810459621.4A Pending CN108683733A (en) 2018-05-15 2018-05-15 Compatible full platform mobile phone supplying system and method

Country Status (1)

Country Link
CN (1) CN108683733A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569135A (en) * 2019-09-07 2019-12-13 武汉中海庭数据技术有限公司 interprocess communication method and system based on publish-subscribe mode
CN111245930A (en) * 2020-01-09 2020-06-05 深圳壹账通智能科技有限公司 Cross-platform message pushing method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724324A (en) * 2012-06-28 2012-10-10 用友软件股份有限公司 Information pushing and integrating device and information pushing and integrating method
CN107734070A (en) * 2017-11-22 2018-02-23 福建中金在线信息科技有限公司 The realization method and system of push

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724324A (en) * 2012-06-28 2012-10-10 用友软件股份有限公司 Information pushing and integrating device and information pushing and integrating method
CN107734070A (en) * 2017-11-22 2018-02-23 福建中金在线信息科技有限公司 The realization method and system of push

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569135A (en) * 2019-09-07 2019-12-13 武汉中海庭数据技术有限公司 interprocess communication method and system based on publish-subscribe mode
CN111245930A (en) * 2020-01-09 2020-06-05 深圳壹账通智能科技有限公司 Cross-platform message pushing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104883547B (en) Method and NVR based on network access equipment physical port access IPC
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN101453394B (en) Method, system and equipment for access control
CN103004171B (en) Diameter session is audited
CN101483676B (en) Network for securing special line user to access to network
CA2751149C (en) Method and apparatus for tracking device management data changes
CN108540565A (en) A method of the mobile terminal push based on MQTT agreements and statistics
CN105389160A (en) Information issuing method and device
CN110417560A (en) The method, apparatus and system of charging
CN103581111A (en) Communication method and system
CN103166767A (en) Charging and bandwidth controlling method, entities and system
CN102355509A (en) Method and device for transmitting and receiving message according to mobile number in contact list
CN108683733A (en) Compatible full platform mobile phone supplying system and method
CN108307393A (en) Network flow resource sharing method, device, system and storage medium
CN103596202B (en) Virtual HSS and its implementation
CN105072212B (en) To code method and to code system
CN102624674B (en) Intelligent switching system of client access server and method for same
CN103023704A (en) Method and system for accessing virtual network service equipment
CN106341463A (en) A mobile internet audio/video management and control system based on an internet of things
CN106612193A (en) Network deployment configuration method and device in virtualization technology
CN113194012A (en) Multi-agent management method, framework, equipment and storage medium based on Internet of things
CN106445479A (en) Information pushing method and apparatus
CN106156993A (en) A kind of information processing method and server
EP4258706A1 (en) Lan group fee calculation method and related device
CN103077078A (en) Method of defining state transitions in a software and application control management object

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

Application publication date: 20181019

RJ01 Rejection of invention patent application after publication