The content of the invention
It is a primary object of the present invention to propose that a kind of broadcast message pushes control method and device, it is intended to solve existing skill
Speed when broadcasting the message is pushed in art to application program slower, the problem of taking long.
To achieve the above object, the present invention proposes that a kind of broadcast message pushes control device, and described device includes:
File fine module, for when the push for receiving application server is asked, from application passage listed files
Multiple full dose passage files of searching target application program;
Task creation module, in the presence of multiple full dose passage files of the destination application, according to search
As a result multiple push subtasks and increment subtask are created, wherein, the push subtask is complete with the destination application
Passage file is measured to correspond;
File download submodule, multiple full dose passages text for downloading the destination application from file server
Part;
File push module, for the multiple push subtasks of asynchronous execution, wherein each push subtask is
According to the full dose passage file push target broadcast message of the corresponding destination application;
Increment pushing module, for performing the increment subtask, wherein the increment task is to the intended application
The increment channel of program pushes target broadcast message.
Alternatively, described device also includes:
File creation module, for clocked flip document creation task, the document creation task includes inquiry database
In all passages record, it is multiple full dose passages that each application program creates the application program to pass through multitask mode
File is simultaneously stored in the file server;
Wherein, the record number of entries of each full dose passage file is preset value, each record entry correspondence institute
State a channel information of application program.
Alternatively, the increment pushing module is specifically included:
Search area determining unit, the creation time for multiple full dose passage files according to the destination application
Stamp determines passage incremental record;
Traversal searches unit, is led to for traveling through the passage incremental record with the increment for determining the destination application
Road;
Increment push unit, for pushing target broadcast message to the increment channel of the destination application.
Alternatively, file push module performs each push subtask and specifically included:
The full dose passage file of the corresponding destination application in the push subtask is traveled through to determine destination channel
Quantity;
Deferred information according to destination channel quantity quantity identical with target broadcast message establishing;
The presence of the destination channel is inquired about to determine destination channel to be pushed;
Corresponding deferred information is pushed to all destination channels to be pushed.
Alternatively, broadcast message pushes control device and also included:
Full dose pushing module, for when multiple full dose passage files of the destination application are not present, inquiring about number
Record to push target broadcast message to all passages of the destination application according to all passages in storehouse;
Asynchronous trigger module, for when multiple full dose passage files of the destination application are not present, triggering institute
State document creation task.
In addition, to achieve the above object, the present invention also proposes that a kind of broadcast message pushes control method, methods described bag
Include:
When the push for receiving application server is asked, the searching target application program from application passage listed files
Multiple full dose passage files;
In the presence of multiple full dose passage files of the destination application, multiple push are created according to search result
Task and increment subtask, wherein, the push subtask and the full dose passage file of the destination application are corresponded;
Multiple full dose passage files of the destination application are downloaded from file server;
The multiple push subtasks of asynchronous execution, wherein each push subtask is according to the corresponding target
The full dose passage file push target broadcast message of application program;
The increment subtask is performed, wherein the increment task is to be pushed to the increment channel of the destination application
Target broadcast message.
Alternatively, methods described also includes:
Clocked flip document creation task, the document creation task includes all passages record in inquiry database,
Multiple full dose passage files of the application program are created for each application by multitask mode and the file is stored in
Server;
Wherein, the record number of entries of each full dose passage file is preset value, each record entry correspondence institute
State a channel information of application program.
Alternatively, the step of execution increment subtask is specifically included:
Creation time stamp according to multiple full dose passage files of the destination application determines passage incremental record;
The passage incremental record is traveled through to determine the increment channel of the destination application;
Target broadcast message is pushed to the increment channel of the destination application.
Alternatively, the step of mode for performing each push subtask, specifically includes:
The full dose passage file of the corresponding destination application in the push subtask is traveled through to determine destination channel
Quantity;
Deferred information according to destination channel quantity quantity identical with target broadcast message establishing;
The presence of the destination channel is inquired about to determine destination channel to be pushed;
Corresponding deferred information is pushed to all destination channels to be pushed.
Alternatively, it is described when the push for receiving application server is asked, search mesh from application passage listed files
After the step of marking multiple full dose passage files of application program, methods described also includes:
When multiple full dose passage files of the intended application are not present, inquiry database in all passages record with
Target broadcast message is pushed to all passages of the destination application;
Trigger the document creation task.
In addition, to achieve the above object, the present invention also proposes a kind of broadcast message push control system, including application service
Device, push server, file server and intelligent terminal, wherein,
The application server, which is used to send to the push server, to be pushed request to push mesh to destination application
Mark broadcast message;
The push server application broadcast message as described above pushes control device;
The file server is used to store the full dose passage file;
The intelligent terminal is used to receive target broadcast message and distributes to the destination application.
Broadcast message proposed by the present invention pushes control method, device and system, when receiving pushing away for application server
When sending request, multiple full dose passage files of searching target application program from application passage listed files;When the target should
In the presence of multiple full dose passage files of program, multiple push subtasks and increment subtask are created according to search result;From
Multiple full dose passage files of the destination application are downloaded in file server;The multiple sons that push of asynchronous execution are appointed
Business, according to the full dose passage file push target broadcast message of the corresponding destination application;Increment is performed to appoint
Business, target broadcast message is pushed to the increment channel of the destination application.So as to pass through back-up application full dose passage text
Part, the broadcast message for realizing full dose passage file in multitask asynchronism and concurrency mode is pushed, and improves the treatability of message push
Can, increment channel push is supplemented in the way of database, it is ensured that push the integrality of user.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the intelligent terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".Fig. 1 is realization each embodiment of the invention
Broadcast message pushes the structural representation of control method system.
Broadcast message push control method system include intelligent terminal 100, push server 200, application server 300 with
And file server 400.
Application server 300, which is used to send to the push server, to be pushed request to push target broadcast to intended application
Message;
It is wide that push server 200 sends target after push request is received to the intelligent terminal 100 equipped with intended application
Broadcast information;
File server 400 is used to store the file needed for push server, wherein, including full dose passage file.
Intelligent terminal 100 is used to receive target broadcast information and distributes to the intended application.
Specifically, in the present invention, intelligent terminal is after application program is installed, and application program is incited somebody to action when opening Push Service
Registered and distributed with Acquisition channel to push server, push server can be the application assigned ID, should
ID is uniquely corresponding to intelligent terminal ID, that is, the same application program in different intelligent terminal will possess different ID,
The push channel of the ID also on unique mark intelligent terminal between the application program and push server, i.e. intelligent terminal and
The TCP connection maintained between push server 200, broadcasts the message so that push server 200 is pushed to the application program.
It is understood that application program also possesses the application ID of their own, the different application to distinguish, for example, using A, using B
Deng.Above- mentioned information all record as the application program passage record storage in the channel table of push server, often
An application program on one passage record correspondence intelligent terminal, record applies ID, and ID and device id are (i.e. intelligent
Termination ID) etc. information, herein, device id is used for unique mark intelligent terminal, can be the physical address of intelligent terminal such as MAC
Location or other can with the identifier of unique mark intelligent terminal, such as the IMSI or ICCID of intelligent terminal, the present invention it is right
This is not restricted, and ID is distributed by push server, and the present invention is not restricted to this concrete form and form, can be several
The combination of other any characters of word, letter etc. or above form, length is not limited, but ID has uniqueness, does not weigh
Appear again existing.The upper channel table of push server 200 has each passage record by enrollment time record.It is as shown in table 1 below to be taken to push
A channel table example being engaged on device 200, it is to be understood that the invention is not restricted to this form.
The channel table of table 1
Passage ID |
Using ID |
ID |
Device id |
Channel address |
…… |
1 |
A |
133 |
MAC1 |
address1 |
|
2 |
B |
123 |
MAC2 |
address2 |
|
3 |
C |
103 |
MAC3 |
address3 |
|
4 |
D |
100 |
MAC4 |
address4 |
|
…… |
|
|
|
|
|
It is to be appreciated that, because channel table have recorded the application program of oriented push server registration channel information,
Therefore the number of entries in channel table will gradually increase, and quantity is more, time-consuming longer when searching for one by one.
Herein, the main centrally stored passage for having some application program of full dose passage file is recorded, that is, full dose passage
File re-starts taxonomic revision by differentiation of application program to channel table.It is understood that to avoid full tunnel file mistake
Greatly, the record entry of each full dose passage file can be limited as predetermined number, such as 100,000.One application program can be with
Possess many full dose passage files.Full dose passage file is stored in file server 400.
In the present invention, file server can be the commercial server provided using third party, can also be carried by service
Ftp server is voluntarily set up for business.
Intelligent terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet personal computer), PMP
The intelligent terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is intelligent terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 2 illustrates for the hardware configuration of the optional intelligent terminal of realization each embodiment one of the invention.
Intelligent terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 1 shows the intelligent terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part.More or less components can alternatively be implemented.The element of intelligent terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows intelligent terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, at least one in wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with DMB (DMB) electronics
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And in server at least one and/or receive from it radio signal.Such radio signal can be logical including voice
Talk about signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of intelligent terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the positional information of intelligent terminal.Location information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115, which is calculated, comes from three or more satellites
Range information and correct time information and for the Information application triangulation of calculating so that according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, defended for calculating the method for position and temporal information using three
Star and the position calculated by using other satellite correction and the error of temporal information.In addition, GPS module 115
Can be by Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include microphone 122,
Microphone 122 can be received in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone
Sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can be with
The form that can be sent to mobile communication base station via mobile communication module 112 is converted in the case of telephone calling model defeated
Go out.Microphone 122 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send
The noise produced during audio signal or interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of intelligent terminal
Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of intelligent terminal 100, (for example, intelligent terminal 100 opens or closes shape
State), the position of intelligent terminal 100, user is for the presence or absence of contact (that is, touch input) of intelligent terminal 100, intelligent terminal
100 orientation, the acceleration or deceleration movement of intelligent terminal 100 and direction etc., and generate for controlling intelligent terminal 100
The order of operation or signal.For example, when intelligent terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed
The sliding-type phone is opening or closing.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with intelligent terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage is used to verify that user uses each of intelligent terminal 100
Plant information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected via port or other attachment means with intelligent terminal 100.Interface unit 170 can be used for reception and come from
The input (for example, data message, electric power etc.) of external device (ED) and the input received is transferred in intelligent terminal 100
One or more elements can be used for transmitting data between intelligent terminal and external device (ED).
In addition, when intelligent terminal 100 is connected with external base, interface unit 170 may be used as allowing by it by electricity
Power provides to the path of intelligent terminal 100 from base or may be used as allowing passing through it from the various command signals that base is inputted
It is transferred to the path of intelligent terminal.The various command signals or electric power inputted from base may be used as being used for identification intelligent terminal
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display
Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in intelligent terminal 100.For example, when intelligent terminal 100 is in electricity
When talking about call mode, display unit 151 can be shown with conversing or other communicating (for example, text messaging, multimedia file
Download etc.) related user interface (UI) or graphic user interface (GUI).When intelligent terminal 100 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit
151 may be used as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, intelligent terminal 100 can include two or more display units (or other display devices), for example, intelligence
Energy terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detection to touch
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can intelligent terminal be in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and it is output as sound.Moreover, dio Output Modules 152 can be provided and intelligence
The audio output (for example, call signal receives sound, message sink sound etc.) for the specific function correlation that terminal 100 is performed.
Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output to notify event to intelligent terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit
153 can provide output in a different manner with the generation of notification event.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incomingcommunication), alarm list
Member 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even in
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program of the processing performed by controller 180 and control operation etc., Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, intelligent terminal 100 can be with performing memory by network connection
The network storage device cooperation of 160 store function.
The overall operation of the generally control intelligent terminal of controller 180.For example, controller 180 is performed and voice call, data
Communication, video calling etc. related control and processing.In addition, controller 180 can include being used to reproduce (or playback) many matchmakers
The multi-media module 1810 of volume data, multi-media module 1810 can be constructed in controller 180, or can be structured as and control
Device 180 processed is separated.Controller 180 can be with execution pattern identifying processing, by the handwriting input performed on the touchscreen or figure
Piece draws input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each member
Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation
Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai
Implement, software code can be stored in memory 160 and be performed by controller 180.
So far, oneself according to its function through describing intelligent terminal.Below, for the sake of brevity, will description such as folded form,
Sliding-type intelligent terminal in various types of intelligent terminals of board-type, oscillating-type, sliding-type intelligent terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of intelligent terminal, and be not limited to sliding-type intelligent terminal.
Intelligent terminal 100 as shown in Figure 2 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system are operated.
The communication system for describing wherein be operated according to the intelligent terminal of the present invention referring now to Fig. 3.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple intelligent terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to the BSC275 formation interfaces with that can be couple to base station 270 via back haul link.
If any of interface that back haul link can be known according to Ganji is constructed, the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction
Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception
Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, specific BS270 each subregion can be claimed
For multiple cellular stations.
As shown in Figure 3, broadcast singal is sent to the intelligent terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 2 is arranged at intelligent terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 3 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps to position multiple intelligent terminals
At least one in 100.
In figure 3, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful
Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to obtain desired positioning letter
Breath.GPS tracking techniques or outside GPS tracking techniques are substituted, the other of the position that can track intelligent terminal can be used
Technology.In addition, at least one gps satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various intelligent terminals 100
Signal.Intelligent terminal 100 generally participates in call, information receiving and transmitting and other types of communication.It is each anti-that certain base station 270 is received
Handled to link signal in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call
Resource allocation and the mobile management function of coordination including the soft switching process between BS270.BSC275 is also by the number received
According to MSC280 is routed to, it is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 with
MSC280 formation interfaces, MSC and BSC275 formation interface, and BSC275 correspondingly control BS270 with by forward link signals
It is sent to intelligent terminal 100.
Based on above-mentioned intelligent terminal hardware structure and communication system, each embodiment of the inventive method is proposed.
As shown in figure 4, first embodiment of the invention proposes a kind of network mode automatic dialing unit, applied in Fig. 1
Push server end, device 10 include file fine module 310, task creation module 320, file download module 330, file is pushed away
Module 340 and increment pushing module 350 are sent, module is described in detail below.
File fine module 310, for when the push for receiving application server is asked, from using passage listed files
Multiple full dose passage files of middle searching target application program;
Specifically, using the corresponding relation that have recorded in passage listed files between full dose passage file and application program,
By being scanned for using ID, it may be determined that multiple full tunnel files that application program is possessed.Herein, it is multiple to refer to one or one
More than individual.In the push request that application server is sent, answering for the destination application that needs push broadcasts the message is contained
With ID, file fine module 310 is received after push request, therefrom obtains the application ID of destination application, it is possible to pass through
This is searched in application passage listed files using ID and determines that current goal application program whether there is corresponding full dose passage
File and specific quantity of documents.
It is to be appreciated that, it can be both stored in using passage listed files in push server, file can also be stored in
In server, or it is stored in simultaneously in push server and file server and real-time synchronization renewal.
Fig. 5 is please also refer to, further, in the present embodiment, device 10 also includes:
File creation module 360, for clocked flip document creation task, the document creation task includes inquiry data
All passages record in storehouse, is led to by multiple full doses that multitask mode is each application program establishment application program
Road file is simultaneously stored in the file server;
Specifically, as it was noted above, the passage record for some application program that is stored with full dose passage file set, and is
Avoid full dose passage file excessive, the record number of entries of each full dose passage file is preset value, each record strip
One channel information of the mesh correspondence application program.Full dose passage file can pass through clocked flip text by file creation module
Part creates task and created.When document creation task is triggered, file creation module 360 begins stepping through what is stored in database
Application message, often traverses an application program, then sets up document creation subtask for each application and immediately begin to perform,
Created by this document establishment subtask for the application program and belong to the full dose passage file of the application program and lock full dose
The creation time stamp of passage file, until traversal is finished.That is, file creation module 360 is each by multitask mode
Application program creates full dose passage file, and each document creation subtask one application program of correspondence will create batch of complete
Measure passage file.Detailed, the implementation procedure of each document creation subtask is as follows:
When task is performed, now the time was used as the first moment for registration.Meanwhile, it is each from database in paging form
Channel table in obtain a certain amount of passage record and inquired about, record and records to ought to obtain the passage of correspondence application program
In preceding full dose passage file, be successively read next paging until current full dose passage file record entry reach preset value, then when
Full dose passage document creation is finished, and creates next full dose passage file, record reads paging, so repeated, until having inquired about
Finish all passages record in channel table, the creation time stamp of all full dose passage files of generation be labeled as the first moment,
And all full dose passage files of generation are uploaded to file server, apply passage listed files while updating.
It is understood that the present invention is not restricted to the concrete form of full dose passage file, it is to apply A as shown in table 2
A full dose passage file content illustrate with reference to figure, wherein have recorded application A some passages record, including ID and
The information such as device id (i.e. intelligent terminal ID).Content in full dose passage file can be form as shown in table 1, also may be used
To be other forms, the invention is not limited in this regard in table 1, have recorded the application name (application belonging to full dose passage file
ID) and file timestamp (creation time).
It is understood that the name of file can be named with application ID and creation time stamp, also, with batch of text
Part can be ranked up according to quantity of documents, it is assumed for example that file creation module 360 was in 27 day 03 month at 4 points in afternoon in 2017
Document creation task, it is that application program A creates a batch file totally 2 to traverse after application program A by document creation subtask
Individual file, then possess 2 two full dose passage files using A, can be respectively designated as " apply A201703271600-01 " and
" A201703271600-02 " is applied, file sequence number has no practical significance between file -01 and file -02, can adjusted mutually
Change.
Table 2 applies A full dose channel tables
Task creation module 320, in the presence of multiple full dose passage files of the destination application, foundation to be searched
Seek result and create multiple push subtasks and increment subtask, wherein, the push subtask and the destination application
Full dose passage file is corresponded;
Specifically, in the presence of multiple full dose passage files of destination application, task creation module 320 will be according to complete
The push subtask of the identical quantity of quantity correspondence establishment of passage file is measured, while an increment subtask is set up, if for example, searching
There are 5 full dose passage files in rope, then task creation module 320 will set up 5 and push subtask and 1 to destination application
Increment subtask.
File download submodule 330, multiple full doses for downloading the destination application from file server are led to
Road file;
File push module 340, for the multiple push subtasks of asynchronous execution, wherein each push subtask
For the full dose passage file push target broadcast message according to the corresponding destination application;
Specifically, in the presence of multiple full dose passage files of destination application, file download submodule 330 is according to searching
Seek multiple full dose passage files that result downloads destination application from file server.After download, file push module 340
Start to perform the push subtask of above-mentioned multiple establishments, executive mode is asynchronous.Pass through above-mentioned push subtask, file push mould
Block 340 is according to the full dose passage file of each corresponding destination application in push subtask to every on full dose passage file
One passage pushes target broadcast message.For example, still by taking application program A as an example, application program A has two full dose passage files,
" apply A201703271600-01 " and " apply A201703271600-02 ", it is assumed that push subtask 1 to file -01, push away
Respective file -02 of subtask 2 is sent, then when performing push subtask 1, will be recorded according to the passage on file -01, pass through record
Each passage pushes target broadcast message, and finally, user 133,134,136 will receive the target broadcast message, namely physically
Location is respectively that the application A on MAC1, MAC5, MAC6 intelligent terminal will receive the target broadcast message.
It is to be appreciated that, in the present embodiment, the download of full dose passage file, the execution for pushing subtask is successively of the invention
It is not intended to limit.When searching a full dose passage file, it can synchronously perform file download and subtask is created.When some
Full dose passage file download is completed, as long as its corresponding push subtask has begun to create, you can corresponding to start to perform
Push subtask, it is on the contrary then need wait its establishment after just start execution.When a push subtask is created and starts to perform,
If now the corresponding full dose passage file in the push subtask have not yet been downloaded it is unfinished, need pending file download completion.No
It is independent of each other with the execution pushed between subtask, namely pushes the executive mode of subtask for asynchronous execution.
Detailed, in the present embodiment, the process that file push module 340 performs each push subtask is as follows:
The full dose passage file of the corresponding destination application in the push subtask is traveled through to determine destination channel
Quantity;
Deferred information according to destination channel quantity quantity identical with target broadcast message establishing;
The presence of the destination channel is inquired about to determine destination channel to be pushed;
Corresponding deferred information is pushed to all destination channels to be pushed.
Specifically, still by taking application program A as an example, application program A has two full dose passage files, " application
A201703271600-01 " and " apply A201703271600-02 ", it is assumed that push subtask 1 to file -01, push son and appoint
It is engaged in 2 respective files -02.When performing push subtask 1, each passage record on the traversal file -1 of file push module 340,
It is final to determine to need the quantity of the destination channel of push, correspond to each destination channel and deferred information, deferred information is respectively created
Content according to target broadcast message determine.Then, the current presence for all destination channels that inquiry is determined, online mesh
Mark passage is classified as destination channel to be pushed, and the corresponding deferred information of the destination channel to be pushed is passed through into the destination channel to be pushed
Pushed, not online destination channel can then be postponed pushing, or timing inquire about after waits and is pushed again online,
Invention is not restricted for the push processing of not online destination channel.Herein, presence refers to application program on intelligent terminal
Whether the push channel between push server still maintains is tieed up between connection status, i.e. intelligent terminal and push server 200
The TCP connections held are disconnection or maintain linking status.
Increment pushing module 350, for performing the increment subtask, wherein the increment task is should to the target
Target broadcast message is pushed with the increment channel of program.
Specifically, increment pushing module 350 is by performing increment subtask, can to destination application increment channel
Push target broadcast message.Herein, increment channel mainly the full dose passage document creation including destination application to being pushed away
During sending, the passage record of the destination application increased newly in database on channel table., can be right by performing increment subtask
The passage record not being recorded into full dose passage file carries out supplement push, to avoid omitting.
Further, Fig. 7 is please also refer to, in the present embodiment, increment pushing module 350 is specifically included:
Search area determining unit 351, the establishment for multiple full dose passage files according to the destination application
Timestamp determines passage incremental record;
Traversal searches unit 352, for traveling through the passage incremental record to determine the increment of the destination application
Passage;
Increment push unit 353, for pushing target broadcast message to the increment channel of the destination application.
Specifically, the passage record in database on channel table also includes the record time.Search area determining unit 351
A moment (the first moment) can be determined according to the creation time stamp of multiple full dose passage files of target program, then in channel table
All passages record of the record time after the first moment is passage incremental record, and traversal searches unit 352 according to target
The application ID of application program travels through the passage incremental record, and the increment channel of destination application can be determined by matching,
Thus, increment push unit 353, can push target broadcast message to the increment channel of determination.
Further, Fig. 6 is refer to, in the present embodiment, device 10 also includes:
Full dose pushing module 370, for when multiple full dose passage files of the destination application are not present, inquiring about
All passages in database record to push target broadcast message to all passages of the destination application;
Asynchronous trigger module 380, for when multiple full dose passage files of the destination application are not present, triggering
The document creation task.
Specifically, when searching the full dose passage file of fall short application program, illustrating the full dose of destination application
Passage file is not yet set up or lost.Now, full dose pushing module 370 can directly search the channel table in database,
From all passages record on channel table, the passage record matched with the application ID of destination application is inquired about, target is determined
All passages of application program, and it is determined that matching passage when, by the passage to corresponding intelligent terminal push target it is wide
Message is broadcast, the destination application on corresponding intelligent terminal is received the target broadcast message.Meanwhile, asynchronous trigger mode
The asynchronous triggering document creation task of block 380, performs task creation task, to create target journey by file creation module 360
The full dose passage file of sequence.
When full dose passage file is not present, recorded by searching for the passage in database to be pushed away to corresponding intelligent terminal
Target broadcast message is sent, add the fault-tolerance of push, supplemented by database, it is to avoid situation about can not push.
It is proposed by the present invention broadcast message push control device, when receive application server push ask when, from should
With multiple full dose passage files of searching target application program in passage listed files;It is multiple complete when the destination application
Measure in the presence of passage file, multiple push subtasks and increment subtask are created according to search result;Under from file server
Carry multiple full dose passage files of the destination application;The multiple push subtasks of asynchronous execution, according to corresponding institute
State the full dose passage file push target broadcast message of destination application;The increment subtask is performed, should to the target
Target broadcast message is pushed with the increment channel of program.So as to asynchronous simultaneously with multitask by back-up application full dose passage file
Originating party formula realizes that the broadcast message of full dose passage file is pushed, and the process performance of message push is improved, in the way of database
Supplement increment channel to push, it is ensured that push the integrality of user.
As shown in figure 8, second embodiment of the invention proposes that a kind of broadcast message pushes control method, applied to Push Service
Device end, methods described includes:
Step 801, when the push for receiving application server is asked, searching target should from application passage listed files
With multiple full dose passage files of program;If file is present, into step S802;If being not present, into step S806;
Specifically, using the corresponding relation that have recorded in passage listed files between full dose passage file and application program,
By being scanned for using ID, it may be determined that multiple full tunnel files that application program is possessed.Herein, it is multiple to refer to one or one
More than individual.In the push request that application server is sent, answering for the destination application that needs push broadcasts the message is contained
With ID, file fine module 310 is received after push request, therefrom obtains the application ID of destination application, it is possible to pass through
This is searched in application passage listed files using ID and determines that current goal application program whether there is corresponding full dose passage
File and specific quantity of documents.
It is to be appreciated that, it can be both stored in using passage listed files in push server, file can also be stored in
In server, or it is stored in simultaneously in push server and file server and real-time synchronization renewal.
Further, in the present embodiment, methods described is further comprising the steps of:
Clocked flip document creation task, the document creation task includes all passages record in inquiry database,
Multiple full dose passage files of the application program are created for each application program by multitask mode and are stored in described
File server;
Specifically, as it was noted above, the passage record for some application program that is stored with full dose passage file set, and is
Avoid full dose passage file excessive, the record number of entries of each full dose passage file is preset value, each record strip
One channel information of the mesh correspondence application program.Full dose passage file can pass through clocked flip text by file creation module
Part creates task and created.When document creation task is triggered, file creation module 360 begins stepping through what is stored in database
Application message, often traverses an application program, then sets up document creation subtask for each application and immediately begin to perform,
Created by this document establishment subtask for the application program and belong to the full dose passage file of the application program and lock full dose
The creation time stamp of passage file, until traversal is finished.That is, file creation module 360 is each by multitask mode
Application program creates full dose passage file, and each document creation subtask one application program of correspondence will create batch of complete
Measure passage file.Detailed, the implementation procedure of each document creation subtask is as follows:
When task is performed, now the time was used as the first moment for registration.Meanwhile, it is each from database in paging form
Channel table in obtain a certain amount of passage record and inquired about, record and records to ought to obtain the passage of correspondence application program
In preceding full dose passage file, be successively read next paging until current full dose passage file record entry reach preset value, then when
Full dose passage document creation is finished, and creates next full dose passage file, record reads paging, so repeated, until having inquired about
Finish all passages record in channel table, the creation time stamp of all full dose passage files of generation be labeled as the first moment,
And all full dose passage files of generation are uploaded to file server, apply passage listed files while updating.
It is understood that the present invention is not restricted to the concrete form of full dose passage file, it is to apply A as shown in table 2
A full dose passage file content illustrate with reference to figure, wherein have recorded application A some passages record, including ID and
The information such as device id (i.e. intelligent terminal ID).Content in full dose passage file can be form as shown in table 1, also may be used
To be other forms, the invention is not limited in this regard in table 1, have recorded the application name (application belonging to full dose passage file
ID) and file timestamp (creation time).
It is understood that the name of file can be named with application ID and creation time stamp, also, with batch of text
Part can be ranked up according to quantity of documents, it is assumed for example that file creation module 360 was in 27 day 03 month at 4 points in afternoon in 2017
Document creation task, it is that application program A creates a batch file totally 2 to traverse after application program A by document creation subtask
Individual file, then possess 2 two full dose passage files using A, can be respectively designated as " apply A201703271600-01 " and
" A201703271600-02 " is applied, file sequence number has no practical significance between file -01 and file -02, can adjusted mutually
Change.
Table 2 applies A full dose channel tables
Step 802, multiple push subtasks and increment subtask are created according to search result, wherein, the son that pushes is appointed
Business and the full dose passage file of the destination application are corresponded;
Specifically, in the presence of multiple full dose passage files of destination application, task creation module 320 will be according to complete
The push subtask of the identical quantity of quantity correspondence establishment of passage file is measured, while an increment subtask is set up, if for example, searching
There are 5 full dose passage files in rope, then task creation module 320 will set up 5 and push subtask and 1 to destination application
Increment subtask.
Step 803, multiple full dose passage files of the destination application are downloaded from file server;
File push module 340, for the multiple push subtasks of asynchronous execution, wherein each push subtask
For the full dose passage file push target broadcast message according to the corresponding destination application;
Specifically, in the presence of multiple full dose passage files of destination application, file download submodule 330 is according to searching
Seek multiple full dose passage files that result downloads destination application from file server.After download, file push module 340
Start to perform the push subtask of above-mentioned multiple establishments, executive mode is asynchronous.Pass through above-mentioned push subtask, file push mould
Block 340 is according to the full dose passage file of each corresponding destination application in push subtask to every on full dose passage file
One passage pushes target broadcast message.For example, still by taking application program A as an example, application program A has two full dose passage files,
" apply A201703271600-01 " and " apply A201703271600-02 ", it is assumed that push subtask 1 to file -01, push away
Respective file -02 of subtask 2 is sent, then when performing push subtask 1, will be recorded according to the passage on file -01, pass through record
Each passage pushes target broadcast message, and finally, user 133,134,136 will receive the target broadcast message, namely physically
Location is respectively that the application A on MAC1, MAC5, MAC6 intelligent terminal will receive the target broadcast message.
It is to be appreciated that, in the present embodiment, the download of full dose passage file, the execution for pushing subtask is successively of the invention
It is not intended to limit.When searching a full dose passage file, it can synchronously perform file download and subtask is created.When some
Full dose passage file download is completed, as long as its corresponding push subtask has begun to create, you can corresponding to start to perform
Push subtask, it is on the contrary then need wait its establishment after just start execution.When a push subtask is created and starts to perform,
If now the corresponding full dose passage file in the push subtask have not yet been downloaded it is unfinished, need pending file download completion.No
It is independent of each other with the execution pushed between subtask, namely pushes the executive mode of subtask for asynchronous execution.
Detailed, in the present embodiment, Figure 10 is refer to, perform each process for pushing subtask as follows:
Step S101, travels through the full dose passage file of the corresponding destination application in the push subtask to determine
Destination channel quantity;
Step S102, the deferred information according to destination channel quantity quantity identical with target broadcast message establishing;
Step S103, inquires about the presence of the destination channel to determine destination channel to be pushed;
Step S104, corresponding deferred information is pushed to all destination channels to be pushed.
Specifically, still by taking application program A as an example, application program A has two full dose passage files, " application
A201703271600-01 " and " apply A201703271600-02 ", it is assumed that push subtask 1 to file -01, push son and appoint
It is engaged in 2 respective files -02.When performing push subtask 1, each passage record on the traversal file -1 of file push module 340,
It is final to determine to need the quantity of the destination channel of push, correspond to each destination channel and deferred information, deferred information is respectively created
Content according to target broadcast message determine.Then, the current presence for all destination channels that inquiry is determined, online mesh
Mark passage is classified as destination channel to be pushed, and the corresponding deferred information of the destination channel to be pushed is passed through into the destination channel to be pushed
Pushed, not online destination channel can then be postponed pushing, or timing inquire about after waits and is pushed again online,
Invention is not restricted for the push processing of not online destination channel.Herein, presence refers to application program on intelligent terminal
Whether the push channel between push server still maintains is tieed up between connection status, i.e. intelligent terminal and push server 200
The TCP connections held are disconnection or maintain linking status.
Step S805, performs the increment subtask, wherein the increment task is the increasing to the destination application
Measure passage and push target broadcast message.
Specifically, increment pushing module 350 is by performing increment subtask, can to destination application increment channel
Push target broadcast message.Herein, increment channel mainly the full dose passage document creation including destination application to being pushed away
During sending, the passage record of the destination application increased newly in database on channel table., can be right by performing increment subtask
The passage record not being recorded into full dose passage file carries out supplement push, to avoid omitting.
Further, Fig. 9 is please also refer to, in the present embodiment, step S805 is specifically included:
Step S901, the creation time stamp according to multiple full dose passage files of the destination application determines that passage increases
Amount record;
Step S902, travels through the passage incremental record to determine the increment channel of the destination application;
Step S903, target broadcast message is pushed to the increment channel of the destination application.
Specifically, the passage record in database on channel table also includes the record time.Search area determining unit 351
A moment (the first moment) can be determined according to the creation time stamp of multiple full dose passage files of target program, then in channel table
All passages record of the record time after the first moment is passage incremental record, and traversal searches unit 352 according to target
The application ID of application program travels through the passage incremental record, and the increment channel of destination application can be determined by matching,
Thus, increment push unit 353, can push target broadcast message to the increment channel of determination.
All passages in step S806, inquiry database record to push to all passages of the destination application
Target broadcast message;
Step S807, triggers document creation task.
Specifically, when searching the full dose passage file of fall short application program, illustrating the full dose of destination application
Passage file is not yet set up or lost.At this point it is possible to the channel table in database be directly searched, from owning on channel table
In passage record, the passage record matched with the application ID of destination application is inquired about, all logical of destination application is determined
Road, and it is determined that matching passage when, by the passage to corresponding intelligent terminal push target broadcast message, make corresponding intelligence
Destination application in energy terminal can receive the target broadcast message.Meanwhile, asynchronous triggering document creation task, by file
Creation module 360 starts to perform task creation task, to create the full dose passage file of target program.
When full dose passage file is not present, recorded by searching for the passage in database to be pushed away to corresponding intelligent terminal
Target broadcast message is sent, add the fault-tolerance of push, supplemented by database, it is to avoid situation about can not push.
It is proposed by the present invention broadcast message push control method, when receive application server push ask when, from should
With multiple full dose passage files of searching target application program in passage listed files;It is multiple complete when the destination application
Measure in the presence of passage file, multiple push subtasks and increment subtask are created according to search result;Under from file server
Carry multiple full dose passage files of the destination application;The multiple push subtasks of asynchronous execution, according to corresponding institute
State the full dose passage file push target broadcast message of destination application;The increment subtask is performed, should to the target
Target broadcast message is pushed with the increment channel of program.So as to asynchronous simultaneously with multitask by back-up application full dose passage file
Originating party formula realizes that the broadcast message of full dose passage file is pushed, and the process performance of message push is improved, in the way of database
Supplement increment channel to push, it is ensured that push the integrality of user.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented, in the case where not conflicting,
Feature in the embodiment of the present invention and embodiment can be mutually combined implementation.
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.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.