CN111901352B - Method, device, server and storage medium for message distribution processing - Google Patents

Method, device, server and storage medium for message distribution processing Download PDF

Info

Publication number
CN111901352B
CN111901352B CN202010753108.3A CN202010753108A CN111901352B CN 111901352 B CN111901352 B CN 111901352B CN 202010753108 A CN202010753108 A CN 202010753108A CN 111901352 B CN111901352 B CN 111901352B
Authority
CN
China
Prior art keywords
processed
message
service line
messages
information
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
CN202010753108.3A
Other languages
Chinese (zh)
Other versions
CN111901352A (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

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 application discloses a method, a device, a server and a storage medium for message distribution processing, wherein the method comprises the following steps: receiving a plurality of messages to be processed; matching service line types corresponding to the plurality of messages to be processed; storing the matched messages to be processed according to the service line types; and controlling different service lines to process the message to be processed corresponding to the service line type matching. According to the method for distributing and processing the information, the server judges the application of the service line according to the information to be processed, and then carries out safety verification on the information to be processed according to the configuration agreed with the application platform, and intelligently distributes the information to the corresponding information channels for processing, so that the problems that the supporting capacity of each service line is different, various information capacities are scattered and independently used, the information access dispersion processing speed is low in the prior art are solved, and the resource utilization rate of each information channel and the stability of information distribution are improved.

Description

Method, device, server and storage medium for message distribution processing
Technical Field
Embodiments of the present application relate to a message processing technology, and in particular, to a method, an apparatus, a server, and a storage medium for message distribution processing.
Background
With the increasing development of mobile communication technology, each application platform has certain requirements on daily message delivery, and as unified and normative management is not available in the early stage, each platform respectively builds a certain message management and control support platform, lacks a company-level unified platform, has different supporting capacity of each service line, and is used independently with various message capacities, and the message access is scattered and cannot be subjected to standardized management; the combination degree of various message capabilities and services is high, and the message capabilities can not be reused as the capabilities for other services.
Disclosure of Invention
The application provides a method, a device, a server and a storage medium for message distribution processing, which are used for realizing high resource utilization rate of each message channel and stability of message distribution.
In a first aspect, an embodiment of the present application provides a method for message distribution processing, including:
receiving a plurality of messages to be processed;
matching service line types corresponding to the plurality of messages to be processed;
storing the matched messages to be processed according to the service line types;
and controlling different service lines to process the message to be processed corresponding to the service line type matching.
Optionally, the receiving a plurality of messages to be processed further includes:
storing the message to be processed in a local cache;
and carrying out authentication verification on the message to be processed in the local cache.
Optionally, the receiving a plurality of messages to be processed further includes:
performing garbage filtration and blacklist detection on the message to be processed;
and carrying out safety monitoring on the message to be processed after the garbage filtration and blacklist detection.
Optionally, storing the matched pending messages according to the service line types includes:
respectively storing the matched information to be processed in a task library corresponding to the service line type according to the service line type;
detecting the storage quantity in the task library and comparing the storage quantity with a preset storage quantity;
and 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.
Optionally, storing the matched messages to be processed according to the service line types includes:
and scanning the task library to judge whether the message to be processed is repeated, and deleting the message to be processed if the message to be processed is repeated.
Optionally, before the controlling the different service lines to process the message to be processed corresponding to the service line type matching, the method further includes:
judging whether the different service lines are in a message issuing time period or not;
if yes, judging whether the matched service line has a large number of unprocessed messages or not;
if not, continuing to control the different service lines to process the message to be processed corresponding to the service line type matching.
Optionally, the controlling the different service lines to process the message to be processed corresponding to the service line type matching includes:
scanning the queue conditions in the different service lines;
and controlling the different service lines to process the message to be processed, which is matched with the corresponding service line types, according to the queue condition.
In a second aspect, an embodiment of the present application further provides an apparatus for message distribution processing, where the apparatus includes:
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, which are matched with the corresponding service line types.
In a third aspect, an embodiment of the present application further provides a server, where the server includes:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of message distribution processing as described in any of the preceding.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program comprising program instructions which, when executed by a processor, implement a method of message distribution processing as described in any of the above.
The embodiment of the application discloses a method, a device, a server and a storage medium for message distribution processing, wherein the method comprises the following steps: receiving a plurality of messages to be processed; matching service line types corresponding to the plurality of messages to be processed; storing the matched messages to be processed according to the service line types; and controlling different service lines to process the message to be processed corresponding to the service line type matching. According to the method for distributing and processing the information, the server judges the application of the service line according to the information to be processed, and then carries out safety verification on the information to be processed according to the configuration agreed with the application platform, and intelligently distributes the information to the corresponding information channels for processing, so that the problems that the supporting capacity of each service line is different, various information capacities are scattered and independently used, the information access dispersion processing speed is low in the prior art are solved, and the resource utilization rate of each information channel and the stability of information distribution are improved.
Drawings
FIG. 1 is a flow chart of a method for message distribution processing according to a first embodiment of the present application;
fig. 2 is a flowchart of a method for message distribution processing according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus for message distribution processing according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts steps as a sequential process, many of the steps may be implemented in parallel, concurrently, or with other steps. Furthermore, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Furthermore, the terms "first," "second," and the like, may be used herein to describe various directions, acts, steps, or elements, etc., but these directions, acts, 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 application. Both the first message and the second message are messages, but they are not the same message. The terms "first," "second," and the like, are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Example 1
Fig. 1 is a flowchart of a method for message distribution processing according to an embodiment of the present application, where the embodiment is applicable to a case of distributing a message based on a middle technology, the method may be executed by a server, and specifically includes the following steps:
step 100, receiving a plurality of pending messages.
In this embodiment, the middle stage technology refers to collecting, calculating, storing and processing mass data through a data technology, and unifying standards and calibers. After unifying the data, the data center station can form standard data and store the standard data to form a large data resource layer. The message to be processed is a message which is submitted to the server by a user and needs to be sent, wherein the message comprises various types, such as multimedia messages, color ring back tones, 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 acquires the messages to be processed after receiving the message processing request.
Step 110, matching service line types corresponding to the plurality of messages to be processed.
In this embodiment, the service line types correspond to a plurality of message types, including a multimedia message service line, a color ring service line, a short message service line, and the like, and in this embodiment, a plurality of messages to be processed are correspondingly matched with the service line types, and the multimedia message service line is exemplified to be mainly used for processing a multimedia message type message, the color ring service line is mainly used for processing a multimedia ring type message, and the short message service line is mainly used for processing a short message type message.
And 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, and the unprocessed message 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 the interaction between the service lines. The server detects the task processing state in each service line, and sends the tasks in the task library to the corresponding service line for processing according to the task processing state, and when the processing queue in the service line is overlarge, the server can limit the speed of receiving the task library to be sent by the corresponding service line at the moment, and can reduce the speed of receiving the task of the message to be processed sent by the user, so that the service line is ensured to be in a normal processing state, and the phenomenon that the server collapses due to overlarge task quantity processed by the service line at the same time is avoided.
And 130, controlling different service lines to process the message to be processed corresponding to the service line type matching.
In this embodiment, when the corresponding service line is in a normal processing state, the task library to be sent will send the message to be processed 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 message to be processed, which is matched with the corresponding service line types, according to the queue condition. In an alternative embodiment, the scanning issuing server may also be increased to scan the task library to be issued in real time, obtain the total amount of the current message to be processed, and control the sending speed of the message of the task library to be issued according to the processing state of the current corresponding service line. Checking the condition of the corresponding service line issuing channel queue in the scanning process, and correspondingly adjusting the scanning speed; the scanned data 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 delivery channel of the corresponding service line through an asynchronous thread. After the information to be processed is distributed to the corresponding service lines, the information is processed according to the current queue order, so that the resource utilization rate of each service line channel is improved.
The embodiment discloses a method for message distribution processing, which comprises the following steps: receiving a plurality of messages to be processed; matching service line types corresponding to the plurality of messages to be processed; storing the matched messages to be processed according to the service line types; and controlling different service lines to process the message to be processed corresponding to the service line type matching. According to the method for distributing and processing the information, the server judges the application of the service line according to the information to be processed, and then carries out safety verification on the information to be processed according to the configuration agreed with the application platform, and intelligently distributes the information to the corresponding information channels for processing, so that the problems that the supporting capacity of each service line is different, various information capacities are scattered and independently used, the information access dispersion processing speed is low in the prior art are solved, and the resource utilization rate of each information channel and the stability of information distribution are improved.
Example two
Fig. 2 is a flowchart of a method for message distribution processing according to a second embodiment of the present application, where the present embodiment is applicable to a case of distributing a message based on a middle technology, the method may be executed by a server, and specifically includes the following steps:
step 200, receiving a plurality of messages to be processed.
Step 210, storing the message to be processed in a local cache.
In this embodiment, the server loads the basic configuration such as service line configuration, application platform configuration, message issuing channel configuration, etc. into the local cache, and generates the global unique identifier of the message issuing task in batches by using the database sequence self-increasing mechanism for the message to be processed, and loads the global unique identifier into the local cache.
Step 220, performing authentication verification on the message to be processed in the local cache.
In this embodiment, authentication refers to verifying whether a user has rights to access a system, and mainly includes user authentication and network authentication. User authentication, the network authenticates the user and prevents illegal users from occupying network resources. Network authentication, the user authenticates the network, and prevents the user from accessing an illegal network and being deceived into key information. In this embodiment, the authentication verification is mainly used to verify whether the message to be processed belongs to an illegal message, where the illegal message may include a malicious virus attack server, and after the authentication verification passes, the message to be processed can be sent to the corresponding service line for processing.
And 230, performing garbage filtration and blacklist detection on the message to be processed.
In this embodiment, in the local storage, whether the message needs to be subjected to garbage filtering and blacklist filtering is determined according to the corresponding configuration of the application platform for the message to be processed passing the authentication verification. The garbage filtering mainly filters repeated content and garbage information in the message to be processed, and the blacklist is respectively hooked with the service line and the application platform, and the service line level blacklist or the application level blacklist is filtered according to different application platform requirements; and the blacklist can be loaded offline in advance, the message number segments are received into a redis (Remote Dictionary Server, namely a remote dictionary service) database, the message is updated once every day, and the message is permanently stored, so that the failure of updating for a certain time is prevented.
And 240, carrying out safety monitoring on the message to be processed after the garbage filtration and blacklist detection.
In this embodiment, it is determined whether the message to be processed needs to be sent and checked safely, the message needing to be sent and checked safely needs to be put into the message queue first, and then another consuming thread pushes the message to the security center for security monitoring.
Step 250, matching service line types corresponding to the plurality of messages to be processed.
Step 260, judging whether the different service lines are in the period of time of the message which can be issued; if yes, judging whether the matched service line has a large number of unprocessed messages or not; if not, continuing to control the different service lines to process the message to be processed corresponding to the service line type matching.
In this embodiment, it is first determined whether the service line is within a period of time for which a message can be issued, where the period of time for which the message can be issued can be set by the server by itself, and typically, the shutdown restart time of the server is avoided. When the service line does not belong to the period of the message issuing time, scanning whether a large number of unprocessed waiting messages are queued in the current service line, if so, limiting the speed of receiving the waiting messages by the server, and then, excessively executing unprocessed tasks, so that the image server works normally. Flexibly configuring the number of scanning threads according to the issuing capability of the issuing channel corresponding to the service line, generally scanning the issuing threads one by one according to the region corresponding to the receiving party, and if no region concept is in warehouse entry, making hash partition according to configuration; and starting a single scanning thread asynchronously, circularly scanning a corresponding waiting library table, and recording the active condition of the thread at regular time for real-time monitoring, and if the thread is hung for alarming or restarting the service.
And 270, storing the matched messages to be processed according to the service line types.
In this embodiment, step 270 further includes:
and step 271, respectively storing the matched messages to be processed in 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, and the unprocessed message 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 the interaction between the service lines.
Step 272, scanning the task library to determine whether the message to be processed is repeated, and deleting the message to be processed if the message to be processed is repeated.
In this embodiment, in order to reduce redundant tasks in the task library, repeated detection is performed on the messages to be processed in the task library in a preset time interval, and repeated messages are deleted to achieve the goal of cleaning the task library to be sent, so that the task processing efficiency is improved.
And 273, detecting the storage capacity in the task library and comparing the storage capacity with a preset storage capacity.
And 274, controlling to reduce the reception of the message to be processed if the storage amount in the task library is larger than the preset storage amount.
In this embodiment, by scanning whether the storage amount in the task library to be sent exceeds the preset storage amount in the preset time interval, if yes, the server is notified that the task to be processed is too many at this time, and the receiving of the message to be processed sent by the user is reduced. The server can modify the data state of the scanned data in real time and asynchronously delete the data so as to prevent repeated issuing.
And 280, controlling different service lines to process the message to be processed corresponding to the service line type matching.
The embodiment discloses a method for message distribution processing, 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 verification on the message to be processed in the local cache; performing garbage filtration and blacklist detection on the message to be processed; carrying out safety monitoring on the message to be processed after the garbage filtration and blacklist detection; matching service line types corresponding to the plurality of messages to be processed; judging whether the different service lines are in a message issuing time period or not; if yes, judging whether the matched service line has a large number of unprocessed messages or not; if not, continuing to control different service lines to process the message to be processed corresponding to the service line type matching; storing the matched messages to be processed according to the service line types; and controlling different service lines to process the message to be processed corresponding to the service line type matching. According to the method for distributing and processing the information, the server judges the application of the service line according to the information to be processed, and then carries out safety verification on the information to be processed according to the configuration agreed with the application platform, and intelligently distributes the information to the corresponding information channels for processing, so that the problems that the supporting capacity of each service line is different, various information capacities are scattered and independently used, the information access dispersion processing speed is low in the prior art are solved, and the resource utilization rate of each information channel and the stability of information distribution are improved.
Example III
The device for message distribution processing provided by the embodiment of the application can implement the method for message distribution processing provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. Fig. 3 is a schematic diagram of an apparatus 300 for message distribution processing in an embodiment of the present application. Referring to fig. 3, an apparatus 300 for message distribution processing provided in an embodiment of the present application may specifically include:
an acquisition module 310, configured to receive a plurality of messages to be processed;
a matching module 320, configured to match service line types corresponding to the plurality of messages to be processed;
a storage module 330, 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 message to be processed that matches the corresponding service line type.
Further, the receiving a plurality of messages to be processed further includes:
storing the message to be processed in a local cache;
and carrying out authentication verification on the message to be processed in the local cache.
Further, the receiving a plurality of messages to be processed further includes:
performing garbage filtration and blacklist detection on the message to be processed;
and carrying out safety monitoring on the message to be processed after the garbage filtration and blacklist detection.
Further, storing the matched pending messages according to the service line type includes:
respectively storing the matched information to be processed in a task library corresponding to the service line type according to the service line type;
detecting the storage quantity in the task library and comparing the storage quantity with a preset storage quantity;
and 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.
Further, storing the matched messages to be processed according to the service line types includes:
and scanning the task library to judge whether the message to be processed is repeated, and deleting the message to be processed if the message to be processed is repeated.
Further, before the controlling the different service lines to process the message to be processed corresponding to the service line type matching, the method further includes:
judging whether the different service lines are in a message issuing time period or not;
if yes, judging whether the matched service line has a large number of unprocessed messages or not;
if not, continuing to control the different service lines to process the message to be processed corresponding to the service line type matching.
Further, the controlling the different service lines to process the message to be processed corresponding to the service line type matching includes:
scanning the queue conditions in the different service lines;
and controlling the different service lines to process the message to be processed, which is matched with the corresponding service line types, according to the queue condition.
The embodiment discloses a device for message distribution processing, which comprises: 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, which are matched with the corresponding service line types. According to the method for distributing and processing the information, the server judges the application of the service line according to the information to be processed, and then carries out safety verification on the information to be processed according to the configuration agreed with the application platform, and intelligently distributes the information to the corresponding information channels for processing, so that the problems that the supporting capacity of each service line is different, various information capacities are scattered and independently used, the information access dispersion processing speed is low in the prior art are solved, and the resource utilization rate of each information channel and the stability of information distribution are improved.
Example IV
Fig. 4 is a schematic structural diagram of a computer server according to an embodiment of the present application, where, as shown in fig. 4, the computer server includes a memory 410 and a processor 420, and the number of the processors 420 in the computer server may be one or more, and in fig. 4, one processor 420 is taken as an example. The memory 410, processor 420 in the server may be connected by a bus or other means, for example in fig. 4.
The memory 410 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and modules, such as program instructions/modules corresponding to the method of message distribution processing in the embodiment of the present application (e.g., the acquisition module 310, the matching module 320, the storage module 330, and the processing module 340 in the apparatus 300 for message distribution processing), and the processor 420 executes the software program, instructions, and modules stored in the memory 410, thereby performing various function applications of the server/terminal/server and data processing, that is, implementing the method of message distribution processing described above.
Wherein the processor 420 is configured to execute a computer program stored in the memory 410, and the following steps are implemented:
receiving a plurality of messages to be processed;
matching service line types corresponding to the plurality of messages to be processed;
storing the matched messages to be processed according to the service line types;
and controlling different service lines to process the message to be processed corresponding to the service line type matching.
In one embodiment, the computer program of the computer server provided by the embodiment of the present application is not limited to the above method operations, but may also perform the related operations in the method for message distribution processing provided by any embodiment of the present application.
Memory 410 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the terminal, etc. In addition, 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, memory 410 may further include memory remotely located relative to processor 420, which may be connected to a server/terminal/server via 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 application 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 service line types corresponding to the plurality of messages to be processed; storing the matched messages to be processed according to the service line types; and controlling different service lines to process the message to be processed corresponding to the service line type matching. According to the server for distributing and processing the information, the server judges the application of the service line according to the information to be processed, and then carries out safety verification on the information to be processed according to the configuration agreed with the application platform, and intelligently distributes the information to corresponding information channels for processing, so that the problems that the supporting capacity of each service line is different, various information capacities are scattered and independently used, the information access dispersion processing speed is low in the prior art are solved, and the resource utilization rate of each information channel and the stability of information distribution are improved.
Example five
A fifth embodiment of the present application also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a method of message distribution processing, the method comprising:
receiving a plurality of messages to be processed;
matching service line types corresponding to the plurality of messages to be processed;
storing the matched messages to be processed according to the service line types;
and controlling different service lines to process the message to be processed corresponding to the service line type matching.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the method operations described above, and may also perform the related operations in the method for message distribution processing provided in any embodiment of the present application.
The computer-readable storage media of embodiments of the present application may take the form of 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. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 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.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The embodiment of the application discloses a storage medium for message distribution processing, which is used for executing the following method: receiving a plurality of messages to be processed; matching service line types corresponding to the plurality of messages to be processed; storing the matched messages to be processed according to the service line types; and controlling different service lines to process the message to be processed corresponding to the service line type matching. The storage medium for message distribution processing provided by the embodiment of the application judges the application of the service line according to the message to be processed through the server, 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, thereby solving the problems of different supporting capacity of each service line, scattered and independent use of various message capacities, and low message access dispersion processing speed in the prior art, and improving the resource utilization rate of each message channel and the stability of message distribution.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. It will be understood by those skilled in the art that the present application 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 application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.

Claims (8)

1. A method of message distribution processing, comprising:
receiving a plurality of messages to be processed;
matching service line types corresponding to the plurality of messages to be processed;
storing the matched messages to be processed according to the service line types;
controlling different service lines to process the message to be processed corresponding to the service line type matching;
the receiving a plurality of messages to be processed further comprises:
storing the message to be processed in a local cache;
carrying out authentication verification on the message to be processed in the local cache; the authentication check is used for verifying whether the message to be processed belongs to an illegal message, and the illegal message contains a malicious virus for attacking a server;
the controlling the different service lines to process the message to be processed corresponding to the service line type matching comprises the following steps:
the scanning issuing server scans the task library to be issued in real time, acquires the total amount of the current information to be processed and controls the sending speed of the information of the task library to be issued according to the processing state of the current corresponding service line; checking the condition of the issuing channel queue of the corresponding service line in the scanning process, and adjusting the scanning speed; the scanned data is subjected to real-time data state modification, and the data is asynchronously deleted; pushing the scanned data to a delivery channel of a corresponding service line through an asynchronous thread;
scanning the queue conditions in the different service lines;
and controlling the different service lines to process the message to be processed, which is matched with the corresponding service line types, according to the queue condition.
2. The method of message distribution processing according to claim 1, wherein the receiving a plurality of messages to be processed further comprises:
performing garbage filtration and blacklist detection on the message to be processed;
and carrying out safety monitoring on the message to be processed after the garbage filtration and blacklist detection.
3. The method of message distribution processing according to claim 1, wherein storing the matched pending messages according to the service line category includes:
respectively storing the matched information to be processed in a task library corresponding to the service line type according to the service line type;
detecting the storage amount in the task library and comparing the storage amount with a preset storage amount;
and 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.
4. A method of message distribution processing according to claim 3, wherein storing the matched pending messages according to the service line category respectively comprises:
and scanning the task library to judge whether the message to be processed is repeated, and deleting the message to be processed if the message to be processed is repeated.
5. The method for message distribution processing according to claim 1, wherein before the controlling the different service lines to process the message to be processed corresponding to the service line category match, further comprises:
judging whether the different service lines are in a message issuing time period or not; if yes, judging whether the matched service line has a large number of unprocessed messages or not; if not, continuing to control the different service lines to process the message to be processed corresponding to the service line type matching.
6. An apparatus for message distribution processing, comprising:
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;
the processing module is used for controlling different service lines to process the information to be processed matched with the corresponding service line types;
the acquisition module is further used for storing the messages to be processed in a local cache after receiving the messages to be processed; carrying out authentication verification on the message to be processed in the local cache; the authentication check is used for verifying whether the message to be processed belongs to an illegal message, and the illegal message contains a malicious virus for attacking a server;
the processing module is further configured to:
the scanning issuing server scans the task library to be issued in real time, acquires the total amount of the current information to be processed and controls the sending speed of the information of the task library to be issued according to the processing state of the current corresponding service line; checking the condition of the issuing channel queue of the corresponding service line in the scanning process, and adjusting the scanning speed; the scanned data is subjected to real-time data state modification, and the data is asynchronously deleted; pushing the scanned data to a delivery channel of a corresponding service line through an asynchronous thread;
scanning the queue conditions in the different service lines;
and controlling the different service lines to process the message to be processed, which is matched with the corresponding service line types, according to the queue condition.
7. A server, the server comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of message distribution processing of any of claims 1-5.
8. A computer readable storage medium having stored thereon a 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-5.
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 CN111901352A (en) 2020-11-06
CN111901352B true 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)

Families Citing this family (3)

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

Citations (9)

* 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
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170316433A1 (en) * 2016-04-29 2017-11-02 Ncr Corporation Identity aggregation and integration
US10348858B2 (en) * 2017-09-15 2019-07-09 Oracle International Corporation Dynamic message queues for a microservice based cloud service

Patent Citations (9)

* 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
CN108011805A (en) * 2016-12-29 2018-05-08 北京车和家信息技术有限责任公司 Method, apparatus, intermediate server and the car networking system of message screening
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

Also Published As

Publication number Publication date
CN111901352A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN111901352B (en) Method, device, server and storage medium for message distribution processing
US20140258128A1 (en) Method for managing fund security and mobile terminal
CN104794374A (en) Application authority management method and device used for Android system
CN112329001B (en) Data distribution method, system, terminal and medium between internal network and external network
CN111382985A (en) To-do message integrated pushing system and working method
CN112087475B (en) Message pushing method and device for cloud platform component application and message server
CN109657485B (en) Authority processing method and device, terminal equipment and storage medium
CN110333916B (en) Request message processing method, device, computer system and readable storage medium
CN110138753B (en) Distributed message service system, method, apparatus, and computer-readable storage medium
KR20150005343A (en) Method for preveting message interception and mobile device using the same
CN117131516B (en) Operation and maintenance method and device
CN113010238A (en) Permission determination method, device and system for micro application call interface
CN108959915A (en) A kind of rookit detection method, device and server
CN113765871B (en) Method and device for managing fort machine
CN109903022B (en) Resource distribution method, device, equipment and computer readable storage medium
CN114490135A (en) Task processing method and device, electronic equipment and storage medium
CN114374657A (en) Data processing method and device
CN112488462A (en) Unified pushing method, device and medium for workflow data
CN111488236A (en) Order abnormity processing method, server, storage medium and processing device
CN115589577B (en) Communication service access management method and device, electronic equipment and storage medium
CN115118782B (en) Data control method, device, electronic equipment and computer readable storage medium
CN114978737B (en) Comprehensive management system for Doppler weather radar data
CN111372252B (en) Method, device, equipment and storage medium for secure networking
CN115941344A (en) Data processing method and device, readable storage medium and electronic equipment
CN110460601B (en) Dependency package security detection method, dependency package security detection device 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