TWI678086B - Method, device and system for automatically melting message sending - Google Patents

Method, device and system for automatically melting message sending Download PDF

Info

Publication number
TWI678086B
TWI678086B TW106101724A TW106101724A TWI678086B TW I678086 B TWI678086 B TW I678086B TW 106101724 A TW106101724 A TW 106101724A TW 106101724 A TW106101724 A TW 106101724A TW I678086 B TWI678086 B TW I678086B
Authority
TW
Taiwan
Prior art keywords
message
sending
blacklist
sent
feature
Prior art date
Application number
TW106101724A
Other languages
Chinese (zh)
Other versions
TW201733312A (en
Inventor
胡晶晶
Original Assignee
香港商阿里巴巴集團服務有限公司
Alibaba Group Services Limited
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 香港商阿里巴巴集團服務有限公司, Alibaba Group Services Limited filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201733312A publication Critical patent/TW201733312A/en
Application granted granted Critical
Publication of TWI678086B publication Critical patent/TWI678086B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking

Abstract

本發明涉及通訊技術領域,特別涉及一種自動熔斷的消息發送方法、裝置及系統,其中方法包括接收發送消息請求,並得到所述發送消息請求中的特徵;根據所述特徵進行黑名單校驗;通過所述黑名單校驗後,發送相應消息,並根據所述特徵產生本次發送消息的日誌。透過非同步分析日誌,將超過門檻值的特徵資料加入黑名單,可以實現對使用者發送的消息進行邏輯控制,避免了對使用者的消息騷擾;並且提高了消息處理系統發送消息的處理速度。 The present invention relates to the field of communication technology, and in particular, to a method, a device, and a system for automatically blowing a message, where the method includes receiving a message sending request and obtaining characteristics in the message sending request; performing a blacklist check according to the characteristics; After passing the blacklist check, a corresponding message is sent, and a log of the current sent message is generated according to the characteristics. By asynchronously analyzing the log and adding the feature data exceeding the threshold value to the blacklist, the user can control the messages sent by the user logically, avoid the user's message harassment, and improve the processing speed of the messages sent by the message processing system.

Description

自動熔斷的消息發送方法、裝置及系統 Message sending method, device and system for automatic fusing

本發明涉及通訊技術領域,特別涉及一種自動熔斷的消息發送方法、裝置及系統。 The present invention relates to the field of communication technologies, and in particular, to a method, a device, and a system for automatically blowing a message.

隨著網際網路技術的日益發展,使用者在電子交易平臺進行交易後會產生很多消息,電子交易平臺將消息發送給使用者,例如郵件通知交易結果,短訊通知付款是否成功,但是如果透過某種管道短時間內向使用者發送大量的消息,容易造成使用者通知管道的阻塞,例如通知管道為郵箱,使用者的郵箱在短時間內接收到大量消息,可能造成郵箱容量溢出或者使用者重要的郵件被淹沒在大量的通知消息之中,這樣會影響使用者正常使用郵箱。 With the increasing development of Internet technology, users will generate a lot of messages after conducting transactions on the electronic trading platform. The electronic trading platform will send messages to the users, such as email notification of the transaction results, and SMS notification of payment success. Sending a large number of messages to users in a certain channel in a short period of time can easily cause the user's notification channel to be blocked. For example, the notification channel is a mailbox. The user's mailbox receives a large number of messages in a short period of time. Of emails are submerged in a large number of notification messages, which will affect users' normal use of mailboxes.

在現有技術中,一般在每次發送消息時採用計數的方式統計發送此類消息的數量,如果發送數量超過門檻值則取消本次消息的發送。但是,由於消息的目標使用者量較大,使用者使用的通知管道多種多樣,系統在每一次發送消息時都需要在資料庫中進行累加計數的操作,這樣資料寫入併發量大,影響系統發送消息的處理效率。 In the prior art, the number of such messages is generally counted each time a message is sent. If the number of messages sent exceeds a threshold, the sending of the message is canceled. However, due to the large number of target users of messages and the variety of notification channels used by users, the system needs to perform an accumulation operation in the database every time a message is sent. This causes a large amount of data to be written and affects the system. Processing efficiency of sending messages.

為了解決現有技術中消息處理系統發送消息的效率不高,並且如果發送的某類消息過多容易造成對使用者騷擾的問題,提出了一種自動熔斷的消息發送方法、裝置及系統可以提高發送消息的效率,並且避免了同類消息對使用者的騷擾。 In order to solve the problem that the message processing system in the prior art is not efficient in sending messages, and if too many types of messages are sent, it may easily cause disturbance to users. A method, device, and system for automatically sending messages are proposed to improve the efficiency of sending messages. Efficiency, and avoid the harassment of users by similar messages.

本發明實施例提供了一種自動熔斷的消息發送方法,包括,接收發送消息請求,並得到所述發送消息請求中的特徵;根據所述特徵進行黑名單校驗;通過所述黑名單校驗後,發送相應消息,並根據所述特徵產生本次發送消息的日誌。 An embodiment of the present invention provides an automatically blown message sending method, including receiving a sending message request and obtaining characteristics in the sending message request; performing a blacklist check according to the characteristics; and after passing the blacklist check , Sending a corresponding message, and generating a log of the current message sent based on the characteristics.

本發明實施例還提供了一種自動熔斷的消息發送方法,包括,同步消息處理系統的日誌;根據所述日誌累計具有相同特徵消息的數量;判斷所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 An embodiment of the present invention further provides a method for automatically blowing a message, which includes: synchronizing a log of a message processing system; accumulating the number of messages with the same characteristics according to the log; judging whether the number exceeds a threshold value of the number; The feature is blacklisted.

本發明實施例還提供了一種自動熔斷的消息處理裝置,包括,接收單元,用於接收發送消息請求,並得到所述發送消息請求中的特徵; 校驗單元,用於根據所述特徵進行黑名單校驗;處理單元,用於當通過所述黑名單校驗後,發送相應消息,並根據所述特徵產生本次發送消息的日誌。 An embodiment of the present invention further provides a message processing device with automatic fusing, including a receiving unit, configured to receive a message sending request, and obtain characteristics in the message sending request; The verification unit is configured to perform a blacklist verification based on the characteristics; the processing unit is configured to send a corresponding message after passing the blacklist verification, and generate a log of the current sent message according to the characteristics.

本發明實施例還提供了一種自動熔斷的記帳裝置,包括,同步單元,用於同步消息處理系統的日誌;計算單元,用於根據所述日誌累計具有相同特徵消息的數量;處理單元,用於判斷所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 An embodiment of the present invention further provides an automatic fusing accounting device, including a synchronization unit for synchronizing a log of a message processing system; a calculation unit for accumulating a quantity of messages having the same characteristics according to the log; and a processing unit for: It is determined whether the quantity exceeds a quantity threshold, and if the quantity is exceeded, the feature is added to a blacklist.

本發明實施例還提供了一種自動熔斷的消息處理系統,包括消息處理裝置和記帳裝置,所述消息處理裝置,用於接收發送消息請求,並得到所述發送消息請求中的特徵,根據所述特徵進行黑名單校驗,當通過所述黑名單校驗後,發送相應消息,並根據所述特徵產生本次發送消息的日誌;所述記帳裝置,用於同步消息處理系統的日誌,根據所述日誌累計具有相同特徵消息的數量,判斷所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 An embodiment of the present invention further provides a message processing system with automatic fusing, including a message processing device and an accounting device. The message processing device is configured to receive a message sending request and obtain characteristics in the message sending request. The feature performs blacklist verification. After passing the blacklist verification, a corresponding message is sent, and a log of the current message is generated according to the feature. The accounting device is used to synchronize the log of the message processing system. The log accumulates the number of messages with the same characteristics, determines whether the number exceeds a threshold value of the number, and if it exceeds, adds the characteristic to a blacklist.

由以上本發明實施例提供的技術方案可見,可以實現對向使用者發送的消息進行邏輯控制,如果發送的消息在黑名單中,則不發送該消息,避免了對使用者的消息騷擾;並且提高了消息處理系統發送消息的處理速度。 It can be seen from the technical solutions provided by the above embodiments of the present invention that logical control of messages sent to users can be achieved, and if the sent messages are on a blacklist, the messages are not sent, avoiding message harassment to users; and Improved the processing speed of messages sent by the message processing system.

當然實施本發明的任一產品或者方法必不一定需要同 時達到以上所述的所有優點。 Of course, any product or method for implementing the present invention does not necessarily need to be the same All the advantages described above are achieved.

201~203‧‧‧步驟 201 ~ 203‧‧‧step

301~303‧‧‧步驟 301 ~ 303‧‧‧step

401‧‧‧接收單元 401‧‧‧Receiving unit

402‧‧‧校驗單元 402‧‧‧check unit

403‧‧‧處理單元 403‧‧‧Processing unit

501‧‧‧同步單元 501‧‧‧Sync unit

502‧‧‧計算單元 502‧‧‧ Computing Unit

503‧‧‧處理單元 503‧‧‧ processing unit

504‧‧‧更新單元 504‧‧‧Update Unit

601‧‧‧消息處理裝置 601‧‧‧Message processing device

602‧‧‧記帳裝置 602‧‧‧accounting device

701~709‧‧‧步驟 701 ~ 709‧‧‧ steps

801~810‧‧‧步驟 801 ~ 810‧‧‧step

為了更清楚地說明本發明實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本發明中記載的一些實施例,對於本領域具有通常知識者來講,在不付出創造性勞動性的前提下,還可以根據這些圖式獲得其他的圖式。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only Some embodiments described in the invention, for those with ordinary knowledge in the art, can obtain other drawings based on these drawings without paying creative labor.

圖1所示為現有技術中消息發送方法的整體流程圖;圖2所示為本發明實施例一種自動熔斷的消息發送方法的流程圖;圖3所示為本發明實施例一種自動熔斷的消息發送方法的流程圖;圖4所示為本發明實施例一種自動熔斷的消息處理裝置的結構示意圖;圖5所示為本發明實施例一種自動熔斷的記帳裝置的結構示意圖;圖6所示為本發明實施例一種自動熔斷的消息處理系統的結構示意圖;圖7所示為本發明實施例一種自動熔斷的消息處理系統在處理消息時的具體流程圖;圖8所示為本發明實施例一種自動熔斷的消息處理系統在處理消息時的具體流程圖。 FIG. 1 shows an overall flowchart of a message sending method in the prior art; FIG. 2 shows a flowchart of a message sending method of an automatic blowout according to an embodiment of the present invention; and FIG. 3 shows a message of an automatic blowout according to an embodiment of the present invention Flow chart of a sending method; FIG. 4 is a schematic structural diagram of an automatic blowout message processing device according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of an automatic blowout accounting device according to an embodiment of the present invention; The schematic diagram of the structure of an automatic fusing message processing system according to an embodiment of the present invention; FIG. 7 shows a specific flowchart of an automatic fusing message processing system when processing messages according to an embodiment of the present invention; The specific flow chart of the automatic fusing message processing system when processing messages.

本發明實施例提供一種自動熔斷的消息發送方法、裝置及系統。 Embodiments of the present invention provide a method, a device, and a system for automatically blowing a message.

為了使本技術領域的人員更好地理解本發明中的技術方案,下面將結合本發明實施例中的圖式,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域具有通常知識者在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明保護的範圍。 In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described in combination with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those with ordinary knowledge in the art without making creative work should fall within the protection scope of the present invention.

如圖1所示為現有技術中消息發送方法的整體流程圖,在現有技術中將統計消息數量、判斷是否發送等步驟都置於消息處理系統中處理,因此造成了消息發送的效率較低的問題。 Figure 1 shows an overall flowchart of a message sending method in the prior art. In the prior art, steps such as counting the number of messages and judging whether to send or not are placed in a message processing system for processing, which results in a lower message sending efficiency. problem.

上述現有技術具體包括業務系統向消息處理系統發起發送消息請求,在消息處理系統中對該發送消息請求進行了前置校驗、黑名單校驗等步驟,其中,黑名單校驗是指判斷本次發送的消息(管道+業務資訊)是否屬於黑名單,如果在黑名單中說明透過所述管道發送的這種業務資訊已經超過門檻值,對於使用者來說已經構成了影響。當通過了黑名單校驗後,需要判斷本次要發送的消息加上以前的發送記錄是否對使用者構成了影響,也就是圖中所述的對已發送消息數量的查詢以及對該數量的校驗;如果通 過了上述已發送消息數量的校驗後,調用閘道發送本次的消息;最後在記帳系統中記錄本次發送消息,也就是在記帳系統中的發送消息記錄中加1。 The foregoing prior art specifically includes a service system initiating a message sending request to a message processing system, and performing a pre-check and a black list check on the message sending request in the message processing system. The black list check refers to determining the Whether the sent message (channel + business information) belongs to the blacklist. If it is stated in the blacklist that such business information sent through the channel has exceeded a threshold value, it has already affected the user. After passing the blacklist check, it is necessary to determine whether the message to be sent this time and the previous sending record have affected the user, that is, the query on the number of sent messages and the number of sent messages as described in the figure. Check; if pass After the above-mentioned verification of the number of sent messages, the gateway is called to send the current message; finally, the sending message is recorded in the accounting system, that is, 1 is added to the sending message record in the accounting system.

如圖2所示為本發明實施例一種自動熔斷的消息發送方法的流程圖,在該圖中描述的是消息處理系統中的工作流程,與現有技術相比較在本發明中的消息處理系統不進行已發送消息的查詢、校驗、記帳等步驟,只是透過驗證黑名單的方式實現是否發送消息的判斷,簡化了消息發送流程,並且透過記帳系統對黑名單的操作來完成控制消息發送的目的,減少對使用者同類型消息的打擾,避免了透過相同通知管道向使用者發送大量消息,造成使用者的通知管道阻塞的問題。 FIG. 2 is a flowchart of a method for sending an automatic blowout message according to an embodiment of the present invention. In this figure, a working process in a message processing system is described. Compared with the prior art, the message processing system in the present invention is not The steps of querying, verifying, and accounting for sent messages are only implemented by verifying the blacklist to determine whether to send messages, simplifying the message sending process, and controlling the sending of messages through the operation of the accounting system on the blacklist. , Reduce the interruption of the same type of messages to the user, and avoid the problem of blocking the user's notification channel by sending a large number of messages to the user through the same notification channel.

具體包括步驟201,接收發送消息請求,並得到所述發送消息請求中的特徵。 Specifically, step 201 includes receiving a message sending request and obtaining a feature in the message sending request.

步驟202,根據所述特徵進行黑名單校驗。 Step 202: Perform a blacklist verification according to the characteristics.

步驟203,通過所述黑名單校驗後,發送相應消息,並根據所述特徵產生本次發送消息的日誌。 Step 203: After passing the blacklist check, a corresponding message is sent, and a log of the current message is generated according to the characteristics.

作為本發明的一個實施例,所述發送消息請求至少包括:發送消息的管道和業務資訊;或,發送消息的目標使用者和業務資訊。 As an embodiment of the present invention, the message sending request includes at least: a pipe and service information for sending the message; or, a target user and service information for sending the message.

其中,發送消息的管道包括目標使用者的手機號碼、郵寄地址和使用者端等,其中手機號碼用於向使用者發送短訊,郵寄地址用於向使用者發送郵件,使用者端用於向 使用者的使用者端發送通知消息,例如向使用者智慧終端機的支付寶使用者端發送付款成功的消息。 The channel for sending messages includes the target user ’s mobile phone number, mailing address, and user terminal. The mobile phone number is used to send a short message to the user, the mailing address is used to send a message to the user, and the user terminal is used to send a message to the user. The user terminal of the user sends a notification message, such as a message that the payment is successfully sent to the Alipay user terminal of the user's smart terminal.

所述的業務資訊包括業務類型,還可以包括業務消息內容等資訊,其中,業務消息內容例如為“您的XXXX訂單支付成功”、“您的XXX訂單的轉帳成功”,業務類型例如可以為付款成功(或者失敗)的消息,轉帳成功(或者失敗)的消息,商品已經發貨的通知消息等等,這些業務資訊可以透過管道而確定相應的形式,例如當管道為手機號碼時,業務資訊可能只包括簡單的文字資訊,當管道為郵寄地址時,業務資訊可能包括了文字、圖片等多媒體的內容。 The business information includes business type, and may also include information such as business message content. The content of the business message is, for example, "your XXXX order payment was successful", "your XXX order transfer was successful", and the business type may be payment Success (or failure) messages, transfer success (or failure) messages, product delivery notification messages, and so on. These business information can be determined through channels. For example, when the channel is a mobile phone number, the business information may be Only simple text information is included. When the channel is a mailing address, the business information may include multimedia content such as text and pictures.

作為本發明的一個實施例,當所述發送消息的請求中包括目標使用者和業務資訊時,在得到所述發送消息請求中的特徵之中還包括,根據目標使用者資訊分析得到發送消息的管道。 As an embodiment of the present invention, when the request for sending a message includes a target user and service information, obtaining characteristics in the request for sending a message further includes analyzing and obtaining the sending message according to the target user information. pipeline.

其中,當發送消息的請求中不包括管道時,那麼需要包括目標使用者,由於一個使用者可能具有多種通訊的管道,可能包括手機號碼、郵寄地址、客戶終端等,具體使用哪種管道發送消息則可以根據多種條件來判斷選擇,例如如果使用者大部分登入操作都是在手機上的使用者端進行的,那麼通知消息就可以選擇為以使用者端方式發送,若使用者瀏覽商品等操作都是透過電腦完成的,那麼可以選擇手機簡訊方式或者選擇郵件方式發送消息,只需要指明要向哪個使用者(目標使用者)發送消息即可。 Among them, when the request for sending a message does not include a channel, then the target user needs to be included. Because a user may have multiple communication channels, which may include mobile phone numbers, mailing addresses, client terminals, etc., which channel is used to send the message. You can determine the choice based on a variety of conditions. For example, if the majority of the user's login operations are performed on the user terminal of the mobile phone, the notification message can be selected to be sent by the user terminal. If the user browses the product and other operations All are done through a computer, then you can choose the mobile phone message method or the mail method to send the message, and you only need to specify which user (target user) to send the message to.

作為本發明的一個實施例,根據所述特徵進行黑名單校驗進一步包括,判斷所述特徵是否存在於所述黑名單中,如果存在則不發送所述消息。 As an embodiment of the present invention, performing the blacklist verification according to the feature further includes determining whether the feature exists in the blacklist, and if not, the message is not sent.

所述特徵至少包括管道和業務類型,還可以包括已發送消息的時間資訊。 The characteristics include at least a pipeline and a service type, and may further include time information of a sent message.

作為本發明的一個實施例,所述日誌至少包括發送消息的管道和業務類型。 As an embodiment of the present invention, the log includes at least a pipe and a service type for sending a message.

其中,所述日誌中還可以包括發送消息的時間資訊,所述日誌可以儲存於消息處理裝置本地。 The log may further include time information for sending the message, and the log may be stored locally in the message processing device.

上述的管道可以為字母字串形式或者為數字字串形式,或者還可以為字母和數字混合構成的字串,所述業務資訊可以為業務類型的代碼,該業務類型的代碼可以標識業務類型,在發送給使用者時轉換為具體的文字資訊。 The above pipeline may be in the form of an alphabetic string or a numeric string, or a string composed of a mixture of letters and numbers. The service information may be a code of a service type, and the code of the service type may identify a service type. Converted to specific text information when sent to users.

透過上述本發明實施例的方法,可以實現對向使用者發送的消息進行邏輯控制,如果發送的消息在黑名單中,則不發送該消息,避免了對使用者的消息騷擾;並且提高了消息處理系統發送消息的處理速度。 Through the method of the embodiment of the present invention described above, logical control of messages sent to users can be achieved. If a sent message is on a blacklist, the message is not sent, avoiding message harassment to users; and improving the message The processing speed of messages sent by the processing system.

如圖3所示為本發明實施例一種自動熔斷的消息發送方法的流程圖,在該圖中主要描述了記帳系統的工作流程,本方法是透過與消息處理系統分離處理日誌的方式來實現提高消息發送效率的目的,在記帳系統中的方法與上述圖2所示實施例的方法相結合功能完成控制消息發送,以避免透過相同管道向使用者發送過多相同業務類型的資訊。 FIG. 3 is a flowchart of a method for automatically blowing a message according to an embodiment of the present invention. In the figure, the working process of the accounting system is mainly described. The method is implemented by separating the log from the message processing system to improve the process. For the purpose of message sending efficiency, the method in the accounting system combines the method of the embodiment shown in FIG. 2 to complete the sending of control messages to avoid sending too much information of the same service type to users through the same channel.

具體包括步驟301,同步消息處理系統的日誌。 Specifically, step 301 includes synchronizing the logs of the message processing system.

步驟302,根據所述日誌累計具有相同特徵消息的數量。 Step 302: Accumulate the number of messages with the same characteristics according to the log.

步驟303,判斷所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 Step 303: Determine whether the quantity exceeds a quantity threshold, and if the quantity exceeds the threshold, add the feature to a blacklist.

作為本發明的一個實施例,所述特徵至少包括發送消息的管道和業務類型。 As an embodiment of the present invention, the features include at least a pipe and a service type for sending a message.

作為本發明的一個實施例,所述特徵中還包括已發送消息的時間資訊。 As an embodiment of the present invention, the feature further includes time information of the sent message.

作為本發明的一個實施例,在判斷所述數量是否超過預定門檻值之中還包括,判斷在一定時間內所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 As an embodiment of the present invention, determining whether the quantity exceeds a predetermined threshold value further includes determining whether the quantity exceeds a quantity threshold value within a certain period of time, and if the quantity is exceeded, adding the feature to a blacklist.

其中,如果在一段時間內透過相同的管道向使用者發送相同業務消息的數量超過一定門檻值,則認為這種情況屬於對使用者干擾,例如,在1分鐘內透過手機短訊的方式向使用者發送支付成功的消息超過了10條,則認為這種情況屬於對使用者的干擾,如果在1個小時內透過手機短訊的方式向使用者發送支付成功的消息超過了10條,則認為這種情況不屬於對使用者的干擾。 Among them, if the number of same business messages sent to users through the same channel over a certain period of time exceeds a certain threshold, it is considered that this situation is an interference to the user, for example, the use of mobile phone SMS within 1 minute If the sender sends more than 10 messages of successful payment, this situation is considered as interference to the user. If more than 10 messages of successful payment are sent to the user via mobile phone within 1 hour, the user is considered This situation does not constitute interference to the user.

作為本發明的一個實施例,還包括,判斷所述黑名單中特徵的時間資訊,若所述時間資訊與當前時間的間隔超過時間門檻值,則將所述特徵從所述黑名單中刪除。 As an embodiment of the present invention, the method further includes determining time information of a feature in the blacklist, and if the interval between the time information and the current time exceeds a time threshold, deleting the feature from the blacklist.

其中,黑名單在時刻保持的更新,當透過某個管道發送的某類業務資訊在一段時間內都沒有出現,則說明後續 透過這個管道發送的該類業務資訊對於使用者來說不構成干擾,因此應當允許這種資訊的繼續發送,而不是永遠屏蔽這種資訊的發送。 Among them, the blacklist is kept updated at all times. When certain types of business information sent through a channel does not appear for a period of time, it means that the follow-up This type of business information sent through this channel does not constitute interference for users, so it should allow continuous transmission of this information, rather than permanently blocking the transmission of this information.

透過上述實施例的方法,可以透過非同步的方式記錄發送消息的日誌,並在獨立於消息處理系統以外的記帳系統中對日誌進行分析和黑名單的更新,這樣在消息處理系統發送消息時只需要判斷黑名單即可,這樣提高了消息處理系統發送消息的處理效率。 Through the method of the above embodiment, a log of sent messages can be recorded in an asynchronous manner, and the log is analyzed and the blacklist updated in an accounting system independent of the message processing system, so that when the message processing system sends a message, only The blacklist needs to be judged, which improves the processing efficiency of the message sent by the message processing system.

如圖4所示為本發明實施例一種自動熔斷的消息處理裝置的結構示意圖,該裝置可以利用邏輯電路或者專門的晶片(例如FPGA)來組建,或透過現有的高性能電腦實施,其中的一些功能單元可以單獨以一個硬體設備實現,或者幾個功能單元由一個或者多個硬體設備實現,具體包括: FIG. 4 is a schematic structural diagram of an automatic fusing message processing device according to an embodiment of the present invention. The device can be constructed by using a logic circuit or a special chip (such as an FPGA), or implemented by an existing high-performance computer. Some of them are The functional unit can be implemented by a single hardware device, or several functional units can be implemented by one or more hardware devices, including:

接收單元401,用於接收發送消息請求,並得到所述發送消息請求中的特徵。 The receiving unit 401 is configured to receive a message sending request and obtain a feature in the message sending request.

校驗單元402,用於根據所述特徵進行黑名單校驗。 The verification unit 402 is configured to perform blacklist verification according to the characteristics.

處理單元403,用於當通過所述黑名單校驗後,發送相應消息,並根據所述特徵產生本次發送消息的日誌。 The processing unit 403 is configured to send a corresponding message after passing the blacklist check, and generate a log of the current sent message according to the characteristics.

作為本發明的一個實施例,所述發送消息請求至少包括:發送消息的管道和業務資訊;或,發送消息的目標使用者和業務資訊。 As an embodiment of the present invention, the message sending request includes at least: a pipe and service information for sending the message; or, a target user and service information for sending the message.

作為本發明的一個實施例,所述接收單元還用於根據 目標使用者資訊分析得到發送消息的管道。 As an embodiment of the present invention, the receiving unit is further configured to: Analysis of target user information to get the channel for sending messages.

作為本發明的一個實施例,所述校驗單元進一步用於判斷所述特徵是否存在於所述黑名單中,如果存在則不發送所述消息。 As an embodiment of the present invention, the verification unit is further configured to determine whether the feature exists in the blacklist, and if it does, the message is not sent.

如圖5所示為本發明實施例一種自動熔斷的記帳裝置的結構示意圖,該裝置可以利用邏輯電路或者專門的晶片(例如FPGA)來組建,或透過現有的高性能電腦實施,其中的一些功能單元可以單獨以一個硬體設備實現,或者幾個功能單元由一個或者多個硬體設備實現,具體包括: FIG. 5 is a schematic structural diagram of an automatic fusing accounting device according to an embodiment of the present invention. The device can be constructed by using a logic circuit or a special chip (such as an FPGA), or can be implemented by an existing high-performance computer. Some of these functions The unit can be implemented by a single hardware device, or several functional units can be implemented by one or more hardware devices, including:

同步單元501,用於同步消息處理系統的日誌。 The synchronization unit 501 is configured to synchronize logs of a message processing system.

計算單元502,用於根據所述日誌累計具有相同特徵消息的數量。 The calculating unit 502 is configured to accumulate the number of messages with the same characteristics according to the log.

處理單元503,用於判斷所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 The processing unit 503 is configured to determine whether the quantity exceeds a quantity threshold, and if the quantity exceeds the threshold, add the feature to a blacklist.

作為本發明的一個實施例,所述特徵至少包括發送消息的管道和業務類型。 As an embodiment of the present invention, the features include at least a pipe and a service type for sending a message.

作為本發明的一個實施例,所述特徵中還包括已發送消息的時間資訊。 As an embodiment of the present invention, the feature further includes time information of the sent message.

作為本發明的一個實施例,所述處理單元進一步用於判斷在一定時間內所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 As an embodiment of the present invention, the processing unit is further configured to determine whether the quantity exceeds a quantity threshold within a certain period of time, and if the quantity exceeds the feature, add the feature to a blacklist.

作為本發明的一個實施例,還包括更新單元504,判斷所述黑名單中特徵的時間資訊,若所述時間資訊與當前時間的間隔超過時間門檻值,則將所述特徵從所述黑名單 中刪除。 As an embodiment of the present invention, it further includes an update unit 504, which judges time information of features in the blacklist, and if the interval between the time information and the current time exceeds a time threshold, the feature is removed from the blacklist. Delete.

如圖6所示為本發明實施例一種自動熔斷的消息處理系統的結構示意圖,在該圖中包括了上述圖4和圖5所示實施例中的消息處理裝置和記帳裝置,其中:消息處理裝置601,用於接收發送消息請求,並得到所述發送消息請求中的特徵,根據所述特徵進行黑名單校驗,當通過所述黑名單校驗後,發送相應消息,並根據所述特徵產生本次發送消息的日誌;記帳裝置602,用於同步消息處理系統的日誌,根據所述日誌累計具有相同特徵消息的數量,判斷所述數量是否超過數量門檻值,若超過則將該特徵加入黑名單。 FIG. 6 is a schematic structural diagram of an automatically blown message processing system according to an embodiment of the present invention. The figure includes the message processing device and the accounting device in the embodiments shown in FIG. 4 and FIG. 5 described above, in which: message processing The device 601 is configured to receive a message sending request, obtain characteristics in the message sending request, perform a blacklist check based on the characteristics, and send a corresponding message after passing the blacklist check, and send the corresponding message according to the characteristics. Generate a log of this sent message; an accounting device 602 is used to synchronize the log of the message processing system, and judge whether the number exceeds a threshold value based on the number of messages with the same characteristics accumulated in the log. blacklist.

在本實施例中的系統可以具備上述裝置中的各個功能單元或者附加的功能單元,在此不再贅述。 The system in this embodiment may be provided with each functional unit or additional functional units in the above device, and details are not described herein again.

如圖7所示為本發明實施例一種自動熔斷的消息處理系統在處理消息時的具體流程圖,在該圖中的消息處理裝置、記帳裝置均可以由一個或者幾個電腦實現,或者由專用的晶片形成,其中包括的日誌、黑名單等可以由資料庫實現,可以位於任意的位置,例如日誌與消息處理裝置在同一台電腦中,或者分開位於不同的電腦中。 As shown in FIG. 7, a specific flowchart of an automatically blown message processing system when processing a message according to an embodiment of the present invention. The message processing device and the accounting device in the figure can be implemented by one or several computers, or by a dedicated computer. The formation of the chip, including the log, blacklist, etc. can be realized by the database, can be located at any location, for example, the log and the message processing device in the same computer, or in separate computers.

在本圖中具體包括步驟701,業務系統向消息處理裝置提出發送消息請求。 The figure specifically includes step 701, where the service system makes a message sending request to the message processing device.

在本步驟中,業務系統可以例如為支付交易系統,或者為轉帳系統,或者為收款系統,在本實施例中以支付交易系統為例進行說明,在支付交易系統發送的發送消息請 求中至少包括了使用者資訊和業務類型,其中的業務類型指明要發送的消息屬於哪類業務,例如支付完成消息、支付失敗消息、轉帳完成消息、轉帳失敗消息等等,還可以包括業務消息內容,例如使用者ID+支付完成消息+某筆支付完成消息,或者包括發送管道+業務類型+業務消息內容,例如手機號碼和支付完成消息某筆支付完成消息。 In this step, the business system may be, for example, a payment transaction system, a transfer system, or a payment collection system. In this embodiment, the payment transaction system is used as an example. The sending message sent in the payment transaction system is The request includes at least user information and business type, where the business type indicates which type of business the message to be sent belongs to, such as payment completion message, payment failure message, transfer completion message, transfer failure message, and so on. It can also include business messages Contents, such as user ID + payment completion message + a payment completion message, or include the content of a transmission channel + service type + business message, such as a mobile phone number and payment completion message.

所述的發送消息請求具體可以包括發送使用者資訊(管道)+業務類型編碼+組裝消息內容需要的一些參數。消息處理裝置根據業務類型編碼,獲取該業務類型編碼對應的消息範本,將使用者傳入的參數內容替換範本中的一些可替換的變數,組裝成最終發送給使用者的消息內容。 The sending message request may specifically include some parameters required to send user information (pipeline) + service type code + assembly message content. The message processing device obtains a message template corresponding to the service type code according to the service type code, and replaces some replaceable variables in the template with the parameter content passed in by the user to assemble the message content that is finally sent to the user.

步驟702,消息處理裝置對上述發送消息請求進行前置校驗。 In step 702, the message processing apparatus performs pre-check on the message sending request.

在本步驟中主要驗證發送消息請求的格式是否符合要求,例如使用者ID的格式是否正確,某筆支付完成消息的格式是否正確,請求發送的消息的業務類型是否存在等。 In this step, it is mainly verified whether the format of the request for sending the message meets the requirements, such as whether the format of the user ID is correct, whether the format of a payment completion message is correct, and whether the service type of the message to be sent exists.

步驟703,獲得所述發送消息請求中的特徵。 Step 703: Obtain a feature in the message sending request.

在本步驟中,如果發送消息請求中是使用者ID和支付完成消息(業務類型),則需要從該請求中提取使用者ID,根據該使用者ID匹配合適的發送管道,例如在使用者資訊中保存了2種消息發送的管道,分別為手機號碼和郵寄地址,根據使用者的偏好或者根據歷史消息發送的管道,選擇其中的一種作為消息發送的管道,在本例中選擇 手機號碼為發送消息的管道,該特徵中至少包括了消息發送的管道(手機號碼)和支付完成消息。 In this step, if the user ID and payment completion message (business type) are included in the message sending request, the user ID needs to be extracted from the request, and an appropriate sending channel is matched according to the user ID, for example, in user information. There are two types of message sending channels stored in the mobile phone number and mailing address. According to the user's preference or according to the historical message sending channel, choose one of them as the message sending channel. In this example, select The mobile phone number is a pipe for sending messages, and this feature includes at least the pipe for sending messages (mobile phone number) and the payment completion message.

如果發送消息請求中包括的是消息發送管道和業務類型,則直接得到了該發送消息請求中的特徵,該特徵中至少包括了消息發送的管道(手機號碼)和支付完成消息。 If the message sending request includes a message sending pipeline and a service type, the characteristics in the message sending request are directly obtained, and the feature includes at least a message sending pipeline (mobile phone number) and a payment completion message.

步驟704,對所述特徵進行黑名單校驗。 Step 704: Perform a blacklist check on the features.

在本步驟的黑名單中包括了多個特徵,將接收到的發送消息請求中的特徵與黑名單中的多個特徵進行比較,如果有相同的則說明黑名單的校驗失敗,否則說明黑名單校驗通過,如果校驗失敗,則不發送支付完成消息,在本實施例中通過黑名單校驗,就可以完成發送支付完成消息。 The blacklist in this step includes multiple features. The features in the received send message request are compared with the multiple features in the blacklist. If they are the same, the blacklist verification fails, otherwise, the blacklist is black. The list verification is passed. If the verification fails, the payment completion message is not sent. In this embodiment, the payment completion message can be sent through the black list verification.

步驟705,消息處理裝置調用閘道等通訊裝置以指定的管道發送支付完成消息,並產生本次發送消息的日誌。 In step 705, the message processing device calls a communication device such as a gateway to send a payment completion message through a designated pipe, and generates a log of the current message sent.

在本步驟中,閘道等通訊設備與消息處理裝置可以為一體,也可以為分別獨立的裝置,在此不作限定。 In this step, the communication equipment such as the gateway and the message processing device may be integrated, or may be separate devices, which is not limited herein.

產生本次發送消息的日誌中至少包括了本次發送消息的管道和業務類型,其中業務類型例如為支付成功消息、轉帳成功消息、轉帳失敗消息、賣家已經發貨消息等等,在其它實施例中,日誌中還可以包括發送消息的時間(用於後面根據時間判斷是否進入黑名單),業務消息內容等。 The log generating the sent message includes at least the channel and service type of the sent message, where the service type is, for example, payment success message, transfer success message, transfer failure message, seller has shipped message, etc. In addition, the log may also include the time when the message was sent (used to determine whether to enter the blacklist later based on the time), the content of the service message, and so on.

所述日誌可以儲存於消息處理裝置中。 The log may be stored in a message processing device.

至此,消息處理裝置中的消息處理流程結束。 So far, the message processing flow in the message processing device ends.

步驟706,記帳裝置同步所述消息處理裝置中的日 誌。 Step 706: The accounting device synchronizes the date in the message processing device. Chi.

在本步驟中,記帳裝置定時讀取消息處理裝置的日誌,並在本地進行記帳處理,此處的記帳處理是指後面的分析、計算等工作。 In this step, the accounting device periodically reads the log of the message processing device and performs accounting processing locally. The accounting processing here refers to subsequent analysis and calculation.

步驟707,計算具有相同特徵的日誌數量。 Step 707: Calculate the number of logs with the same characteristics.

在本步驟中,記帳裝置根據記錄的多條日誌,將管道和業務類型相同的日誌進行累加,如下表1所示為同步的日誌表格,在該表格中分別記錄了每一次發送消息的管道和業務類型。 In this step, the accounting device accumulates logs of the same pipeline and service type according to the multiple logs recorded. The following table 1 shows a synchronized log table, in which the records of each channel and business type.

在該表格中第一條日誌和第三條日誌的管道和業務類型相同,第四條日誌的管道與第一條的管道相同,但是業務類型不同,透過該表格其它行的資料(表格中未示)累計透過手機號碼短訊方式發送的支付成功消息有100條記錄。 In this form, the first log and the third log have the same pipeline and business type, and the fourth log has the same pipeline and the same type of business as the first, but the business type is different. (Show) There are 100 records of payment success messages sent via mobile phone number SMS.

步驟708,判斷計算的數量是否大於數量門檻值。 Step 708: Determine whether the calculated quantity is greater than a quantity threshold.

在本步驟中,如果計算的數量大於數量門檻值,則進入步驟709,否則結束記帳的流程。 In this step, if the calculated quantity is greater than the quantity threshold, the process proceeds to step 709, otherwise the process of accounting is ended.

在本例中,預設的數量門檻值為99條,根據前述的 計算數量100條,則說明透過手機號碼短訊的方式發送支付成功消息已經過多,對使用者來說可能已經構成干擾。 In this example, the preset number threshold is 99. According to the aforementioned Calculating the number of 100, it means that there are too many payment success messages sent via mobile phone number SMS, which may have caused interference to users.

步驟709,在黑名單中記錄該特徵。 Step 709: Record the feature in the blacklist.

上述特徵為手機號碼和支付成功消息,將該特徵加入黑名單清單中。所述的黑名單可以保存於消息處理裝置或者記帳裝置。 The above features are the mobile phone number and the payment success message, and this feature is added to the blacklist. The blacklist may be stored in a message processing device or a billing device.

如圖8所示為本發明實施例一種自動熔斷的消息處理系統在處理消息時的具體流程圖,本實施例的步驟801至步驟805與圖7所示實施例中步驟701至步驟705基本相同,不同之處在於,在步驟805中,消息處理裝置產生本次發送消息的日誌時,在日誌中除了包括管道和業務類型外,還包括發送消息的時間資訊。 As shown in FIG. 8, a specific flowchart of an automatic fusing message processing system when processing a message according to an embodiment of the present invention. Steps 801 to 805 in this embodiment are basically the same as steps 701 to 705 in the embodiment shown in FIG. 7. The difference is that, in step 805, when the message processing device generates a log of the sent message this time, in addition to the pipeline and service type, the log also includes the time information of the sent message.

步驟806,記帳裝置同步所述消息處理裝置中的日誌。 Step 806: The accounting device synchronizes the log in the message processing device.

步驟807,計算在一時間範圍內具有相同特徵的日誌數量。 Step 807: Calculate the number of logs with the same characteristics in a time range.

在本步驟中,根據日誌中發送消息的時間資訊和預設的時間範圍計算具有相同特徵的日誌數量,例如,時間範圍為1小時,計算1小時內具有相同特徵的日誌數量為100。 In this step, the number of logs with the same characteristics is calculated according to the time information of the message sent in the log and the preset time range. For example, the time range is 1 hour, and the number of logs with the same characteristics within 1 hour is calculated as 100.

步驟808,判斷計算的數量是否大於數量門檻值。 Step 808: Determine whether the calculated quantity is greater than a quantity threshold.

在本步驟中,如果計算的數量超過了數量門檻值,則進入步驟809,否則結束記帳的流程。 In this step, if the calculated quantity exceeds the quantity threshold, the process proceeds to step 809; otherwise, the process of accounting is ended.

類似於圖7的實施例,數量門檻值為99條,步驟 807中計算得到的1個小時內具有相同特徵的日誌數量為100條,判斷結果超過了數量門檻值,進入步驟809。 Similar to the embodiment of FIG. 7, the quantity threshold is 99 steps. The number of logs having the same characteristics within one hour calculated in 807 is 100, and the judgment result exceeds the number threshold, and step 809 is entered.

步驟809,在黑名單中記錄該特徵。 Step 809: Record the feature in the blacklist.

在本步驟中,記帳裝置記錄特徵時還記錄有創建該特徵的時間資訊,在消息處理裝置進行黑名單校驗的步驟中,消息處理裝置根據創建時間資訊過濾掉已經過期的特徵,或者透過下面步驟810進行黑名單的更新。在本例中,黑名單位於消息處理裝置中。 In this step, when the accounting device records the feature, it also records the time information for creating the feature. In the blacklist verification step of the message processing device, the message processing device filters out the expired features based on the creation time information, or through the following Step 810 updates the blacklist. In this example, the blacklist is located in the message processing device.

步驟810,記帳裝置計算黑名單中特徵存在的時間長度,如果超過時間門檻值,則將該特徵從黑名單中刪除。 Step 810: The accounting device calculates the length of time that the feature exists in the blacklist. If the time threshold is exceeded, the feature is deleted from the blacklist.

具體的,以一預定的週期計算當前時間與黑名單中特徵的時間資訊的差值,如果超過時間門檻值,則將所述特徵從黑名單中刪除,否則繼續保留黑名單中的特徵。也就是說,如果有一段時間沒有再透過某個管道給使用者發送某種業務資訊,那麼這種管道發送的業務資訊已經不構成對使用者的騷擾,那麼可以恢復這種方式的業務資訊發送。 Specifically, the difference between the current time and the time information of the features in the blacklist is calculated at a predetermined period. If the time threshold is exceeded, the features are deleted from the blacklist, otherwise the features in the blacklist are retained. In other words, if a certain period of time does not send some business information to the user through a channel, then the business information sent by this channel does not constitute harassment to the user, then the business information sending in this way can be resumed .

透過對黑名單的更新,可以控制向使用者發送業務消息的行為,以免對使用者造成干擾。 By updating the blacklist, you can control the behavior of sending business messages to users, so as not to cause interference to users.

透過上述本發明實施例中的方法及裝置,透過分離消息處理和黑名單更新的流程,可以極大的提高系統發送業務消息的效率,並且控制這些業務消息不會對使用者造成騷擾。 Through the method and device in the embodiments of the present invention described above, by separating the process of message processing and blacklist update, the system can greatly improve the efficiency of sending business messages, and control these business messages without causing disturbance to users.

對於一個技術的改進可以很明顯地區分是硬體上的改 進(例如,對二極體、電晶體、開關等電路結構的改進)還是軟體上的改進(對於方法流程的改進)。然而,隨著技術的發展,當今的很多方法流程的改進已經可以視為硬體電路結構的直接改進。設計人員幾乎都透過將改進的方法流程程式設計到硬體電路中來得到相應的硬體電路結構。因此,不能說一個方法流程的改進就不能用硬體實體模組來實現。例如,可程式設計邏輯器件(Programmable Logic Device,PLD)(例如現場可程式設計閘陣列(Field Programmable Gate Array,FPGA))就是這樣一種積體電路,其邏輯功能由使用者對裝置程式設計來確定。由設計人員自行程式設計來把一個數位系統“集成”在一片PLD上,而不需要請晶片製造廠商來設計和製作專用的積體電路晶片2。而且,如今,取代手工地製作積體電路晶片,這種程式設計也多半改用“邏輯編譯器(logic compiler)”軟體來實現,它與程式開發撰寫時所用的軟體編譯器相類似,而要編譯之前的原始代碼也得用特定的程式設計語言來撰寫,此稱之為硬體描述語言(Hardware Description Language,HDL),而HDL也並非僅有一種,而是有許多種,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前 最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)與Verilog2。本領域具有通常知識者也應該清楚,只需要將方法流程用上述幾種硬體描述語言稍作邏輯程式設計並程式設計到積體電路中,就可以很容易得到實現該邏輯方法流程的硬體電路。 For a technical improvement, it can be clearly distinguished that it is a hardware improvement. Progress (for example, improvement of circuit structure of diode, transistor, switch, etc.) or software improvement (for improvement of method flow). However, with the development of technology, the improvement of many methods and processes can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by designing the improved method flow program into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device (PLD)) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device . The designer can program a digital system to "integrate" it on a PLD without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip2. Moreover, today, instead of making integrated circuit chips manually, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development. The original source code before compilation must also be written in a specific programming language. This is called the Hardware Description Language (HDL), and HDL is not only one, but there are many types, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. Currently The most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2. Those with ordinary knowledge in the field should also be clear, as long as the method flow is logically programmed and integrated into the integrated circuit using the above hardware description languages, the hardware that implements the logic method flow can be easily obtained Circuit.

控制器可以按任何適當的方式實現,例如,控制器可以採取例如微處理器或處理器以及儲存可由該(微)處理器執行的電腦可讀程式碼(例如軟體或韌體)的電腦可讀媒體、邏輯門、開關、專用積體電路(Application Specific Integrated Circuit,ASIC)、可程式設計邏輯控制器和嵌入微控制器的形式,控制器的例子包括但不限於以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,記憶體控制器還可以被實現為記憶體的控制邏輯的一部分。 The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable storage of computer-readable code (such as software or firmware) executable by the (micro) processor. Media, logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory.

本領域具有通常知識者也知道,除了以純電腦可讀程式碼方式實現控制器以外,完全可以透過將方法步驟進行邏輯程式設計來使得控制器以邏輯門、開關、專用積體電路、可程式設計邏輯控制器和嵌入微控制器等的形式來實現相同功能。因此這種控制器可以被認為是一種硬體部件,而對其內包括的用於實現各種功能的裝置也可以視為硬體部件內的結構。或者甚至,可以將用於實現各種功能的裝置視為既可以是實現方法的軟體模組又可以是硬體部件內的結構。 Those with ordinary knowledge in the field also know that, in addition to implementing the controller in pure computer-readable code, it is entirely possible to make the controller with logic gates, switches, dedicated integrated circuits, and programmable design through logical programming of method steps. Logic controller and embedded microcontroller to achieve the same function. Therefore, the controller can be considered as a hardware component, and the device included in the controller for implementing various functions can also be considered as a structure in the hardware component. Or even, a device for implementing various functions can be regarded as a structure that can be both a software module implementing the method and a hardware component.

上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。 The system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or by a product having a certain function.

為了描述的方便,描述以上裝置時以功能分為各種單元分別描述。當然,在實施本發明時可以把各單元的功能在同一個或多個軟體和/或硬體中實現。 For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing the present invention, the functions of each unit may be implemented in the same or multiple software and / or hardware.

透過以上的實施方式的描述可知,本領域的技術人員可以清楚地瞭解到本發明可借助軟體加必需的通用硬體平臺的方式來實現。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做出貢獻的部分可以以軟體產品的形式體現出來,該電腦軟體產品可以儲存在儲存媒體中,如ROM/RAM、磁碟、光碟等,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本發明各個實施例或者實施例的某些部分所述的方法。 It can be known from the description of the foregoing embodiments that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solution of the present invention, in essence, or a part that contributes to the existing technology, can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, The optical disc and the like include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention or some parts of the embodiment.

本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。 Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant part, refer to the description of the method embodiment.

本發明可用於眾多通用或專用的電腦系統環境或配置中。例如:個人電腦、伺服器電腦、手持設備或可擕式設備、平板型設備、多處理器系統、基於微處理器的系統、機上盒、可程式設計的消費電子設備、網路PC、小型電 腦、大型電腦、包括以上任何系統或設備的分散式運算環境等等。 The invention can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, networked PCs, small form factor Electricity Brain, mainframe computer, decentralized computing environment including any of the above systems or equipment, etc.

本發明可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、物件、元件、資料結構等等。也可以在分散式運算環境中實踐本發明,在這些分散式運算環境中,由透過通訊網路而被連接的遠端處理設備來執行任務。在分散式運算環境中,程式模組可以位於包括存放裝置在內的本地和遠端電腦儲存媒體中。 The invention can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present invention can also be practiced in a decentralized computing environment in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.

雖然透過實施例描繪了本發明,本領域具有通常知識者知道,本發明有許多變形和變化而不脫離本發明的精神,希望所附的申請專利範圍包括這些變形和變化而不脫離本發明的精神。 Although the present invention has been described through examples, those having ordinary knowledge in the art know that the present invention has many variations and changes without departing from the spirit of the present invention. It is hoped that the scope of the attached patent application includes these variations and changes without departing from the present invention. spirit.

Claims (20)

一種自動熔斷的消息發送方法,其中包括,接收發送消息請求,並得到該發送消息請求中的特徵;根據該特徵進行黑名單校驗;通過該黑名單校驗後,發送相應消息,並根據該特徵產生本次發送消息的日誌,其中,該發送消息請求包括發送消息的目標使用者和業務資訊。An automatic blowout message sending method includes receiving a message sending request and obtaining a characteristic in the message sending request; performing a blacklist check based on the characteristic; and after passing the blacklist check, sending a corresponding message, and according to the The feature generates a log of this sent message, where the sent message request includes the target user and business information of the sent message. 根據申請專利範圍第1項所述的方法,其中,該發送消息請求還包括:發送消息的管道。The method according to item 1 of the scope of patent application, wherein the message sending request further includes: a pipe for sending a message. 根據申請專利範圍第2項所述的方法,其中,當該發送消息的請求中包括目標使用者和業務資訊時,在得到該發送消息請求中的特徵之中還包括,根據目標使用者資訊分析得到發送消息的管道。The method according to item 2 of the scope of patent application, wherein, when the request for sending a message includes the target user and business information, obtaining the characteristics in the request for sending a message further includes analyzing according to the target user information Get the pipe that sent the message. 根據申請專利範圍第1項所述的方法,其中,根據該特徵進行黑名單校驗進一步包括,判斷該特徵是否存在於該黑名單中,如果存在則不發送該消息。The method according to item 1 of the scope of patent application, wherein the blacklist verification based on the feature further includes determining whether the feature exists in the blacklist, and if it does, the message is not sent. 根據申請專利範圍第1項所述的方法,其中,該日誌至少包括發送消息的管道和業務類型。The method according to item 1 of the patent application scope, wherein the log includes at least a channel and a service type for sending a message. 一種自動熔斷的消息發送方法,其中包括,同步消息處理系統的日誌;根據該日誌累計具有相同特徵消息的數量;判斷該數量是否超過數量門檻值,若超過則將該特徵加入黑名單。A method for automatically blowing a message, which includes: synchronizing a log of a message processing system; accumulating the number of messages with the same characteristics according to the log; judging whether the number exceeds a threshold value of the number; 根據申請專利範圍第6項所述的方法,其中,該特徵至少包括發送消息的管道和業務類型。The method according to item 6 of the patent application scope, wherein the characteristic includes at least a channel and a service type for sending a message. 根據申請專利範圍第7項所述的方法,其中,該特徵中還包括已發送消息的時間資訊。The method according to item 7 of the patent application scope, wherein the feature further includes time information of the sent message. 根據申請專利範圍第8項所述的方法,其中,在判斷該數量是否超過預定門檻值之中還包括,判斷在一定時間內該數量是否超過數量門檻值,若超過則將該特徵加入黑名單。The method according to item 8 of the scope of patent application, wherein determining whether the quantity exceeds a predetermined threshold value further includes determining whether the quantity exceeds the quantity threshold value within a certain period of time, and if the quantity is exceeded, adding the feature to the blacklist . 根據申請專利範圍第8項所述的方法,其中,還包括判斷該黑名單中特徵的時間資訊,若該時間資訊與當前時間的間隔超過時間門檻值,則將該特徵從該黑名單中刪除。The method according to item 8 of the scope of patent application, further comprising judging the time information of the feature in the blacklist. If the interval between the time information and the current time exceeds a time threshold, the feature is deleted from the blacklist. . 一種自動熔斷的消息處理裝置,其中包括,接收單元,用於接收發送消息請求,並得到該發送消息請求中的特徵;校驗單元,用於根據該特徵進行黑名單校驗;處理單元,用於當通過該黑名單校驗後,發送相應消息,並根據該特徵產生本次發送消息的日誌,其中,該發送消息請求包括發送消息的目標使用者和業務資訊。An automatic fusing message processing device includes a receiving unit for receiving a sending message request and obtaining characteristics in the sending message request; a checking unit for performing a blacklist check based on the characteristic; a processing unit for After passing the blacklist check, a corresponding message is sent, and a log of the sent message is generated according to the characteristics, wherein the sent message request includes the target user and business information of the sent message. 根據申請專利範圍第11項所述的裝置,其中,該發送消息請求還包括:發送消息的管道。The device according to item 11 of the scope of patent application, wherein the message sending request further includes: a pipe for sending a message. 根據申請專利範圍第12項所述的裝置,其中,該接收單元還用於根據目標使用者資訊分析得到發送消息的管道。The device according to item 12 of the scope of patent application, wherein the receiving unit is further configured to obtain a channel for sending a message according to the information analysis of the target user. 根據申請專利範圍第12項所述的裝置,其中,該校驗單元進一步用於判斷該特徵是否存在於該黑名單中,如果存在則不發送該消息。The device according to item 12 of the scope of patent application, wherein the verification unit is further configured to determine whether the feature exists in the blacklist, and if it does, the message is not sent. 一種自動熔斷的記帳裝置,其中包括,同步單元,用於同步消息處理系統的日誌;計算單元,用於根據該日誌累計具有相同特徵消息的數量;處理單元,用於判斷該數量是否超過數量門檻值,若超過則將該特徵加入黑名單。An automatic fusing accounting device includes a synchronization unit for synchronizing a log of a message processing system; a calculation unit for accumulating a quantity of messages having the same characteristics according to the log; a processing unit for determining whether the quantity exceeds a quantity threshold Value, if it exceeds, the feature is blacklisted. 根據申請專利範圍第15項所述的裝置,其中,該特徵至少包括發送消息的管道和業務類型。The device according to item 15 of the scope of patent application, wherein the characteristic includes at least a channel and a service type for sending a message. 根據申請專利範圍第16項所述的裝置,其中,該特徵中還包括已發送消息的時間資訊。The device according to item 16 of the patent application scope, wherein the feature further includes time information of the sent message. 根據申請專利範圍第17項所述的裝置,其中,該處理單元進一步用於判斷在一定時間內該數量是否超過數量門檻值,若超過則將該特徵加入黑名單。The device according to item 17 of the scope of patent application, wherein the processing unit is further configured to determine whether the quantity exceeds a quantity threshold within a certain period of time, and if the quantity exceeds, add the feature to a blacklist. 根據申請專利範圍第17項所述的裝置,其中,還包括更新單元,判斷該黑名單中特徵的時間資訊,若該時間資訊與當前時間的間隔超過時間門檻值,則將該特徵從該黑名單中刪除。The device according to item 17 of the scope of patent application, further comprising an update unit to judge the time information of the feature in the blacklist, and if the interval between the time information and the current time exceeds a time threshold, the feature is removed from the black Removed from the list. 一種自動熔斷的消息處理系統,其中包括消息處理裝置和記帳裝置,該消息處理裝置,用於接收發送消息請求,並得到該發送消息請求中的特徵,根據該特徵進行黑名單校驗,當通過該黑名單校驗後,發送相應消息,並根據該特徵產生本次發送消息的日誌;該記帳裝置,用於同步消息處理系統的日誌,根據該日誌累計具有相同特徵消息的數量,判斷該數量是否超過數量門檻值,若超過則將該特徵加入黑名單。An automatic fusing message processing system includes a message processing device and a billing device. The message processing device is configured to receive a message sending request and obtain characteristics in the message sending request, and perform a blacklist check based on the characteristics. After the blacklist is verified, a corresponding message is sent, and a log of the current message is generated based on the characteristics. The accounting device is used to synchronize the logs of the message processing system, and judge the number based on the number of messages with the same characteristics accumulated in the log. Whether the quantity threshold is exceeded. If it exceeds, the feature is added to the blacklist.
TW106101724A 2016-03-10 2017-01-18 Method, device and system for automatically melting message sending TWI678086B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201610134454.7 2016-03-10
CN201610134454.7A CN107181664B (en) 2016-03-10 2016-03-10 Automatic fusing message sending method, device and system

Publications (2)

Publication Number Publication Date
TW201733312A TW201733312A (en) 2017-09-16
TWI678086B true TWI678086B (en) 2019-11-21

Family

ID=59790019

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106101724A TWI678086B (en) 2016-03-10 2017-01-18 Method, device and system for automatically melting message sending

Country Status (3)

Country Link
CN (1) CN107181664B (en)
TW (1) TWI678086B (en)
WO (1) WO2017152765A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009075B (en) * 2017-11-27 2018-10-09 南京联创信息科技有限公司 Dynamic fusing judgment method based on Hystrix frames
CN108694657B (en) * 2018-07-13 2023-04-18 平安科技(深圳)有限公司 Client identification apparatus, method and computer-readable storage medium
CN109743358B (en) * 2018-12-13 2022-10-21 平安普惠企业管理有限公司 Asynchronous message interface fusing control method and device, computer equipment and storage medium
CN113703993A (en) * 2021-07-27 2021-11-26 支付宝(杭州)信息技术有限公司 Service message processing method, device and equipment
CN115643226B (en) * 2022-09-06 2023-11-21 广州市玄武无线科技股份有限公司 Message sending disturbance-free configuration method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335920A (en) * 2008-07-15 2008-12-31 中国联合通信有限公司 Rubbish short message recognition system and method based on calling number location and transmitted content
TW201314600A (en) * 2011-09-20 2013-04-01 Tencent Tech Shenzhen Co Ltd Transaction payment method and system
CN103841167A (en) * 2012-11-27 2014-06-04 中国移动通信集团公司 User data synchronizing method and device
CN103874058A (en) * 2014-03-28 2014-06-18 中国联合网络通信集团有限公司 Short message processing method and short message center
WO2015030447A1 (en) * 2013-08-26 2015-03-05 Samsung Electronics Co., Ltd. Method for processing http message and electronic device implementing the same
US20160044163A1 (en) * 2013-03-27 2016-02-11 Hongming Jiang Social communication system

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990180B (en) * 2009-08-04 2016-03-30 中兴通讯股份有限公司 A kind of method and system preventing short message fraud
CN101697620A (en) * 2009-10-30 2010-04-21 中兴通讯股份有限公司 Method and system for determining spam messages
CN101707752A (en) * 2009-11-23 2010-05-12 中兴通讯股份有限公司 Communication monitoring method, device and system
CN102395128B (en) * 2011-06-30 2015-12-09 北京邮电大学 A kind of fallacious message of mobile intelligent terminal sends defence method and system thereof
CN102957673B (en) * 2011-08-24 2015-12-16 腾讯科技(深圳)有限公司 A kind of processing method of information, equipment and system
CN103379018B (en) * 2012-04-17 2016-02-24 腾讯科技(深圳)有限公司 The processing method of application message and system
CN104144394A (en) * 2013-05-09 2014-11-12 中国移动通信集团公司 Method and system for achieving industry application short message sending
EP3039533A4 (en) * 2013-08-28 2017-03-22 Hewlett-Packard Enterprise Development LP Message delivery via preferred communications applications
CN104702800B (en) * 2013-12-04 2017-11-03 中国移动通信集团公司 A kind of recognition methods for harassing number, device and system
CN103685763A (en) * 2013-12-31 2014-03-26 深圳市金立通信设备有限公司 Message processing method and terminal
CN105207881B (en) * 2014-06-10 2018-12-28 阿里巴巴集团控股有限公司 A kind of message method and equipment
CN104239093B (en) * 2014-08-28 2018-03-09 广州猎豹网络科技有限公司 A kind of informing message erasing method and device
CN104835066A (en) * 2015-05-25 2015-08-12 北京京东尚科信息技术有限公司 Embarking channel selection method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335920A (en) * 2008-07-15 2008-12-31 中国联合通信有限公司 Rubbish short message recognition system and method based on calling number location and transmitted content
TW201314600A (en) * 2011-09-20 2013-04-01 Tencent Tech Shenzhen Co Ltd Transaction payment method and system
CN103841167A (en) * 2012-11-27 2014-06-04 中国移动通信集团公司 User data synchronizing method and device
US20160044163A1 (en) * 2013-03-27 2016-02-11 Hongming Jiang Social communication system
WO2015030447A1 (en) * 2013-08-26 2015-03-05 Samsung Electronics Co., Ltd. Method for processing http message and electronic device implementing the same
CN103874058A (en) * 2014-03-28 2014-06-18 中国联合网络通信集团有限公司 Short message processing method and short message center

Also Published As

Publication number Publication date
CN107181664B (en) 2021-04-09
WO2017152765A1 (en) 2017-09-14
CN107181664A (en) 2017-09-19
TW201733312A (en) 2017-09-16

Similar Documents

Publication Publication Date Title
TWI678086B (en) Method, device and system for automatically melting message sending
US10594641B2 (en) Dynamic filter generation for message management systems
US11569982B2 (en) Blockchain compression using summary and padding blocks
US11444899B2 (en) Activation of dynamic filter generation for message management systems through gesture-based input
KR101472397B1 (en) Mobile terminal and method for processing notification information
US11849004B2 (en) Activation of dynamic filter generation for message management systems through gesture-based input
WO2019076113A1 (en) Information processing method, apparatus, and device
CN105162697A (en) Microblog system and data control method thereof
US11962680B2 (en) Blockchain ledger growth management
CN115001967B (en) Data acquisition method and device, electronic equipment and storage medium
US10069775B2 (en) Systems and methods for detecting spam in outbound transactional emails
CN106371856A (en) Menu statistical method and user terminal and application backstage terminal
CN112995018B (en) Message processing method, device, equipment and storage medium
CN110943921B (en) Intelligent route configuration method
US10922349B1 (en) Filtering remote access monitoring data
US20180077185A1 (en) Method of and system for user authentication in electronic service for transmission of digital objects
CN114401122B (en) Domain name detection method and device, electronic equipment and storage medium
US9338243B2 (en) Tracking contacts across multiple communications services
CN117812145A (en) Message touch method, device and storage medium
TWI568251B (en) Incentive Message Delivery Method and System