CN109889613A - A kind of information push method, device and mobile terminal - Google Patents
A kind of information push method, device and mobile terminal Download PDFInfo
- Publication number
- CN109889613A CN109889613A CN201910331900.7A CN201910331900A CN109889613A CN 109889613 A CN109889613 A CN 109889613A CN 201910331900 A CN201910331900 A CN 201910331900A CN 109889613 A CN109889613 A CN 109889613A
- Authority
- CN
- China
- Prior art keywords
- module
- push
- gateway
- client
- message
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a kind of information push method, device and mobile terminals, this method is applied to message push system, the system comprises business module, Push Service module, configuration module, gateway module and clients, the configuration module stores gateway accessing configuration information, this method comprises: Push Service module receives the PUSH message that the business module is sent;The Push Service module extracts the gateway accessing configuration information of the correspondence stored in the configuration module the PUSH message according to the PUSH message;Push Service module connects the gateway module according to the gateway accessing configuration information;The PUSH message is sent to the client by the gateway module by Push Service module.It may be implemented to improve the purpose of magnanimity information push efficiency under the premise of maintaining or reducing message push framework basis.
Description
Technical field
The present invention relates to the technical fields of message push, eventually more particularly to a kind of information push method, device and movement
End.
Background technique
The development of the network technology therewith, especially mobile Internet it is widely available, each application is logical to mobile terminal push
The scene known is more and more, such as the PUSH message of the application platforms various in this way such as grave news, enterprise's notice, good friend's message is high
Up to more than one hundred million ranks.
In the prior art, push framework mainly by operation system cluster, supplying system cluster, connection management system cluster,
Access gateway cluster and configuration system composition.Wherein, the link information of each client stores in the database, in above-mentioned frame
Structure in face of PUSH message amount it is larger when, often use to database make fragment storage (the link information of client is distributed to
Stored in multiple database instances) mode, to disperse the inquiry pressure of single database example, but more than one hundred million level informations push away
When the amount of sending, then making fragment extension to database is not then optimal solution, because when database instance is excessive, O&M cost
And machine cost can ramp.So how improving pushing efficiency, improving the handling capacity of push, and frame composition is not improved
It originally is problem very crucial in entire message push framework.
Summary of the invention
The invention discloses a kind of information push method, device and mobile terminal, does not improve framework cost to reach and mention
The purpose of high information push efficiency.
First aspect, the present invention provides a kind of information push methods, are applied to message push system, the system packet
Business module, Push Service module, configuration module, gateway module and client are included, the configuration module storage gateway accessing is matched
Confidence breath, the method include:
Push Service module receives the PUSH message that the business module is sent;
The Push Service module extracts the correspondence stored in the configuration module the push according to the PUSH message
The gateway accessing configuration information of message;
Push Service module connects the gateway module according to the gateway accessing configuration information;
The PUSH message is sent to the client by the gateway module by Push Service module.
Preferably, the PUSH message includes the unique identification information for pushing client.
Preferably, the gateway accessing configuration information includes the mark of the groups of clients of gateway IP and the access gateway
Corresponding relationship;The mark of the groups of clients includes the sequence of interval that the unique identification information of each client forms.
Preferably, the Push Service module extracts the correspondence stored in the configuration module according to the PUSH message
The gateway accessing configuration information of the PUSH message, comprising:
The Push Service module obtains the unique identification information of the push client in the PUSH message;
The Push Service module obtains in the configuration module according to the unique identification information of the push client
Sequence of interval where the client unique identification information;
The Push Service module determines the groups of clients where the client according to the sequence of interval;
The Push Service module is closed according to the corresponding of the mark of the gateway IP and the groups of clients for accessing the gateway
System obtains the gateway IP of the corresponding groups of clients.
Preferably, the Push Service module connects the gateway module according to the gateway accessing configuration information, packet
It includes:
The Push Service module connects the gateway module according to the gateway IP.
Preferably, the gateway module is stored with default client link information.
Preferably, the PUSH message is sent to the client by the gateway module by the Push Service module
End, comprising:
The PUSH message is sent to the gateway module by the Push Service module;
The gateway module connects the client by the default client link information;The default client
Link information is the link information of the client of the default management of the gateway module;
The PUSH message is sent to the client by the gateway module.
The second aspect, the present invention provides a kind of message driving means, are applied to message push system, the system packet
Business module, Push Service module, configuration module, gateway module and client are included, the configuration module storage gateway accessing is matched
Confidence breath, the device include:
PUSH message receiving module receives the PUSH message that the business module is sent for Push Service module;
Gateway accessing configuration information extraction module extracts institute for the Push Service module according to the PUSH message
State the gateway accessing configuration information of the correspondence stored in configuration module the PUSH message;
Gateway module link block connects the net for Push Service module according to the gateway accessing configuration information
Close module;
The PUSH message is sent to for Push Service module by the gateway module by PUSH message sending module
The client.
The preferably described PUSH message includes the unique identification information for pushing client.
Preferably, the gateway accessing configuration information includes the mark of the groups of clients of gateway IP and the access gateway
Corresponding relationship;The mark of the groups of clients includes the sequence of interval that the unique identification information of each client forms.
Preferably, the gateway accessing configuration information extraction module, comprising:
Unique identification information acquisition submodule, for the Push Service module obtain in the PUSH message described in push away
Send the unique identification information of client;
Sequence of interval acquisition submodule is believed for the Push Service module according to the unique identification of the push client
Breath, obtains the sequence of interval where the client unique identification information in the configuration module;
Groups of clients determines submodule, for the Push Service module according to the sequence of interval, determines the client
Groups of clients where holding;
Gateway IP acquisition submodule, for the Push Service module according to the visitor of the gateway IP and the access gateway
The corresponding relationship of the mark of family end group obtains the gateway IP of the corresponding groups of clients.
Preferably, the gateway module link block, comprising:
Gateway module connects submodule, for the Push Service module according to the gateway IP, connects the gateway mould
Block.
Preferably, the gateway module is stored with default client link information.
Preferably, PUSH message sending module, comprising:
First push submodule, is sent to the gateway module for the PUSH message for the Push Service module;
Client connects submodule, for the gateway module by the default client link information, described in connection
Client;The default client link information is the link information of the client of the default management of the gateway module;
Second push submodule, is sent to the client for the PUSH message for the gateway module.
The third aspect the present invention provides a kind of mobile terminal, including processor, memory and is stored in the memory
Computer program that is upper and can running on the processor, when the computer program is executed by the processor described in realization
Information push method the step of.
Fourth aspect, the present invention provides a kind of computer readable storage medium, on the computer readable storage medium
The step of storing computer program, the information push method realized when the computer program is executed by processor.
Compared with the existing technology, the embodiment of the present invention includes following advantages:
In embodiments of the present invention, it is applied to message push system, the system comprises business modules, Push Service mould
Block, configuration module, gateway module and client, the configuration module store gateway accessing configuration information, and the method includes:
Push Service module receives the PUSH message that the business module is sent;The Push Service module disappears according to the push
Breath, extracts the gateway accessing configuration information of the correspondence stored in the configuration module the PUSH message;Push Service module root
According to the gateway accessing configuration information, the gateway module is connected;Push Service module is pushed away by the gateway module by described
Message is sent to be sent to the client.It may be implemented to improve magnanimity under the premise of maintaining or reducing message push framework basis
The purpose of information push efficiency.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of information push method of the invention;
Figure 1A is conventional message push framework general frame schematic diagram;
Figure 1B is a kind of message push framework general frame schematic diagram of the embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of message driving means of the invention;
A kind of hardware structural diagram of Fig. 3 mobile terminal of each embodiment to realize the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Conventional message method for pushing for example:
In usually used information push method, as shown in Figure 1A, due to traditional push framework by operation system cluster,
Supplying system cluster, connection management system cluster, access gateway cluster and configuration system composition.
Wherein, the link information of each client stores in the database.
And the detailed process pushed are as follows:
Store the IP address of all access gatewaies in configuration system, the form of configuration information is IP list, such as
14.215.53.77 14.215.53.88,14.215.53.99.
1) after client terminal start-up, the configuration information of access gateway can be obtained from configuration system.
2) after client obtains configuration information, connection can be established with one of access gateway at random.
3) link information of client is sent to connection management system again by access gateway.
4) connection management system can store the link information of client into database.
5) message is sent to connection management system in PUSH message by supplying system.
6) connection management system inquires the link information of client (even according to the User ID in message from database
Connecing information includes: access gateway mark, socket connection identifier of client etc.), then message is sent to specified access
Gateway.
7) message is sent to corresponding client again by corresponding access gateway.
8) client receives message.
So far, the push process of this message finishes.
In this way, (for example, one second 100,000 push amount), common solution are when the size of message of push is bigger
Fragment storage (storing that is, the link information of client is distributed in multiple database instances) is made to database, to disperse list
The inquiry pressure of a database instance.
But when push amount further promotes (for example, one second million grades or more push amount), then database is divided
Piece extension is not then optimal solution, because when database instance is excessive, in O&M cost and machine cost meeting straight line
It rises.
Wherein, even if database is changed into NoSQL product (such as redis, memcached etc.), although can solve in short term
Query performance problem, but can not still solve these products itself performance bottleneck and subsequent bring O&M cost and
The problem of machine cost.
Referring to Fig.1, a kind of step flow chart of information push method of the invention is shown, the method is applied to message
Supplying system, the system comprises business module, Push Service module, configuration module, gateway module and client, the configurations
Module stores gateway accessing configuration information, can specifically include following steps:
Step 101, Push Service module receives the PUSH message that the business module is sent;
Preferably, the PUSH message includes the unique identification information for pushing client.
Preferably, the gateway accessing configuration information includes the mark of the groups of clients of gateway IP and the access gateway
Corresponding relationship;The mark of the groups of clients includes the sequence of interval that the unique identification information of each client forms.
In the embodiment of the present invention, as shown in Figure 1B, framework is pushed by business module, Push Service module, configuration module, net
Module and groups of clients are closed at wherein PUSH message includes the unique identification information for pushing client, and configuration module stores gateway
Configuration information is accessed, and gateway accessing configuration information includes gateway IP corresponding with the mark for the groups of clients for accessing the gateway
Relationship;The mark of the groups of clients includes the sequence of interval that the unique identification information of each client forms.
For example, the configuration of the access gateway stored in configuration system, is changed to each by original access gateway IP list
The User ID section (i.e. grouping connection strategy) that the IP of access gateway and the access gateway are responsible for:
14.215.53.77 [0,99]
14.215.53.88 [100,199]
14.215.53.99 [200,299]
....
Wherein:
It 14.215.53.77 is the address of access gateway 1, the User ID range being responsible for is 0 to 99,
It 14.215.53.88 is the address of access gateway 2, the User ID range being responsible for is 100 to 199,
It 14.215.53.99 is the address of access gateway 3, the User ID range being responsible for is 200 to 299, and so on.
Step 102, the Push Service module extracts the correspondence stored in the configuration module according to the PUSH message
The gateway accessing configuration information of the PUSH message;
Preferably, step 102, further comprise:
Sub-step 1021, the Push Service module obtain unique mark of the push client in the PUSH message
Know information;
Sub-step 1022, the Push Service module are matched according to the unique identification information of the push client described
Set the sequence of interval obtained where the client unique identification information in module;
It include unique identification information in PUSH message as described in step 101, according to unique mark in the embodiment of the present invention
Know information and determines the tag slot corresponded to where the identification information where PUSH message corresponds to client in gateway accessing configuration information
Between.
Sub-step 1023, the Push Service module determine the client where the client according to the sequence of interval
End group;
In the embodiment of the present invention, as described in step 101, if 14.215.53.99 is the address of access gateway 3, it is responsible for
User ID range be 200 to 299, belong between 200 to 299 when being aware of client identification, then determining that corresponding visitor
Family end group is gateway 3.
Sub-step 1024, the Push Service module is according to the mark of the gateway IP and the groups of clients for accessing the gateway
The corresponding relationship of knowledge obtains the gateway IP of the corresponding groups of clients.
Further, by foregoing description, the corresponding gateway address of gateway 3 is 14.215.53.99.
Step 103, Push Service module connects the gateway module according to the gateway accessing configuration information;
Preferably, step 103, further comprise:
Sub-step 1031, the Push Service module connect the gateway module according to the gateway IP.
Specifically, according to foregoing description, supplying system and client after actuation, can all be accessed from configuration system
The configuration information of gateway, obtains gateway address;It, can be according to User ID and affiliated access gateway after client obtains configuration information
Establish connection.
Preferably, the gateway module is stored with default client link information.
Step 104, the PUSH message is sent to the client by the gateway module by Push Service module.
Specifically, supplying system can parse User ID, further according to above-mentioned steps during message pushes from message
Obtained access gateway connects configuration information, sends the message to specified access gateway.
Preferably, step 104, further comprise:
The PUSH message is sent to the gateway module by sub-step 1041, the Push Service module;
Specifically, (gateway is stored with managing customer to the client link information that corresponding access gateway is stored according to gateway
The link information at end), then PUSH message is sent to corresponding client.Wherein, supplying system and client are used with a
Access gateway configuration is connected to specified access gateway to reach client (can be according to User ID), supplying system (can according to
Family ID) send the message to the purpose of specified access gateway.
Sub-step 1042, the gateway module connect the client by the default client link information;It is described
Default client link information is the link information of the client of the default management of the gateway module;
Specifically, the default client link information stored in gateway module is obtained first, wherein in access gateway, meeting
Store the link information for the client oneself being responsible for.In PUSH message, client can be directly inquired from local memory
The link information at end, search efficiency are higher.
The PUSH message is sent to the client by sub-step 1043, the gateway module.
Specifically, by modifying the configuration of access gateway, client can be distributed to multiple accesses in configuration system
In gateway, the link information amount of storage of single access network pass can be effectively reduced.
In conclusion the push process of new architecture provided in an embodiment of the present invention is as follows:
1) configuration of the access gateway stored in configuration system is changed to each access by original access gateway IP list
The User ID section (i.e. grouping connection strategy) that the IP of gateway and the access gateway are responsible for, such as:
14.215.53.77 [0,99]
14.215.53.88 [100,199]
14.215.53.99 [200,299]
....
(wherein, 14.215.53.77 is the address of access gateway 1, and the User ID range being responsible for is 0 to 99,
It 14.215.53.88 is the address of access gateway 2, the User ID range being responsible for is 100 to 199,
It 14.215.53.99 is the address of access gateway 3, the User ID range being responsible for is 200 to 299, and so on)
2) supplying system and client after actuation, can all obtain the configuration information of access gateway from configuration system.
3) after client obtains configuration information, connection can be established according to User ID and affiliated access gateway.
4) supplying system can parse User ID during message pushes from message, further according to obtained by (2) point
Access gateway configuration information, send the message to specified access gateway.
5) corresponding access gateway sends the message to corresponding client again.
6) client receives message.
So far, the push process of this message finishes.
The unique identification that User ID as shown in Figure 1B is used only to description client in practical applications can basis
Concrete condition indicates that the embodiments of the present invention are not limited thereto using others mark.
In embodiments of the present invention, it is applied to message push system, the system comprises business modules, Push Service mould
Block, configuration module, gateway module and client, the configuration module store gateway accessing configuration information, and the method includes:
Push Service module receives the PUSH message that the business module is sent;The Push Service module disappears according to the push
Breath, extracts the gateway accessing configuration information of the correspondence stored in the configuration module the PUSH message;Push Service module root
According to the gateway accessing configuration information, the gateway module is connected;Push Service module is pushed away by the gateway module by described
Message is sent to be sent to the client.It may be implemented to improve magnanimity under the premise of maintaining or reducing message push framework basis
The purpose of information push efficiency.
Referring to Fig. 2, a kind of structural block diagram of message driving means of the invention is shown, is applied to message push system,
The system comprises business module, Push Service module, configuration module, gateway module and client, the configuration module storage
Gateway accessing configuration information, the device can specifically include following module:
PUSH message receiving module 201 receives the PUSH message that the business module is sent for Push Service module;
Gateway accessing configuration information extraction module 202 is extracted for the Push Service module according to the PUSH message
The gateway accessing configuration information of the correspondence stored in the configuration module the PUSH message;
Gateway module link block 203, for Push Service module according to the gateway accessing configuration information, described in connection
Gateway module;
PUSH message sending module 204 is sent out the PUSH message by the gateway module for Push Service module
It send to the client.
In another preferred embodiment of the invention, the PUSH message includes the unique identification letter for pushing client
Breath.
The gateway accessing configuration information includes the pass corresponding with the mark for the groups of clients for accessing the gateway gateway IP
System;The mark of the groups of clients includes the sequence of interval that the unique identification information of each client forms.
The gateway accessing configuration information extraction module 202, comprising:
Unique identification information acquisition submodule, for the Push Service module obtain in the PUSH message described in push away
Send the unique identification information of client;
Sequence of interval acquisition submodule is believed for the Push Service module according to the unique identification of the push client
Breath, obtains the sequence of interval where the client unique identification information in the configuration module;
Groups of clients determines submodule, for the Push Service module according to the sequence of interval, determines the client
Groups of clients where holding;
Gateway IP acquisition submodule, for the Push Service module according to the visitor of the gateway IP and the access gateway
The corresponding relationship of the mark of family end group obtains the gateway IP of the corresponding groups of clients.
In another preferred embodiment of the invention, the gateway module link block 203, comprising:
Gateway module connects submodule, for the Push Service module according to the gateway IP, connects the gateway mould
Block.
In another preferred embodiment of the invention, the gateway module is stored with default client link information.
PUSH message sending module 204, comprising:
First push submodule, is sent to the gateway module for the PUSH message for the Push Service module;
Client connects submodule, for the gateway module by the default client link information, described in connection
Client;The default client link information is the link information of the client of the default management of the gateway module;
Second push submodule, is sent to the client for the PUSH message for the gateway module.
Device provided in an embodiment of the present invention can be realized each process in the embodiment of the method for Fig. 1, to avoid repeating,
Which is not described herein again.
A kind of message driving means in embodiments of the present invention is applied to message push system, and the system comprises business
Module, Push Service module, configuration module, gateway module and client, the configuration module store gateway accessing configuration information,
The device includes: PUSH message receiving module, receives the PUSH message that the business module is sent for Push Service module;
Gateway accessing configuration information extraction module extracts the configuration mould for the Push Service module according to the PUSH message
The gateway accessing configuration information of the correspondence stored in block the PUSH message;Gateway module link block is used for Push Service mould
Root tuber connects the gateway module according to the gateway accessing configuration information;PUSH message sending module is used for Push Service module
The PUSH message is sent to the client by the gateway module.It may be implemented maintaining or reducing message push frame
Under the premise of structure basis, the purpose of magnanimity information push efficiency is improved.
A kind of hardware structural diagram of Fig. 3 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 300 includes but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, defeated
Enter unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor
The components such as 310 and power supply 311.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 3 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 310, for controlling the system in message push system, the system comprises business mould
Block, Push Service module, configuration module, gateway module and client realize message push business, wherein the configuration module is deposited
Store up gateway accessing configuration information;The Push Service module receives the PUSH message that the business module is sent;The push
Service module according to the PUSH message, match by the gateway accessing for extracting the correspondence stored in the configuration module the PUSH message
Confidence breath;Push Service module connects the gateway module according to the gateway accessing configuration information;Push Service module passes through
The PUSH message is sent to the client by the gateway module.It may be implemented maintaining or reducing message push framework base
Under the premise of plinth, the purpose of magnanimity information push efficiency is improved.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 302 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be received by radio frequency unit 301 or network module 302 or in memory 309
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 300 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor
(Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited
Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike
Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 301 is converted in the case where telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear
Display panel 3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap
Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 307 include touch panel 3071 and
Other input equipments 3072.Touch panel 3071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3071 or in touch panel 3071
Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area
It manages the order that device 310 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments
3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it
On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touching
The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 3, touch panel 3071 and display
Panel 3061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 308 is the interface that external device (ED) is connect with mobile terminal 300.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 300 or can be used in 300 He of mobile terminal
Data are transmitted between external device (ED).
Memory 309 can be used for storing software program and various data.Memory 309 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 309, and calls and is stored in storage
Data in device 309 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311
Can be logically contiguous by power-supply management system and processor 310, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 310, and memory 309 is stored in
On memory 309 and the computer program that can run on the processor 310, the computer program are executed by processor 310
Each process of the above-mentioned information push method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned information push method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (10)
1. a kind of information push method, which is characterized in that be applied to message push system, the system comprises business module, push away
Service module, configuration module, gateway module and client are sent, the configuration module stores gateway accessing configuration information, described
Method includes:
Push Service module receives the PUSH message that the business module is sent;
The Push Service module extracts the correspondence stored in the configuration module the PUSH message according to the PUSH message
Gateway accessing configuration information;
Push Service module connects the gateway module according to the gateway accessing configuration information;
The PUSH message is sent to the client by the gateway module by Push Service module.
2. the method according to claim 1, wherein the PUSH message includes the unique identification for pushing client
Information.
3. according to the method described in claim 2, it is characterized in that, the gateway accessing configuration information includes gateway IP and access
The corresponding relationship of the mark of the groups of clients of the gateway;The mark of the groups of clients includes that the unique identification of each client is believed
Cease the sequence of interval of composition.
4. according to the method described in claim 3, it is characterized in that, the Push Service module is mentioned according to the PUSH message
Take the gateway accessing configuration information of the correspondence stored in the configuration module the PUSH message, comprising:
The Push Service module obtains the unique identification information of the push client in the PUSH message;
The Push Service module is according to the unique identification information for pushing client, in the configuration module described in acquisition
Sequence of interval where client unique identification information;
The Push Service module determines the groups of clients where the client according to the sequence of interval;
The Push Service module is obtained according to the corresponding relationship of the gateway IP and the mark for the groups of clients for accessing the gateway
Take the gateway IP of the corresponding groups of clients.
5. according to the method described in claim 4, it is characterized in that, the Push Service module is configured according to the gateway accessing
Information connects the gateway module, comprising:
The Push Service module connects the gateway module according to the gateway IP.
6. according to the method described in claim 5, it is characterized in that, the gateway module is stored with default client connection letter
Breath.
7. according to the method described in claim 6, it is characterized in that, the Push Service module passes through the gateway module for institute
It states PUSH message and is sent to the client, comprising:
The PUSH message is sent to the gateway module by the Push Service module;
The gateway module connects the client by the default client link information;The default client connection
Information is the link information of the client of the default management of the gateway module;
The PUSH message is sent to the client by the gateway module.
8. a kind of message driving means, which is characterized in that be applied to message push system, the system comprises business module, push away
Service module, configuration module, gateway module and client are sent, the configuration module stores gateway accessing configuration information, described
Device includes:
PUSH message receiving module receives the PUSH message that the business module is sent for Push Service module;
Gateway accessing configuration information extraction module is matched described in extraction for the Push Service module according to the PUSH message
Set the gateway accessing configuration information of the correspondence stored in module the PUSH message;
Gateway module link block connects the gateway mould for Push Service module according to the gateway accessing configuration information
Block;
The PUSH message is sent to for Push Service module by the gateway module described by PUSH message sending module
Client.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 7
The step of described in any item information push methods.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the information push method as described in any one of claims 1 to 7 is realized when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910331900.7A CN109889613B (en) | 2019-04-24 | 2019-04-24 | Message pushing method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910331900.7A CN109889613B (en) | 2019-04-24 | 2019-04-24 | Message pushing method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109889613A true CN109889613A (en) | 2019-06-14 |
CN109889613B CN109889613B (en) | 2022-03-18 |
Family
ID=66938254
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910331900.7A Active CN109889613B (en) | 2019-04-24 | 2019-04-24 | Message pushing method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109889613B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131443A (en) * | 2019-12-23 | 2020-05-08 | 中国平安财产保险股份有限公司 | Task pushing method and system |
CN114553945A (en) * | 2022-01-15 | 2022-05-27 | 江苏秉信科技有限公司 | Message pushing method for power intranet cloud platform-crossing unified framework gateway |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651722A (en) * | 2009-08-28 | 2010-02-17 | 华为技术有限公司 | Method, device and system for automatically allocating IP address |
CN102025593A (en) * | 2009-09-21 | 2011-04-20 | 中国移动通信集团公司 | Distributed user access system and method |
WO2011050663A1 (en) * | 2009-10-28 | 2011-05-05 | 中兴通讯股份有限公司 | Method and system for tunnel update in communication system supporting local internet protocol (ip) access |
CN102523177A (en) * | 2011-12-19 | 2012-06-27 | 北京新媒传信科技有限公司 | Method and system for realization of message push service |
US20130163463A1 (en) * | 2011-12-21 | 2013-06-27 | Cisco Technology, Inc. | Systems and methods for load balancing in cellular networks and wireless local area networks |
KR20130103161A (en) * | 2012-03-09 | 2013-09-23 | 주식회사 엘지씨엔에스 | Method and system for providing push message |
KR101367265B1 (en) * | 2013-06-10 | 2014-02-28 | 주식회사 톡씨소프트 | Push server, push service providing system and method of the same |
CN105959410A (en) * | 2016-06-29 | 2016-09-21 | 深圳中兴网信科技有限公司 | Load balancing method and load balancing system of server cluster |
CN109246220A (en) * | 2018-09-19 | 2019-01-18 | 南方科技大学 | A kind of message push system and method |
CN109548022A (en) * | 2019-01-16 | 2019-03-29 | 电子科技大学中山学院 | Method for mobile terminal user to remotely access local network |
-
2019
- 2019-04-24 CN CN201910331900.7A patent/CN109889613B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651722A (en) * | 2009-08-28 | 2010-02-17 | 华为技术有限公司 | Method, device and system for automatically allocating IP address |
CN102025593A (en) * | 2009-09-21 | 2011-04-20 | 中国移动通信集团公司 | Distributed user access system and method |
WO2011050663A1 (en) * | 2009-10-28 | 2011-05-05 | 中兴通讯股份有限公司 | Method and system for tunnel update in communication system supporting local internet protocol (ip) access |
CN102523177A (en) * | 2011-12-19 | 2012-06-27 | 北京新媒传信科技有限公司 | Method and system for realization of message push service |
US20130163463A1 (en) * | 2011-12-21 | 2013-06-27 | Cisco Technology, Inc. | Systems and methods for load balancing in cellular networks and wireless local area networks |
KR20130103161A (en) * | 2012-03-09 | 2013-09-23 | 주식회사 엘지씨엔에스 | Method and system for providing push message |
KR101367265B1 (en) * | 2013-06-10 | 2014-02-28 | 주식회사 톡씨소프트 | Push server, push service providing system and method of the same |
CN105959410A (en) * | 2016-06-29 | 2016-09-21 | 深圳中兴网信科技有限公司 | Load balancing method and load balancing system of server cluster |
CN109246220A (en) * | 2018-09-19 | 2019-01-18 | 南方科技大学 | A kind of message push system and method |
CN109548022A (en) * | 2019-01-16 | 2019-03-29 | 电子科技大学中山学院 | Method for mobile terminal user to remotely access local network |
Non-Patent Citations (1)
Title |
---|
张豪锋; 王春丽: "基于RFID的移动学习资源推送系统设计", 《中国电化教育》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111131443A (en) * | 2019-12-23 | 2020-05-08 | 中国平安财产保险股份有限公司 | Task pushing method and system |
CN111131443B (en) * | 2019-12-23 | 2023-06-30 | 中国平安财产保险股份有限公司 | Task pushing method and system |
CN114553945A (en) * | 2022-01-15 | 2022-05-27 | 江苏秉信科技有限公司 | Message pushing method for power intranet cloud platform-crossing unified framework gateway |
Also Published As
Publication number | Publication date |
---|---|
CN109889613B (en) | 2022-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109445894A (en) | A kind of screenshot method and electronic equipment | |
CN108924037A (en) | A kind of display methods and mobile terminal of rich media communications RCS message | |
CN108628521A (en) | A kind of screen operating method and mobile terminal | |
CN107613024A (en) | A kind of method of data synchronization and mobile terminal | |
CN108093306A (en) | A kind of barrage display methods and mobile terminal | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN110069675A (en) | A kind of search method and mobile terminal | |
CN109033913A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN109033912A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN109192153A (en) | A kind of terminal and terminal control method | |
CN108021379A (en) | A kind of upgrade method of application program, mobile terminal and server | |
CN109889613A (en) | A kind of information push method, device and mobile terminal | |
CN109976844A (en) | A kind of message display method and mobile terminal | |
CN109831582A (en) | Non- response events processing method and terminal | |
CN109348035A (en) | A kind of recognition methods of telephone number and terminal device | |
CN109639738A (en) | The method and terminal device of voice data transmission | |
CN109063076A (en) | A kind of Picture Generation Method and mobile terminal | |
CN108419283A (en) | A kind of method and mobile terminal of WIFI hot spot scanning | |
CN108540951A (en) | A kind of recharge method and mobile terminal | |
CN108494949B (en) | A kind of image classification method and mobile terminal | |
CN110045889A (en) | A kind of display methods and mobile terminal | |
CN110213437A (en) | A kind of edit methods and mobile terminal | |
CN108829303A (en) | A kind of information processing method, device and mobile terminal | |
CN108495276A (en) | A kind of sharing method and device of digital business card | |
CN108199926A (en) | A kind of building method, relevant device and the system of mobile terminal virtual system |
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 | ||
CB02 | Change of applicant information |
Address after: 510000 self-compiled 3-10B-2B at No. 309 Huangpu Avenue, Tianhe District, Guangzhou City, Guangdong Province Applicant after: Guangzhou Huanlao Network Technology Co., Ltd. Address before: 510000 self-compiled 3-10B-2B at No. 309 Huangpu Avenue, Tianhe District, Guangzhou City, Guangdong Province Applicant before: Guangzhou Biaoya Network Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |