Embodiment
Understand and realization the present invention the existing embodiments of the invention of describing by reference to the accompanying drawings for the ease of persons skilled in the art.
In order to carry out the integration statistics to short message propagation business in real time, the embodiment of the invention provides a kind of message propagation operation system that realizes content analysis, as shown in Figure 1, this message propagation operation system comprises: message service center 101, the professional delivery platform 102 of SDP (Service Delivery Platform), message propagation server 103.When sending user A to reception user B transmission message, message service center 101 receives and sends the message that the user sends, judge whether described transmission user has ordered the business of making a copy for, when determining that sending the user has ordered the business of making a copy for, message service center 101 sends described short message to receiving the user, and message service center 101 sends to professional delivery platform with described message.Professional delivery platform 102 receives described message, is the point-to-point message of ParlayX form with the message transformation that receives, and described point-to-point message is sent to message propagation server 103.The point-to-point message that 103 pairs of message propagation servers receive is resolved, and identifying the point-to-point message that receives is to carry out integration to sending the user after the seed message.Described professional delivery platform 102 carries out the transmission of point-to-point message with described message propagation server by the message interface that Parlay X expands.
In embodiments of the present invention, the message service center 101 in the message propagation operation system has the function that the point-to-point message of P2P (Peer-to-Peer) is made a copy for SDP.The open service access application programming interfaces Parlay X of Internet-based service (Web Service) has application to an A2P (Application-to-Peer) and puts on the basis of using the standard interfaces such as P2A (Peer-to-Application), and SDP is undertaken by expansion P2P message interface and message propagation server alternately.Message propagation server 103 possesses real-time reception P2P message and carries out the ability of content analysis, integration statistics.
In an embodiment of the present invention, the user orders the professional order relations of making a copy for and can be stored in message service center.Before professional delivery platform sends point-to-point message to the message propagation server, professional delivery platform can also judge whether the transmission user is any active ues according to any active ues tabulation, when determining that sending the user is any active ues, then P2P message is sent to the message propagation server, if judge that sending the user is non-any active ues, directly abandons described message.
In another embodiment of the present invention, professional delivery platform 102 carries out interacting message with described message propagation server 103 by the message interface that Parlay X expands.Shown in accompanying drawing 2, message service center 101 is by arranging the message function that module 1011 realizes that the point-to-point message of P2P (Peer-to-Peer) is made a copy for SDP of making a copy for.Professional delivery platform 102 also comprises message sink module 1021 and Parlay X transmission interface 1022.Wherein, described message sink module 1021 is used for the message that receipt message service centre sends; Described Parlay X transmission interface 1022 is the point-to-point message of ParlayX form for the message transformation that will receive the message service center transmission, and described point-to-point message is sent to the message propagation server.Described message propagation server 103 also comprises ParlayX receiver module 1031 and processor 1032.Wherein, described ParlayX receiver module 1031 is used for receiving the point-to-point message that professional delivery platform sends by Parlay X transmission interface; Described processor 1032 is used for the point-to-point message that receives is resolved, and identifying the point-to-point message that receives is seed message, carries out integration to sending the user.
The embodiment of the invention also provides a kind of integration statistic device of realizing the message propagation business of content analysis, and this integration statistic device comprises receiver module and processor, and described receiver module is used for receiving P2P message.Described processor is used for the P2P message that receives is carried out protocol analysis, identifies critical field, and identifying is after the seed message user A to be carried out integration to transmit integration to the message propagation server.Wherein, for example identify critical field: calling number, called number, transmitting time, content of short message.
In embodiments of the present invention, described message can be short message or multimedia message, and corresponding message service center is respectively SMSC SMS service center or MMSC (Multimedia Messaging Service Center) multimedia message service center.
In embodiments of the present invention, send SMS message take the message propagation operation system and describe the system configuration of message propagation operation system as example.As shown in Figure 3, in this message propagation operation system, message service center 101 is specially SMSC SMS service center 301, and SMSC SMS service center 301 is by arranging the P2P short message function that module 3011 realizes that the point-to-point short message of P2P (Peer-to-Peer) is made a copy for SDP302 of making a copy for.The P2P short message module of making a copy for specifically is used for sending the P2P short message as user A to user B, and SMSC judges the user A point-to-point short message of P2P of the short message service center business of making a copy for of whether contracting.The business of making a copy for refer to when contracted should business user when sending SMS message to the targeted customer, SMSC 301 sends to the targeted customer with short message, and short message is sent to SDP.For example, user A sends the P2P short message to destination end user B, the business of making a copy for if user A has contracted, then SMSC 301 is when transmission P2P short message is to destination end user B, the P2P short message is issued SDP, perhaps the transmission result according to user B issues SDP with short message, transmits the P2P short message by SDP to the message propagation server.The business of making a copy for can be contracted by following manner: SP or operator order the user by the backstage automatic batch of SMSC, and order relations is stored among the SMSC 301.SMSC can be set as the contracted user with all users of SMSC or certain customers.Before professional delivery platform 302 sends point-to-point message to the message propagation server, it is any active ues that professional delivery platform 302 sends the user according to any active ues tabulation judgement, then P2P message is sent to the message propagation server, if judge that sending the user is non-any active ues, directly abandons described message.
The P2P short message module 3011 of making a copy for sends to SDP 302 based on transmission control protocol TCP (Transmission Control Protocol) agreements such as SMPP (Short Message Peer to Peer) with the P2P short message.The SMPP agreement is the short message conversion agreement of an opening, the data format that has defined PDUS (the Protocol Data UnitS) protocol Data Unit of sequence of operations and exchanged between outside Short Message Entity ESMEs (External Short Message Entities) application system and the SMSC when SMPP moves.Further, the P2P short message is made a copy for module also for safeguarding user's order relations of ordering the business of making a copy for.
In embodiments of the present invention, SDP 302 can arrange the P2P short message and receive module 3021, and P2P short message Parlay X transmission interface 3022 is realized the sending and receiving of P2P message.
In embodiments of the present invention, the P2P short message that SDP arranges receives module 3021 and specifically is used for receiving the P2P short message that the SMSC SMS service center is made a copy for, and the P2P short message is carried out protocol analysis, identifies critical field.
In embodiments of the present invention, can called after P2PNotifySms by Parlay X expansion P2P short message Parlay X transmission interface 3022, can be with reference to the SMS in the parlayX standard interface (Short Message Service) short message service.By expanding this P2P short message parlayX transmission interface, SP service provider can be received in real time from the telecommunication apparatus P2P short message of SDP for example, reduce the technical difficulty that SP service provider accesses the Telecommunication network equipment ability.SP service provider receives short message by message propagation server entity equipment in embodiments of the present invention, carries out the integration statistics according to receiving short message.
The Parlay X transmission interface 3022P2PNotifySms SOAP short message format of P2P short message is as shown in table 1 below:
Table 1
As can be seen from Table 1, P2P short message transmission address and destination address all are phone numbers.Point-to-point short message P2PNotifySms short message field in the transmission Parlay X interface 3022 of the P2P short message by Parlay X expansion and the mapping relations of SMPP protocol fields are as shown in table 2:
Table 2
In the embodiment of the invention, corresponding, P2P short message ParlayX receiver module 3031 can be set message propagation server 303 and processor 3032 realizes receiving P2P short message and the function of carrying out content analysis, integration statistics.
P2P short message ParlayX receiver module 3031 is used for receiving the P2P short message that SDP sends.
Processor 3032 is used for the P2P short message that receives is resolved, and identifying the point-to-point message that receives is seed message, carries out integration to sending the user.
Described processor 3032 carries out content recognition according to the content key word library to the P2P short message, identifies critical field, for example: and calling number, called number, transmitting time, content of short message, and create the P2P Short Message Entity.Processor 3032 carries out content recognition according to the extensive and FastParse fuzzy matching in basis and judges whether seed short message of the P2P short message that receives, seed short message to registration is identified and is followed the tracks of, and the content that identifies stamped ID and according to content ID unit integration relative users is carried out integration statistics, the P2P Short Message Entity abandons afterwards, and the P2P content of short message is not preserved.
Described processor 3032 carries out the content recognition processing according to the content key word library to the P2P short message can be referring to following example.For example: the content of seed short message is ABCD, and system can be the distortion content recognition of ABCDx, xABCD, ABxCD several modes out.The most similar content recognition out and stamp the content ID of seed short message; To the content of None-identified, fill out 0 at the content ID of seed short message item, use for business diagnosis.
Above-mentioned FastParse fuzzy matching algorithm can accurately identify the distortion short message that comes from same material with the speed of ten thousand/second of 10+ in the material database of ten thousand of mistakes, accuracy rate exceeds more than one times than mating in full.For example the seed content of short message is: come back the seventh evening of the seventh moon in lunarcalendar and hope blue sky, magpie is encircleed Magpie Bridge in pairs.Beggingged for cleverness the moon in autumn in the every household, know without conscientious silk monarch? gently face the seventh evening of the seventh moon in lunarcalendar, turns one's dream into reality." then can identify following distortion short message by the FastParse fuzzy matching algorithm and stem from above-mentioned seed short message:
Distortion short message 1: come back the seventh evening of the seventh moon in lunarcalendar and hope blue sky, magpie is encircleed Magpie Bridge in pairs. and beggingged for cleverness the moon in autumn in the every household, know without conscientious silk monarch? gently face the seventh evening of the seventh moon in lunarcalendar, turns one's dream into reality.
Distortion short message 2: come back the seventh evening of the seventh moon in lunarcalendar and hope blue sky, magpie is encircleed Magpie Bridge in pairs.Beggingged for cleverness the moon in autumn in the every household, know without conscientious silk monarch?---gently face the seventh evening of the seventh moon in lunarcalendar, wishes that you turn one's dream into reality.Certain company so-and-so.
In another embodiment of the present invention, described processor 3032 also is used for according to any active ues tabulation that participates in the short message activities of transmission and calling number identification short message.The embodiment of the invention also provides and according to the mode that the contracted user is divided into any active ues and non-any active ues different contracted users has been sent to short message and carry out different processing.According to whether participating in the short message activities of transmission the point-to-point note of SMSC of the having contracted professional contracted user that makes a copy for is divided, be divided into any active ues and non-any active ues, any active ues refers to participate in propagating by message receipt or portal the contracted user of the seed short message activities of transmission that service SP carries out, and having neither part nor lot in movable contracted user just is non-any active ues.Wherein, active state can for the activity in the special time period, also can be permanent activity.For example: process respectively for the short message that short message and the non-any active ues of any active ues forwarding are transmitted, if any active ues short message need to carry out content analysis, storage P2P Short Message Entity.If there is non-any active ues short message, then according to requirements of service carry out by the bar integral processing, the P2P Short Message Entity abandons afterwards, and content of short message is not preserved.Described processor 3032 also is used for the P2P Short Message Entity of the pending content analysis that buffer memory receives.
In another embodiment of the present invention, the embodiment of the invention provides a kind of short message of content analysis of realizing to propagate professional method flow.Behind the seed short message that user A receipt message propagation server sends, user A transmits the seed short message to user B.User A also can be simultaneously with short message to user C, user D, in the embodiment that user A sends SMS message to a plurality of users, below flow process basically identical.As shown in Figure 4, the professional method flow of short message propagation of realization content analysis is described as follows:
S401:SMSC receives user A and sends to short message, judges that user A has ordered the business of making a copy for, and sends to user B with short message, and short message is made a copy for to SDP by the SMPP agreement.
SMSC sends to SDP based on Transmission Control Protocol such as SMPP with the P2P short message.
S402:SDP receives the SMPP short message that SMSC sends by the SMPP agreement, resolves the SMPP short message that receives, and this SMPP short message is converted into the P2P short message of ParlayX form.
S403:SDP sends the P2P short message to the message propagation server.
S404: the message propagation server carries out protocol analysis to the P2P short message that receives, and identifies critical field, determines behind the seed short message user A to be carried out integration.
In this step, the message propagation server carries out content recognition according to the content key word library to the P2P short message, carry out content recognition and judge whether it is the seed short message, seed short message to registration is identified, and the content that identifies stamped ID and according to content ID unit integration relative users is carried out integration statistics, the P2P Short Message Entity abandons afterwards, and the P2P content of short message is not preserved.
Because the P2P short message of SMPP short message, P2P ParlayX is the TCP short message, can process in real time, can not occur that reasonable list need to be preserved like that for a long time and the safety problem that causes on disk.
In the above embodiment of the present invention, the point-to-point short message of P2P need to be transmitted to the message propagation server through SDP, because SDP grasps up-to-date business datum, SDP is to the ParlayX interface of the open P2P short message of SP/ message propagation server, use Service-oriented Architecture SOA (Service-Oriented Architecture) framework, make the more friendly use telecommunication capability of SP service provider.
By being set, agent equipment realizes that the P2P message that message service center is made a copy for carries out analysis and filter in the another embodiment of the present invention in the message propagation operation system.In this embodiment, as shown in Figure 5, the message propagation operation system comprises: message service center 501, the professional delivery platform 502 of SDP, message propagation server 503, agent equipment 504.Message service center 501 is used for when user A sends P2P message to user B, judges the user A business of making a copy for of whether contracting, and the business of making a copy for if user A has contracted is then made a copy for message to agent equipment.This embodiment is to send SMS message as example, and message service center 501 is made a copy for short message to agent equipment 504 by the SMPP agreement.Agent equipment 504 is used for resolving the SMPP short message that receives, and tabulation identifies any active ues and is forwarded to the short message that short message is then transmitted to SDP502 according to any active ues, if be the short message that non-any active ues is transmitted, then directly abandons.SDP 502 sends to message propagation server 503 with the short message that receives.The point-to-point message that 503 pairs of message propagation servers receive is resolved, and identifying the point-to-point message that receives is seed message, carries out integration to sending the user.In this embodiment, if transmission is multimedia message, then message service center 501 sends to agent equipment 504 by the MM7 agreement with multimedia message, and agent equipment 504 need to be resolved the multimedia message that receives by the MM7 agreement.
In another embodiment of the present invention, agent equipment 504 can be set forwarding strategy flexibly when carrying out analysis and filter.For example forwarding strategy can be set as non-content analysis pattern, is about to the short message SDP that any active ues sends.Forwarding strategy can the setting content analytical model, directly the short message that receives is carried out integral analysis, transmit integration to the message propagation server, then not needing the P2P short message just needs synchronous integration to SDP 502 when agent equipment only is configured to the content analysis pattern.Agent equipment also is used for and the data such as the tabulation of message propagation server sync any active ues and integration information.
In embodiments of the present invention, the function of above-mentioned agent equipment and SDP can be integrated in the same equipment and realize, also can be realized by different equipment.Agent equipment and SDP can close and be located at together, also can distinguish independent the setting.The network operation situation of the concrete visual reality of network equipment structure arranges flexibly.
In another embodiment of the present invention, the embodiment of the invention provide a kind of realize content analysis short message propagate professional method flow.Behind the seed short message that user A receipt message propagation server sends, user A transmits the seed short message to user B.User A also can be simultaneously with short message to user C, user D, in the embodiment that user A sends SMS message to a plurality of users, below flow process basically identical.As shown in Figure 6, realize content analysis short message propagate professional method flow and be described as follows:
S601:SMSC receives user A and sends to short message, judges that user A has ordered the business of making a copy for, and sends to user B with short message, and short message is made a copy for to agent equipment by the SMPP agreement.
SMSC sends to agent equipment based on Transmission Control Protocol such as SMPP with the P2P short message.
S602: agent equipment receives the SMPP short message that SMSC sends by the SMPP agreement, tabulation judges that short message is the short message that any active ues is transmitted according to any active ues, then the P2P short message is sent to the message propagation server, if short message is the short message that non-any active ues is transmitted, directly abandon.
S603:SDP sends the P2P short message to the message propagation server.
S604: the message propagation server carries out protocol analysis to the P2P short message that receives, and identifies critical field, and identifying is behind the seed short message user A to be carried out integration.
By being set, agent equipment realizes that the P2P message that message service center is made a copy for carries out analysis and filter in the another embodiment of the present invention in the message propagation operation system.In this embodiment, as shown in Figure 7, the message propagation operation system comprises: message service center 701, agent equipment 702, message propagation server 703.Message service center 701 is used for when user A sends P2P message to user B, judges the user A business of making a copy for of whether contracting, and the business of making a copy for if user A has contracted is then made a copy for message to agent equipment 702.Agent equipment 702 is used for resolving the message that receives, carry out protocol analysis, identify critical field, identifying is behind the seed short message user A to be carried out integration to transmit integration to message propagation server 703, the integration information that message propagation server 703 Receiving Agent equipment send.In this embodiment, do not need the P2P short message to SDP.Agent equipment 702 can also with the data such as the synchronous any active ues tabulation of message propagation server 703 and integration information.In this embodiment, if transmission is short message, message service center 701 is made a copy for short message to agent equipment 702 by the SMPP agreement.If what send is multimedia message, then message service center 701 sends to agent equipment 702 by the MM7 agreement with multimedia message, and 702 of agent equipments need to be resolved the multimedia message that receives by the MM7 agreement.
In another embodiment of the present invention, the invention provides a kind of realize content analysis short message propagate professional method flow.Behind the seed short message that user A receipt message propagation server sends, user A transmits the seed short message to user B.User A also can be simultaneously with short message to user C, user D, in the embodiment that user A sends SMS message to a plurality of users, below flow process basically identical.As shown in Figure 8, realize content analysis short message propagate professional method flow and be described as follows:
S801:SMSC receives user A and sends to short message, judges that user A has ordered the business of making a copy for, and sends to user B with short message, and short message is made a copy for to agent equipment by the SMPP agreement.
SMSC sends to agent equipment based on Transmission Control Protocol such as SMPP with the P2P short message.
S802: agent equipment receives SMSC by the SMPP short message that the SMPP agreement sends, and carries out protocol analysis, identifies critical field, and identifying is behind the seed short message user A to be carried out the integration statistics, transmits integration information to the message propagation server.
S803: the integration information that message propagation server Receiving Agent equipment sends.
In the another embodiment of the present invention, propagate professional system of systems structure take message propagation operation system transmission multimedia message as the example description messages.As shown in Figure 9, the message propagation operation system specifically comprises: multimedia message service center MMSC 901, professional delivery platform SDP 902, message propagation server 903.In this message propagation operation system, analyze integration via SDP 902 to message propagation server 903 by the MMSC 901 real-time P2P multimedia message P2PNotifyMms that makes a copy for.Ordered the business of making a copy for when determine sending the user, multimedia message service center 901 will send the user by the MM7 agreement and send to multimedia message and send to professional delivery platform 902; Professional delivery platform 902 receives the multimedia message that the multimedia message service center sends by MM7 multimedia message value-added service interface agreement, the multimedia message that parsing receives, this multimedia message is converted into the point-to-point multimedia message of point-to-point ParlayX form, described point-to-point multimedia message is sent to message propagation server 903; The point-to-point multimedia message that 903 pairs of message propagation servers receive is resolved, and identifying is to carry out integration to sending the user behind the seed multimedia message.
Described multimedia message service center sends to professional delivery platform by the MM7 agreement with described multimedia message and realizes that the idiographic flow of multimedia message transmission and integral processing can be with reference to transmission and the integration statistical disposition flow process of above-mentioned short message, and the multimedia message format conversion that relates in the flow process that multimedia message is propagated or the mode of processing describe in the following embodiments.
The Parlay X interface called after P2PNotifyMms of P2P multimedia message with reference to the MMS in the parlayX standard interface (Multimedia Messaging Service) MMS, is divided into main soap message and secondary soap message.
In this embodiment, P2PNotifyMms master's soap message carries P2P multimedia message service fields and is exemplified below shown in the table 3:
Table 3
The mapping relations of P2PNotifyMms message and MM7 (Multimedia Messaging interface 7) multimedia message value-added service interface agreement are as shown in table 4 below:
Table 4
The secondary soap message of P2PNotifyMms carries the multimedia message multimedia file, adopt the SOAP standard to encapsulate, soap message based on " MIME Multipart/related " medium type makes up, annex embeds the MIME border as parts wherein, can define in the Context-Type header.Each MIME parts has header information to be used to specify the coding for these MIME parts such as type, the Content Transfer-encoding that Context-Type is used to specify the data that embed these MIME parts), Content-ID and/or Content-Location be used for from the identifier of quoting Anywhere these contents of MIME bag.Wherein multimedia message is propagated synchronous multimedia integrate language smil (SynchronizedMultimediaIntegration Language) file including and is described the required information of Multimedia Program, arranges by sequential sound, image, literal and graphic file are play arrangement.Wherein, the smil file is as the MIME parts, and Context-Type is application/smil, comprises the multimedia message digital signature field, and this multimedia message of unique identification is identified after making forwarding of multimedia.
A kind of method that realizes the message propagation business of content analysis that the embodiment of the invention provides, the method comprising the steps of: message service center receives and sends the user to the message that receives user's transmission, judges whether described transmission user has ordered the business of making a copy for; Message service center sends described short message to receiving the user; When determining that sending the user has ordered the business of making a copy for, message service center sends to professional delivery platform with described message; Professional delivery platform receives described message, is the point-to-point message of ParlayX form with the message transformation that receives, and described point-to-point message is sent to the message propagation server; The message propagation server is resolved the point-to-point message that receives, and identifying is to carry out integration to sending the user after the seed message.
Technical scheme by the above embodiment of the present invention provides to the open ParlayX interface of SP, only comprises the necessary field of minority based on the SDP networking in the point-to-point message of Web Service, by technology such as ws-security and SSL Information Security is promoted.Controlled the P2P message of making a copy for to SP based on SDP networking operator, can real-time objective ground monitoring business, carry out in real time the integration statistics, strengthen its operation reliability.The present invention can avoid operator to reveal and legal risk because of the individual privacy that SMSC CDR file open message content may exist in actual applications.Replace CDR file to carry out message propagation based on real-time messages, operator need not to open the sensitive datas such as ticket to third party SP, has strengthened Information Security.Reduce the external data dependence that SP commences business.Little based on real-time messages propagation analysis and integration time-delay, solved the slow problem of ticket scheme response speed, conveniently carry out the business higher with client connection.
Those of ordinary skills as can be known, all or part of step in the said method can be finished by the relevant hardware of program command, this program can be stored in the computer-readable recording medium, this computer-readable recording medium such as ROM, RAM and CD etc.
In sum, more than be preferred embodiment of the present invention only, be not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.