CN108833261A - One kind being based on Android platform client message pushing and optimizing method and device - Google Patents

One kind being based on Android platform client message pushing and optimizing method and device Download PDF

Info

Publication number
CN108833261A
CN108833261A CN201810633276.1A CN201810633276A CN108833261A CN 108833261 A CN108833261 A CN 108833261A CN 201810633276 A CN201810633276 A CN 201810633276A CN 108833261 A CN108833261 A CN 108833261A
Authority
CN
China
Prior art keywords
push
scheme
type
message
optimized
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
CN201810633276.1A
Other languages
Chinese (zh)
Other versions
CN108833261B (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.)
Beijing SF Intra City Technology Co Ltd
Original Assignee
Beijing SF Intra City Technology 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 Beijing SF Intra City Technology Co Ltd filed Critical Beijing SF Intra City Technology Co Ltd
Priority to CN201810633276.1A priority Critical patent/CN108833261B/en
Publication of CN108833261A publication Critical patent/CN108833261A/en
Application granted granted Critical
Publication of CN108833261B publication Critical patent/CN108833261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiment of the invention discloses one kind to be based on Android platform client message pushing and optimizing method, device, electronic equipment and storage medium, is related to message push technology field, for solving the problems, such as that prior art message push arrival rate is not high.The method includes:Type to be optimized is tested according to preset multiple push schemes, outbound message is chosen and is pushed to up to the highest push scheme of rate;The push scheme selected is issued to the type to be optimized to execute.

Description

One kind being based on Android platform client message pushing and optimizing method and device
Technical field
The present invention relates to message push technology fields, more particularly to a kind of Android platform client message that is based on to push Optimization method, device, electronic equipment and storage medium.
Background technique
With the fashionable of mobile device and development, city of the android system of Google in mobile terminal device systems now It accounts for up to 85.9% (mobile end data of the data from the western medium Gartner whole year in 2017 announced at the beginning of 2018), in The city of state accounts for also in 70% or so (without authoritative data supporting, data collection counts platform in major mobile terminal), delivery industry Product Android platform application in mobile terminal is also that accounting is maximum.
Mobile terminal application product be unable to do without PUSH message, any a mobile terminal product all to message push have it is no small according to Rely, and delivery industry product is even more the demand for having stronger stability and arrival rate to message push.Google releases GCM (Google Cloud Messaging, Google's cloud messaging service) is high using having on Android system to guarantee to operate in Push guarantee, but as Google exits Chinese market, the country is not available the service.Again since Google increases income early stage Android system, so that domestic many cell phone manufacturers can be packed into the system customized to the mobile device of oneself research and development (such as Millet mobile phone MIUI system, Huawei mobile phone EMUI, Meizu mobile phone Flyme OS etc.).These customize system and message are pushed The support of ability and realization rate are different, and the push arrival rate that Android is applied in industry is not high, and most of companies are all Only with the Push Service (being pushed using the message that the long connection of high viability is realized) of third company, public data is aobvious Show, 40 percent synthesis arrival rate has been leading.
And low arrival rate is very big for the negative effect of delivery industry product, firstly, dispatching person may because of notice timeliness problem Some economic losses, such as distribution scheduling are caused to change and fail to notify in time, so that dispatching person's working efficiency and expectation are not Symbol, dispatching person reduce technology degree of belief, and product utility does not reach expectation.
Summary of the invention
In view of this, the embodiment of the present invention provides one kind based on Android platform client message pushing and optimizing method, dress It sets, electronic equipment and storage medium, can be improved message push arrival rate.
In a first aspect, the embodiment of the present invention provides one kind based on Android platform client message pushing and optimizing method, packet It includes:
Type to be optimized is tested according to preset multiple push schemes, outbound message is chosen and is pushed to up to rate highest Push scheme;
The push scheme selected is issued to the type to be optimized to execute.
With reference to first aspect, in a kind of embodiment of first aspect, preset multiple push schemes include with More than two schemes in lower:System-level push pushes long connection mode, certainly research and development push poll pattern, third party from research and development Push Service, Google's push, combination push scheme;Wherein, the combination push scheme comprises at least one of the following:It is pushed away from research and development Poll pattern+long connection mode is sent, A+ third party is pushed from research and development push poll pattern+third party's push, third party and pushes B.
With reference to first aspect, described according to preset multiple push schemes in the another embodiment of first aspect Type to be optimized is tested, selection outbound message, which is pushed to up to the highest push scheme of rate, includes:
Judge whether the type to be optimized supports system-level Push Service, if it is tests it and use system-level push away Message push arrival rate when business is taken, if message push arrival rate is more than default arrival rate threshold value, by system-level push As the push scheme selected, if system-level Push Service or message push arrival rate is not supported to be less than and default to Up to rate threshold value, then perform the next step rapid;
It is selected according to preset order except system-level push and had been carried out from preset multiple push schemes Two push schemes outside the push scheme of ABTest test carry out ABTest test to a variety of different type of machines, obtain test knot Fruit, and the high push scheme of test result in described two push schemes is issued to the type to be optimized and is tested, Wherein a variety of different type of machines include the type to be optimized;
Whether the message push arrival rate for judging the type to be optimized is more than default arrival rate threshold value, if it is, Otherwise the push scheme that the high push scheme of the test result is selected as described in is gone into previous step.
With reference to first aspect, described to be surveyed in described two push schemes in the another embodiment of first aspect The high push scheme of test result is issued to the type to be optimized and test:
Obtain test data of the type to be optimized under the high push scheme of the test result, wherein described Test data includes mobile device unique designation, device model, system version, the system type of customization, customization version, arrives Up to rear electricity, do not reach when electricity, do not reach when network delay, arrived when network delay, the equipment push arrival rate;
Clustering is carried out to the test data, decision is carried out with the selection to push scheme.
With reference to first aspect, described that the test data is clustered in another embodiment of first aspect Analysis, carrying out decision with the selection to push scheme includes:
Network condition is subjected to interval division, 5000ms is the above are weak net, and that the following are network conditions is normal by 5000ms, without prolonging When data be then no net situation;Electricity is divided into low battery, non-low battery, in charging, wherein 20 percent the following are low Electricity, 20 percent that the above are electricity is normal, and distinguishes whether user opens battery saving mode;Memory situation is divided into mobile phone Two kinds of normal and low memory of system offer;
If it find that current push scheme has an immense impact on to electricity and memory so that user is allowed not to be available mobile phone, It does not select current push scheme then, carries out the ABTest test and selection of next push scheme.
With reference to first aspect, in another embodiment of first aspect, when the push scheme selected is that combination pushes away Include uniqueness mark in the message when sending scheme, when so that client receiving the message of different service push, passes through The uniqueness flag filter falls duplicate message.
Second aspect, the embodiment of the present invention provide a kind of based on Android platform client message pushing and optimizing device, packet It includes:
Test and selection module are chosen for testing according to preset multiple push schemes type to be optimized Outbound message pushes the highest push scheme of arrival rate;
Module is issued, the push scheme for will select is issued to the type to be optimized to execute.
In conjunction with second aspect, in a kind of embodiment of second aspect, preset multiple push schemes include with More than two schemes in lower:System-level push pushes long connection mode, certainly research and development push poll pattern, third party from research and development Push Service, Google's push, combination push scheme;Wherein, the combination push scheme comprises at least one of the following:It is pushed away from research and development Poll pattern+long connection mode is sent, A+ third party is pushed from research and development push poll pattern+third party's push, third party and pushes B.
In conjunction with second aspect, in the another embodiment of second aspect, the test and selection module include:
First judging submodule, for judging whether the type to be optimized supports system-level Push Service, if it is Message push arrival rate when it uses system-level Push Service is then tested, if message push arrival rate is more than default arrival rate Threshold value, then by the system-level push scheme for pushing and being selected as described in, if system-level Push Service or message is not supported to push away It send arrival rate to be less than default arrival rate threshold value, then goes to test submodule;
Submodule is tested, for being selected from preset multiple push schemes according to preset order except system-level push Two push schemes outside the push scheme of ABTest test had been carried out, ABTest test is carried out to a variety of different type of machines, Test result is obtained, and the high push scheme of test result in described two push schemes is issued to the type to be optimized It is tested, wherein a variety of different type of machines include the type to be optimized;
Second judgment submodule, for judging that the message of the type to be optimized pushes whether arrival rate is more than to default to Up to rate threshold value, if it is, otherwise the push scheme that the high push scheme of the test result is selected as described in turns To test submodule.
In conjunction with second aspect, in the another embodiment of second aspect, the test submodule, including:
Acquisition submodule, for obtaining test of the type to be optimized under the high push scheme of the test result Data, wherein the test data include mobile device unique designation, device model, system version, customization system class Type, electricity when customizing version, electricity after arrival, not reaching, network delay when not reaching, network delay when arrived, this sets Standby push arrival rate;
Submodule is analyzed, for carrying out clustering to the test data, decision is carried out with the selection to push scheme.
In conjunction with second aspect, in another embodiment of second aspect, the analysis submodule includes:
Submodule is divided, for network condition to be carried out interval division, 5000ms is the above are weak net, and the following are nets by 5000ms Network situation is normal, and no-delay data are then no net situation;Electricity is divided into low battery, non-low battery, in charging, wherein percentage 20 the following are low battery, 20 percent that the above are electricity is normal, and distinguishes whether user opens battery saving mode;By memory Situation divides into two kinds of normal and low memory of cell phone system offer;
Submodule is selected, for if it find that current push scheme has an immense impact on to electricity and memory so that allowing use Family is not available mobile phone, then does not select current push scheme, carries out the ABTest test and selection of next push scheme.
In conjunction with second aspect, in another embodiment of second aspect, when the push scheme selected is that combination pushes away Include uniqueness mark in the message when sending scheme, when so that client receiving the message of different service push, passes through The uniqueness flag filter falls duplicate message.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, and the electronic equipment includes:Shell, is deposited processor Reservoir, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, processor and memory setting On circuit boards;Power circuit, for each circuit or the device power supply for above-mentioned electronic equipment;Memory is for storing and can hold Line program code;Processor is run and executable program code pair by reading the executable program code stored in memory The program answered, for executing aforementioned any method.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Media storage has one or more program, and one or more of programs can be executed by one or more processor, with Realize aforementioned any method.
It is provided in an embodiment of the present invention a kind of based on Android platform client message pushing and optimizing method, device, electronics Equipment and storage medium test type to be optimized first, in accordance with preset multiple push schemes, choose outbound message and push away It send arrival rate highest push scheme, the push scheme selected is then issued to the type to be optimized to hold Row.It is supplied to type use to be optimized due to having selected the message push highest push scheme of arrival rate, therefore the present invention is real Applying example can be improved message push arrival rate.
Detailed description of the invention
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 technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that the present invention is based on the flow charts of Android platform client message pushing and optimizing method embodiment one;
Fig. 2 is that the present invention is based on the flow charts of Android platform client message pushing and optimizing method embodiment two;
Fig. 3 is the structure chart of the invention based on Android platform client message pushing and optimizing Installation practice one;
Fig. 4 is the structure chart of the invention based on Android platform client message pushing and optimizing Installation practice two;
Fig. 5 is the structure chart of electronic equipment embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the present invention, which provides one kind, is based on Android platform client message pushing and optimizing method, Including:
Step 101:Type to be optimized is tested according to preset multiple push schemes, outbound message is chosen and is pushed to Up to the highest push scheme of rate;
In this step, preset multiple push schemes include more than two schemes in following:System-level push is researched and developed certainly It pushes long connection mode, pushed from research and development push poll pattern, third party's Push Service, Google, combination push scheme;Wherein, The combination push scheme comprises at least one of the following:Poll is pushed from research and development push poll pattern+long connection mode, from research and development Mode+third party's push, third party push A+ third party and push B.
Wherein, system-level push refers to the Push Service for the system that such as millet, Huawei have, and " from researching and developing " refers to user The push technology voluntarily researched and developed, third party's Push Service are the Push Service that other people provide on the market, as homing pigeon push, aurora push away It send, friendly alliance push etc., combination push scheme can be attempted to adopt when arrival rate is unsatisfactory for requiring for pushing in single push mode Scheme is pushed with the combination of two or more Push Services superposition (using simultaneously), to improve push arrival rate.
Preset push amount of projects is The more the better, to provide extensive selectivity.Such as it can be using the default of following table Push scheme:
Step 102:The push scheme selected is issued to the type to be optimized to execute.
In the present embodiment, type to be optimized is tested first, in accordance with preset multiple push schemes, selects and disappears The breath push highest push scheme of arrival rate, is then issued to the type to be optimized for the push scheme selected to carry out It executes.Type to be optimized is supplied to due to having selected the message push highest push scheme of arrival rate to use, therefore this implementation Example can be improved message push arrival rate.The present embodiment, which is suitable for being pushed to up to rate message, to have certain requirements industry such as express delivery Industry etc..
In a further embodiment, as shown in Fig. 2, above-mentioned steps 101 include:
Step 1011:Judge whether the type to be optimized supports system-level Push Service, if it is tests it and adopt Message when with system-level Push Service pushes arrival rate, will if message push arrival rate is more than default arrival rate threshold value It is system-level to push the push scheme selected as described in, if system-level Push Service or message is not supported to push arrival rate not More than default arrival rate threshold value, then perform the next step rapid;
It in this step, first determines whether mobile end system supports system-level Push Service, and starts to test it and be pushed to Up to rate, if up to 99.9% (usually system-level to push the arrival rate declared), the equipment arrival rate reached it is optimal, at this time can be with Directly by the system-level push scheme for pushing and being selected as described in.Default arrival rate threshold value can flexibly be set according to actual needs It is fixed, such as it is set as the desired numerical value such as 90%, 80%, 50%.
Step 1012:Selected from preset multiple push schemes according to preset order except it is system-level push and into Two push schemes outside the push scheme of the ABTest that went test carry out ABTest test to a variety of different type of machines, are surveyed Test result, and the high push scheme of test result in described two push schemes is issued to the type to be optimized and is surveyed Examination, wherein a variety of different type of machines include the type to be optimized;
In this step, when mobile end system does not support system-level Push Service, then the push configuration decisions of this step are triggered, From preset push scheme select highest priority push scheme (such as:Manual configuration researches and develops Push Service poll+length certainly Connect combination priority grade highest), and the high push scheme of preferential level (such as:Manual configuration third party Push Service " homing pigeon " Preferential level is high) a different group of planes, the ABTest of different periods are carried out, and obtain mobile phone test data;After obtaining test result, choosing It selects high result and is issued to type to be optimized, and test the result of more big data quantity.
ABTest test citing:It is used on the same period of day rank in same type group simultaneously different Push Service is pushed such as this week the week using A, then next week the week uses B to same user group.Collect it Effect data is subject to and integrates arrival rate determines which preferential use of AB.
Step 1013:Whether the message push arrival rate for judging the type to be optimized is more than default arrival rate threshold value, If it is, otherwise the push scheme that the high push scheme of the test result is selected as described in is gone to previous step Suddenly.
In this step, if obtained result undesirably numerical value (such as default arrival rate threshold value be 45%), continues The lower scheme of priority is selected to be compared in scheme list, until the push scheme higher than desired numerical value is chosen, and The program can be improved to priority list, and conclusion is reported to technical staff.If final all schemes do not comply with expectation, It then can choose the scheme to behave oneself best, and notification technique personnel.
In this way, by testing preset a variety of push schemes, can choose outbound message be pushed to it is highest up to rate Push scheme.
It is well known that the environment of Android client mobile phone in operation is extremely complex.There are network, electricity, permission Configuration, memory situation, CPU pressure etc. influence factor.For which data, this is wanted, the decision which data should not be wanted to close weight It wants.Through constantly attempting to find, the main factor for influencing push arrival rate is the survival that (1) grinds Push Service certainly, and whether (2) have The support of system-level push clothes.And influence (1) because being known as electricity (background service is automatically closed in low battery system), memory is (low The automatic relationship background service of memory system), network (network is unreachable to cause message unreachable), whether user right (is agreed to take Business is in running background).
Therefore in order to increase the accuracy of push program decisions, above-mentioned steps 1012 may include:
Step 10121:Test data of the type to be optimized under the high push scheme of the test result is obtained, Wherein, the test data includes:
1) mobile device unique designation
2) device model
3) system version
4) system type of customization, customization version
5) electricity, electricity when not reaching after reaching (estimation is got)
6) network delay when not reaching, network delay when arrived
7) the push arrival rate of the equipment.
Note 1:It estimates that electricity method, client obtain the charged state of mobile phone, electricity at that time is judged with time dimension, Example:If 10:00 reaches once, electricity 90%, and 10:45 do not reach, and 11:15 reach primary, electricity 75%, therefore can be substantially Electricity, if there is charging around here, shortens electricity percentage range between 75~90% when estimation does not reach.
Note 2:Achievement data when not reaching is collected to be stored in mobile phone, is uploaded when network condition is excellent.
Step 10122:Clustering is carried out to the test data, decision is carried out with the selection to push scheme.
In this step, the test data is subjected to integrated treatment, obtains the entirety for the equipment and the type equipment The various information of arrival rate and the type equipment can specifically carry out clustering (i.e. by class sequence, example in order to analyze Such as according to type and system version), decision is carried out with the push Scheme Choice to the type to be optimized.
The specific processing scheme of test data clustering:
Test data is stored with mobile device unique designation, includes above-mentioned all fields, and increase statistical time section newly (time) field.
Network delay when network condition being divided into when not reaching and be arrived, and carry out interval division, 5000ms or more For weak net, that the following are network conditions is normal by 5000ms, and no-delay data are then no net situation;
Low battery when electricity being divided into when not reaching and be arrived, non-low battery, in charging, and 20 percent with It is down low battery, 20 percent that the above are electricity is normal, and distinguishes whether user opens battery saving mode.
Memory situation is divided into two kinds of normal and low memory that cell phone system provides.
All softwares installed in memory mobile phone.
The push arrival rate of the mobile phone.
The currently used push scheme of the mobile phone (system is ground certainly, combination, GCM etc.)
Such as:Institute's organic type is divided into the system (such as millet, Huawei, Meizu) of each manufacturer's customization with type dimension.It is right Individually handled and decision in different types, if it find that current push scheme to electricity and memory have an immense impact on As for allowing user not to be available mobile phone, then current push scheme is not selected, carry out the ABTest test and choosing of next push scheme It selects.
And remainder data, when transferring to final decision undesirable, technical staff intervenes use manually.
In above embodiments, it is preferred that when the push scheme selected is combination push scheme, include in the message Uniqueness mark (uniqueness that the mark ensures message) leads to when so that client receiving the message of different service push It crosses the uniqueness flag filter and falls duplicate message.In this manner it is ensured that user only receives a message, avoid repeating to receive Same messages affect user experience.
Specifically, client can store the uniqueness mark of the message notified, and record whether user effectively locates Reason, when receiving the message of the same content from different service push, using time order and function as foundation, what display reached at first Message.Remaining message is discarded.If arrival time gap is larger, display is decided whether according to whether user is effectively treated The message shown does not continue to show repetition message if user does not read the message.
To sum up, in practical applications, above-mentioned technical proposal can effectively solve the problem that the pushing and optimizing continued to optimize preferentially, and It copes with new type to emerge, the scheme optimized operation can also be selected in multiple compare.And in sample and scheme accumulation foot In enough comprehensive situations, the human resources of a large amount of technical staff can be saved.
And for the beneficial effect of industry:
1, the performance for obtaining the various Push Services widely applied, is beneficial to industry export technique conclusion and data.
2, the comprehensive arrival rate of product Push Service is substantially improved to promote end user's working efficiency.
3, the handling characteristics of delivery industry application Push Service are obtained to study more excellent products scheme.
Fig. 3 is the structural representation of the invention based on Android platform client message pushing and optimizing Installation practice one Figure, as shown in figure 3, the device of the present embodiment may include:
Test and selection module 31 are selected for testing according to preset multiple push schemes type to be optimized It takes out message and pushes the highest push scheme of arrival rate;
Module 32 is issued, the push scheme for will select is issued to the type to be optimized to execute.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle and skill Art effect is similar, and details are not described herein again.
Preferably, preset multiple push schemes include more than two schemes in following:System-level push is ground certainly Hair pushes long connection mode, certainly research and development push poll pattern, third party's Push Service, Google's push, combination push scheme;Its In, the combination push scheme comprises at least one of the following:It is pushed from research and development push poll pattern+long connection mode, from research and development Poll pattern+third party's push, third party push A+ third party and push B.
Fig. 4 is the embodiment improved on the basis of Fig. 3 embodiment, as shown in figure 4, the test and selection module 31 include:
First judging submodule 311, for judging whether the type to be optimized supports system-level Push Service, if It is the message push arrival rate tested when it uses system-level Push Service, if message push arrival rate is more than default reaches Rate threshold value, then by the system-level push scheme for pushing and being selected as described in, if not supporting system-level Push Service or message Push arrival rate is less than default arrival rate threshold value, then goes to test submodule 312;
Submodule 312 is tested, for being selected from preset multiple push schemes according to preset order except system-level A variety of different type of machines are carried out ABTest survey by push and two push schemes outside the push scheme for having carried out ABTest test Examination, obtains test result, and the high push scheme of test result in described two push schemes is issued to described to be optimized Type is tested, wherein a variety of different type of machines include the type to be optimized;
Second judgment submodule 313, for judging that the message of the type to be optimized pushes whether arrival rate is more than pre- If arrival rate threshold value, if it is, the push scheme that the high push scheme of the test result is selected as described in, no Then, test submodule 312 is gone to.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle and skill Art effect is similar, and details are not described herein again.
Preferably, the test submodule 312, including:
Acquisition submodule, for obtaining test of the type to be optimized under the high push scheme of the test result Data, wherein the test data include mobile device unique designation, device model, system version, customization system class Type, electricity when customizing version, electricity after arrival, not reaching, network delay when not reaching, network delay when arrived, this sets Standby push arrival rate;
Submodule is analyzed, for carrying out clustering to the test data, decision is carried out with the selection to push scheme.
Preferably, the analysis submodule includes:
Submodule is divided, for network condition to be carried out interval division, 5000ms is the above are weak net, and the following are nets by 5000ms Network situation is normal, and no-delay data are then no net situation;Electricity is divided into low battery, non-low battery, in charging, wherein percentage 20 the following are low battery, 20 percent that the above are electricity is normal, and distinguishes whether user opens battery saving mode;By memory Situation divides into two kinds of normal and low memory of cell phone system offer;
Submodule is selected, for if it find that current push scheme has an immense impact on to electricity and memory so that allowing use Family is not available mobile phone, then does not select current push scheme, carries out the ABTest test and selection of next push scheme.
It preferably, include uniqueness mark in the message when the push scheme selected is combination push scheme, with When client being made to receive the message of different service push, duplicate message is fallen by the uniqueness flag filter.In this way, It can guarantee that user only receives a message, avoid repeating to receive same messages affect user experience.
The embodiment of the present invention also provides a kind of electronic equipment, as shown in figure 5, method shown in Fig. 1-2 of the present invention may be implemented The process of embodiment, the electronic equipment include:Shell 41, processor 42, memory 43, circuit board 44 and power circuit 45, In, circuit board 44 is placed in the space interior that shell 41 surrounds, and processor 42 and memory 43 are arranged on circuit board 44;Power supply Circuit 45, for each circuit or the device power supply for above-mentioned electronic equipment;Memory 43 is for storing executable program code; Processor 42 runs journey corresponding with executable program code by reading the executable program code stored in memory 43 Sequence, for executing method described in aforementioned either method embodiment.
Processor 42 to the specific implementation procedures of above-mentioned steps and processor 42 by operation executable program code come The step of further executing may refer to the description of embodiment of the method shown in Fig. 1-2 of the present invention, and details are not described herein.
The electronic equipment exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes:Smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind of equipment can show and play multimedia content.Such equipment includes:Audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server:There is provided the equipment of the service of calculating, the composition of server includes that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic equipments with data interaction function.
The embodiment of the present invention also provides a kind of computer readable storage medium, storage in the computer readable storage medium There is computer program, the computer program realizes that method described in any of the above-described embodiment of the method walks when being executed by processor Suddenly.
The embodiment of the present invention also provides a kind of application program, the application program be performed with realize the present invention either one The method that method embodiment provides.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.For convenience of description, description apparatus above is to be divided into various units/modules with function to describe respectively. Certainly, each unit/module function can be realized in the same or multiple software and or hardware in carrying out the present invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. one kind is based on Android platform client message pushing and optimizing method, which is characterized in that including:
Type to be optimized is tested according to preset multiple push schemes, selection outbound message, which is pushed to up to rate is highest, to be pushed away Send scheme;
The push scheme selected is issued to the type to be optimized to execute.
2. according to claim 1 be based on Android platform client message pushing and optimizing method, which is characterized in that institute Stating preset multiple push schemes includes more than two schemes in following:System-level push, the certainly long connection mode of research and development push, From research and development push poll pattern, third party's Push Service, Google's push, combination push scheme;Wherein, the combination push scheme It comprises at least one of the following:From research and development push poll pattern+long connection mode, from the push of research and development push poll pattern+third party, Third party pushes A+ third party and pushes B.
3. according to claim 2 be based on Android platform client message pushing and optimizing method, which is characterized in that institute It states and type to be optimized is tested according to preset multiple push schemes, choose outbound message and be pushed to up to the highest push of rate Scheme includes:
Judge whether the type to be optimized supports system-level Push Service, if it is tests it and system-level push is used to take Message when business pushes arrival rate, if message push arrival rate is more than default arrival rate threshold value, using system-level push as The push scheme selected, if system-level Push Service or message is not supported to push arrival rate and be less than default arrival rate Threshold value then performs the next step rapid;
It is selected from preset multiple push schemes according to preset order except system-level push and had carried out ABTest survey Two push schemes outside the push scheme of examination carry out ABTest test to a variety of different type of machines, obtain test result, and by institute It states the push scheme that test result is high in two push schemes and is issued to the type to be optimized and tested, wherein described more Kind different type of machines includes the type to be optimized;
Whether the message push arrival rate for judging the type to be optimized is more than default arrival rate threshold value, if it is, by institute It states the push scheme that the high push scheme of test result is selected as described in and otherwise goes to previous step.
4. according to claim 3 be based on Android platform client message pushing and optimizing method, which is characterized in that institute It states to be issued to the type to be optimized and test the high push scheme of test result in described two push schemes and includes:
Obtain test data of the type to be optimized under the high push scheme of the test result, wherein the test After data are comprising mobile device unique designation, device model, system version, the system type of customization, customization version, arrival Electricity, electricity when not reaching, network delay when not reaching, network delay when arrived, the equipment push arrival rate;
Clustering is carried out to the test data, decision is carried out with the selection to push scheme.
5. according to claim 4 be based on Android platform client message pushing and optimizing method, which is characterized in that institute It states and clustering is carried out to the test data, carrying out decision with the selection to push scheme includes:
Network condition is subjected to interval division, 5000ms is the above are weak net, 5000ms the following are network conditions normal, no-delay number According to being then no net situation;Electricity is divided into low battery, non-low battery, in charging, wherein 20 percent the following are low battery, 20 percent that the above are electricity is normal, and distinguishes whether user opens battery saving mode;Memory situation is divided into cell phone system Two kinds of normal and low memory provided;
If it find that current push scheme has an immense impact on to electricity and memory so that allowing user not to be available mobile phone, then not The current push scheme of selection carries out the ABTest test and selection of next push scheme.
6. according to claim 2 be based on Android platform client message pushing and optimizing method, which is characterized in that when It include uniqueness mark in the message, so that client receives difference when the push scheme selected is combination push scheme When servicing the message of push, duplicate message is fallen by the uniqueness flag filter.
7. one kind is based on Android platform client message pushing and optimizing device, which is characterized in that including:
Test and selection module select and disappear for testing according to preset multiple push schemes type to be optimized The breath push highest push scheme of arrival rate;
Module is issued, the push scheme for will select is issued to the type to be optimized to execute.
8. according to claim 7 be based on Android platform client message pushing and optimizing device, which is characterized in that institute Stating preset multiple push schemes includes more than two schemes in following:System-level push, the certainly long connection mode of research and development push, From research and development push poll pattern, third party's Push Service, Google's push, combination push scheme;Wherein, the combination push scheme It comprises at least one of the following:From research and development push poll pattern+long connection mode, from the push of research and development push poll pattern+third party, Third party pushes A+ third party and pushes B.
9. according to claim 8 be based on Android platform client message pushing and optimizing device, which is characterized in that institute It states test and chooses module and include:
First judging submodule is if it is surveyed for judging whether the type to be optimized supports system-level Push Service Message push arrival rate when it uses system-level Push Service is tried, if message push arrival rate is more than default arrival rate threshold Value, then by the system-level push scheme for pushing and being selected as described in, if system-level Push Service or message is not supported to push Arrival rate is less than default arrival rate threshold value, then goes to test submodule;
Submodule is tested, for being selected from preset multiple push schemes according to preset order except system-level push and Two push schemes outside the push scheme of ABTest test were carried out, ABTest test is carried out to a variety of different type of machines, is obtained Test result, and the high push scheme of test result in described two push schemes is issued to the type to be optimized and is carried out Test, wherein a variety of different type of machines include the type to be optimized;
Second judgment submodule, for judging that the message of the type to be optimized pushes whether arrival rate is more than default arrival rate Threshold value, if it is, otherwise the push scheme that the high push scheme of the test result is selected as described in is gone to survey Swab module.
10. according to claim 9 be based on Android platform client message pushing and optimizing device, which is characterized in that institute Test submodule is stated, including:
Acquisition submodule, for obtaining test number of the type to be optimized under the high push scheme of the test result According to, wherein the test data include mobile device unique designation, device model, system version, customization system type, Customize version, electricity after arrival, electricity when not reaching, network delay when not reaching, network delay when arrived, the equipment Push arrival rate;
Submodule is analyzed, for carrying out clustering to the test data, decision is carried out with the selection to push scheme.
CN201810633276.1A 2018-06-19 2018-06-19 Client message pushing optimization method and device based on Android platform Active CN108833261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810633276.1A CN108833261B (en) 2018-06-19 2018-06-19 Client message pushing optimization method and device based on Android platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810633276.1A CN108833261B (en) 2018-06-19 2018-06-19 Client message pushing optimization method and device based on Android platform

Publications (2)

Publication Number Publication Date
CN108833261A true CN108833261A (en) 2018-11-16
CN108833261B CN108833261B (en) 2020-09-25

Family

ID=64141758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810633276.1A Active CN108833261B (en) 2018-06-19 2018-06-19 Client message pushing optimization method and device based on Android platform

Country Status (1)

Country Link
CN (1) CN108833261B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839977A (en) * 2020-06-24 2021-12-24 顺丰科技有限公司 Message pushing method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7246205B2 (en) * 2004-12-22 2007-07-17 Intel Corporation Software controlled dynamic push cache
CN103179520A (en) * 2011-12-22 2013-06-26 中国电信股份有限公司 Data pushing system and method based on receiver state
CN106357523A (en) * 2016-11-10 2017-01-25 成都路行通信息技术有限公司 Information pushing method for guaranteeing timely arrival of pushed information, device and terminal
CN107171926A (en) * 2017-03-23 2017-09-15 深圳市口袋网络科技有限公司 The switching method and device of multi-platform message push service
CN107872528A (en) * 2017-11-21 2018-04-03 口碑(上海)信息技术有限公司 Information push method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7246205B2 (en) * 2004-12-22 2007-07-17 Intel Corporation Software controlled dynamic push cache
CN103179520A (en) * 2011-12-22 2013-06-26 中国电信股份有限公司 Data pushing system and method based on receiver state
CN106357523A (en) * 2016-11-10 2017-01-25 成都路行通信息技术有限公司 Information pushing method for guaranteeing timely arrival of pushed information, device and terminal
CN107171926A (en) * 2017-03-23 2017-09-15 深圳市口袋网络科技有限公司 The switching method and device of multi-platform message push service
CN107872528A (en) * 2017-11-21 2018-04-03 口碑(上海)信息技术有限公司 Information push method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839977A (en) * 2020-06-24 2021-12-24 顺丰科技有限公司 Message pushing method and device, computer equipment and storage medium
CN113839977B (en) * 2020-06-24 2024-04-19 顺丰科技有限公司 Message pushing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108833261B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN105407494B (en) Network capacity extension method and device
CN105487760B (en) Method and device for displaying message and electronic equipment
CN102724738B (en) Multimode terminal and method and device for selecting resident network for multimode terminal
CN103747132B (en) The method of display message and terminal
CN105406893B (en) A kind of processing method of communication service, device and communication terminal
CN113412608B (en) Content pushing method and device, server and storage medium
CN106850106B (en) Radio environment map data collection system and method based on mobile crowd sensing
CN102831170A (en) Pushing method and device of event information
CN102769691A (en) Prompt method of new message and communication terminal
CN102098389A (en) Method and device for automatically reminding schedule as well as terminal equipment
CN102752433A (en) Terminal and call record file name generating method
CN106599314A (en) Weather variation prompt method and device
CN107734579A (en) A kind of mobile platform energy consumption optimization method based on Markovian decision process
CN108833261A (en) One kind being based on Android platform client message pushing and optimizing method and device
CN109392053A (en) A kind of method, equipment and computer readable storage medium selecting persistent district
CN110430020A (en) The method of adaptive polo placement colony dispatching MCS based on CQI statistical information
CN106131238B (en) The classification method and device of IP address
CN104168643B (en) Resident processing method and processing device
CN103873533B (en) Methods, devices and systems for pushed information
CN104065684B (en) Information processing method, electronic equipment and terminal device
CN104111926B (en) The generation method and device of the concern recommendation list of address list
CN205941952U (en) Weather information early warning system
CN105117142B (en) A kind of short message operation and terminal
CN102769919B (en) Communication channel selecting method and electronic device thereof
CN204069040U (en) Based on the generator of base station electric generation management system that mobile network and note APP hold

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
GR01 Patent grant
GR01 Patent grant