CN113810864B - Regional short message targeted group sending method and system - Google Patents

Regional short message targeted group sending method and system Download PDF

Info

Publication number
CN113810864B
CN113810864B CN202010479848.2A CN202010479848A CN113810864B CN 113810864 B CN113810864 B CN 113810864B CN 202010479848 A CN202010479848 A CN 202010479848A CN 113810864 B CN113810864 B CN 113810864B
Authority
CN
China
Prior art keywords
filtering
target
filtered
user number
screening
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010479848.2A
Other languages
Chinese (zh)
Other versions
CN113810864A (en
Inventor
黄锦乾
王敏
肖文彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010479848.2A priority Critical patent/CN113810864B/en
Publication of CN113810864A publication Critical patent/CN113810864A/en
Application granted granted Critical
Publication of CN113810864B publication Critical patent/CN113810864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a regional short message targeted mass sending method and a regional short message targeted mass sending system, which are used for solving the problem of how to realize targeted mass sending of regional short messages. The method comprises the following steps: collecting a first user number to be filtered of a target geographic area according to the global cell identification code and XDR signaling position data of the target geographic area; acquiring a second number to be filtered related to the business activity; screening and filtering the first user number to be filtered or screening and filtering the first user number to be filtered and the second user number to be filtered according to the parameter configuration of the service activity requirement so as to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment; the method and the device have the advantages that the short message content appointed by the business activity is pushed to the target user number, the target mobile user number can be determined accurately in real time, the short message content appointed by the business activity is pushed to the target user number, and the target user number which is diffused outside the monitored area can be continuously monitored to achieve the sustainable effect.

Description

Regional short message targeted group sending method and system
Technical Field
The embodiment of the invention relates to the field of mobile communication, in particular to a method, a system and a server for targeted mass sending of regional short messages.
Background
In order to realize the mass texting of specific people stream in a designated geographic area so as to achieve various purposes such as disaster early warning, government affair propaganda and business drainage, the existing regional texting targeting mass texting method is used for manually inquiring corresponding cell codes CGI according to a target area provided by a demand party, then manually analyzing XDR signaling position snapshot table data through a HADOOP, extracting target crowd numbers in the designated geographic area in batches, and then performing the texting mass texting through various types of SMS platforms. The scheme is characterized in that all links are required to be manually connected, the real-time performance depends on the platform environment and the flow, and the scheme is suitable for single operation.
However, the existing method for targeted mass sending of regional short messages has the following disadvantages: firstly, the delay is large, the real-time effect cannot be realized, no targeted stream processing is carried out on the signaling data, only the full number position snapshot data is kept once at intervals, the full number position snapshot data is stored into the HDFS, then the number of a target area is queried by various subsequent applications through the HIVE or other interfaces according to the traditional analysis means, and platform resources are shared with other analysis activities, so that the time consumption is extremely unstable. The data processing links and the operation flows are numerous, part of the flows and the sending links need to be manually intervened, the number is calculated from the target entering area to the sending of the short message, the shortest time of the whole link is 30 minutes, and the time is generally more than 1 hour; secondly, the target user cannot ensure normal hit, because the photographing frequency of the signaling position snapshot data is several minutes, when the mobile terminal moves at a high speed to pass through the target area, the phenomenon that the mobile terminal cannot catch can possibly occur, the smaller the target area range is, the larger the terminal moving speed is, the more obvious the phenomenon can only be solved by expanding the target area range; thirdly, continuous sending cannot be achieved, when continuous monitoring and sending are needed to be carried out on a specific area to achieve the effect similar to the cell short messages, namely, newly-increased people stream group sending short messages entering an area are continuously sent, and due to batch data processing, time consumption is high each time, and the continuous effect cannot be achieved.
The other cell broadcasting technology is based on broadcasting rather than unicast principle, so that the technology is not suitable for accurate filtering control of targets, needs terminal support, and has the defects of low coverage rate, incapability of distinguishing services according to ports, need configuration of network elements and the like.
Disclosure of Invention
The embodiment of the invention provides a method, a system and a server for targeted mass sending of regional short messages, which are used for solving the problem of how to realize the targeted mass sending of real-time regional short messages at a high speed.
The embodiment of the invention adopts the following technical scheme:
in a first aspect, a method for targeted mass sending of regional short messages is provided, where the method includes:
collecting a first user number to be filtered of a target geographic area according to a global cell identification code and XDR signaling position data of the target geographic area;
acquiring a second number to be filtered related to the business activity;
screening and filtering the first user number to be filtered or screening and filtering the first user number to be filtered and the second user number to be filtered according to the parameter configuration of the service activity requirement to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment;
And pushing the short message content appointed by the service activity to the target user number.
In a second aspect, a system for targeted mass sending of regional short messages is provided, where the system includes:
the real-time acquisition module is used for acquiring a first user number to be filtered of a target geographic area according to the global cell identification code and XDR signaling position data of the target geographic area;
the offline acquisition module is used for acquiring a second number to be filtered related to the business activity;
the screening and filtering processing module is used for carrying out screening and filtering processing on the first user number to be filtered or carrying out screening and filtering processing on the first user number to be filtered and the second user number to be filtered according to parameter configuration of the service activity requirement so as to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment;
and the short message pushing module is used for pushing the short message content appointed by the service activity to the target user number.
In a third aspect, a server is provided, comprising: a memory storing computer program instructions;
and the processor is used for realizing the method for targeted mass sending of the regional short messages when the computer program is executed by the processor.
In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform a method of targeted mass sending of regional sms messages as described above.
Embodiments of the present invention may include the following beneficial effects: 1. the method can determine the number of the target mobile user accurately in real time, and send the short message content appointed by the business activity to the number group of the target mobile user, so as to realize the targeted group sending of the short message in the area. 2. The continuous release effect can be realized by continuously capturing the target user numbers diffused outside the area. 3. The number can be ensured not to repeatedly receive the short message in a specified period, and accurate sending frequency control is realized; 4. the processing performance is good, and the pipelined filtering of the target number can be completed at high speed. 5. And the large-geographic-scale multi-business activity tasks are supported to be simultaneously and concurrently executed.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a schematic flow chart of a method for targeted mass sending of regional short messages according to an embodiment of the present disclosure;
Fig. 2 is a schematic diagram of an actual application scenario of a method for targeted mass sending of regional sms according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an actual application scenario of the regional short message targeted group sending method according to an embodiment of the present disclosure;
fig. 4 is a third practical application scenario schematic diagram of a method for targeted mass sending of regional sms according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an actual application scenario of a method for targeted mass sending of regional sms according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a system for targeted mass sending of regional sms messages according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a server structure according to an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present application based on the embodiments herein.
The embodiment of the invention provides a regional short message targeted mass sending method and a server, which are used for solving the problem that the real-time performance, the persistence and the accurate determination of a target user number cannot be realized in the prior art. The embodiment of the invention provides a method for targeted mass sending of regional short messages, and an execution subject of the method can be, but is not limited to, an application program, a server or a device or a system which can be configured to execute the method provided by the embodiment of the invention.
For convenience of description, hereinafter, embodiments of the method will be described taking an execution subject of the method as a server capable of executing the method as an example. It will be appreciated that the subject matter of the method being performed by the server is merely an exemplary illustration and should not be construed as limiting the method.
Fig. 1 is a flowchart of a method for targeted mass sending of regional sms messages provided in an embodiment of the present invention, where the method of fig. 1 may be executed by a server, as shown in fig. 1, and the method may include:
step 101, collecting a first user number to be filtered of a target geographic area according to a global cell identification code and XDR signaling position data of the target geographic area.
The first user number to be filtered refers to a real-time location user number. The method comprises the following steps:
As shown in fig. 2, on the basis of the XDR signaling sharing platform (Kafka) of the operator O domain, the real-time signaling stream is consumed by a stream processing engine (SparkStreaming), and the cache location cache in the distributed key value cache system (Redis) is refreshed in real time, and then the core location data model is packaged into a standardized real-time location data interface service by the OpenAPI, and the real-time location user number of the target geographic area is output to the downstream according to the global cell identification code and the XDR signaling location data of the target geographic area.
The method comprises the following steps: calculating and outputting the latest full-quantity number of the target geographic area in real time by carrying out stream processing on XDR signaling position data; continuously calculating and outputting the increment number which is diffused into the target geographic area in the transmission period through the user cell change log; and acquiring a first user number to be filtered of the target geographic area based on the latest full-quantity number and the increment number.
Step 102, obtaining a second number to be filtered related to the business activity.
The second number to be filtered is a non-real-time location user number, and the obtaining mode of the second number to be filtered can be obtained through a data warehouse based on the HADOOP.
Step 103, according to the parameter configuration of the service activity requirement, screening and filtering the first user number to be filtered, or screening and filtering the first user number to be filtered and the second user number to be filtered, so as to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment.
The screening and filtering treatment at least comprises the following steps: the periodic deduplication process further includes further or multiple steps of other filtering processes: a blacklist screening process, a whitelist screening process, a tag screening process, a home screening process, and a resident number screening process; the periodic duplicate removal process is used for controlling the times of allowing repeated sending of the short message in a preset time.
That is, the filtering process may have a rich combination, so as to meet various personalized requirements, for example, after performing the periodic deduplication process, it is also possible to perform one or more steps of screening-out or filtering-out other filtering processes (such as at least one of user tag filtering process, resident number filtering process, home screening process, blacklist filtering process, and whitelist filtering process) on the number after the periodic deduplication process in combination with the second number to be filtered, and the output of each filtering process serves as the input of the next filtering process. In addition, the system and the service are convenient to uniformly and intensively manage, and the safety is high.
Of course, other filtering processes are not limited to the above-listed screening processes.
Step 104, pushing the short message content appointed by the service activity to the target user number.
The step can adopt a form of sending short messages, and push the short message content appointed by the business activity to the target user number.
According to the embodiment of the invention, a first user number to be filtered of a target geographic area is acquired according to the global cell identification code and XDR signaling position data of the target geographic area; acquiring a second number to be filtered related to the business activity; screening and filtering the first user number to be filtered or screening and filtering the first user number to be filtered and the second user number to be filtered according to the parameter configuration of the service activity requirement so as to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment; the method comprises the steps of pushing the short message content appointed by the business activity to the target user number, determining the target mobile user number accurately in real time, and sending the short message content appointed by the business activity to the target user number in a group mode to realize targeted group sending of the short message in the area. In addition, the continuous release effect can be realized by continuously capturing the target user numbers diffused outside the area. The number can be ensured not to repeatedly receive the short message in a specified period, and accurate sending frequency control is realized; and (5) completing the running water type filtering of the target number at high speed.
As an embodiment, as shown in fig. 3, step 103 may be specifically implemented as:
step 1029, initializing a cache filter.
Step 1030, reading in the number.
In step 1031, in the number filtering processing buffer based on hash addressing, it is determined whether the first user number to be filtered has occurred or should be filtered according to the count value using the number as a key.
Specifically, if the count value is empty, judging that the first user number to be filtered does not appear or should not be filtered; if the count value is not null, it is determined that the first subscriber number to be filtered has occurred or should be filtered.
Step 1032, if it is determined that the first to-be-filtered user number does not appear or should not be filtered, determining that the first to-be-filtered user number is a target user number to be output to the next processing link.
Step 1033, if it is determined that the first to-be-filtered user number appears or should be filtered, performing an operation of increasing the count value of the first to-be-filtered user number.
If the deduplication process is a periodic deduplication process, outputting a target number after executing step 1033, and executing step 1028 to determine whether a filter is used for processing the first user number to be filtered and the number count value is 1; if so, step 1034 is performed.
Step 1034, setting the service life of the number key value in the filtering processing cache of each user number to be filtered according to the requirement parameters of the service activity.
And 1035, when the service life is reduced to 0, clearing the number key value in the cache record.
The specific implementation can be as follows: the embodiment of the invention realizes a filtering engine based on REDIS, writes the first user number to be filtered acquired in step 101 and/or the second user number to be filtered acquired in step 102 into a hash-addressed number filtering processing cache as a cache KEY value of a KEY, searches the KEY value of the first user number to be filtered in the cache, if the KEY value is returned to be null, which indicates that the first user number to be filtered does not exist, the first user number to be filtered does not exist or should not be filtered, at the moment, the first user number to be filtered is determined to be a target user number, and the cache KEY value of the first user number can be directly output and set to be 1; if the number is returned to be non-empty, the first user number to be filtered is indicated to have already sent information, and at this time, the buffer key value count of the number is increased by 1. And setting and maintaining the service life of the number key value in the filtering processing cache of each user number to be filtered according to the requirement parameters of the service activity, and clearing the number key value in the cache record when the service life is reduced to 0.
In the embodiment of the application, the cache effect is realized through the Redis, so that high-speed filtering can be realized, and the same content short message can be sent only once to the same user number in a specific area and a time period, so that the target mobile user number can be determined at high speed and accurately, and the phenomenon that a large number of complaints are caused by disturbance people is effectively avoided. In addition, because each number is processed independently in the scene, and a race condition is not formed, the operation of partitioning according to the number or high concurrency IO of multiple threads is supported, and the overall filtering performance is improved.
As an embodiment, if the filtering process further includes at least one other filtering process, after processing the first subscriber number to be filtered, step 103 may specifically include the following cases:
first, if the number of the other filtering processes is one and the type is screening out, determining that the number output by the other filtering processes is the target number according to the number key value in the filtering process cache.
For example, if the number of other filtering processes is one and the type of other filtering processes is screening-out, the number key value in the hash addressed number filtering process buffer is null, then the number output by the other filtering process is determined to be the target number.
And secondly, if the number of the other filtering processes is one, and the type of the other filtering processes is filtering type, determining that the number output by the other filtering processes is not the target number according to the number key value in the filtering process cache.
For example, if the number of other filtering processes is one and the type of other filtering processes is filtering, the number key value in the hash addressed number filtering process buffer is not null, then determining that the number output by the other filtering processes is not the target number.
Thirdly, if the number of the other filtering processes is N, the types of the N other filtering processes include a filtering type and/or a screening type, the output of the ith other filtering process is the input of the (i+1) th other filtering process, the number output by the nth other filtering process is determined to be the target number, wherein N is a positive integer greater than or equal to 2, i is a positive integer greater than 1 and less than N, and the N other filtering processes are processed in parallel through multiple threads.
As an embodiment, before executing step 103, the method for targeted group sending of regional short messages provided by the embodiment of the present invention further includes:
step S1, acquiring a target area set of all business activities;
Step S2, based on the effective time limit of the plurality of business activities, merging the target areas of the plurality of business activities in the same time period into an area set to obtain a target area global cell identification code set which should be requested to be processed in different time periods;
illustratively, as shown in fig. 4, on the time axis, according to the validity time limits of the target service 1, the target service 2, the target service 3 and the target service 4, the target areas of the target service 1 in the first time period T1 are combined into an area set a (i.e., a service activity set a shown in fig. 4), where the area set a is a set of target areas that are processed on the request in the time period T1; combining the target area of the target service 1 and the target area of the target service 3 in the second time period T2 into an area set B (i.e., a service activity set B shown in fig. 4), where the area set B is a target area set processed by the request in the time period T2; combining the target area of the target service 1, the target area of the target service 3 and the target area of the target service 4 in the third time period T3 into an area set C (i.e., a service activity set C shown in fig. 4), where the area set C is a target area set processed by the request in the time period T3; combining the target area of the target service 1, the target area of the target service 2, the target area of the target service 3 and the target area of the target service 4 in the fourth time period T4 into an area set D (i.e., a service activity set D shown in fig. 4), where the area set D is a target area set processed by the request in the T4 time period; the target area of the target service 1 and the target area of the target service 4 in the fifth period T5 are combined into an area set F (i.e., a service active set F shown in fig. 4), which is a set of target areas that should be processed by the request in the period T5.
Step S3, according to the global cell identification codes of the target area sets corresponding to different time periods, requesting to calculate the user number and the corresponding global cell identification code in the corresponding time period from the real-time position stream calculation data source;
s4, according to the global cell identification codes of the target areas of different business activities, correlating the results, splitting the target user number into the business activities to which the target user number belongs for filtering;
the step S4 may be specifically implemented as:
and splitting the user number into different business activity filtering links according to the global cell identification codes contained in different business activity target areas.
Specifically, if the short message content specified by the service activity is required to be pushed to the target user number in the first time period T1, acquiring the user number and the corresponding global cell identification code contained in the target area set in the first time period T1, splitting the user number into different service activity filtering links according to the global cell identification codes contained in different service activity target areas, screening and filtering the user number to obtain the target user number, and pushing the short message content specified by the service activity to the target user number;
If the short message content appointed by the service activity is required to be pushed to the target user number in the fourth time period T4, firstly, the user number contained in the target user number and the global cell identification code corresponding to the user number are acquired according to the target area set in the fourth time period T4, the user number is split into different service activity filtering links according to the global cell identification codes contained in different service activity target areas, and the short message content appointed by the service activity is pushed to the target user number by screening and filtering the user number according to the target service 1, the target area of the target service 2, the target area of the target service 3 and the target service 4 in the target area set.
According to the embodiment of the invention, the target areas of the plurality of target services are converted into the time sequence divided area sets according to the effective time limit of the plurality of target services, then the user numbers are split into different service activity filtering links according to the global cell identification codes contained in the different service activity target areas, the user numbers are filtered to obtain the target user numbers, the short message content appointed by the service activity is pushed to the target user numbers, a plurality of uncorrelated service content concurrency is realized, and part of calculation load is separated to an application layer, so that the effect of improving the concurrency of the service activity is achieved.
The method for targeted mass sending of the regional short message in the embodiment of the present specification is described in detail above with reference to fig. 1 to 4, and the system for targeted mass sending of the regional short message in the embodiment of the present specification is described in detail below with reference to fig. 5 and 6.
Fig. 6 shows a schematic structural diagram of a system for targeted mass sending of regional short messages provided in an embodiment of the present disclosure, as shown in fig. 7, the system may include:
the real-time acquisition module 601 is configured to acquire a first user number to be filtered of a target geographic area according to a global cell identification code and XDR signaling location data of the target geographic area; wherein, the collection module is a real-time collection module.
The offline acquisition module 602 is configured to acquire a second number to be filtered related to a service activity;
the filtering processing module 603 is configured to perform filtering processing on the first to-be-filtered user number according to the parameter configuration of the service activity requirement, or perform filtering processing on the first to-be-filtered user number and the second to-be-filtered user number to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment;
and the short message pushing module 604 is configured to push the short message content specified by the service activity to the target user number.
In an embodiment, the real-time acquisition module 601 may include:
a first input unit for calculating and inputting the latest full-quantity number of the target geographical area in real time by processing the XDR signaling position data stream;
the second input unit is used for continuously calculating and inputting the increment number which is diffused into the target geographic area in the transmission period through the user cell change log;
and the real-time target calculation unit is used for acquiring a first user number to be filtered of the business activity based on the latest full-quantity number and the increment number.
In an embodiment, the filtering module 603 may include:
a judging unit, configured to judge whether a first user number to be filtered has occurred or should be filtered according to a count value using the number as a key in a hash-addressed number filtering processing buffer;
the first determining unit is used for determining that the first user number to be filtered is a target user number which is to be output to the next link if not;
and the counting unit is used for increasing the count value of the first user number to be filtered if yes.
In an embodiment, if the filtering process further includes at least one other filtering process, the filtering process module 603 may further include:
The second determining unit is configured to determine, if the number of the other filtering processes is one and the type of the other filtering process is a screening type, that the number output by the other filtering process is the target number according to the number key value in the filtering process cache; or alternatively, the process may be performed,
a third determining unit, configured to determine, if the number of the other filtering processes is one and the type of the other filtering processes is a filtering type, that the number output by the other filtering processes is not the target number according to the number key value in the filtering process cache; or alternatively, the process may be performed,
and a fourth determining unit, configured to determine, if the number of the other filtering processes is N, where the N types of the other filtering processes include a filtering type and/or a screening type, an output of the ith other filtering process is an input of the (i+1) th other filtering process, a number output through the nth other filtering process is the target number, where N is a positive integer greater than or equal to 2, i is a positive integer greater than 1 and less than N, and the N other filtering processes are processed in parallel through multiple threads.
In an embodiment, if the deduplication process is a periodic deduplication process, the filtering module 603 may include:
The service life setting unit is used for setting the service life of the number key value in the filtering processing cache of each user number to be filtered according to the requirement parameters of the service activity;
and the cache clearing unit is used for clearing the number key value in the cache record when the service life is reduced to 0.
In one embodiment, the filtering process at least includes: the periodic deduplication process further includes further or multiple steps of other filtering processes: a blacklist screening process, a whitelist screening process, a tag screening process, a home screening process, and a resident number screening process; the periodic duplicate removal process is used for controlling the times of allowing repeated sending of the short message in a preset time.
In an embodiment, the system may further include:
the concurrency processing module 605 is configured to obtain a target area set of all business activities;
a target area merging unit 606, configured to merge target areas of a plurality of business activities in the same time period into an area set based on the effective time limits of the plurality of business activities, so as to form target areas that should be requested to be processed in different time periods;
the target number splitting unit 607 is configured to split the user number into different service activity filtering links according to the global cell identification codes included in the different service activity target areas.
In specific implementation, the specific module composition structure of the server provided by the embodiment of the present invention may be as shown in fig. 5, and the functions that can be implemented are: the user is allowed to define a target geographic area through a geographic information system (Geographic Information System or Geo-Information system, GIS) map, then continuously push short messages to people entering a designated area with extremely low time delay, and flexibly schedule and manage and send service contents by taking items/services as management units. The overall delay in performance reaches a maximum of 2 minutes, on average within 15 minutes.
The PAAS platform in fig. 5 is a Hadoop-based large data warehouse platform, and includes data models of various levels of three domains of a communication operator BOM, and corresponding batch query interfaces and data job scheduling development tools.
The EMAS in fig. 5 is a MAS business middleware that encapsulates CMPP sms protocol and opens the functionality in the form of an API.
The server provided by the embodiment of the invention can realize full automation, and through the target service in the system, parameters such as a target range, a target type, a sending time and the like are simply set through the target service/template/region configuration once, and a manual intervention process is not needed after the target service is approved by a short message. In addition, the system is provided with a graphical user interface including GIS and an API capable of external service: the application layer of the proposal has a humanized and mapped unified operation interface, and a plurality of front-end and back-end systems are needed to be respectively operated manually in order to complete tasks in the prior art. The proposal abstracts and encapsulates basic business functions, opens key functions to the outside in a RESTAPI mode, and allows applications to carry out commercial services to the outside of a company.
According to the embodiment of the invention, a first user number to be filtered of a target geographic area is acquired according to the global cell identification code and XDR signaling position data of the target geographic area; acquiring a second number to be filtered related to the business activity; screening and filtering the first user number to be filtered or screening and filtering the first user number to be filtered and the second user number to be filtered according to the parameter configuration of the service activity requirement so as to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment; the method comprises the steps of pushing the short message content appointed by the business activity to the target user number, determining the target mobile user number accurately in real time, and sending the short message content appointed by the business activity to the target user number in a group mode to realize targeted group sending of the short message in the area. In addition, the continuous release effect can be realized by continuously capturing the target user numbers diffused outside the area. The number can be ensured not to repeatedly receive the short message in a specified period, and accurate sending frequency control is realized; the high-speed flow type finishes the filtering of the target number.
A server according to an embodiment of the present invention will be described in detail with reference to fig. 7. Referring to fig. 7, at the hardware level, the server includes a processor, optionally including an internal bus, a network interface, a memory. As shown in fig. 7, the Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory, and so on. Of course, the server may also include the hardware needed to implement other services.
The processor, network interface, and memory may be interconnected by an internal bus, which may be an industry standard architecture (Industry Standard Architecture, ISA) bus, a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 7, but not only one bus or type of bus.
And the memory is used for storing programs. In particular, the program may include program code including computer-operating instructions. The memory may include memory and non-volatile storage and provide instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form a device for associating the resource value-added object with the resource object on a logic level. The processor executes the programs stored in the memory and is specifically configured to perform the operations of the method embodiments described in the foregoing description.
The methods disclosed in the embodiments shown in fig. 1 to fig. 4 and the methods executed by the server may be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
The server shown in fig. 7 may also execute the methods of fig. 1 to fig. 4, and implement the functions of the embodiments shown in fig. 1 to fig. 4 in the method for targeted group sending of regional short messages, which are not described herein again in detail.
Of course, in addition to the software implementation, the server of the present application does not exclude other implementations, such as a logic device or a combination of software and hardware, that is, the execution subject of the following process flows is not limited to each logic unit, but may also be hardware or a logic device.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above embodiments of the method, and can achieve the same technical effects, and for avoiding repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (9)

1. The method for targeted mass sending of the regional short messages is characterized by comprising the following steps:
collecting a first user number to be filtered of a target geographic area according to a global cell identification code and XDR signaling position data of the target geographic area;
Acquiring a second number to be filtered related to the business activity;
screening and filtering the first user number to be filtered or screening and filtering the first user number to be filtered and the second user number to be filtered according to parameter configuration of service activity requirements to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment;
pushing the short message content appointed by the service activity to the target user number;
if the filtering process further includes at least one other filtering process, after completing the process of the first number to be filtered and initializing the second number to be filtered in the buffer link of the other filtering process, the method further includes:
if the number of the other filtering processes is one, and the type of the other filtering processes is screening out, determining that the number output by the other filtering processes is a target number according to the number key value in the filtering process cache; or alternatively, the process may be performed,
if the number of the other filtering processes is one, and the type of the other filtering processes is filtering-abandoning type, determining that the number output by the other filtering processes is not the target number according to the number key value in the filtering process cache; or alternatively, the process may be performed,
If the number of the other filtering processes is N, the types of the N other filtering processes include a filtering type and/or a screening type, the output of the ith other filtering process is the input of the (i+1) th other filtering process, the number output by the nth other filtering process is determined to be the target number, wherein N is a positive integer greater than or equal to 2, i is a positive integer greater than 1 and less than N, and the N other filtering processes are processed in parallel through multiple threads.
2. The method of claim 1, wherein collecting the first to-be-filtered user number for the target geographic area based on the global cell identity and XDR signaling location data for the target geographic area comprises:
calculating and outputting the latest full-quantity number of the target geographic area in real time by processing the XDR signaling position data stream;
continuously calculating and outputting the increment number which is diffused into the target geographic area in the transmission period through the cell change log;
and acquiring a first user number to be filtered of the target geographic area based on the latest full-quantity number and the increment number.
3. The method of claim 1, wherein performing deduplication processing on the first user number to be filtered according to the parameter configuration of the business activity requirement to obtain the target user number of the business activity comprises:
In the hash addressing number filtering processing buffer, judging whether the first user number to be filtered is already appeared or should be filtered according to the count value using the number as a key;
if not, determining the first user number to be filtered as a target user number;
if yes, the operation of increasing the count value of the first user number to be filtered is performed.
4. A method according to claim 3, wherein if the deduplication process is a periodic deduplication process, after performing the operation of incrementing the count value of the first user number to be filtered, comprising:
setting the service life of the number key value in the filtering processing cache of each user number to be filtered according to the requirement parameters of the service activity;
and when the service life is reduced to 0, clearing the number key value in the cache record.
5. A method according to claim 1 or 3, characterized in that,
the screening and filtering treatment at least comprises the following steps: the periodic deduplication process further comprises one or more of the following additional filtering processes: a blacklist screening process, a whitelist screening process, a tag screening process, a home screening process, and a resident number screening process; the periodic duplicate removal process is used for controlling the times of allowing repeated sending of the short message in a preset time.
6. The method of claim 1, wherein before performing filtering processing on the first to-be-filtered user number or performing filtering processing on the first to-be-filtered user number and the second to-be-filtered number according to the parameter configuration of the service activity requirement to obtain the target user number of the service activity, further comprising:
acquiring a target area set of all business activities;
combining the target areas of the plurality of business activities in the same time period into an area set based on the effective time limit of the plurality of business activities to form a target area set which should be requested to be processed in different time periods;
requesting to calculate the user number and the corresponding global cell identification code in the corresponding time period from the real-time position stream calculation data source according to the target area set corresponding to the different time period;
requesting to calculate the user number and the corresponding global cell identification code in the corresponding time period from the real-time position stream calculation data source according to the target area set corresponding to the different time period;
and splitting the user number into different business activity filtering links according to the global cell identification codes contained in different business activity target areas.
7. A system for mass sending service content of short messages, comprising:
the real-time acquisition module is used for acquiring a first user number to be filtered of a target geographic area according to the global cell identification code and XDR signaling position data of the target geographic area;
the offline acquisition module is used for acquiring a second number to be filtered related to the business activity;
the screening and filtering processing module is used for carrying out screening and filtering processing on the first user number to be filtered or carrying out screening and filtering processing on the first user number to be filtered and the second user number to be filtered according to parameter configuration of the service activity requirement so as to obtain a target user number of the service activity; the screening and filtering treatment at least comprises a de-duplication treatment;
the short message pushing module is used for pushing the short message content appointed by the service activity to the target user number;
if the filtering process further includes at least one other filtering process, the filtering process module may further include:
the second determining unit is configured to determine, if the number of the other filtering processes is one and the type of the other filtering process is a screening type, that the number output by the other filtering process is a target number according to the number key value in the filtering process cache; or alternatively, the process may be performed,
A third determining unit, configured to determine, if the number of the other filtering processes is one and the type of the other filtering processes is a filtering type, that the number output by the other filtering processes is not the target number according to the number key value in the filtering process cache; or alternatively, the process may be performed,
and a fourth determining unit, configured to determine, if the number of the other filtering processes is N, where the N types of the other filtering processes include a filtering type and/or a screening type, an output of the ith other filtering process is an input of the (i+1) th other filtering process, a number output through the nth other filtering process is the target number, where N is a positive integer greater than or equal to 2, i is a positive integer greater than 1 and less than N, and the N other filtering processes are processed in parallel through multiple threads.
8. A server, comprising:
a memory storing computer program instructions;
a processor, which when executed by the processor, implements a method for targeted mass sending of regional short messages according to any one of claims 1 to 6.
9. A computer-readable storage medium comprising,
the computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of regional text messaging targeting group sending as claimed in any one of claims 1 to 6.
CN202010479848.2A 2020-05-29 2020-05-29 Regional short message targeted group sending method and system Active CN113810864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479848.2A CN113810864B (en) 2020-05-29 2020-05-29 Regional short message targeted group sending method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479848.2A CN113810864B (en) 2020-05-29 2020-05-29 Regional short message targeted group sending method and system

Publications (2)

Publication Number Publication Date
CN113810864A CN113810864A (en) 2021-12-17
CN113810864B true CN113810864B (en) 2023-04-25

Family

ID=78891895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479848.2A Active CN113810864B (en) 2020-05-29 2020-05-29 Regional short message targeted group sending method and system

Country Status (1)

Country Link
CN (1) CN113810864B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107801165B (en) * 2017-10-31 2020-02-18 平安科技(深圳)有限公司 Business short message pushing method and device, computer equipment and storage medium
CN109996193B (en) * 2017-12-29 2021-08-10 中国移动通信集团北京有限公司 Short message sending method, device, system and equipment based on intelligent communication platform
CN108960931A (en) * 2018-07-18 2018-12-07 天津璧合信息技术有限公司 A kind of short message marketing method and system
CN109511094B (en) * 2018-12-10 2021-04-27 广州市易杰数码科技有限公司 Short message group sending method, device, equipment and storage medium based on repetition elimination algorithm
CN111125161B (en) * 2019-12-27 2023-08-15 中国移动通信集团江苏有限公司 Method, device, equipment and storage medium for processing data in real time

Also Published As

Publication number Publication date
CN113810864A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN106406987B (en) Task execution method and device in cluster
CN111966289B (en) Partition optimization method and system based on Kafka cluster
CN107959695B (en) Data transmission method and device
CN113596078A (en) Service problem positioning method and device
CN110557291A (en) Network service monitoring system
CN111177237B (en) Data processing system, method and device
CN113810864B (en) Regional short message targeted group sending method and system
CN114138877A (en) Method, device and equipment for realizing theme data service based on micro-service architecture
CN113760658A (en) Monitoring method, device and equipment
CN109308219B (en) Task processing method and device and distributed computer system
CN109587198B (en) Image-text information pushing method and device
CN110928755A (en) User behavior data processing method and device
CN114138499B (en) GPU resource utilization rate monitoring method and device, computer equipment and medium
CN115664992A (en) Network operation data processing method and device, electronic equipment and medium
CN113051323B (en) Water environment big data exchange method
CN111935772A (en) Method and device for determining value of service area
CN113657635B (en) Method for predicting loss of communication user and electronic equipment
CN115617532A (en) Target tracking processing method, system and related device
CN115048186A (en) Method and device for processing expansion and contraction of service container, storage medium and electronic equipment
CN114895851A (en) Data processing method, data processing device, storage medium and electronic equipment
CN111291127B (en) Data synchronization method, device, server and storage medium
CN113055419B (en) Information sending method and device
CN116049321B (en) Data calling method and device, electronic equipment and storage medium
CN111796993A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN112583742A (en) Message processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant