CN111901352A - Message distribution processing method, device, server and storage medium - Google Patents

Message distribution processing method, device, server and storage medium Download PDF

Info

Publication number
CN111901352A
CN111901352A CN202010753108.3A CN202010753108A CN111901352A CN 111901352 A CN111901352 A CN 111901352A CN 202010753108 A CN202010753108 A CN 202010753108A CN 111901352 A CN111901352 A CN 111901352A
Authority
CN
China
Prior art keywords
messages
processed
message
service line
matched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010753108.3A
Other languages
Chinese (zh)
Other versions
CN111901352B (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.)
Richinfo Technology Co ltd
Original Assignee
Richinfo Technology 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 Richinfo Technology Co ltd filed Critical Richinfo Technology Co ltd
Priority to CN202010753108.3A priority Critical patent/CN111901352B/en
Publication of CN111901352A publication Critical patent/CN111901352A/en
Application granted granted Critical
Publication of CN111901352B publication Critical patent/CN111901352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • 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/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The embodiment of the invention discloses a method, a device, a server and a storage medium for distributing and processing messages, wherein the method comprises the following steps: receiving a plurality of messages to be processed; matching the service line types corresponding to the plurality of messages to be processed; respectively storing the matched messages to be processed according to the service line types; and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines. According to the message distribution processing method provided by the embodiment of the invention, the server judges the application of the service line according to the message to be processed, and then performs safety check on the message to be processed according to the configuration agreed with the application platform, and intelligently distributes the message to the corresponding message channel for processing, so that the problems that in the prior art, the supporting capacity of each service line is different, the capabilities of various messages are dispersed and independently used, and the message access dispersion processing speed is slow are solved, and the resource utilization rate of each message channel and the message issuing stability are improved.

Description

Message distribution processing method, device, server and storage medium
Technical Field
The present invention relates to message processing technologies, and in particular, to a method, an apparatus, a server, and a storage medium for message distribution processing.
Background
With the development of mobile communication technology, each application platform has certain requirements for sending daily messages, and because unified standard management is not available in the early stage, each platform respectively builds a certain message control support platform, a company-level unified platform is lacked, the support capacity of each service line is different, various message capacities are dispersed and independently used, message access is dispersed, and standardized management cannot be performed; the combination degree of various message capabilities and services is high, and the message capabilities cannot be reused as capabilities for other services.
Disclosure of Invention
The invention provides a method, a device, a server and a storage medium for distributing and processing messages, which are used for realizing high resource utilization rate of each message channel and high message issuing stability.
In a first aspect, an embodiment of the present invention provides a method for message distribution processing, including:
receiving a plurality of messages to be processed;
matching the service line types corresponding to the plurality of messages to be processed;
respectively storing the matched messages to be processed according to the service line types;
and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
Optionally, after receiving the plurality of messages to be processed, the method further includes:
storing the message to be processed in a local cache;
and carrying out authentication check on the message to be processed in the local cache.
Optionally, after receiving the plurality of messages to be processed, the method further includes:
performing garbage filtration and blacklist detection on the message to be processed;
and carrying out safety monitoring on the messages to be processed after the spam filtering and the blacklist detection.
Optionally, the respectively storing the matched messages to be processed according to the service line types includes:
respectively storing the matched messages to be processed in a task library corresponding to the service line type according to the service line type;
detecting the storage capacity in the task library and comparing the storage capacity with a preset storage capacity;
and if the storage amount in the task library is larger than the preset storage amount, controlling to reduce the receiving of the messages to be processed.
Optionally, respectively storing the matched messages to be processed according to the service line types includes:
and scanning the task library to judge whether the messages to be processed are repeated, and deleting the messages to be processed if the messages to be processed are repeated.
Optionally, before controlling different service lines to process the to-be-processed message matched with the corresponding service line type, the method further includes:
judging whether the different service lines are in the message issuing time period or not;
if yes, judging whether a large number of unprocessed messages exist in the matched service line;
if not, different service lines are continuously controlled to process the messages to be processed which are matched with the corresponding service line types.
Optionally, the controlling different service lines to process the to-be-processed message matched with the corresponding service line type includes:
scanning the queue conditions in the different service lines;
and controlling the different service lines to process the messages to be processed matched with the corresponding service line types according to the queue condition.
In a second aspect, an embodiment of the present invention further provides an apparatus for message distribution processing, where the apparatus includes:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for receiving a plurality of messages to be processed;
the matching module is used for matching the service line types corresponding to the plurality of messages to be processed;
the storage module is used for respectively storing the matched messages to be processed according to the service line types;
and the processing module is used for controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of message distribution processing as in any above.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, the computer program including program instructions, which when executed by a processor, implement the method of message distribution processing as described in any one of the above.
The embodiment of the invention discloses a method, a device, a server and a storage medium for distributing and processing messages, wherein the method comprises the following steps: receiving a plurality of messages to be processed; matching the service line types corresponding to the plurality of messages to be processed; respectively storing the matched messages to be processed according to the service line types; and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines. According to the message distribution processing method provided by the embodiment of the invention, the server judges the application of the service line according to the message to be processed, and then performs safety check on the message to be processed according to the configuration agreed with the application platform, and intelligently distributes the message to the corresponding message channel for processing, so that the problems that in the prior art, the supporting capacity of each service line is different, the capabilities of various messages are dispersed and independently used, and the message access dispersion processing speed is slow are solved, and the resource utilization rate of each message channel and the message issuing stability are improved.
Drawings
Fig. 1 is a flowchart of a method for message distribution processing according to an embodiment of the present invention;
fig. 2 is a flowchart of a message distribution processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a message distribution processing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, a first message may be referred to as a second message, and similarly, a second message may be referred to as a first message, without departing from the scope of the present application. The first message and the second message are both messages, but they are not the same message. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a flowchart of a method for message distribution processing according to an embodiment of the present invention, where this embodiment is applicable to a case where a message is distributed based on a middlebox technology, and the method may be executed by a server, and specifically includes the following steps:
step 100, receiving a plurality of messages to be processed.
In this embodiment, the middle platform technology refers to a data technology, which is used to collect, calculate, store, and process mass data and unify the standard and the caliber. After the data are unified by the data center, standard data can be formed and then stored, and a big data asset layer is formed. The message to be processed is a message which is submitted to a server by a user and needs to be sent, the message comprises a plurality of types, such as multimedia messages, polyphonic ringtone, short messages and the like, before the user sends the message to be processed to the server, the user sends a message processing request to the server, the message processing request comprises a plurality of messages to be processed, and the server obtains the plurality of messages to be processed after receiving the message processing request.
And step 110, matching the service line types corresponding to the plurality of messages to be processed.
In this embodiment, the service line type corresponds to multiple message types, including a multimedia message service line, a color ring service line, a short message service line, and the like, in this embodiment, multiple messages to be processed are correspondingly matched with the service line type, illustratively, the multimedia message service line is mainly used for processing messages of the multimedia message type, the color ring service line is mainly used for processing messages of the color ring type, and the short message service line is mainly used for processing messages of the short message type.
And step 120, storing the matched messages to be processed according to the service line types.
In this embodiment, each service line corresponds to a stored task library to be sent, unprocessed messages can be queued through the task library to be sent, and each service line has a different task library to be sent, so as to prevent mutual influence between the service lines. The server detects the task processing state in each service line and sends the tasks in the task library to be sent to the corresponding service line for processing according to the service processing state, illustratively, when the processing queue in the service line is too large, the server limits the speed of the corresponding service line for receiving the task library to be sent, and also reduces the speed of the server for receiving the message tasks to be processed sent by the user, so as to ensure that the service line is in a normal processing state and prevent the server from being crashed due to the fact that the service line processes too large amount of tasks at the same time.
And step 130, controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
In this embodiment, when the corresponding service line is in a normal processing state, the to-be-processed task library issues the to-be-processed message to the corresponding service line for processing.
In an alternative embodiment, further comprising: scanning the queue conditions in the different service lines; and controlling the different service lines to process the messages to be processed matched with the corresponding service line types according to the queue condition. In an alternative embodiment, a scanning and issuing server may be added to scan the to-be-sent task library in real time, obtain the total amount of the current to-be-processed messages, and control the sending speed of the to-be-sent task library messages according to the processing state of the current corresponding service line. In the scanning process, the condition of a corresponding service line issuing channel queue needs to be checked, and the scanning speed is correspondingly adjusted; the data after scanning is finished is subjected to real-time data state modification, and the data is asynchronously deleted, so that repeated issuing is prevented; and pushing the scanned data to a distribution channel of the corresponding service line through the asynchronous thread. After the messages to be processed are distributed to the corresponding service lines, the messages are processed according to the current queue sequence, and the resource utilization rate of each service line channel is improved.
The embodiment discloses a method for distributing and processing messages, which comprises the following steps: receiving a plurality of messages to be processed; matching the service line types corresponding to the plurality of messages to be processed; respectively storing the matched messages to be processed according to the service line types; and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines. According to the message distribution processing method provided by the embodiment of the invention, the server judges the application of the service line according to the message to be processed, and then performs safety check on the message to be processed according to the configuration agreed with the application platform, and intelligently distributes the message to the corresponding message channel for processing, so that the problems that in the prior art, the supporting capacity of each service line is different, the capabilities of various messages are dispersed and independently used, and the message access dispersion processing speed is slow are solved, and the resource utilization rate of each message channel and the message issuing stability are improved.
Example two
Fig. 2 is a flowchart of a message distribution processing method according to a second embodiment of the present invention, where this embodiment is applicable to a case where a message is distributed and processed based on a middlebox technology, and the method may be executed by a server, and specifically includes the following steps:
step 200, receiving a plurality of messages to be processed.
And step 210, storing the message to be processed in a local cache.
In this embodiment, the server loads the service line configuration, the application platform configuration, the message delivery channel configuration, and the like to the local cache, and generates the globally unique identifier of the message delivery task in batches for the message to be processed by using the database sequence self-increment mechanism, and loads the globally unique identifier into the local cache.
Step 220, performing authentication check on the message to be processed in the local cache.
In this embodiment, the authentication refers to verifying whether the user has the right to access the system, and mainly includes user authentication and network authentication. And (4) authenticating the user, and authenticating the user by the network to prevent an illegal user from occupying network resources. And network authentication, namely authenticating the network by the user, and preventing the user from accessing an illegal network and being cheated to obtain key information. In this embodiment, the authentication check is mainly used to verify whether the message to be processed belongs to an illegal message, the illegal message may include a malicious virus attack server, and the message to be processed can be sent to the corresponding service line for processing only after the authentication check passes.
And step 230, performing garbage filtration and blacklist detection on the message to be processed.
In this embodiment, in the local storage, whether the message to be processed passing the authentication check needs to be subjected to spam filtering and blacklist filtering is determined according to the corresponding configuration of the application platform. The garbage filtering mainly filters repeated contents and garbage information in the message to be processed, and the blacklist is respectively hooked with the service line and the application platform and used for filtering the service line level blacklist or filtering the application level blacklist according to different application platform requirements; and the blacklist can be loaded off-line in advance, the message number segment is received to a Remote Dictionary service (redis) database, the message is updated at regular time every day, and the message is stored permanently, so that the failure of updating at a certain time is prevented.
And 240, carrying out safety monitoring on the messages to be processed after the garbage filtration and the blacklist detection.
In this embodiment, it is determined whether the message to be processed needs to be securely audited, and the message that needs to be securely audited needs to be placed in the message queue first, and then another consuming thread pushes the message into the security center for security monitoring.
And step 250, matching the service line types corresponding to the plurality of messages to be processed.
Step 260, judging whether the different service lines are in the message issuing time period; if yes, judging whether a large number of unprocessed messages exist in the matched service line; if not, different service lines are continuously controlled to process the messages to be processed which are matched with the corresponding service line types.
In this embodiment, it is first determined whether the service line is in the message issuable time period, where the message issuable time period may be set by the server itself, generally avoiding the time for the server to power off and restart. When the service line does not belong to the message issuing time period, whether a large number of queued unprocessed messages to be processed exist in the current service line is scanned, if so, the speed of receiving the messages to be processed by the server is limited, and the image server normally works if the number of unprocessed tasks is too large. Flexibly configuring the number of scanning threads according to the issuing capacity of an issuing channel corresponding to a service line, generally, one scanning issuing thread in one region according to the region of a corresponding receiving party, and performing Hash partitioning according to configuration when the region concept is not stored in a warehouse; and starting a single scanning thread asynchronously, circularly scanning the corresponding table to be sent, recording the activity condition of the thread at regular time for real-time monitoring, and alarming or restarting service if the thread is hung.
And 270, respectively storing the matched messages to be processed according to the service line types.
In this embodiment, step 270 further includes:
and 271, respectively storing the matched messages to be processed in the task libraries corresponding to the service line types according to the service line types.
In this embodiment, each service line corresponds to a stored task library to be sent, unprocessed messages can be queued through the task library to be sent, and each service line has a different task library to be sent, so as to prevent mutual influence between the service lines.
Step 272, scanning the task library to determine whether the message to be processed is repeated, and if so, deleting the message to be processed.
In this embodiment, in order to reduce redundant tasks in the task library to be sent, repeated detection is performed on messages to be processed in the task library at a preset time interval, and repeated messages are deleted to achieve the purpose of cleaning the task library to be sent, so that the task processing efficiency is improved.
Step 273, detecting the size of the storage amount in the task library and comparing the size with a preset storage amount.
And step 274, if the storage amount in the task library is larger than the preset storage amount, controlling to reduce the reception of the message to be processed.
In this embodiment, whether the storage amount in the task library to be processed exceeds the preset storage amount is scanned in the preset time interval, and if the storage amount exceeds the preset storage amount, it indicates that the number of the tasks to be processed is too many at this time, and the server is notified to reduce the number of messages to be processed sent by the receiving user. The server can modify the data state of the scanned data in real time, and asynchronously delete the data to prevent repeated issuing.
Step 280, controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
The embodiment discloses a method for distributing and processing messages, which comprises the following steps: receiving a plurality of messages to be processed; storing the message to be processed in a local cache; carrying out authentication check on the message to be processed in the local cache; performing garbage filtration and blacklist detection on the message to be processed; safety monitoring is carried out on the messages to be processed after the garbage filtration and the blacklist detection; matching the service line types corresponding to the plurality of messages to be processed; judging whether the different service lines are in the message issuing time period or not; if yes, judging whether a large number of unprocessed messages exist in the matched service line; if not, different service lines are continuously controlled to process the messages to be processed which are matched with the corresponding service line types; respectively storing the matched messages to be processed according to the service line types; and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines. According to the message distribution processing method provided by the embodiment of the invention, the server judges the application of the service line according to the message to be processed, and then performs safety check on the message to be processed according to the configuration agreed with the application platform, and intelligently distributes the message to the corresponding message channel for processing, so that the problems that in the prior art, the supporting capacity of each service line is different, the capabilities of various messages are dispersed and independently used, and the message access dispersion processing speed is slow are solved, and the resource utilization rate of each message channel and the message issuing stability are improved.
EXAMPLE III
The message distribution processing device provided by the embodiment of the invention can implement the message distribution processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. Fig. 3 is a schematic structural diagram of a device 300 for message distribution processing in an embodiment of the present invention. Referring to fig. 3, the apparatus 300 for message distribution processing according to the embodiment of the present invention may specifically include:
an obtaining module 310, configured to receive a plurality of messages to be processed;
a matching module 320, configured to match service line categories corresponding to the multiple messages to be processed;
the storage module 330 is configured to store the matched messages to be processed according to the service line types;
the processing module 340 is configured to control different service lines to process the to-be-processed message matched with the corresponding service line type.
Further, after receiving the plurality of messages to be processed, the method further includes:
storing the message to be processed in a local cache;
and carrying out authentication check on the message to be processed in the local cache.
Further, after receiving the plurality of messages to be processed, the method further includes:
performing garbage filtration and blacklist detection on the message to be processed;
and carrying out safety monitoring on the messages to be processed after the spam filtering and the blacklist detection.
Further, the storing the matched messages to be processed according to the service line types respectively includes:
respectively storing the matched messages to be processed in a task library corresponding to the service line type according to the service line type;
detecting the storage capacity in the task library and comparing the storage capacity with a preset storage capacity;
and if the storage amount in the task library is larger than the preset storage amount, controlling to reduce the receiving of the messages to be processed.
Further, the storing the matched messages to be processed according to the service line types respectively includes:
and scanning the task library to judge whether the messages to be processed are repeated, and deleting the messages to be processed if the messages to be processed are repeated.
Further, before controlling different service lines to process the to-be-processed message matched with the corresponding service line type, the method further includes:
judging whether the different service lines are in the message issuing time period or not;
if yes, judging whether a large number of unprocessed messages exist in the matched service line;
if not, different service lines are continuously controlled to process the messages to be processed which are matched with the corresponding service line types.
Further, the controlling different service lines to process the to-be-processed message matched with the corresponding service line type includes:
scanning the queue conditions in the different service lines;
and controlling the different service lines to process the messages to be processed matched with the corresponding service line types according to the queue condition.
The embodiment discloses a message distribution processing device, which comprises: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for receiving a plurality of messages to be processed; the matching module is used for matching the service line types corresponding to the plurality of messages to be processed; the storage module is used for respectively storing the matched messages to be processed according to the service line types; and the processing module is used for controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines. According to the message distribution processing method provided by the embodiment of the invention, the server judges the application of the service line according to the message to be processed, and then performs safety check on the message to be processed according to the configuration agreed with the application platform, and intelligently distributes the message to the corresponding message channel for processing, so that the problems that in the prior art, the supporting capacity of each service line is different, the capabilities of various messages are dispersed and independently used, and the message access dispersion processing speed is slow are solved, and the resource utilization rate of each message channel and the message issuing stability are improved.
Example four
Fig. 4 is a schematic structural diagram of a computer server according to an embodiment of the present invention, as shown in fig. 4, the computer server includes a memory 410 and a processor 420, the number of the processors 420 in the computer server may be one or more, and one processor 420 is taken as an example in fig. 4; the memory 410 and the processor 420 in the server may be connected by a bus or other means, and fig. 4 illustrates the connection by the bus as an example.
The memory 410 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for message distribution processing in the embodiment of the present invention (for example, the obtaining module 310, the matching module 320, the storage module 330, and the processing module 340 in the device 300 for message distribution processing), and the processor 420 executes various functional applications and data processing of the server/terminal/server by running the software programs, instructions, and modules stored in the memory 410, that is, the method for implementing the message distribution processing described above.
Wherein the processor 420 is configured to run the computer program stored in the memory 410, and implement the following steps:
receiving a plurality of messages to be processed;
matching the service line types corresponding to the plurality of messages to be processed;
respectively storing the matched messages to be processed according to the service line types;
and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
In one embodiment, the computer program of the computer server provided in the embodiment of the present invention is not limited to the above method operations, and may also perform related operations in the method for message distribution processing provided in any embodiment of the present invention.
The memory 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 410 may further include memory located remotely from the processor 420, which may be connected to a server/terminal/server through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiment of the invention discloses a server for distributing and processing messages, which is used for executing the following methods: receiving a plurality of messages to be processed; matching the service line types corresponding to the plurality of messages to be processed; respectively storing the matched messages to be processed according to the service line types; and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines. According to the server for message distribution processing provided by the embodiment of the invention, the server judges the application of the service line according to the message to be processed, and then performs security check on the message to be processed according to the configuration agreed with the application platform, and intelligently distributes the message to the corresponding message channel for processing, so that the problems that in the prior art, the supporting capacity of each service line is different, the capabilities of various messages are dispersed and independently used, and the message access dispersion processing speed is slow are solved, and the resource utilization rate of each message channel and the message issuing stability are improved.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for message distribution processing, the method including:
receiving a plurality of messages to be processed;
matching the service line types corresponding to the plurality of messages to be processed;
respectively storing the matched messages to be processed according to the service line types;
and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in a method for message distribution processing provided by any embodiment of the present invention.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiment of the invention discloses a storage medium for message distribution processing, which is used for executing the following methods: receiving a plurality of messages to be processed; matching the service line types corresponding to the plurality of messages to be processed; respectively storing the matched messages to be processed according to the service line types; and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines. According to the storage medium for message distribution processing provided by the embodiment of the invention, the server judges the application of the service line according to the message to be processed, and then performs safety check on the message to be processed according to the configuration agreed with the application platform, and intelligently distributes the message to the corresponding message channel for processing, so that the problems that in the prior art, the supporting capacity of each service line is different, the capabilities of various messages are dispersed and independently used, and the message access dispersion processing speed is slow are solved, and the resource utilization rate of each message channel and the message issuing stability are improved.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method of message distribution processing, comprising:
receiving a plurality of messages to be processed;
matching the service line types corresponding to the plurality of messages to be processed;
respectively storing the matched messages to be processed according to the service line types;
and controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
2. The method of message distribution processing according to claim 1, wherein said receiving a plurality of pending messages further comprises:
storing the message to be processed in a local cache;
and carrying out authentication check on the message to be processed in the local cache.
3. The method of message distribution processing according to claim 1, wherein said receiving a plurality of pending messages further comprises:
performing garbage filtration and blacklist detection on the message to be processed;
and carrying out safety monitoring on the messages to be processed after the spam filtering and the blacklist detection.
4. The method of message distribution processing according to claim 1, wherein said storing the matched messages to be processed according to the service line categories respectively comprises:
respectively storing the matched messages to be processed in a task library corresponding to the service line type according to the service line type;
detecting the storage capacity in the task library and comparing the storage capacity with a preset storage capacity;
and if the storage amount in the task library is larger than the preset storage amount, controlling to reduce the receiving of the messages to be processed.
5. The method of message distribution processing according to claim 4, wherein storing the matched messages to be processed according to the service line categories respectively comprises:
and scanning the task library to judge whether the messages to be processed are repeated, and deleting the messages to be processed if the messages to be processed are repeated.
6. The method of claim 1, wherein the controlling different service lines to process the pending messages with the matched service line types further comprises:
judging whether the different service lines are in the message issuing time period or not; if yes, judging whether a large number of unprocessed messages exist in the matched service line; if not, different service lines are continuously controlled to process the messages to be processed which are matched with the corresponding service line types.
7. The method of claim 1, wherein the controlling different service lines to process the pending messages with the matched service line types comprises:
scanning the queue conditions in the different service lines;
and controlling the different service lines to process the messages to be processed matched with the corresponding service line types according to the queue condition.
8. An apparatus for message distribution processing, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for receiving a plurality of messages to be processed;
the matching module is used for matching the service line types corresponding to the plurality of messages to be processed;
the storage module is used for respectively storing the matched messages to be processed according to the service line types;
and the processing module is used for controlling different service lines to process the messages to be processed matched with the types of the corresponding service lines.
9. A server, characterized in that the server comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of message distribution processing as recited in any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, the computer program comprising program instructions, characterized in that the program instructions, when executed by a processor, implement the method of message distribution processing according to any of claims 1-7.
CN202010753108.3A 2020-07-30 2020-07-30 Method, device, server and storage medium for message distribution processing Active CN111901352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010753108.3A CN111901352B (en) 2020-07-30 2020-07-30 Method, device, server and storage medium for message distribution processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010753108.3A CN111901352B (en) 2020-07-30 2020-07-30 Method, device, server and storage medium for message distribution processing

Publications (2)

Publication Number Publication Date
CN111901352A true CN111901352A (en) 2020-11-06
CN111901352B CN111901352B (en) 2023-08-25

Family

ID=73182692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010753108.3A Active CN111901352B (en) 2020-07-30 2020-07-30 Method, device, server and storage medium for message distribution processing

Country Status (1)

Country Link
CN (1) CN111901352B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637043A (en) * 2020-11-17 2021-04-09 广州市玄武无线科技股份有限公司 Message filtering method, system, terminal and storage medium
CN113179304A (en) * 2021-04-22 2021-07-27 平安消费金融有限公司 Message issuing method, system, device and storage medium
CN114584525A (en) * 2022-01-28 2022-06-03 深圳市梦网科技发展有限公司 Message processing method, system, terminal device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104254141A (en) * 2013-06-25 2014-12-31 成都鼎桥通信技术有限公司 Business data transmission method, equipment and system
CN105871815A (en) * 2016-03-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Data transmitting method and device
US20170316433A1 (en) * 2016-04-29 2017-11-02 Ncr Corporation Identity aggregation and integration
CN107734076A (en) * 2017-11-29 2018-02-23 湖北三新文化传媒有限公司 Information push method, device and storage medium
CN108011805A (en) * 2016-12-29 2018-05-08 北京车和家信息技术有限责任公司 Method, apparatus, intermediate server and the car networking system of message screening
CN108521439A (en) * 2018-03-08 2018-09-11 北京三快在线科技有限公司 A kind of method and apparatus of message push
US20190089809A1 (en) * 2017-09-15 2019-03-21 Oracle International Corporation Dynamic message queues for a microservice based cloud service
CN109672627A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Method for processing business, platform, equipment and storage medium based on cluster server
CN110351203A (en) * 2019-07-12 2019-10-18 苏州亿歌网络科技有限公司 A kind of message treatment method, device, system, server and storage medium
CN110347675A (en) * 2019-06-05 2019-10-18 阿里巴巴集团控股有限公司 A kind of date storage method and device
CN111143415A (en) * 2019-12-26 2020-05-12 政采云有限公司 Data processing method and device and computer readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104254141A (en) * 2013-06-25 2014-12-31 成都鼎桥通信技术有限公司 Business data transmission method, equipment and system
CN105871815A (en) * 2016-03-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Data transmitting method and device
US20170316433A1 (en) * 2016-04-29 2017-11-02 Ncr Corporation Identity aggregation and integration
CN108011805A (en) * 2016-12-29 2018-05-08 北京车和家信息技术有限责任公司 Method, apparatus, intermediate server and the car networking system of message screening
US20190089809A1 (en) * 2017-09-15 2019-03-21 Oracle International Corporation Dynamic message queues for a microservice based cloud service
CN107734076A (en) * 2017-11-29 2018-02-23 湖北三新文化传媒有限公司 Information push method, device and storage medium
CN108521439A (en) * 2018-03-08 2018-09-11 北京三快在线科技有限公司 A kind of method and apparatus of message push
CN109672627A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Method for processing business, platform, equipment and storage medium based on cluster server
CN110347675A (en) * 2019-06-05 2019-10-18 阿里巴巴集团控股有限公司 A kind of date storage method and device
CN110351203A (en) * 2019-07-12 2019-10-18 苏州亿歌网络科技有限公司 A kind of message treatment method, device, system, server and storage medium
CN111143415A (en) * 2019-12-26 2020-05-12 政采云有限公司 Data processing method and device and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637043A (en) * 2020-11-17 2021-04-09 广州市玄武无线科技股份有限公司 Message filtering method, system, terminal and storage medium
CN112637043B (en) * 2020-11-17 2022-03-18 广州市玄武无线科技股份有限公司 Message filtering method, system, terminal and storage medium
CN113179304A (en) * 2021-04-22 2021-07-27 平安消费金融有限公司 Message issuing method, system, device and storage medium
CN114584525A (en) * 2022-01-28 2022-06-03 深圳市梦网科技发展有限公司 Message processing method, system, terminal device and storage medium
CN114584525B (en) * 2022-01-28 2023-12-05 深圳市梦网科技发展有限公司 Message processing method, system, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN111901352B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
CN111901352B (en) Method, device, server and storage medium for message distribution processing
US9253265B2 (en) Hot pluggable extensions for access management system
CN111711697A (en) Message pushing method, device, equipment and storage medium
CN110225078B (en) Application service updating method, system and terminal equipment
US20220291977A1 (en) Single flow execution
CN111367693A (en) Method, system, device and medium for scheduling plug-in tasks based on message queue
CN113517985A (en) File data processing method and device, electronic equipment and computer readable medium
CN109657485B (en) Authority processing method and device, terminal equipment and storage medium
CN117131516A (en) Operation and maintenance method and device
CN105468941A (en) Right control method and device
CN109766131A (en) The system and method for the intelligent automatic upgrading of software is realized based on multithreading
CN103514044A (en) Resource optimization method, device and system of dynamic behavior analysis system
CN108959915A (en) A kind of rookit detection method, device and server
CN113765871B (en) Method and device for managing fort machine
CN115640066A (en) Security detection method, device, equipment and storage medium
CN111935251B (en) Block chain network management method, network, device, equipment and storage medium
CN114490135A (en) Task processing method and device, electronic equipment and storage medium
CN112488462A (en) Unified pushing method, device and medium for workflow data
CN112015572A (en) Method, center and system for executing delayed tasks
CN110839085A (en) Instruction management method, instruction management device, electronic equipment and storage medium
CN111176959A (en) Early warning method, system and storage medium for cross-domain application server
CN110460601B (en) Dependency package security detection method, dependency package security detection device and storage medium
CN111372252B (en) Method, device, equipment and storage medium for secure networking
CN117056903A (en) Application data management method, device and system
CN115589577B (en) Communication service access management method and device, electronic equipment and storage medium

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