



一種訊息發送裝置及其方法,特別係指一種依發送參數決定發送順序以發送通知訊息之裝置及方法。A message sending device and method thereof, in particular, a device and method for sending notification messages by determining a sending order according to a sending parameter.
對於部分提供客戶服務的企業或組織,長期以來一直都存在將訊息提供給客戶的作業,例如,金融業通知客戶暫停服務的時間,或是各種服務業將行銷訊息提供給客戶。隨著科技的發展,通知客戶的方式逐漸由電話與紙本改變為電子郵件與簡訊等方式,而今,又逐漸改變為即時通訊與程式推播等方式。For some companies or organizations that provide customer services, there has long been a process of providing information to customers, such as the financial industry notifying customers of service suspension times, or various service industries providing marketing information to customers. With the development of technology, the way of notifying customers has gradually changed from telephone and paper to e-mail and text messages, and now, it has gradually changed to instant messaging and app push notifications.
然而,具備將訊息提供給客戶之企業或組織中的各個部門通常會各自進行通知的作業,但隨著資訊化的發展,各個部門也通常會獨立架設訊息通知服務的伺服器,這導致同一個企業或組織中存在多個訊息發送的伺服器,導致發送名單的管理、發送時序的管理等各種管理上的困難,例如,各伺服器都需要查詢客戶的通訊資料導致管理客戶資料的主機負載增加、在訊息發送的尖峰時刻可能無法成功發送緊急通知等情況。However, each department in a company or organization that provides messages to customers usually performs notification operations on its own. However, with the development of informatization, each department also usually independently sets up a server for message notification services, which leads to multiple message sending servers in the same company or organization, resulting in various management difficulties such as the management of sending lists and sending sequence. For example, each server needs to query the customer's communication data, which increases the load on the host that manages the customer data, and emergency notifications may not be successfully sent during peak message sending times.
綜上所述,可知先前技術中長期以來一直存在相同企業或組織中包含多台各自運作之訊息發送伺服器容易產生管理困難的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the prior art has long had the problem that multiple message sending servers operating independently in the same enterprise or organization are prone to management difficulties. Therefore, it is necessary to propose improved technical means to solve this problem.
有鑒於先前技術存在當多台訊息發送伺服器各自獨立運作時容易產生管理困難的問題,本發明遂揭露一種依發送參數決定發送順序以發送通知訊息之裝置及方法,其中:In view of the fact that the prior art has the problem that when multiple message sending servers operate independently, it is easy to generate management difficulties, the present invention discloses a device and method for sending notification messages by determining the sending order according to the sending parameters, wherein:
本發明所揭露之依發送參數決定發送順序以發送通知訊息之裝置,至少包含:資料接收模組,用以接收通知訊息及與通知訊息對應之第一發送參數,第一發送參數包含發送單位訊息、訊息種類訊息、及發送通道訊息;順序選擇模組,用以依據發送單位訊息、訊息種類訊息、及/或發送通道訊息決定通知訊息之發送優先順序,並依據發送優先順序將通知訊息加入發送等待序列中;訊息發送模組,用以由發送等待序列取出通知訊息,並取得與通知訊息對應之發送客戶資料,及用以依據發送客戶資料使用與發送通道訊息對應之發送通道發送通知訊息至客戶端。The device disclosed in the present invention determines the sending sequence according to the sending parameters to send notification messages, and at least includes: a data receiving module, which is used to receive the notification message and the first sending parameter corresponding to the notification message, and the first sending parameter includes a sending unit message, a message type message, and a sending channel message; a sequence selection module, which is used to determine the sending priority of the notification message according to the sending unit message, the message type message, and/or the sending channel message, and add the notification message to the sending waiting sequence according to the sending priority; a message sending module, which is used to take out the notification message from the sending waiting sequence, obtain the sending client data corresponding to the notification message, and send the notification message to the client end according to the sending client data using the sending channel corresponding to the sending channel message.
本發明所揭露之依發送參數決定發送順序以發送通知訊息之方法,其步驟至少包括:接收通知訊息及與通知訊息對應之第一發送參數,第一發送參數包含發送單位訊息、訊息種類訊息、及發送通道訊息;依據發送單位訊息、訊息種類訊息、及/或發送通道訊息決定通知訊息之發送優先順序;依據發送優先順序將通知訊息加入發送等待序列中;由發送等待序列取出通知訊息;取得與通知訊息對應之發送客戶資料;依據發送客戶資料使用與發送通道訊息對應之發送通道發送通知訊息至客戶端。The method disclosed in the present invention determines the sending order according to the sending parameter to send a notification message, and its steps at least include: receiving a notification message and a first sending parameter corresponding to the notification message, the first sending parameter including a sending unit message, a message type message, and a sending channel message; determining the sending priority of the notification message according to the sending unit message, the message type message, and/or the sending channel message; adding the notification message to the sending waiting sequence according to the sending priority; taking out the notification message from the sending waiting sequence; obtaining the sending client data corresponding to the notification message; and sending the notification message to the client using the sending channel corresponding to the sending channel message according to the sending client data.
本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過接收通知訊息及與通知訊息對應之發送參數,並依據發送參數決定通知訊息之發送優先順序,當依據發送優先順序選出通知訊息時,取得與通知訊息對應之發送客戶資料,並依據發送客戶資料使用與發送參數對應的發送通道發送通知訊息至客戶端,藉以解決先前技術所存在的問題,並可以達成穩定地將訊息成功發送給客戶之技術功效。The system and method disclosed in the present invention are as described above. The difference between the present invention and the prior art is that the present invention receives a notification message and a sending parameter corresponding to the notification message, and determines the sending priority of the notification message according to the sending parameter. When the notification message is selected according to the sending priority, the sending client data corresponding to the notification message is obtained, and the notification message is sent to the client using the sending channel corresponding to the sending parameter according to the sending client data, thereby solving the problems existing in the prior art and achieving the technical effect of stably sending the message to the client successfully.
以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The following will be used in conjunction with drawings and embodiments to explain in detail the features and implementation methods of the present invention. The content is sufficient to enable anyone familiar with the relevant technology to easily and fully understand the technical means used by the present invention to solve the technical problems and implement them accordingly, thereby achieving the effects that can be achieved by the present invention.
本發明可以使用獨立裝置整合不同單位以不同方式發送的訊息,並可以依據訊息的優先程度決定訊息的發送順序。一般而言,本發明所使用之裝置可以是計算設備。The present invention can use independent devices to integrate messages sent by different units in different ways, and can determine the order of sending messages according to the priority of the messages. Generally speaking, the device used in the present invention can be a computing device.
本發明所提之計算設備包含但不限於一個或多個處理模組、一條或多條記憶體模組、以及連接不同硬體元件(包括記憶體模組和處理模組)的匯流排等硬體元件。透過所包含之多個硬體元件,計算設備可以載入並執行作業系統,使作業系統在計算設備上運行,也可以執行軟體或程式。另外,計算設備也包含一個外殼,上述之各個硬體元件設置於外殼內。The computing device mentioned in the present invention includes but is not limited to one or more processing modules, one or more memory modules, and hardware components such as a bus connecting different hardware components (including memory modules and processing modules). Through the multiple hardware components included, the computing device can load and execute an operating system so that the operating system runs on the computing device, and can also execute software or programs. In addition, the computing device also includes a housing, and the above-mentioned hardware components are arranged in the housing.
本發明所提之計算設備的匯流排可以包含一種或多個類型,例如包含資料匯流排(data bus)、位址匯流排(address bus)、控制匯流排(control bus)、擴充功能匯流排(expansion bus)、及/或局域匯流排(local bus)等類型的匯流排。計算設備的匯流排包括但不限於的工業標準架構(Industry Standard Architecture, ISA)匯流排、周邊元件互連(Peripheral Component Interconnect, PCI)匯流排、視頻電子標準協會(Video Electronics Standards Association, VESA)局域匯流排、以及串列的通用序列匯流排(Universal Serial Bus, USB)、快速周邊元件互連(PCI Express, PCI-E/PCIe)匯流排等。The bus of the computing device of the present invention may include one or more types, such as a data bus, an address bus, a control bus, an expansion bus, and/or a local bus. The bus of the computing device includes but is not limited to an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, a Video Electronics Standards Association (VESA) local bus, a serial Universal Serial Bus (USB), a Peripheral Component Interconnect Express (PCI Express, PCI-E/PCIe) bus, and the like.
本發明所提之計算設備的處理模組與匯流排耦接。處理模組包含暫存器(Register)組或暫存器空間,暫存器組或暫存器空間可以完全的被設置在處理模組之處理晶片上,或全部或部分被設置在處理晶片外並經由專用電氣連接及/或經由匯流排耦接至處理晶片。處理模組可為中央處理器、微處理器或任何合適的處理元件。若計算設備為多處理器設備,也就是計算設備包含多個處理模組,則計算設備所包含的處理模組都相同或類似,且透過匯流排耦接與通訊。處理模組可以解釋一個計算機指令或一連串的多個計算機指令以進行特定的運算或操作,例如,數學運算、邏輯運算、資料比對、複製/移動資料等,藉以驅動計算設備中的其他硬體元件或運行作業系統或執行各種程式及/或模組。The processing module of the computing device of the present invention is coupled to a bus. The processing module includes a register group or a register space, which can be completely set on the processing chip of the processing module, or completely or partially set outside the processing chip and coupled to the processing chip via a dedicated electrical connection and/or via a bus. The processing module can be a central processing unit, a microprocessor or any suitable processing element. If the computing device is a multi-processor device, that is, the computing device includes multiple processing modules, the processing modules included in the computing device are the same or similar, and are coupled and communicated through a bus. The processing module can interpret a computer instruction or a series of multiple computer instructions to perform specific calculations or operations, such as mathematical operations, logical operations, data comparison, copying/moving data, etc., to drive other hardware components in the computing device or run the operating system or execute various programs and/or modules.
計算設備中通常也包含一個或多個晶片組(Chipset)。計算設備的處理模組可以與晶片組耦接或透過匯流排與晶片組電性連接。晶片組是由一個或多個積體電路(Integrated Circuit, IC)組成,包含記憶體控制器以及周邊輸出入(I/O)控制器等,也就是說,記憶體控制器以及周邊輸出入控制器可以包含在一個積體電路內,也可以使用兩個或更多的積體電路實現。晶片組通常提供了輸出入和記憶體管理功能、以及提供多個通用及/或專用暫存器、計時器等,其中,上述之通用及/或專用暫存器與計時器可以讓耦接或電性連接至晶片組的一個或多個處理模組存取或使用。Computing devices usually also include one or more chipsets. The processing module of the computing device can be coupled to the chipset or electrically connected to the chipset through a bus. The chipset is composed of one or more integrated circuits (ICs), including a memory controller and a peripheral input/output (I/O) controller, etc. That is, the memory controller and the peripheral input/output (I/O) controller can be included in one IC, or can be implemented using two or more ICs. The chipset usually provides input/output and memory management functions, as well as multiple general and/or dedicated registers, timers, etc., wherein the above-mentioned general and/or dedicated registers and timers can be accessed or used by one or more processing modules coupled or electrically connected to the chipset.
計算設備的處理模組也可以透過記憶體控制器存取安裝於計算設備上的記憶體模組和大容量儲存區中的資料。上述之記憶體模組包含任何類型的揮發性記憶體(volatile memory)及/或非揮發性(non-volatile memory, NVRAM)記憶體,例如靜態隨機存取記憶體(Static Random Access Memory, SRAM)、動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)、唯讀記憶體(Read-Only Memory, ROM)、快閃記憶體(Flash memory)等。上述之大容量儲存區可以包含任何類型的儲存裝置或儲存媒體,例如,硬碟機、光碟(optical disc)、隨身碟(flash drive)、記憶卡(memory card)、固態硬碟(Solid State Disk, SSD)、或任何其他儲存裝置等。也就是說,記憶體控制器可以存取靜態隨機存取記憶體、動態隨機存取記憶體、快閃記憶體、硬碟機、固態硬碟中的資料。The processing module of the computing device can also access the data in the memory module and the mass storage area installed on the computing device through the memory controller. The above-mentioned memory module includes any type of volatile memory and/or non-volatile memory (NVRAM) memory, such as static random access memory (SRAM), dynamic random access memory (DRAM), read-only memory (ROM), flash memory, etc. The mass storage area mentioned above may include any type of storage device or storage media, such as a hard drive, optical disc, flash drive, memory card, solid state disk (SSD), or any other storage device. In other words, the memory controller can access data in static random access memory, dynamic random access memory, flash memory, hard drive, and solid state disk.
計算設備的處理模組也可以透過周邊輸出入控制器經由周邊輸出入匯流排與周邊輸出裝置、周邊輸入裝置、通訊介面、及GPS接收器等周邊裝置或介面連接並通訊。周邊輸入裝置可以是任何類型的輸入裝置,例如鍵盤、滑鼠、軌跡球、觸控板、搖桿等,周邊輸出裝置可以是任何類型的輸出裝置,例如顯示器、印表機等,周邊輸入裝置與周邊輸出裝置也可以是同一裝置,例如觸控螢幕等。通訊介面可以包含無線通訊介面及/或有線通訊介面,無線通訊介面可以包含支援無線區域網路(如Wi-Fi、Zigbee等)、藍牙、紅外線、近場通訊(Near-field communication, NFC)、3G/4G/5G等行動通訊網路(蜂巢式網路)或其他無線資料傳輸協定的介面,有線通訊介面可為乙太網路裝置、DSL數據機、纜線(Cable)數據機、非同步傳輸模式(Asynchronous Transfer Mode, ATM)裝置、或光纖通訊介面及/或元件等。處理模組可以週期性地輪詢(polling)各種周邊裝置與介面,使得計算設備能夠透過各種周邊裝置與介面進行資料的輸入與輸出,也能夠與具有上面描述之硬體元件的另一個計算設備進行通訊。The processing module of the computing device can also be connected and communicated with peripheral devices or interfaces such as peripheral output devices, peripheral input devices, communication interfaces, and GPS receivers through the peripheral input/output controller via the peripheral input/output bus. The peripheral input device can be any type of input device, such as a keyboard, a mouse, a trackball, a touchpad, a joystick, etc. The peripheral output device can be any type of output device, such as a display, a printer, etc. The peripheral input device and the peripheral output device can also be the same device, such as a touch screen, etc. The communication interface may include a wireless communication interface and/or a wired communication interface. The wireless communication interface may include an interface supporting a wireless local area network (such as Wi-Fi, Zigbee, etc.), Bluetooth, infrared, near-field communication (NFC), 3G/4G/5G and other mobile communication networks (cellular networks) or other wireless data transmission protocols. The wired communication interface may be an Ethernet device, a DSL modem, a cable modem, an asynchronous transfer mode (ATM) device, or an optical fiber communication interface and/or component. The processing module can periodically poll various peripheral devices and interfaces, so that the computing device can input and output data through various peripheral devices and interfaces, and can also communicate with another computing device having the hardware components described above.
以下先以「第1圖」本發明所提之依發送參數決定發送順序以發送通知訊息之裝置的元件示意圖來說明本發明。如「第1圖」所示,本發明之裝置含有資料接收模組110、順序選擇模組150、訊息發送模組160,及可附加的名單過濾模組130、結果記錄模組170。The present invention is first described below with reference to FIG. 1, which is a schematic diagram of the components of the device for sending notification messages according to the sending parameters. As shown in FIG. 1, the device of the present invention includes a
資料接收模組110負責接收通知訊息、及與通知訊息對應的第一發送參數。一般而言,資料接收模組110所接收到的通知訊息與第一發送參數是由本發明外部的其他裝置(也就是欲發送訊息之單位的電腦或伺服器等裝置)產生,但本發明並不以此為限。The
本發明所提之第一發送參數包含發送單位訊息、訊息種類訊息、及發送通道訊息。發送單位訊息可以表示欲發送訊息之單位;訊息種類訊息可以表示訊息的種類,包含但不限於緊急訊息、行銷訊息、提示訊息、訂閱訊息等;發送通道訊息可以表示欲發送訊息之單位欲發送的方式,例如,電子郵件、簡訊、即時訊息、推播訊息等,但本發明並不以上述為限。The first sending parameter mentioned in the present invention includes a sending unit message, a message type message, and a sending channel message. The sending unit message may indicate the unit that wants to send the message; the message type message may indicate the type of message, including but not limited to emergency messages, marketing messages, reminder messages, subscription messages, etc.; the sending channel message may indicate the method in which the unit that wants to send the message wants to send the message, such as email, SMS, instant message, push message, etc., but the present invention is not limited to the above.
在部分的實施例中,資料接收模組110也可以接收客戶名單。一般而言,資料接收模組110可以每隔一段固定的時間或每隔一段時間間隔(如每天的固定時間)接收到本發明之外部的其他裝置所傳送的客戶名單,但本發明並不以此為限。In some embodiments, the
資料接收模組110所接收到的客戶名單包含一個或多個發送客戶資料,發送客戶資料可以是能夠表示客戶的資料,例如身分證號、銀行帳號、手機號碼、電子郵件帳號、即時通訊帳號、本發明之外部系統所給予客戶的序號或識別資料、客戶所使用之行動應用程式的編號或識別資料等,但本發明並不以此為限。The customer list received by the
發送結果資料庫120可以儲存訊息發送模組160發送資料接收模組110所接收到之通知訊息的發送結果。更詳細的,發送結果資料庫120可以儲存訊息發送模組160發送通知訊息的發送結果、發送客戶資料、發送通道訊息、及發送時間,但本發明並不以此為限。其中,發送結果可以表示訊息發送模組160是否成功將通知訊息發送給客戶,發送通道訊息可以表示訊息發送模組160發送通知訊息所使用之發送通道。The sending
名單過濾模組130可以由發送結果資料庫120中篩選出與資料接收模組110所接收到之第一發送參數中的發送通道訊息對應且在過去一段時間內之發送失敗次數達到門檻值的發送客戶資料,在本發明中,名單過濾模組130所篩選出的發送客戶資料也被稱為「發送失敗資料」。The
名單過濾模組130也可以判斷所篩選出的發送失敗資料和與資料接收模組110所接收到之通知訊息所對應的發送客戶資料是否相符,並可以在判斷發送失敗資料和與通知訊息對應的發送客戶資料相符時,由與通知訊息對應之發送客戶資料中刪除發送失敗資料,也就是刪除與發送失敗資料相符的發送客戶資料。The
名單過濾模組130也可以在判斷所篩選出的發送失敗資料和與資料接收模組110所接收到之通知訊息所對應的發送客戶資料相符時,產生與通知訊息相同之另一通知訊息,並設定與所產生之另一通知訊息對應的第二發送參數與發送客戶資料。其中,第二發送參數中的發送單位訊息與訊息種類訊息與第一發送參數中的發送單位訊息與訊息種類訊息相同,但第二發送參數中的發送通道訊息與第一發送參數中之發送通道訊息不同;與另一通知訊息對應之發送客戶資料包含與通知訊息對應的發送客戶資料相符的發送失敗資料,也就是與發送失敗資料相符的發送客戶資料。The
順序選擇模組150負責依據資料接收模組110所接收到之第一發送參數中的發送單位訊息、訊息種類訊息、及/或發送通道訊息決定相對應之通知訊息的發送優先順序。更詳細的,順序選擇模組150可以單獨使用發送單位訊息、訊息種類訊息、或發送通道訊息決定通知訊息的發送優先順序,也可以使用發送單位訊息、訊息種類訊息、與發送通道訊息的任意兩個組合決定通知訊息的發送優先順序,或可以使用發送單位訊息、訊息種類訊息、與發送通道訊息決定通知訊息的發送優先順序,例如,順序選擇模組150可以分別定義各個發送單位、各種訊息種類、不同發送通道的權重值,並依據所使用之發送單位訊息、訊息種類訊息、或發送通道訊息取得資料接收模組110所接收到之通知訊息的權重值,再依據通知訊息的權重值決定通知訊息的發送優先順序,又如,順序選擇模組150也可以依據所使用之發送單位訊息、訊息種類訊息、與發送通道訊息的組合計算與通知訊息相對應的權重值的總和後,依據所計算出之權重值的總和的大小決定通知訊息的發送優先順序,其中,當有權重值的總和相同時,順序選擇模組150可以依據通知訊息被資料接收模組110接收到的先後順序決定權重值或權重值總和相同之各個通知訊息的發送優先順序。The
順序選擇模組150也負責依據所決定之通知訊息的發送優先順序將通知訊息加入發送等待序列中,也就是說,發送等待序列中的通知訊息是以發送優先順序排列。The
訊息發送模組160負責由發送等待序列中取出通知訊息及相對應的發送參數,並由資料接收模組110所接收到之客戶名單中取得與被取出之通知訊息對應的一個或多個發送客戶資料,及負責依據所取得之發送客戶資料使用與發送通道訊息對應之發送通道發送通知訊息至客戶端。要說明的是,若訊息發送模組160所取得之發送客戶資料的形式和與被取出之通知訊息對應之第一發送參數中的發送通道訊息相符,則訊息發送模組160可以直接將全部或部分之發送客戶資料作為客戶通訊資料並使用客戶通訊資料發送通知訊息,而若發送客戶資料的形式和發送通道訊息不相符,則訊息發送模組160可以依據發送客戶資料查詢與發送通道訊息對應的客戶通訊資料,並使用查詢到的客戶通訊資料發送通知訊息。其中,訊息發送模組160可以在裝置100的儲存媒體中查詢與客戶訊息對應的客戶通訊資料,也可以連線到與裝置100連接之本發明外部的系統或裝置查詢與發送客戶資料對應的客戶通訊資料。The
訊息發送模組160也可以判斷通知訊息是否發送失敗。訊息發送模組160也可以在判斷通知訊息發送失敗時,取得發送失敗的發送客戶資料(在本發明中,發送失敗的發送客戶資料也被稱為「目標客戶資料」)、發送失敗所使用之發送通道的發送通道訊息、發送失敗的通知訊息,並依據通道發送順序選擇排列在發送失敗之發送通道後的另一發送通道,及依據發送失敗的目標客戶資料使用所選出之另一發送通道再次發送通知訊息至客戶端 。The
其中,上述之通道發送順序可以由訊息發送模組160依據發送單位訊息及/或訊息種類訊息選擇系統預定之通道發送順序或使用者自訂之通道發送順序。The above-mentioned channel sending sequence can be selected by the
結果記錄模組170可以取得訊息發送模組160發送通知訊息至客戶端的發送結果,也可以取得訊息發送模組160發送通知訊息發送客戶資料、發送通道訊息、及發送時間,並可以將所取得的發送結果、發送客戶資料、發送通道訊息、及發送時間儲存到發送結果資料庫120中,藉以提供名單過濾模組130使用。The
接著以一個實施例來解說本發明的運作系統與方法,並請參照「第2A圖」本發明所提之依發送參數決定發送順序以發送通知訊息之方法流程圖。在本實施例中,假設裝置100為伺服器。Next, an embodiment is used to explain the operating system and method of the present invention, and please refer to "FIG. 2A" for a flow chart of the method for sending notification messages by determining a sending order according to a sending parameter. In this embodiment, it is assumed that the
在資料接收模組110接收到通知訊息及與通知訊息對應的第一發送參數(步驟210)後,順序選擇模組150可以依據資料接收模組110所接收到之第一發送參數中的發送單位訊息、訊息種類訊息、及/或發送通道訊息決定資料接收模組110所接收到之通知訊息的發送優先順序(步驟230)。在本實施例中,假設發送單位包含個人金融單位、行銷單位、風險管理單位等單位,權重值分別為30、70、100;訊息種類包含緊急通知、行銷通知、一般通知、訂閱通知,權重值分別為300、70、50、20;發送通道包含電子郵件、簡訊、即時訊息、推播訊息等通道,權重值分別為50、20、60、70。順序選擇模組150可以單獨依據發送單位訊息所表示之發送單位、訊息種類訊息所表示之訊息種類、或發送通道訊息所表示之發送通道的權重值大小決定資料接收模組110所接收到之通知訊息的發送優先順序,例如,風險管理單位的發送優先順序高於行銷單位,行銷單位的發送優先順序高於個人金融單位,又如,緊急通知的發送優先順序高於行銷通知,行銷通知的發送優先順序高於一般通知、一般通知的發送優先順序高於訂閱通知;順序選擇模組150也可以依據發送單位訊息所表示之發送單位與訊息種類訊息所表示之訊息種類、發送單位訊息所表示之發送單位與發送通道訊息所表示之發送通道、或訊息種類訊息所表示之訊息種類與發送通道訊息所表示之發送通道的權重值之總和的大小決定資料接收模組110所接收到之通知訊息的發送優先順序,或可以依據發送單位訊息所表示之發送單位、訊息種類訊息所表示之訊息種類、與發送通道訊息所表示之發送通道的權重值總和的大小決定資料接收模組110所接收到之通知訊息的發送優先順序。例如,當第一發送參數中的發送單位訊息所表示之發送單位為行銷單位(權重值70)、訊息種類訊息所表示之訊息種類為行銷通知(權重值70)、發送通道訊息所表示之發送通道為電子郵件(權重值50),則相對應之通知訊息的權重值總和為190(70+70+50),又如,第一發送參數中的發送單位訊息所表示之發送單位為風險管理單位(權重值100)、訊息種類訊息所表示之訊息種類為緊急通知(權重值300)、發送通道訊息所表示之發送通道為推播(權重值70),則相對應之通知訊息的權重值總和為470(100+300+70)。After the
在順序選擇模組150決定資料接收模組110所接收到之通知訊息的發送優先順序後,可以依據所決定的發送優先順序將通知訊息加入發送等待序列中(步驟241)。在本實施例中,由於發送等待序列中的其他通知訊息是依據發送優先順序排列,順序選擇模組150可以依據發送等待序列中之其他通知訊息的發送優先順序與通知訊息的發送優先順序將通知訊息與相對應的第一發送參數插入發送等待序列中的合適位置,例如,將權重值總和為190的通知訊息加入發送等待序列中之其他通知訊息的權重值總和在200與180之間的位置(若有權重值總和190之其他通知訊息,則通知訊息可以排列在權重值總和190之其他通知訊息之後且權重值總和180之前的位置),將權重值總和為470的通知訊息加入發送等待序列中之其他通知訊息的權重值總和在470之後且460之前的位置。After the
之後,訊息發送模組160可以由發送等待序列中取出排列在最前的通知訊息(步驟245)與相對應的第一發送參數,並可以取得與所取出之通知訊息對應的發送客戶資料(步驟250),及可以依據所取得之發送客戶資料使用與通知訊息對應之第一發送參數中的發送通道訊息相對應之發送通道發送通知訊息至客戶端(步驟260),如此不斷重複。在本實施例中,若訊息發送模組160由發送等待序列中取出上述權重值總和為190之通知訊息與相對應的第一發送參數,則在訊息發送模組160取得與所取出之通知訊息相對應的發送客戶資料後,可以依據所取得的發送客戶資料使用與第一發送參數中之發送通道訊息對應的發送通道(即電子郵件)發送通知訊息至客戶端,其中,若訊息發送模組160所取得之發送客戶資料為與發送通道(電子郵件)對應的電子郵件帳號,則訊息發送模組160可以直接依據所取得之發送客戶資料,並使用客戶通訊使用電子郵件發送通知訊息至客戶端,而當訊息發送模組160所取得之發送客戶資料未與發送通道(電子郵件)對應,例如是身分證號或銀行帳號,則訊息發送模組160可以依據所取得之發送客戶資料取得與發送通道相對應的客戶通訊資料,並依據所取得的客戶通訊資料使用電子郵件發送通知訊息給客戶端;相似的,若訊息發送模組160由發送等待序列中取出上述權重值總和為470之通知訊息與相對應的第一發送參數,則在訊息發送模組160取得與所取出之通知訊息相對應的發送客戶資料後,可以依據所取得的發送客戶資料使用與第一發送參數中之發送通道訊息對應的推播(發送通道)發送通知訊息至客戶端,其中,若訊息發送模組160所取得之發送客戶資料為未與推播對應的身分證號或電子郵件帳號,則訊息發送模組160同樣可以依據發送客戶資料查詢客戶端所使用之行動應用程式的程式識別資料,並依據程式識別資料使用推播將通知訊息傳送給客戶端。Afterwards, the
如此,透過本發明,可以集中管理並依序發送不同單位欲使用不同發送通道發送之不同種類的通知訊息。Thus, through the present invention, different types of notification messages that different units want to send using different sending channels can be centrally managed and sent in sequence.
上述實施例中,在訊息發送模組160依據所取得之發送客戶資料使用與通知訊息對應之第一發送參數中的發送通道訊息相對應之發送通道發送通知訊息至客戶端(步驟260)後,結果記錄模組170可以取得訊息發送模組160是否成功發送通知訊息至客戶端的發送結果、發送客戶資料、發送通道訊息、發送時間,並將所取得的發送結果、發送客戶資料、發送通道訊息、及發送時間儲存到發送結果資料庫120,且訊息發送模組160也可以如「第2B圖」之流程所示,判斷通知訊息是否發送成功,若發送成功,則訊息發送模組160可以結束當次的發送程序,而當通知訊息發送失敗時,訊息發送模組160可以取得發送失敗之目標客戶資料、發送失敗之通知訊息及相對應之包含發送單位訊息、訊息種類訊息、發送通道訊息的第一發送參數(步驟270),並可以依據所取得之發送單位訊息及/或訊息種類訊息選擇系統預定或使用者自訂之通道發送順序(步驟281),及可以依據所取得之通道發送順序選擇排列在所取得之發送通道訊息表示之發送通道後之另一發送通道(步驟285),並可以再次依據目標客戶資料使用所選擇之另一發送通道發送相同的通知訊息給客戶端(步驟290)。例如,當通道發送訊息中定義的發送通道順序為推播、簡訊、電子郵件、即時通訊,則當上述權重值總和為190之通知訊息無法成功使用電子郵件被發送時,訊息發送模組160可以依據目標客戶資料使用即時通訊發送通知訊息到客戶端,並可以在需要時依據目標客戶資料查詢客戶端的即時通訊帳號,相似的,當上述權重和為470之通知訊息無法成功使用推播被發送時,訊息發送模組160可以依據目標客戶資料使用電子郵件發送通知訊息到客戶端。In the above embodiment, after the
另外,若裝置100中還包含名單過濾模組130,則可以如「第2C圖」所示之流程,在資料接收模組110接收到通知訊息及與通知訊息對應的第一發送參數(步驟210)後,名單過濾模組130可以由發送結果資料庫120中篩選出與發送通道訊息對應且在一定時間內之發送失敗次數達到門檻值的發送失敗資料(步驟221),並可以判斷所篩選出的發送失敗資料是否與資料接收模組110所接收到之通知訊息對應的發送客戶資料相對應,也就是判斷與通知訊息對應的發送客戶資料中是否包含所篩選出的發送失敗資料,若否,則順序選擇模組150可以依據第一發送參數決定通知訊息的發送優先順序(步驟230),若是,則名單過濾模組130可以由與通知訊息對應的發送客戶資料中刪除所篩選出的發送失敗資料(步驟223),並可以產生與通知訊息內容相同的另一通知訊息,及定義與所產生之另一通知訊息對應的第二發送參數與發送客戶資料(步驟225),其中,第二發送參數包含與第一發送參數相同的發送單位訊息與訊息種類訊息,但包含不同的另一發送通道訊息,且與另一通知訊息對應之發送客戶資料包含與通知訊息對應的發送客戶資料中所包含的發送失敗資料,也就是包含由由與通知訊息對應的發送客戶資料中刪除所篩選出的發送失敗資料。之後,順序選擇模組150可以依據第一發送參數決定通知訊息的發送優先順序(步驟230),同時也可以依據第二發送參數決定另一通之訊息的發送優先順序。In addition, if the
綜上所述,可知本發明與先前技術之間的差異在於具有接收通知訊息及與通知訊息對應之發送參數,並依據發送參數決定通知訊息之發送優先順序,當依據發送優先順序選出通知訊息時,取得與通知訊息對應之發送客戶資料,並依據發送客戶資料使用與發送參數對應的發送通道發送通知訊息至客戶端之技術手段,藉由此一技術手段可以來解決先前技術所存在同一企業或組織中存在多台各自運作之訊息發送伺服器容易產生管理困難的問題,進而達成穩定地將訊息成功發送給客戶之技術功效。In summary, the difference between the present invention and the prior art is that the present invention has a technical means for receiving notification messages and sending parameters corresponding to the notification messages, and determining the sending priority of the notification messages according to the sending parameters. When the notification message is selected according to the sending priority, the sending client data corresponding to the notification message is obtained, and the notification message is sent to the client using the sending channel corresponding to the sending parameters according to the sending client data. This technical means can solve the problem of the prior art that there are multiple message sending servers operating independently in the same enterprise or organization, which is easy to cause management difficulties, and thus achieve the technical effect of stably sending messages to customers successfully.
再者,本發明之依發送參數決定發送順序以發送通知訊息之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method of the present invention for sending notification messages by determining the sending order according to the sending parameters can be implemented in hardware, software or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or in a distributed manner with different components distributed in a number of interconnected computer systems.
雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。Although the implementation methods disclosed in the present invention are as above, the contents described are not intended to directly limit the scope of patent protection of the present invention. Any person with common knowledge in the technical field to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, makes slight changes and modifications to the implementation of the present invention in form and details, which are all within the scope of patent protection of the present invention. The scope of patent protection of the present invention shall still be based on the scope defined in the attached patent application.
100:裝置 110:資料接收模組 120:發送結果資料庫 130:名單過濾模組 150:順序選擇模組 160:訊息發送模組 170:結果記錄模組 步驟210:接收通知訊息及與通知訊息對應之第一發送參數 步驟221:篩選出與發送通道訊息對應且一定時間內之發送失敗次數達到門檻值之發送失敗資料 步驟223:判斷發送失敗資料與發送客戶資料相符時,刪除與通知訊息對應之發送客戶資料 步驟225:產生與通知訊息相同之另一通知訊息、與另一通知訊息對應之第二發送參數及發送客戶資料 步驟230:依據第一發送參數決定通知訊息之發送優先順序 步驟241:依據發送優先順序將通知訊息加入發送等待序列中 步驟245:由發送等待序列取出通知訊息 步驟250:取得與通知訊息對應之發送客戶資料 步驟260:依據發送客戶資料使用與發送通道訊息對應之發送通道發送通知訊息至客戶端 步驟270:判斷通知訊息發送失敗時,取得發送失敗之目標客戶資料、發送通道之發送通道訊息、通知訊息 步驟281:依據發送單位訊息及/或訊息種類訊息選擇系統預定或使用者自訂之通道發送順序 步驟285:依據通道發送順序選擇排列在發送通道後之另一發送通道 步驟290:依據目標客戶資料使用另一發送通道再次發送通知訊息至該客戶端100: Device110: Data receiving module120: Sending result database130: List filtering module150: Sequence selection module160: Message sending module170: Result recording moduleStep 210: Receive notification message and the first sending parameter corresponding to the notification messageStep 221: Filter out the sending failure data corresponding to the sending channel message and the number of sending failures within a certain period of time reaches the threshold valueStep 223: When it is determined that the sending failure data matches the sending customer data, delete the sending customer data corresponding to the notification messageStep 225: Generate another notification message identical to the notification message, a second sending parameter corresponding to the other notification message, and sending client dataStep 230: Determine the sending priority of the notification message according to the first sending parameterStep 241: Add the notification message to the sending waiting sequence according to the sending priorityStep 245: Take out the notification message from the sending waiting sequenceStep 250: Obtain the sending client data corresponding to the notification messageStep 260: Send the notification message to the client using the sending channel corresponding to the sending channel message according to the sending client dataStep 270: When it is determined that the sending of the notification message fails, obtain the target client data of the sending failure, the sending channel message of the sending channel, and the notification messageStep 281: Select the system-preset or user-defined channel sending sequence based on the sending unit message and/or message type messageStep 285: Select another sending channel arranged after the sending channel based on the channel sending sequenceStep 290: Use another sending channel to send the notification message to the client again based on the target customer data
第1圖為本發明所提之依發送參數決定發送順序以發送通知訊息之裝置之元件示意圖。 第2A圖為本發明所提之依發送參數決定發送順序以發送通知訊息之方法流程圖。 第2B圖為本發明所提之使用不同發送通道發送通知訊息之方法流程圖。 第2C圖為本發明所提之改變通知訊息之發送通道之方法流程圖。FIG. 1 is a schematic diagram of components of a device for sending notification messages according to a sending parameter.FIG. 2A is a flow chart of a method for sending notification messages according to a sending parameter.FIG. 2B is a flow chart of a method for sending notification messages using different sending channels.FIG. 2C is a flow chart of a method for changing a sending channel of a notification message.
步驟210:接收第一通知訊息及與通知訊息對應之第一發送參數Step 210: Receive the first notification message and the first sending parameter corresponding to the notification message
步驟230:依據第一發送參數決定通知訊息之發送優先順序Step 230: Determine the sending priority of the notification message based on the first sending parameter
步驟241:依據發送優先順序將通知訊息加入發送等待序列中Step 241: Add the notification message to the sending waiting queue according to the sending priority
步驟245:由發送等待序列取出通知訊息Step 245: Remove the notification message from the sending waiting sequence
步驟250:取得與通知訊息對應之發送客戶資料Step 250: Obtain the sending customer data corresponding to the notification message
步驟260:依據發送客戶資料使用與發送通道訊息對應之發送通道發送通知訊息至客戶端Step 260: Send the notification message to the client using the sending channel corresponding to the sending channel message based on the sending client data
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112104408ATWI839106B (en) | 2023-02-08 | 2023-02-08 | Device for determining transmitting order according to sending parameters to transmit messages and method thereof |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112104408ATWI839106B (en) | 2023-02-08 | 2023-02-08 | Device for determining transmitting order according to sending parameters to transmit messages and method thereof |
| Publication Number | Publication Date |
|---|---|
| TWI839106Btrue TWI839106B (en) | 2024-04-11 |
| TW202433893A TW202433893A (en) | 2024-08-16 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112104408ATWI839106B (en) | 2023-02-08 | 2023-02-08 | Device for determining transmitting order according to sending parameters to transmit messages and method thereof |
| Country | Link |
|---|---|
| TW (1) | TWI839106B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111061550A (en)* | 2019-12-03 | 2020-04-24 | 北京每日优鲜电子商务有限公司 | Task processing method, device, equipment and storage medium |
| CN111683143A (en)* | 2020-06-08 | 2020-09-18 | 北京奇艺世纪科技有限公司 | Message pushing method and device, electronic equipment and computer readable storage medium |
| CN112613772A (en)* | 2020-12-28 | 2021-04-06 | 北京三快在线科技有限公司 | Information pushing method, device, equipment and storage medium |
| CN114281569A (en)* | 2021-12-21 | 2022-04-05 | 广州品唯软件有限公司 | A message push method, computer device and storage medium |
| CN114979250A (en)* | 2022-04-18 | 2022-08-30 | 北京嗨学网教育科技股份有限公司 | Message pushing method, device and equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111061550A (en)* | 2019-12-03 | 2020-04-24 | 北京每日优鲜电子商务有限公司 | Task processing method, device, equipment and storage medium |
| CN111683143A (en)* | 2020-06-08 | 2020-09-18 | 北京奇艺世纪科技有限公司 | Message pushing method and device, electronic equipment and computer readable storage medium |
| CN112613772A (en)* | 2020-12-28 | 2021-04-06 | 北京三快在线科技有限公司 | Information pushing method, device, equipment and storage medium |
| CN114281569A (en)* | 2021-12-21 | 2022-04-05 | 广州品唯软件有限公司 | A message push method, computer device and storage medium |
| CN114979250A (en)* | 2022-04-18 | 2022-08-30 | 北京嗨学网教育科技股份有限公司 | Message pushing method, device and equipment |
| Publication number | Publication date |
|---|---|
| TW202433893A (en) | 2024-08-16 |
| Publication | Publication Date | Title |
|---|---|---|
| CN111091429B (en) | Electronic bill identification distribution method and device, electronic bill generation system | |
| US10897520B2 (en) | Connected contact identification | |
| KR101871383B1 (en) | Method and system for using a recursive event listener on a node in hierarchical data structure | |
| US20100299447A1 (en) | Data Replication | |
| US10630399B2 (en) | Testing distributed applications that have an established exchange in an advanced message queuing protocol (AMQP) message broker | |
| CN101005505B (en) | Systems and methods for communication with database client users | |
| CN113626869B (en) | Data processing method, system, electronic device and storage medium | |
| US10404635B2 (en) | Optimizing data replication across multiple data centers | |
| CN114844810B (en) | Heartbeat data processing method, device, equipment and medium | |
| CN112073395B (en) | File distribution method and device | |
| US8972508B1 (en) | Methods and systems for managing email configuration | |
| TWM641985U (en) | Device for determining sending order to send notification messages based on sending parameters | |
| CN115190125A (en) | Monitoring method and device for cache cluster | |
| TWI839106B (en) | Device for determining transmitting order according to sending parameters to transmit messages and method thereof | |
| CN116662022B (en) | Distributed message processing method, system, device, communication equipment and storage medium | |
| TWM644811U (en) | A device that adjusts sending order of notification messages when sending performance is too low | |
| CN111858498A (en) | Storage type conversion method, system, device and device | |
| TWI869770B (en) | Device for adjusting sending order of messages when sending performance is too low and method thereof | |
| WO2024015039A1 (en) | Automated electronic system for providing services in project management | |
| CN110472977B (en) | Transaction record generation method of blockchain and related equipment | |
| WO2021189253A1 (en) | Data transmission method and apparatus | |
| CN113162781A (en) | Service recovery method, device, system and storage medium | |
| TWM641986U (en) | Device for choosing template based on sending parameters to send notification message | |
| CN110716692A (en) | Reading performance improving method and device, storage node and data reading method | |
| CN112181900B (en) | Data processing method and device in server cluster |