CN108228361A - A kind of information push method, terminal and computer readable storage medium - Google Patents

A kind of information push method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108228361A
CN108228361A CN201711191817.1A CN201711191817A CN108228361A CN 108228361 A CN108228361 A CN 108228361A CN 201711191817 A CN201711191817 A CN 201711191817A CN 108228361 A CN108228361 A CN 108228361A
Authority
CN
China
Prior art keywords
message
push
app
target terminal
pushed
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
CN201711191817.1A
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201711191817.1A priority Critical patent/CN108228361A/en
Publication of CN108228361A publication Critical patent/CN108228361A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention proposes a kind of information push method, including:Based on preset pushing software development kit SDK, generation message pushing application program APP;When to preset target terminal PUSH message, APP is pushed by the message and sends the message to setting server, so that the message is pushed to the target terminal by the setting server.The invention also discloses a kind of terminal and computer readable storage mediums, by implementing said program, APP is pushed by message and carries out message push test, it is excessively cumbersome that message push platform test message push operation can effectively be avoided passing through, effectively simplified message push test operating procedure, raising message it can push testing efficiency;It greatly reduces the development cost of message push and investigates the cost of bug;It solve thes problems, such as that message push delays to reach target terminal, improves the speed and efficiency of message push.

Description

A kind of information push method, terminal and computer readable storage medium
Technical field
The present invention relates to a kind of field of communication technology more particularly to information push method, terminal and computer-readable storages Medium.
Background technology
Message pushes (push) function and is runed most as APP (Application, the application program) product installed in terminal Important operation means, are paid attention to by more and more APP developers.In the mobile Internet epoch of information overflow, message pushes away It is that APP runs top quality channel to send function, and using properly can help product operation personnel more efficiently to realize operation target. APP developer in Bug (defect) stages of exploitation debugging message push function or investigation message push function, passes through transmission Message pushes, and to test, whether APP can receive message push or whether test post push protocol is problematic.And mesh The mode of preceding test can only from the platform of SDK (Software Development Kit, Software Development Kit) provider or The platform that the Push Service end of person APP provides goes to push, but by platform PUSH message, can by login account, password and/or The limitation of the operations such as hosts environment is configured, results in developer's debugging message push function or investigation message push function Bug Operation it is excessively cumbersome, cost is caused greatly to increase.
Invention content
The technical problem to be solved by the present invention is to, platform test message is pushed by message in the prior art and is pushed, operation It is excessively cumbersome.
The technical solution adopted by the present invention is a kind of information push method, including:
Based on preset pushing software development kit SDK, generation message pushing application program APP;
When to preset target terminal PUSH message, APP is pushed by the message and sends the message to setting Server, so that the message is pushed to the target terminal by the setting server.
Optionally, the push SDK includes the corresponding application programming interfaces of message push function of the setting server The configuration information of API;
It is described that message pushing application program APP is generated based on preset pushing software development kit SDK, including:
By the push SDK, according to the configuration information of the corresponding API of message push function of the setting server, The corresponding API of message push function of the setting server is called, generates the message push APP.
Optionally, it is described that setting server is sent the message to by message push APP, including:
Preset message push protocol is set in the message pushes APP;
Based on the preset message push protocol, sent the message to and set by message push APP Determine server.
Optionally, the preset message push protocol includes:The preset message push association of the setting server The message push protocol that view and/or user pre-enter.
Optionally, the quantity of the target terminal is multiple;
It is described that setting server is sent the message to by message push APP, for the setting server The message is pushed into the target terminal, including:
The identification information of each target terminal is set in the message pushes APP;
APP is pushed by the message and the identification information of each target terminal by the message, is sent to setting Server for the setting identification information of the server based on each target terminal, the message is pushed to each The target terminal.
The present invention also provides a kind of terminal, the terminal includes processor and memory;
The processor is used to perform the program of message push stored in memory, to realize following steps:
Based on preset push SDK, generation message push APP;
When to preset target terminal PUSH message, APP is pushed by the message and sends the message to setting Server, so that the message is pushed to the target terminal by the setting server.
Optionally, the push SDK matches confidence including the corresponding API of message push function for setting server Breath;
It is described that message pushing application program APP is generated based on preset pushing software development kit SDK, including:
By the push SDK, according to the configuration information of the corresponding API of message push function of the setting server, The corresponding API of message push function of the setting server is called, generates the message push APP.
Optionally, it is described that setting server is sent the message to by message push APP, including:
Preset message push protocol is set in the message pushes APP;
Based on the preset message push protocol, sent the message to and set by message push APP Determine server.
Optionally, the preset message push protocol includes:The preset message push association of the setting server The message push protocol that view and/or user pre-enter.
Optionally, the quantity of the target terminal is multiple;
It is described that setting server is sent the message to by message push APP, for the setting server The message is pushed into the target terminal, including:
The identification information of each target terminal is set in the message pushes APP;
APP is pushed by the message and the identification information of each target terminal by the message, is sent to setting Server for the setting identification information of the server based on each target terminal, the message is pushed to each The target terminal.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage there are one or The multiple programs of person, one or more of programs can be performed by one or more processor, be pushed away with the message for realizing above-mentioned The step of delivery method.
Using above-mentioned technical proposal, the present invention at least has following advantages:
A kind of information push method of the present invention, terminal and computer readable storage medium, by message push APP into Row message push test, can effectively avoid passing through message push platform test message push operation it is excessively cumbersome, Neng Gouyou The simplified message push test operating procedure of effect, improves message push testing efficiency.
Description of the drawings
Fig. 1 is the information push method flow chart of first, second, third and fourth embodiment of the present invention;
Fig. 2 is the information push method flow chart of fifth embodiment of the invention;
Fig. 3 is that the message of fifth embodiment of the invention pushes APP interface schematic diagrams;
Fig. 4 is that the message of fifth embodiment of the invention pushes the schematic diagram that APP sends information to cloud server;
Fig. 5 is that the terminal of the six, the seven, the 8th and the 9th embodiment of the invention forms structure diagram.
Specific embodiment
The technological means and effect taken further to illustrate the present invention to reach predetermined purpose, below in conjunction with attached drawing And preferred embodiment, the present invention is described in detail as after.
Due in the prior art, the operation of developer's debugging message push function or investigation message push function Bug It is excessively cumbersome, cost is caused greatly to increase, to solve the above problems, an embodiment of the present invention provides a kind of message push sides Method, terminal and computer readable storage medium can be preferably applied in App projects, that is to say, that developed in App And in test phase, using method provided in an embodiment of the present invention, it can effectively avoid passing through message push platform test and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
First embodiment of the invention, a kind of information push method, as shown in Figure 1, including step in detail below:
Step S101, based on preset push SDK, generation message push APP.
Step S102 when to preset target terminal PUSH message, pushes APP by message and sends a message to setting Server, so that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Second embodiment of the invention, a kind of information push method, as shown in Figure 1, including step in detail below:
Step S101, based on preset push SDK, generation message push APP.
Wherein, preset push SDK includes:Set the corresponding API (Application of message push function of server Programming Interface, application programming interfaces) configuration information.
Optionally, step S101, including:
By preset push SDK, according to the configuration information of the corresponding API of message push function of setting server, adjust With the corresponding API of message push function of setting server, generation message push APP.
Step S102 when to preset target terminal PUSH message, pushes APP by message and sends a message to setting Server, so that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Third embodiment of the invention, a kind of information push method, as shown in Figure 1, including step in detail below:
Step S101, based on preset push SDK, generation message push APP.
Wherein, preset push SDK includes:Set the configuration information of the corresponding API of message push function of server.
Optionally, step S101, including:
By preset push SDK, according to the configuration information of the corresponding API of message push function of setting server, adjust With the corresponding API of message push function of setting server, generation message push APP.
Message push APP (such as is logged in, configuration hosts etc. without cumbersome configuration operation by account and password The operation of environment), therefore message push APP can effectively avoid passing through message push platform test message push operation (example Such as logged in by account and password, the operation of the environment such as configuration hosts) it is excessively cumbersome, it can effectively simplified message push away Operating procedure is sent, improves information push efficiency.
Step S102 when to preset target terminal PUSH message, pushes APP by message and sends a message to setting Server, so that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Optionally, in a manner that message push APP sends a message to setting server, including but not limited to:
Preset message push protocol is set in message pushes APP;
Based on preset message push protocol, APP is pushed by message and sends a message to setting server;
Wherein, preset message push protocol includes:It sets the preset message push protocol of server and/or uses The message push protocol that family pre-enters.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
For another example, when pushing test post to preset target terminal, preset disappear is set in message pushes APP Cease push protocol;Based on preset message push protocol, APP is pushed by message, test post is sent to setting service Device, so that test post is pushed to target terminal by setting server;
Wherein, preset message push protocol includes:It sets the preset message push protocol of server and/or uses The message push protocol that family pre-enters.
APP is pushed by message and carries out message push test, by setting message push protocol in pushing APP in message, Different messages push protocol can be efficiently tested, greatly improves the testing efficiency of different messages push protocol.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Fourth embodiment of the invention, a kind of information push method, as shown in Figure 1, including step in detail below:
Step S101, based on preset push SDK, generation message push APP.
Wherein, preset push SDK includes:Set the configuration information of the corresponding API of message push function of server.
Optionally, step S101, including:
By preset push SDK, according to the configuration information of the corresponding API of message push function of setting server, adjust With the corresponding API of message push function of setting server, generation message push APP.
Message push APP (such as is logged in, configuration hosts etc. without cumbersome configuration operation by account and password The operation of environment), therefore message push APP can effectively avoid passing through message push platform test message push operation (example Such as logged in by account and password, the operation of the environment such as configuration hosts) it is excessively cumbersome, it can effectively simplified message push away Operating procedure is sent, improves information push efficiency.
Step S102 when to preset target terminal PUSH message, pushes APP by message and sends a message to setting Server, so that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Optionally, APP is pushed by message and sends a message to setting server, so that setting server pushes message To the mode of target terminal, including but not limited to:
In the case where the quantity of target terminal is multiple, the mark of each target terminal is set in message pushes APP Information;
APP is pushed by message and the identification information of each target terminal by message, setting server is sent to, for setting Determine identification information of the server based on each target terminal, message is pushed into each target terminal.
APP is pushed by message, message push is carried out to multiple target terminals, effectively raise information push efficiency.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
For another example:When pushing test post to preset target terminal, in the case where the quantity of target terminal is multiple, The identification information of each target terminal is set in message pushes APP;
APP is pushed by test post and the identification information of each target terminal by message, is sent to setting server, with For setting identification information of the server based on each target terminal, test post is pushed into each target terminal.
APP is pushed by message, test post push is carried out to multiple target terminals, effectively raise message push effect Rate, while message push compatibility test can be carried out to the target terminal of multiple and different configurations.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Fifth embodiment of the invention, the present embodiment be on the basis of above-described embodiment, using a kind of information push method as Example, an application example of the invention is introduced with reference to attached drawing 2~4.
Step S501, by preset push SDK, according to matching for the corresponding API of message push function of setting server Confidence ceases, and calls the corresponding API of message push function of setting server, generation message push APP.
Message push APP (such as is logged in, configuration hosts etc. without cumbersome configuration operation by account and password The operation of environment), therefore message push APP can effectively avoid passing through message push platform test message push operation (example Such as logged in by account and password, the operation of the environment such as configuration hosts) it is excessively cumbersome, it can effectively simplified message push away The operating procedure of test is sent, improves the efficiency of message push test.
Step S502 sets preset message push protocol in message pushes APP;
Wherein, preset message push protocol includes:It sets the preset message push protocol of server and/or uses The message push protocol that family pre-enters, as shown in Figure 3.
APP is pushed by message and carries out message push test, by setting message push protocol in pushing APP in message, Different messages push protocol can be efficiently tested, greatly improves the testing efficiency of different messages push protocol.
Step S503 is multiple feelings in the quantity of target terminal when pushing test post to preset target terminal Under condition, the identification information of each target terminal is set in message pushes APP;By message push APP by test post and often The identification information of a target terminal is sent to setting server, for mark letter of the setting server based on each target terminal Breath, pushes to each target terminal, as shown in Figure 3 by test post.
Wherein, setting server includes but not limited to:Cloud server.
The identification information of target terminal includes but not limited to:IMEI (the International Mobile of target terminal Equipment Identity, International Mobile Station Equipment Identification) code.
Such as:It is more in the quantity of target terminal as shown in figure 4, when pushing test post to preset target terminal In the case of a, the identification information of each target terminal is set in message pushes APP;APP is pushed by message test disappears The identification information of breath and each target terminal, is sent to cloud server, so that cloud server is based on each target terminal Test post is pushed to each target terminal by identification information.
APP is pushed by message, test post push is carried out to multiple target terminals, effectively raise message push effect Rate, while message push compatibility test can be carried out to the target terminal of multiple and different configurations.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Sixth embodiment of the invention, a kind of terminal, as shown in figure 5, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to Cross bus or other manner connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit, CPU), it can also be digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (English: Application Specific Integrated Circuit, ASIC) or be arranged to implement the embodiment of the present invention One or more integrated circuits.Wherein, memory 502 is used to store the executable instruction of processor 501;
The program code for storing program code, and is transferred to processor 501 by memory 502.Memory 502 can To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory 502 can also include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, processor 501 is used for the program code management code that memory 502 is called to store, and performs following operation:
1) based on preset push SDK, generation message push APP.
2) when to preset target terminal PUSH message, APP is pushed by message and sends a message to setting server, So that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Seventh embodiment of the invention, a kind of terminal, as shown in figure 5, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to Cross bus or other manner connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit, CPU), it can also be digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (English: Application Specific Integrated Circuit, ASIC) or be arranged to implement the embodiment of the present invention One or more integrated circuits.Wherein, memory 502 is used to store the executable instruction of processor 501;
The program code for storing program code, and is transferred to processor 501 by memory 502.Memory 502 can To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory 502 can also include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, processor 501 is used for the program code management code that memory 502 is called to store, and performs following operation:
1) based on preset push SDK, generation message push APP.
Wherein, preset push SDK includes:Set the corresponding API (Application of message push function of server Programming Interface, application programming interfaces) configuration information.
Optionally, step S101, including:
By preset push SDK, according to the configuration information of the corresponding API of message push function of setting server, adjust With the corresponding API of message push function of setting server, generation message push APP.
2) when to preset target terminal PUSH message, APP is pushed by message and sends a message to setting server, So that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Eighth embodiment of the invention, a kind of terminal, as shown in figure 5, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to Cross bus or other manner connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit, CPU), it can also be digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (English: Application Specific Integrated Circuit, ASIC) or be arranged to implement the embodiment of the present invention One or more integrated circuits.Wherein, memory 502 is used to store the executable instruction of processor 501;
The program code for storing program code, and is transferred to processor 501 by memory 502.Memory 502 can To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory 502 can also include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, processor 501 is used for the program code management code that memory 502 is called to store, and performs following operation:
1) based on preset push SDK, generation message push APP.
Wherein, preset push SDK includes:Set the configuration information of the corresponding API of message push function of server.
Optionally, step S101, including:
By preset push SDK, according to the configuration information of the corresponding API of message push function of setting server, adjust With the corresponding API of message push function of setting server, generation message push APP.
2) when to preset target terminal PUSH message, APP is pushed by message and sends a message to setting server, So that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Optionally, in a manner that message push APP sends a message to setting server, including but not limited to:
Preset message push protocol is set in message pushes APP;
Based on preset message push protocol, APP is pushed by message and sends a message to setting server;
Wherein, preset message push protocol includes:It sets the preset message push protocol of server and/or uses The message push protocol that family pre-enters.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
For another example, when pushing test post to preset target terminal, preset disappear is set in message pushes APP Cease push protocol;Based on preset message push protocol, APP is pushed by message, test post is sent to setting service Device, so that test post is pushed to target terminal by setting server;
Wherein, preset message push protocol includes:It sets the preset message push protocol of server and/or uses The message push protocol that family pre-enters.
APP is pushed by message and carries out message push test, by setting message push protocol in pushing APP in message, Different messages push protocol can be efficiently tested, greatly improves the testing efficiency of different messages push protocol.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Ninth embodiment of the invention, a kind of terminal, as shown in figure 5, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to Cross bus or other manner connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit, CPU), it can also be digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (English: Application Specific Integrated Circuit, ASIC) or be arranged to implement the embodiment of the present invention One or more integrated circuits.Wherein, memory 502 is used to store the executable instruction of processor 501;
The program code for storing program code, and is transferred to processor 501 by memory 502.Memory 502 can To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory 502 can also include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, processor 501 is used for the program code management code that memory 502 is called to store, and performs following operation:
1) based on preset push SDK, generation message push APP.
Wherein, preset push SDK includes:Set the configuration information of the corresponding API of message push function of server.
Optionally, based on preset push SDK, generation message pushes the mode of APP, including:
By preset push SDK, according to the configuration information of the corresponding API of message push function of setting server, adjust With the corresponding API of message push function of setting server, generation message push APP.
2) when to preset target terminal PUSH message, APP is pushed by message and sends a message to setting server, So that message is pushed to target terminal by setting server.
APP is pushed by message and carries out message push, (such as passes through account and password carries out without cumbersome configuration operation Log in, the operation of the environment such as configuration hosts), therefore message push APP can effectively avoid passing through message push platform test Message push operation (such as being logged in by account and password, the operation of the environment such as configuration hosts) excessively cumbersome, Neng Gouyou The simplified message push operation step of effect improves information push efficiency.
Optionally, APP is pushed by message and sends a message to setting server, so that setting server pushes message To the mode of target terminal, including but not limited to:
In the case where the quantity of target terminal is multiple, the mark of each target terminal is set in message pushes APP Information;
APP is pushed by message and the identification information of each target terminal by message, setting server is sent to, for setting Determine identification information of the server based on each target terminal, message is pushed into each target terminal.
APP is pushed by message, message push is carried out to multiple target terminals, effectively raise information push efficiency.
Such as:When pushing test post to preset target terminal, APP is pushed by message and is sent to test post Server is set, so that test post is pushed to target terminal by setting server.
For another example:When pushing test post to preset target terminal, in the case where the quantity of target terminal is multiple, The identification information of each target terminal is set in message pushes APP;
APP is pushed by test post and the identification information of each target terminal by message, is sent to setting server, with For setting identification information of the server based on each target terminal, test post is pushed into each target terminal.
APP is pushed by message, test post push is carried out to multiple target terminals, effectively raise message push effect Rate, while message push compatibility test can be carried out to the target terminal of multiple and different configurations.
APP is pushed by message and carries out message push test, message push platform test can be effectively avoided passing through and disappear It is excessively cumbersome to cease push operation, effectively simplified message push test operating procedure, raising message can push testing efficiency;Pole The development cost of big reduction message push and the cost for investigating bug;It efficiently solves message push and delays to reach target terminal The problem of, improve speed and efficiency that message pushes.
Tenth embodiment of the invention, a kind of computer readable storage medium.
Computer storage media can be RAM memory, flash memory, ROM memory, eprom memory, EEPROM storages Device, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art storage medium.
Computer-readable recording medium storage there are one or multiple programs, one or more program can by one or The multiple processors of person perform, with realize in first embodiment of the invention to fifth embodiment of the invention in any embodiment part or Overall Steps.
A kind of computer readable storage medium in tenth embodiment of the invention, is stored with one or more program, should One or more program can be performed by one or more processor, and APP can be pushed by message and carries out message push survey Examination, can effectively avoid passing through message push platform test message push operation it is excessively cumbersome, being capable of effective simplified message Test operating procedure is pushed, improves message push testing efficiency;Greatly reduce the development cost of message push and investigation bug Cost;It solve thes problems, such as that message push delays to reach target terminal, improves the speed and efficiency of message push.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (11)

1. a kind of information push method, which is characterized in that including:
Based on preset pushing software development kit SDK, generation message pushing application program APP;
When to preset target terminal PUSH message, APP is pushed by the message and sends the message to setting service Device, so that the message is pushed to the target terminal by the setting server.
2. according to the method described in claim 1, it is characterized in that, the push SDK includes the message of the setting server The configuration information of the corresponding application programming interfaces API of push function;
It is described that message pushing application program APP is generated based on preset pushing software development kit SDK, including:
By the push SDK, according to the configuration information of the corresponding API of message push function of the setting server, call The corresponding API of message push function of the setting server generates the message push APP.
3. according to the method described in claim 1, it is characterized in that, described sent out the message by message push APP It send to setting server, including:
Preset message push protocol is set in the message pushes APP;
Based on the preset message push protocol, APP is pushed by the message and sends the message to setting clothes Business device.
4. according to the method described in claim 3, it is characterized in that, the preset message push protocol includes:It is described The message push protocol that the preset message push protocol of setting server and/or user pre-enter.
5. according to the method described in claim 1, it is characterized in that, the quantity of the target terminal is multiple;
It is described that setting server is sent the message to by message push APP, so that the server that sets is by institute It states message and pushes to the target terminal, including:
The identification information of each target terminal is set in the message pushes APP;
APP is pushed by the message and the identification information of each target terminal by the message, is sent to setting service Device for the setting identification information of the server based on each target terminal, the message is pushed to each described Target terminal.
6. a kind of terminal, which is characterized in that the terminal includes processor and memory;
The processor is used to perform the program of message push stored in memory, to realize following steps:
Based on preset push SDK, generation message push APP;
When to preset target terminal PUSH message, APP is pushed by the message and sends the message to setting service Device, so that the message is pushed to the target terminal by the setting server.
7. terminal according to claim 6, which is characterized in that the push SDK includes the message of the setting server The configuration information of the corresponding API of push function;
It is described that message pushing application program APP is generated based on preset pushing software development kit SDK, including:
By the push SDK, according to the configuration information of the corresponding API of message push function of the setting server, call The corresponding API of message push function of the setting server generates the message push APP.
8. terminal according to claim 6, which is characterized in that described to be sent out the message by message push APP It send to setting server, including:
Preset message push protocol is set in the message pushes APP;
Based on the preset message push protocol, APP is pushed by the message and sends the message to setting clothes Business device.
9. terminal according to claim 8, which is characterized in that the preset message push protocol includes:It is described The message push protocol that the preset message push protocol of setting server and/or user pre-enter.
10. terminal according to claim 6, which is characterized in that the quantity of the target terminal is multiple;
It is described that setting server is sent the message to by message push APP, so that the server that sets is by institute It states message and pushes to the target terminal, including:
The identification information of each target terminal is set in the message pushes APP;
APP is pushed by the message and the identification information of each target terminal by the message, is sent to setting service Device for the setting identification information of the server based on each target terminal, the message is pushed to each described Target terminal.
11. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or Multiple programs, one or more of programs can be performed by one or more processor, with realize according to claim 1~ The step of information push method described in any one of 5.
CN201711191817.1A 2017-11-24 2017-11-24 A kind of information push method, terminal and computer readable storage medium Pending CN108228361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711191817.1A CN108228361A (en) 2017-11-24 2017-11-24 A kind of information push method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711191817.1A CN108228361A (en) 2017-11-24 2017-11-24 A kind of information push method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108228361A true CN108228361A (en) 2018-06-29

Family

ID=62652816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711191817.1A Pending CN108228361A (en) 2017-11-24 2017-11-24 A kind of information push method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108228361A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109698799A (en) * 2019-01-14 2019-04-30 广州荔支网络技术有限公司 A kind of information push method, device and mobile terminal
CN109831484A (en) * 2018-12-29 2019-05-31 天津字节跳动科技有限公司 Electoral machinery, device, medium and the electronic equipment of the shared push SDK service of APP
CN110225010A (en) * 2019-05-29 2019-09-10 深圳市元征科技股份有限公司 A kind of processing method and relevant device of PUSH message
CN110351245A (en) * 2019-06-12 2019-10-18 深圳市奥克多普科技有限公司 The generation method and PUSH message system of APP PUSH message SDK packet
CN110928759A (en) * 2018-09-19 2020-03-27 福建天泉教育科技有限公司 Message push test method and terminal
CN111597101A (en) * 2019-02-21 2020-08-28 上海哔哩哔哩科技有限公司 SDK access state detection method, computer device and computer readable storage medium
CN112069051A (en) * 2019-06-11 2020-12-11 福建天泉教育科技有限公司 PUSH time-consuming testing method and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004987A (en) * 2010-10-21 2011-04-06 中国移动通信集团北京有限公司 Method, device and system for realizing application service
US20140289699A1 (en) * 2009-08-18 2014-09-25 Adobe Systems Incorporated Methods and Systems for Data Service Development
CN105099882A (en) * 2015-07-09 2015-11-25 杭州电子科技大学 MQTT-based cloud pushing method and system
US20160171540A1 (en) * 2014-12-12 2016-06-16 Suryanarayana MANGIPUDI Dynamic Omnichannel Relevant Content And Services Targeting In Real Time
CN106412104A (en) * 2016-10-28 2017-02-15 努比亚技术有限公司 Application message pushing device and method
CN106790727A (en) * 2017-03-30 2017-05-31 武汉斗鱼网络科技有限公司 Information push method and device
CN107179916A (en) * 2016-03-09 2017-09-19 腾讯科技(深圳)有限公司 A kind of application development method, device, equipment and development frame

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140289699A1 (en) * 2009-08-18 2014-09-25 Adobe Systems Incorporated Methods and Systems for Data Service Development
CN102004987A (en) * 2010-10-21 2011-04-06 中国移动通信集团北京有限公司 Method, device and system for realizing application service
US20160171540A1 (en) * 2014-12-12 2016-06-16 Suryanarayana MANGIPUDI Dynamic Omnichannel Relevant Content And Services Targeting In Real Time
CN105099882A (en) * 2015-07-09 2015-11-25 杭州电子科技大学 MQTT-based cloud pushing method and system
CN107179916A (en) * 2016-03-09 2017-09-19 腾讯科技(深圳)有限公司 A kind of application development method, device, equipment and development frame
CN106412104A (en) * 2016-10-28 2017-02-15 努比亚技术有限公司 Application message pushing device and method
CN106790727A (en) * 2017-03-30 2017-05-31 武汉斗鱼网络科技有限公司 Information push method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何健辉: "API和SDK", 《实用VISUAL C++ 6.0教程》 *
狗狗臭鸡蛋: "iOS推送调试利器之Easy APNs Provider", 《HTTPS://WWW.JIANSHU.COM/P/A0174DE797D0》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928759A (en) * 2018-09-19 2020-03-27 福建天泉教育科技有限公司 Message push test method and terminal
CN110928759B (en) * 2018-09-19 2024-03-01 福建天泉教育科技有限公司 Message pushing testing method and terminal
CN109831484A (en) * 2018-12-29 2019-05-31 天津字节跳动科技有限公司 Electoral machinery, device, medium and the electronic equipment of the shared push SDK service of APP
CN109831484B (en) * 2018-12-29 2022-04-22 天津字节跳动科技有限公司 Election method, device, medium and electronic equipment for APP (application) sharing pushing SDK (software development kit) service
CN109698799A (en) * 2019-01-14 2019-04-30 广州荔支网络技术有限公司 A kind of information push method, device and mobile terminal
CN111597101A (en) * 2019-02-21 2020-08-28 上海哔哩哔哩科技有限公司 SDK access state detection method, computer device and computer readable storage medium
CN111597101B (en) * 2019-02-21 2023-09-08 上海哔哩哔哩科技有限公司 SDK access state detection method, computer equipment and computer readable storage medium
CN110225010A (en) * 2019-05-29 2019-09-10 深圳市元征科技股份有限公司 A kind of processing method and relevant device of PUSH message
CN110225010B (en) * 2019-05-29 2022-02-25 深圳市元征科技股份有限公司 Processing method of push message and related equipment
CN112069051A (en) * 2019-06-11 2020-12-11 福建天泉教育科技有限公司 PUSH time-consuming testing method and terminal
CN110351245A (en) * 2019-06-12 2019-10-18 深圳市奥克多普科技有限公司 The generation method and PUSH message system of APP PUSH message SDK packet

Similar Documents

Publication Publication Date Title
CN108228361A (en) A kind of information push method, terminal and computer readable storage medium
US9706371B2 (en) Push notification middleware
US9769012B2 (en) Notification normalization
US9087156B2 (en) Application version release management
US9575745B1 (en) Immediately launching applications
US10091113B2 (en) Network functions virtualization leveraging unified traffic management and real-world event planning
CN107634850B (en) A kind of application state acquisition methods and its equipment, storage medium, server
US20140289719A1 (en) Automatic version management
CN108319854A (en) A kind of incremental code static scanning method, equipment and computer readable storage medium
CN108228451A (en) A kind of information push method, equipment and computer readable storage medium
CN111694582A (en) Application program resource package processing method, device, equipment and readable storage medium
CN108804177A (en) Update method, apparatus, computer equipment and the storage medium of interface view
CN108170605A (en) Submission method, client and the computer readable storage medium of bug information
CN107005433B (en) Flow table entry timing processing method and device
US10248790B2 (en) Information processing system, controlling method, and controlling computer program
US20160057013A1 (en) Testing toll-free data service campaigns
CN109525673A (en) Target user's configuration method, device, server and the readable storage medium storing program for executing of message
CN108733548A (en) One kind burying a setting method, device, equipment and computer readable storage medium
US11126722B1 (en) Replacement of e-mail attachment with URL
CN108845919A (en) A kind of log reporting method, device, terminal and computer readable storage medium
US8775541B2 (en) Mail manufacturing virtualization
CN108763075A (en) A kind of test method, device, equipment and computer readable storage medium
CN109388571A (en) Obtain method, apparatus, computer equipment and the storage medium of identification information
CN108874418A (en) Update method, device, terminal and the computer readable storage medium of UI component
CN109190079A (en) Evaluation method, device, computer equipment and the readable storage medium storing program for executing of application program

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: 20180629

RJ01 Rejection of invention patent application after publication