TW202105191A - Method and device for message aggregation - Google Patents

Method and device for message aggregation Download PDF

Info

Publication number
TW202105191A
TW202105191A TW109124048A TW109124048A TW202105191A TW 202105191 A TW202105191 A TW 202105191A TW 109124048 A TW109124048 A TW 109124048A TW 109124048 A TW109124048 A TW 109124048A TW 202105191 A TW202105191 A TW 202105191A
Authority
TW
Taiwan
Prior art keywords
data
monitoring
source page
monitoring data
message
Prior art date
Application number
TW109124048A
Other languages
Chinese (zh)
Inventor
林震宇
陳文極
徐立宇
林晨
林智泓
陳藝輝
陶崢
Original Assignee
中國商中國建設銀行股份有限公司
中國商建信金融科技有限責任公司
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 中國商中國建設銀行股份有限公司, 中國商建信金融科技有限責任公司 filed Critical 中國商中國建設銀行股份有限公司
Publication of TW202105191A publication Critical patent/TW202105191A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

A method and device for message aggregation. The method comprises: acquiring current monitoring data of a monitoring area on a data source page; comparing a hash value of the monitoring data with a hash value of previously acquired monitoring data of the monitoring area; if inconsistency is found upon comparison, transmitting changed data between the current monitoring data and the previously acquired monitoring data to a message pushing position corresponding to the monitoring area to perform message aggregation. The method allows the detection of whether a change in message has occurred in a monitoring area of a system, and the pushing of a changed content when a change in message has occurred, thus implementing the beneficial effect of automatically acquiring new messages of systems.

Description

訊息聚合方法及裝置Information aggregation method and device

本發明涉及系統間資料互動技術領域,具體而言,涉及一種訊息聚合方法及裝置。The present invention relates to the technical field of data interaction between systems, in particular to a method and device for information aggregation.

目前,在企業IT自動化過程中,企業往往採購多個完整獨立的IT系統來滿足日常工作需求,各個IT系統間並無直接介面進行連接,訊息通知無法共用。比如A企業同時使用外購差旅系統、基礎設施審核、OA平臺、經費系統,各系統都獨立附帶了一個完整的審核流程,企業管理者均需要登錄到各個系統後才知道各系統是否有新的訊息通知。針對現有的多系統的情況,企業管理者需要每天多次登錄各個系統,根據各系統的訊息通知提醒獲知是否有新訊息通知需要處理。這種方式獲取各系統新訊息通知的效率較低,需要每天多次登錄各系統,而且無法即時獲取各系統的新訊息通知。At present, in the process of enterprise IT automation, companies often purchase multiple complete and independent IT systems to meet daily work needs. There is no direct interface between various IT systems to connect, and message notifications cannot be shared. For example, A company uses the outsourcing travel system, infrastructure review, OA platform, and funding system at the same time. Each system is independently accompanied by a complete review process. Enterprise managers need to log in to each system to know whether each system is new. Message notification. In view of the existing multi-system situation, business managers need to log in to each system multiple times a day, and learn whether there is a new message notification to be processed according to the message notification reminder of each system. This method is less efficient to obtain new message notifications from each system, and requires multiple logins to each system every day, and it is impossible to obtain new message notifications from each system in real time.

本發明實施方式的主要目的在於提供一種訊息聚合方法及裝置,以解決企業管理者難以高效的獲取各系統新訊息的技術問題。The main purpose of the embodiments of the present invention is to provide a method and device for information aggregation to solve the technical problem that it is difficult for enterprise managers to efficiently obtain new information from each system.

本發明的一個方面,提供了一種訊息聚合方法,該方法包括: 獲取資料來源頁面上的監測區域的當前監測資料;將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比;若對比不一致,將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。In one aspect of the present invention, a message aggregation method is provided. The method includes: Obtain the current monitoring data of the monitoring area on the data source page; compare the hash value of the monitoring data with the hash value of the monitoring data obtained last time; if the comparison is inconsistent, compare the current monitoring data with the previous one The acquired change data between the monitoring data is sent to the message push location corresponding to the monitoring area for message aggregation.

可選的,該訊息聚合方法還包括:獲取所述資料來源頁面當前的最後修改日期;將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比;若一致性對比不通過,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。Optionally, the message aggregation method further includes: obtaining the current last modification date of the data source page; comparing the last modification date with the last modification date obtained last time; if the consistency comparison fails, The change data between the content of the current data source page and the content of the data source page obtained last time is sent to the message push location.

本發明的另一方面,還提供了一種訊息聚合裝置,該裝置包括:監測資料獲取單元,用於獲取資料來源頁面上的監測區域的當前監測資料;雜湊值對比單元,用於將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比;第一推送單元,用於對比不一致時,將將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。In another aspect of the present invention, a message aggregation device is also provided. The device includes: a monitoring data acquisition unit for acquiring the current monitoring data of the monitoring area on the data source page; and a hash value comparison unit for comparing the monitoring data. The hash value of the data is compared with the hash value of the monitoring data of the monitoring area acquired last time; the first push unit is used to compare the change data between the current monitoring data and the monitoring data acquired last time when the comparison is inconsistent Send to the message push location corresponding to the monitoring area for message aggregation.

可選的,該訊息聚合裝置還包括:最後修改日期獲取單元,用於獲取所述資料來源頁面當前的最後修改日期;日期對比單元,用於將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比;第二推送單元,用於當一致性對比不通過時,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。Optionally, the message aggregation device further includes: a last modification date obtaining unit for obtaining the current last modification date of the data source page; a date comparison unit for comparing the last modification date with the last modification obtained last time Date for consistency comparison; the second push unit is used to send the change data between the current data source page content and the last obtained data source page content to the message push location when the consistency comparison fails.

本發明的另一方面,還提供了一種電子設備,包括記憶體、中央處理器及儲存在記憶體上並可在中央處理器上運行的應用程式,其特徵在於,所述中央處理器執行所述應用程式時實現上述訊息聚合方法。In another aspect of the present invention, there is also provided an electronic device, including a memory, a central processing unit, and an application program stored on the memory and running on the central processing unit, wherein the central processing unit executes all The above information aggregation method is realized when the application is described.

本發明的另一方面,還提供了一種電腦可讀儲存媒體,所述電腦可讀儲存媒體儲存有應用程式,所述應用程式在電腦處理器中執行時實現上述訊息聚合方法。In another aspect of the present invention, there is also provided a computer-readable storage medium, the computer-readable storage medium stores an application program, and the application program implements the above-mentioned information aggregation method when executed in a computer processor.

由上可見,本發明透過在系統上確定訊息源頁面,在訊息源頁面上根據訊息的位置選定監測區域,進而透過雜湊值對比的方式判斷監測區域是否發生訊息變化,並在發生訊息變化時將變化的內容進行推送,實現了自動獲取各系統的新訊息的有益效果。It can be seen from the above that the present invention determines the message source page on the system, selects the monitoring area on the message source page according to the position of the message, and then judges whether the monitoring area has a message change by means of hash value comparison, and will change the message when the message changes. The changed content is pushed to achieve the beneficial effect of automatically acquiring new information from each system.

下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域一般技術人員在沒有做出進步性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making progressive work shall fall within the protection scope of the present invention.

本發明實施例以機器人流程自動化技術(Robotic Process Automation, RPA)為基礎,分別對各孤島系統的訊息進行監測,並對各孤島系統的訊息進行聚合及推送到對應系統或使用者,解決了各孤島系統間並無直接介面進行連接,訊息通知無法共用的問題。RPA是一種可以模擬人在電腦上的不同系統之間操作行為,替代人在電腦前執行具有規律與重複性高的辦公流程的方法。RPA擅長把工作流程中的重複繁瑣的操作進行自動化。繁瑣流程自動化是企業數位化轉型的重要環節。RPA能夠有效最佳化傳統辦公流程,提升協作效率,間接起到最佳化企業勞動資源配置,協助企業數位化升級。The embodiments of the present invention are based on Robotic Process Automation (RPA) technology, respectively monitor the information of each island system, aggregate and push the information of each island system to the corresponding system or user, and solve the problems. There is no direct interface between the island systems to connect, and the message informs the problem that it cannot be shared. RPA is a method that can simulate people's operation behaviors between different systems on a computer, and replace people to execute regular and repetitive office processes in front of a computer. RPA is good at automating repetitive and tedious operations in the workflow. The automation of tedious processes is an important part of the digital transformation of enterprises. RPA can effectively optimize the traditional office process, improve the efficiency of collaboration, and indirectly optimize the allocation of labor resources of the enterprise, and assist in the digital upgrade of the enterprise.

本發明實施例的訊息聚合方法可以是以RPA系統為主體來進行實施的,RPA系統可以透過各系統的資料介面與各系統連接。該RPA系統可以為網頁系統、WEB伺服器、雲端伺服器、軟體、APP、後臺伺服器等。The message aggregation method of the embodiment of the present invention may be implemented with the RPA system as the main body, and the RPA system may be connected to each system through the data interface of each system. The RPA system can be a web page system, WEB server, cloud server, software, APP, backend server, etc.

第1圖是本發明實施例訊息聚合方法的第一流程圖,如第1圖所示,在本發明一個實施例中,本發明的訊息聚合方法包括步驟S101至步驟S103。Fig. 1 is a first flowchart of a message aggregation method according to an embodiment of the present invention. As shown in Fig. 1, in an embodiment of the present invention, the message aggregation method of the present invention includes steps S101 to S103.

步驟S101,獲取資料來源頁面上的監測區域的當前監測資料。Step S101: Obtain current monitoring data of the monitoring area on the data source page.

在本發明實施例中,由於各系統的類型不同,訊息源頁面可以為瀏覽器頁面、桌面應用頁面、電子信箱頁面等。本發明的方法在應用時,使用者先確定欲監測訊息的系統,進而在系統上確定訊息源頁面,進而在訊息源頁面上根據訊息的位置選定監測區域。在本發明的可選實施例中,監測區域也可以為訊息源頁面的整個頁面。In the embodiment of the present invention, due to the different types of systems, the message source page may be a browser page, a desktop application page, an e-mail box page, and so on. When the method of the present invention is applied, the user first determines the system to monitor the message, then determines the message source page on the system, and then selects the monitoring area on the message source page according to the location of the message. In an alternative embodiment of the present invention, the monitoring area may also be the entire page of the message source page.

在本發明可選實施例中,監測資料可以為監測區域中的內容,該內容可以為文字、圖像或其兩者結合的形式。In an optional embodiment of the present invention, the monitoring data may be the content in the monitoring area, and the content may be text, image, or a combination of the two.

在本發明一個可選實施例中,RPA系統包括螢幕錄影單元,本發明可以採用螢幕錄影單元來設定訊息源頁面上的監測區域。具體為,使用者在使用時,需要打開訊息源頁面,將滑鼠移動到相關元素上,此時會形成一個加粗的框線,選擇正確需要獲取的訊息範圍,該裝置會自動基於訊息源頁面HTML程式規則,解析ID、CLASS等相關要素,形成一套訊息獲取規則(即監測資料提取規則)。進而後續在採集監測區域的監測資料時,可以根據該訊息獲取規則透過系統的資料介面採集設定的監測區域的監測資料。In an optional embodiment of the present invention, the RPA system includes a screen recording unit, and the present invention can use the screen recording unit to set the monitoring area on the message source page. Specifically, when the user uses it, he needs to open the message source page and move the mouse to the relevant element. At this time, a bold frame will be formed. Select the correct range of messages to be obtained, and the device will automatically be based on the message source. The HTML program rules of the page analyze ID, CLASS and other related elements to form a set of information acquisition rules (that is, monitoring data extraction rules). Furthermore, when collecting the monitoring data of the monitoring area subsequently, the monitoring data of the set monitoring area can be collected through the data interface of the system according to the information acquisition rules.

在本發明一個可選實施例中,螢幕錄影單元可以在每次採集時先錄製一遍訊息源頁面,進而根據上述訊息獲取規則從錄製的訊息源頁面中提取出與監測區域對應的監測資料。在本發明的實施例中,在提取出監測資料後,螢幕錄影單元可以將錄製的訊息源頁面刪除。In an optional embodiment of the present invention, the screen recording unit may first record the message source page every time it collects, and then extract the monitoring data corresponding to the monitored area from the recorded message source page according to the above-mentioned message acquisition rules. In the embodiment of the present invention, after the monitoring data is extracted, the screen recording unit can delete the recorded message source page.

步驟S102,將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比。In step S102, the hash value of the monitoring data is compared with the hash value of the monitoring data of the monitoring area acquired last time.

本發明透過對所述監測資料進行雜湊運算,得到所述監測資料的雜湊值。在本發明一個實施例中,可以採用Hash256進行雜湊運算。The present invention obtains the hash value of the monitoring data by performing a hash operation on the monitoring data. In an embodiment of the present invention, Hash256 may be used to perform the hash operation.

在本發明一個可選實施例中,RPA系統會儲存每次採集的監測資料的雜湊值,用於進行對比。當雜湊值發生變化時,表面監測區域的內容(即監測資料)發生了變化。In an optional embodiment of the present invention, the RPA system stores the hash value of the monitoring data collected each time for comparison. When the hash value changes, the content of the surface monitoring area (that is, the monitoring data) changes.

步驟S103,若對比不一致,將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。In step S103, if the comparison is inconsistent, the change data between the current monitoring data and the last acquired monitoring data is sent to the message push location corresponding to the monitoring area to perform message aggregation.

在本發明一個實施例中,當監測區域的監測資料發生變化時,將發生變化的內容發送到預設的訊息推送位置。上述變化資料為透過將本次採集的監測區域的監測資料與儲存的上一次採集的監測區域的監測資料進行對比,得到的資料變化內容,進而在推送時將該資料變化內容推送到預設的位置。In an embodiment of the present invention, when the monitoring data of the monitoring area changes, the changed content is sent to the preset message push location. The above change data is the data change content obtained by comparing the monitoring data of the monitoring area collected this time with the stored monitoring data of the monitoring area collected last time, and then push the data change content to the preset position.

在本發明一個可選實施例中,變化資料可以為當前監測資料在上一次的監測資料的基礎上的變化內容,該變化內容可以為新增的內容、減少的內容以及替換的內容。該新增的內容可以為上一次的監測資料的基礎上新增的文字、圖像或部分圖像,或者為在上一次的監測資料的基礎上圖像中新增的元素。該減少的內容可以為上一次的監測資料的基礎上減少的文字、圖像或部分圖像,或者為在上一次的監測資料的基礎上圖像中減少的元素。該替換的內容可以為替換後的文字、圖像或部分圖像,或者為在上一次的監測資料的基礎上替換後的元素。In an optional embodiment of the present invention, the changed data may be the changed content of the current monitoring data on the basis of the previous monitoring data, and the changed content may be new content, reduced content, and replaced content. The newly added content may be a text, image or part of the image added on the basis of the previous monitoring data, or an element added to the image on the basis of the previous monitoring data. The reduced content may be text, images or partial images reduced on the basis of the previous monitoring data, or elements reduced in the image on the basis of the previous monitoring data. The replaced content may be the replaced text, image or part of the image, or an element replaced on the basis of the previous monitoring data.

在本發明實施例中,在設置監測區域時,同時設置訊息推送位置,即若有新訊息將新訊息推送給誰。在本發明可選實施例中,訊息推送位置可以為企業內部的各系統,也可以為簡訊、電子郵件、微信、RSS閱讀器等推送位置。In the embodiment of the present invention, when setting the monitoring area, the message push location is set at the same time, that is, to whom the new message will be pushed if there is a new message. In an optional embodiment of the present invention, the message push location may be various systems within the enterprise, or may be a push location such as short message, email, WeChat, and RSS reader.

在本發明一個可選實施例中,在將變化資料發送到預設的訊息推送位置前,還可以根據預設的資料處理範本對變化資料進行處理,將變化資料轉換成訊息推送位置可讀取的格式,例如將變化資料轉換為文本格式進而推送到微信上。In an optional embodiment of the present invention, before the change data is sent to the preset message push location, the change data can also be processed according to the preset data processing template, and the change data is converted into the message push location which can be read. Format, such as converting the changed data into a text format and then pushing it to WeChat.

在本發明實施例中,上述步驟S101獲取的監測區域的監測資料可以為根據預設的採集規則採集得出。在本發明的實施例中,採集規則可以為:設定的採集頻率或者設定的採集時間點。In the embodiment of the present invention, the monitoring data of the monitoring area obtained in the above step S101 may be collected according to a preset collection rule. In the embodiment of the present invention, the collection rule may be: a set collection frequency or a set collection time point.

當一個監控流程(步驟S101至步驟S103)結束時,若發現監測資料的雜湊值沒發生變化,則等待下個週期再次發起監控流程。When a monitoring process (step S101 to step S103) ends, if it is found that the hash value of the monitoring data has not changed, wait for the next cycle to initiate the monitoring process again.

從以上描述可以看出,本發明實施例透過先確定欲監測訊息的系統,在系統上確定訊息源頁面,在訊息源頁面上根據訊息的位置選定監測區域,進而透過雜湊值對比的方式判斷監測區域是否發生訊息變化。以此在各系統有新的訊息時,對各系統的訊息進行獲取並聚合,進而將聚合的訊息推送到其他系統中,解決了現有技術各個系統間並無直接介面進行連接,訊息無法共用的問題。It can be seen from the above description that the embodiment of the present invention first determines the system to monitor the message, determines the message source page on the system, selects the monitoring area on the message source page according to the location of the message, and then judges the monitoring by comparing the hash value. Whether there is a message change in the area. In this way, when each system has new information, the information of each system is obtained and aggregated, and then the aggregated information is pushed to other systems, which solves the problem that there is no direct interface to connect between various systems in the prior art, and the information cannot be shared. problem.

第2圖是本發明實施例訊息聚合方法的第二流程圖,如第2圖所示,在本發明另一個實施例中,本發明的訊息聚合方法還包括步驟S201至步驟S203。Figure 2 is a second flowchart of the message aggregation method according to the embodiment of the present invention. As shown in Figure 2, in another embodiment of the present invention, the message aggregation method of the present invention further includes steps S201 to S203.

步驟S201,獲取所述資料來源頁面當前的最後修改日期。Step S201: Obtain the current last modification date of the data source page.

步驟S202,將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比。In step S202, the last modification date is compared with the last modification date acquired last time for consistency.

步驟S203,若一致性對比不通過,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。In step S203, if the consistency comparison fails, the change data between the content of the current data source page and the content of the data source page obtained last time is sent to the message push location.

在本發明可選實施例中,也可以根據訊息源頁面的最後修改日期來確定訊息源頁面是否發生了改變。若採集的資料來源頁面的最後修改日期與儲存的上一次採集的最後修改日期不同時,說明資料來源頁面發生了改變。進而將當前所述監測區域的監測資料與上一次採集的監測資料的變化資料發送給預設的訊息推送位置。在本發明實施例中,在每次採集當前所述資料來源頁面的最後修改日期時同時採集並儲存當前資料來源頁面內容。In an alternative embodiment of the present invention, it can also be determined whether the message source page has changed according to the last modification date of the message source page. If the last modification date of the collected data source page is different from the last modification date stored in the last collection, it means that the data source page has changed. Furthermore, the monitoring data of the current monitoring area and the change data of the monitoring data collected last time are sent to the preset message push location. In the embodiment of the present invention, the content of the current data source page is simultaneously collected and stored every time the last modification date of the current data source page is collected.

根據最後修改日期來確定頁面是否發生了改變與上述步驟的根據雜湊值來確定監測區域的內容是否發生了改變相比,減少了資料提取以及計算雜湊值的步驟,速度更快,減少了資料計算。Determine whether the page has changed according to the last modification date Compared with the above steps to determine whether the content of the monitoring area has changed according to the hash value, it reduces the steps of data extraction and calculation of the hash value, which is faster and reduces the data calculation. .

監測區域為選定的資料來源頁面上的訊息檢測區域,在資料來源頁面上具有代表性,資料來源頁面的改變通常都為監測區域的監測資料的改變。雖然資料來源頁面的改變也有可能是監測區域外的部分發生的變化,由於選定的監測區域具有代表性,實際測試時,當資料來源頁面的改變時超過百分之90的機率為監測區域內的改變。The monitoring area is the information detection area on the selected data source page, which is representative on the data source page. The change of the data source page is usually the change of the monitoring data of the monitoring area. Although the change of the data source page may also be a change in the part outside the monitoring area, because the selected monitoring area is representative, in the actual test, when the data source page changes, the probability of more than 90% is that the monitoring area is changed. change.

由於根據最後修改日期來檢測資料來源頁面變化的方式效率更高,本發明透過將採用最後修改日期來監測以及採用雜湊值進行監測兩種方式相結合,在保證監測準確率在合適範圍內的同時加快了檢測效率。在本發明實施例中,可以非同步進行這兩種監測方式,並將採用最後修改日期來監測的方式的啟動的頻率設置較高,以加快檢測效率,並減少資料處理工作量。Since the method of detecting data source page changes based on the last modification date is more efficient, the present invention combines two methods of monitoring using the last modification date and monitoring using hash values, while ensuring that the monitoring accuracy is within a proper range. Speed up the detection efficiency. In the embodiment of the present invention, these two monitoring modes can be performed asynchronously, and the start frequency of the monitoring mode using the last modification date is set to be higher, so as to speed up the detection efficiency and reduce the data processing workload.

在本發明可選實施例中,上述步驟S201獲取的最後修改日期可以為根據預設的採集規則採集得到的。在本發明的實施例中,採集規則可以為:設定的採集頻率或者設定的採集時間點。In an optional embodiment of the present invention, the last modification date obtained in step S201 may be collected according to a preset collection rule. In the embodiment of the present invention, the collection rule may be: a set collection frequency or a set collection time point.

在本發明的一可選實施例中,上述步驟S101的採集監測區域的監測資料和上述步驟S201的採集最後修改日期可以非同步啟動採集,也可以根據預設的採集規則同時啟動採集。In an optional embodiment of the present invention, the collection of monitoring data of the monitoring area in step S101 and the last modification date of collection in step S201 can be started asynchronously, or can be started at the same time according to a preset collection rule.

第3圖是本發明實施例採集監測區域的監測資料的流程圖,如第3圖所示,在本發明一個可選實施例中,本發明採集監測區域的監測資料方法包括步驟S301和步驟S302。Figure 3 is a flowchart of collecting monitoring data of a monitoring area in an embodiment of the present invention. As shown in Figure 3, in an optional embodiment of the present invention, the method of collecting monitoring data of a monitoring area of the present invention includes step S301 and step S302. .

步驟S301,根據所述監測區域的位置資訊以及所述資料來源頁面的程式規則生成所述監測區域的監測資料提取規則。Step S301: Generate a monitoring data extraction rule for the monitoring area according to the location information of the monitoring area and the program rules of the data source page.

在本發明可選實施例中,資料來源頁面的程式規則可以為HTML程式規則。資料來源頁面的程式規則可以記載了資料來源頁面上各位置展示的資料的資料獲取位置。In an alternative embodiment of the present invention, the programming rules of the data source page may be HTML programming rules. The program rules of the data source page may record the data acquisition location of the data displayed at each position on the data source page.

步驟S302,根據所述監測資料提取規則透過所述資料來源頁面的資料介面採集所述監測區域的監測資料。Step S302: Collect the monitoring data of the monitoring area through the data interface of the data source page according to the monitoring data extraction rule.

從以上描述可以看出,本發明實施例的訊息聚合方法至少實現了以下有益效果:不需要對各系統做出較大改動,建設週期短,客制化強,節省使用的時間成本和經濟成本;對原來系統非侵入式,不會對原系統造成影響。It can be seen from the above description that the information aggregation method of the embodiment of the present invention at least achieves the following beneficial effects: no major changes are required to each system, short construction period, strong customization, and saving time and economic costs in use. ; It is non-invasive to the original system and will not affect the original system.

需要說明的是,在附圖的流程圖示出的步驟可以在諸如一組電腦可執行指令的電腦系統中執行,並且,雖然在流程圖中示出了邏輯順序,但是在某些情況下,可以以不同於此處的循序執行所示出或描述的步驟。It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical sequence is shown in the flowchart, in some cases, The steps shown or described can be performed in a different order than here.

基於同一發明構思,本發明實施例還提供了一種訊息聚合裝置,可以用於實現上述實施例所描述的訊息聚合方法,如下面的實施例所述。由於訊息聚合裝置解決問題的原理與訊息聚合方法相似,因此訊息聚合裝置的實施例可以參見訊息聚合方法的實施例,重複之處不再贅述。Based on the same inventive concept, an embodiment of the present invention also provides a message aggregation device, which can be used to implement the message aggregation method described in the foregoing embodiment, as described in the following embodiment. Since the principle of the message aggregation device to solve the problem is similar to that of the message aggregation method, the embodiment of the message aggregation device can refer to the embodiment of the message aggregation method, and the repetition will not be repeated.

第4圖是本發明實施例訊息聚合裝置的第一結構框圖,如第4圖所示,本發明實施例訊息聚合裝置包括:監測資料獲取單元1、雜湊值對比單元2以及第一推送單元3。Fig. 4 is a first structural block diagram of the information aggregation device according to the embodiment of the present invention. As shown in Fig. 4, the information aggregation device according to the embodiment of the present invention includes: a monitoring data acquisition unit 1, a hash value comparison unit 2, and a first pushing unit 3.

監測資料獲取單元1,用於獲取資料來源頁面上的監測區域的當前監測資料。The monitoring data acquisition unit 1 is used to acquire the current monitoring data of the monitoring area on the data source page.

雜湊值對比單元2,用於將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比。The hash value comparison unit 2 is used to compare the hash value of the monitoring data with the hash value of the monitoring data of the monitoring area acquired last time.

第一推送單元3,用於對比不一致時,將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。The first push unit 3 is configured to send the change data between the current monitoring data and the last acquired monitoring data to the message push location corresponding to the monitoring area when the comparison is inconsistent, for message aggregation.

第5圖是本發明實施例訊息聚合裝置的第二結構框圖,如第5圖所示,本發明實施例訊息聚合裝置還包括:最後修改日期獲取單元4、日期對比單元5和第二推送單元6。Fig. 5 is a second structural block diagram of the information aggregation device according to the embodiment of the present invention. As shown in Fig. 5, the information aggregation device according to the embodiment of the present invention further includes: a last modification date acquisition unit 4, a date comparison unit 5, and a second push Unit 6.

最後修改日期獲取單元4,用於獲取所述資料來源頁面當前的最後修改日期。The last modification date obtaining unit 4 is configured to obtain the current last modification date of the data source page.

日期對比單元5,用於將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比。The date comparison unit 5 is used to compare the last modification date with the last modification date obtained last time for consistency.

第二推送單元6,用於當一致性對比不通過時,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。The second pushing unit 6 is configured to send change data between the content of the current data source page and the content of the data source page obtained last time to the message pushing location when the consistency comparison fails.

在本發明的一實施例中,監測區域的監測資料和資料來源頁面的最後修改日期可以根據各自的採集規則非同步啟動採集。在本發明的另一實施例中,監測區域的監測資料和資料來源頁面的最後修改日期可以根據預設的採集規則同時啟動採集。在本發明的實施例中,採集規則可以為設定的採集頻率或者設定的採集時間點。In an embodiment of the present invention, the monitoring data of the monitoring area and the last modification date of the data source page can be collected asynchronously according to respective collection rules. In another embodiment of the present invention, the monitoring data of the monitoring area and the last modification date of the data source page can be collected at the same time according to a preset collection rule. In the embodiment of the present invention, the collection rule may be a set collection frequency or a set collection time point.

第6圖是本發明實施例訊息聚合裝置的第三結構框圖,如第6圖所示,本發明實施例訊息聚合裝置還包括:監測資料提取規則生成單元7和採集單元8。FIG. 6 is a third structural block diagram of the information aggregation device according to the embodiment of the present invention. As shown in FIG. 6, the information aggregation device according to the embodiment of the present invention further includes: a monitoring data extraction rule generation unit 7 and a collection unit 8.

監測資料提取規則生成單元7,用於根據所述監測區域的位置資訊以及所述資料來源頁面的程式規則生成所述監測區域的監測資料提取規則。The monitoring data extraction rule generating unit 7 is configured to generate monitoring data extraction rules for the monitoring area according to the location information of the monitoring area and the program rules of the data source page.

採集單元8,用於根據所述監測資料提取規則透過所述資料來源頁面的資料介面獲取所述監測區域的監測資料。The collection unit 8 is configured to obtain the monitoring data of the monitoring area through the data interface of the data source page according to the monitoring data extraction rule.

本發明另一方面還提供一種電子設備,用於實現上述實施例的訊息聚合方法,該電子設備可以是桌上型電腦、平板電腦及移動終端等,本實施例不限於此。在本實施例中,該電子設備可以參照上述實施例的訊息聚合方法的實施及上述實施例的訊息聚合裝置,其內容被合併於此,重複之處不再贅述。Another aspect of the present invention also provides an electronic device for implementing the message aggregation method of the above-mentioned embodiment. The electronic device may be a desktop computer, a tablet computer, a mobile terminal, etc., but the embodiment is not limited thereto. In this embodiment, the electronic device can refer to the implementation of the message aggregation method of the above-mentioned embodiment and the message aggregation device of the above-mentioned embodiment, the content of which is merged here, and the repetition will not be repeated here.

第7圖為本發明實施例的電子設備600的系統構成的示意框圖。如第7圖所示,該電子設備600可以包括中央處理器100和記憶體140,記憶體140耦合到中央處理器100。值得注意的是,該圖是示例性的,還可以使用其他類型的結構,來補充或代替該結構,以實現電信功能或其他功能。FIG. 7 is a schematic block diagram of the system configuration of an electronic device 600 according to an embodiment of the present invention. As shown in FIG. 7, the electronic device 600 may include a central processing unit 100 and a memory 140, and the memory 140 is coupled to the central processing unit 100. It is worth noting that this figure is exemplary, and other types of structures can also be used to supplement or replace this structure to implement telecommunication functions or other functions.

一實施例中,本發明實施例的訊息聚合方法可以被集成到中央處理器100中。其中,中央處理器100可以被配置為進行如下控制:獲取資料來源頁面上的監測區域的當前監測資料;將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比;若對比不一致,將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。In an embodiment, the message aggregation method of the embodiment of the present invention may be integrated into the central processing unit 100. Wherein, the central processing unit 100 may be configured to perform the following control: obtain the current monitoring data of the monitoring area on the data source page; compare the hash value of the monitoring data with the hash value of the monitoring data of the monitoring area obtained last time Perform comparison; if the comparison is inconsistent, send the change data between the current monitoring data and the last acquired monitoring data to the message push location corresponding to the monitoring area for message aggregation.

其中,中央處理器100還可以被配置為進行如下控制:獲取所述資料來源頁面當前的最後修改日期;將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比;若一致性對比不通過,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。Wherein, the central processing unit 100 may also be configured to perform the following control: obtain the current last modification date of the data source page; compare the last modification date with the last modification date obtained last time; if the consistency is compared No, the change data between the content of the current data source page and the content of the data source page obtained last time is sent to the message push location.

如第7圖所示,該電子設備600還可以包括:通訊模組110、輸入單元120、音訊處理單元130、顯示器160、電源170。值得注意的是,電子設備600也並不是必須要包括第7圖中所示的所有元件;此外,電子設備600還可以包括第7圖中沒有示出的元件,可以參考現有技術。As shown in FIG. 7, the electronic device 600 may further include: a communication module 110, an input unit 120, an audio processing unit 130, a display 160, and a power supply 170. It is worth noting that the electronic device 600 does not necessarily include all the components shown in Figure 7; in addition, the electronic device 600 may also include components not shown in Figure 7, and the prior art can be referred to.

如第7圖所示,中央處理器100有時也稱為控制器或操作控制項,可以包括微處理器或其他處理器裝置和/或邏輯裝置,該中央處理器100接收輸入並控制電子設備600的各個元件的操作。As shown in Figure 7, the central processing unit 100 is sometimes referred to as a controller or an operation control item, and may include a microprocessor or other processor devices and/or logic devices. The central processing unit 100 receives inputs and controls electronic equipment. The operation of the various elements of the 600.

其中,記憶體140,例如可以是暫存器、快閃記憶體、硬碟、可移動媒體、易失性記憶體、非易失性記憶體或其它合適裝置中的一種或更多種。可儲存上述與失敗有關的資訊,此外還可儲存執行有關資訊的程式。並且中央處理器100可執行該記憶體140儲存的該程式,以實現資訊儲存或處理等。Among them, the memory 140 can be, for example, one or more of a register, a flash memory, a hard disk, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices. The above-mentioned information related to the failure can be stored, and the program for executing the related information can also be stored. And the central processing unit 100 can execute the program stored in the memory 140 to realize information storage or processing.

輸入單元120向中央處理器100提供輸入。該輸入單元120例如為按鍵或觸摸輸入裝置。電源170用於向電子設備600提供電力。顯示器160用於進行圖像和文字等顯示物件的顯示。該顯示器例如可為LCD顯示器,但並不限於此。The input unit 120 provides input to the central processing unit 100. The input unit 120 is, for example, a button or a touch input device. The power supply 170 is used to provide power to the electronic device 600. The display 160 is used for displaying display objects such as images and text. The display may be, for example, an LCD display, but it is not limited thereto.

該記憶體140可以是固態記憶體,例如,唯讀記憶體(ROM)、隨機存取記憶體(RAM)、SIM卡等。還可以是這樣的記憶體,其即使在斷電時也保存資訊,可被選擇性地擦除且設有更多資料,該記憶體的示例有時被稱為EPROM等。記憶體140還可以是某種其它類型的裝置。記憶體140包括緩衝記憶體141(有時被稱為緩衝器)。記憶體140可以包括應用/功能儲存部142,該應用/功能儲存部142用於儲存應用程式和功能程式或用於透過中央處理器100執行電子設備600的操作的流程。The memory 140 may be a solid-state memory, for example, a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that stores information even when the power is off, can be selectively erased, and is provided with more data. An example of this memory is sometimes called EPROM or the like. The memory 140 may also be some other type of device. The memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application/function storage unit 142, which is used to store application programs and function programs or to execute the operation process of the electronic device 600 through the central processing unit 100.

記憶體140還可以包括資料儲存部143,該資料儲存部143用於儲存資料,例如連絡人、數位資料、圖片、聲音和/或任何其他由電子設備使用的資料。記憶體140的驅動程式儲存部144可以包括電子設備的用於通訊功能和/或用於執行電子設備的其他功能(如訊息傳送應用、通訊錄應用等)的各種驅動程式。The memory 140 may also include a data storage unit 143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by electronic devices. The driver storage unit 144 of the memory 140 may include various drivers for the communication function of the electronic device and/or for executing other functions of the electronic device (such as a messaging application, an address book application, etc.).

通訊模組110即為經由天線111發送和接收信號的發送機/接收機110。通訊模組(發送機/接收機)110耦合到中央處理器100,以提供輸入信號和接收輸出信號,這可以和常規移動通訊終端的情況相同。The communication module 110 is a transmitter/receiver 110 that transmits and receives signals via the antenna 111. The communication module (transmitter/receiver) 110 is coupled to the central processing unit 100 to provide input signals and receive output signals, which can be the same as that of a conventional mobile communication terminal.

基於不同的通訊技術,在同一電子設備中,可以設置有多個通訊模組110,如蜂窩網路模組、藍牙模組和/或無線局域網模組等。通訊模組(發送機/接收機)110還經由音訊處理器130耦合到揚聲器131和麥克風132,以經由揚聲器131提供音訊輸出,並接收來自麥克風132的音訊輸入,從而實現通常的電信功能。音訊處理器130可以包括任何合適的緩衝器、解碼器、放大器等。另外,音訊處理器130還耦合到中央處理器100,從而使得可以透過麥克風132能夠在本機上錄音,且使得可以透過揚聲器131來播放本機上儲存的聲音。Based on different communication technologies, multiple communication modules 110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module, and/or a wireless local area network module. The communication module (transmitter/receiver) 110 is also coupled to the speaker 131 and the microphone 132 via the audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132 to realize normal telecommunication functions. The audio processor 130 may include any suitable buffers, decoders, amplifiers, etc. In addition, the audio processor 130 is also coupled to the central processing unit 100, so that the microphone 132 can be used for recording on the local machine, and the speaker 131 can be used to play the sound stored on the local machine.

本發明另一方面還提供一種電腦可讀儲存媒體,用於實現上述實施例的訊息聚合方法,所述電腦可讀儲存媒體儲存有應用程式,所述應用程式在電腦處理器中執行時實現以下步驟:獲取資料來源頁面上的監測區域的當前監測資料;將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比;若對比不一致,將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。Another aspect of the present invention also provides a computer-readable storage medium for implementing the message aggregation method of the above-mentioned embodiment. The computer-readable storage medium stores an application program, and the application program implements the following when executed in a computer processor Steps: Obtain the current monitoring data of the monitoring area on the data source page; compare the hash value of the monitoring data with the hash value of the monitoring data obtained last time; if the comparison is inconsistent, compare the current monitoring data with The change data between the monitoring data acquired last time is sent to the message push location corresponding to the monitoring area for message aggregation.

在另一實施例中,所述應用程式在電腦處理器中執行時還可以實現以下步驟:獲取所述資料來源頁面當前的最後修改日期;將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比;若一致性對比不通過,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。In another embodiment, when the application program is executed in the computer processor, the following steps may be implemented: obtaining the current last modification date of the data source page; comparing the last modification date with the last modification date obtained last time Perform a consistency comparison; if the consistency comparison fails, the change data between the content of the current data source page and the content of the data source page obtained last time is sent to the message push location.

以上參照附圖描述了本發明偏好的實施方式。這些實施方式的許多特徵和優點根據該詳細的說明書是清楚的,因此所附權利要求旨在覆蓋這些實施方式的落入其真實精神和範圍內的所有這些特徵和優點。此外,由於本領域的技術人員容易想到很多修改和改變,因此不是要將本發明的實施方式限於所例示和描述的精確結構和操作,而是可以涵蓋落入其範圍內的所有合適修改和等同物。The preferred embodiments of the present invention are described above with reference to the accompanying drawings. Many features and advantages of these embodiments are clear from the detailed description, and therefore the appended claims are intended to cover all these features and advantages of these embodiments that fall within their true spirit and scope. In addition, since those skilled in the art can easily think of many modifications and changes, the embodiments of the present invention are not limited to the precise structures and operations illustrated and described, but can cover all suitable modifications and equivalents falling within its scope. Things.

本發明中應用了具體實施例對本發明的原理及實施方式進行了闡述,以上實施例的說明只是用於幫助理解本發明的方法及其核心思想;同時,對於本領域的一般技術人員,依據本發明的思想,在具體實施方式及應用範圍上均會有改變之處,綜上所述,本說明書內容不應理解為對本發明的限制。In the present invention, specific examples are used to illustrate the principles and implementation of the present invention. The description of the above examples is only used to help understand the method and core idea of the present invention; at the same time, for those of ordinary skill in the art, according to this The idea of the invention will change in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation to the invention.

S101~S103:步驟 S201~S203:步驟 S301~S302:步驟 1:監測資料獲取單元 2:雜湊值對比單元 3:第一推送單元 4:最後修改日期獲取單元 5:日期對比單元 6:第二推送單元 7:監測資料提取規則生成單元 8:採集單元 100:中央處理器 110:通訊模組(發送機/接收機) 111:天線 120:輸入單元 130:音訊處理單元 131:揚聲器 132:麥克風 140:記憶體 141:緩衝器 142:應用/功能 143:資料 144:驅動程式 160:顯示器 170:電源S101~S103: steps S201~S203: steps S301~S302: steps 1: Monitoring data acquisition unit 2: hash value comparison unit 3: The first push unit 4: Last modified date acquisition unit 5: Date comparison unit 6: The second push unit 7: Monitoring data extraction rule generation unit 8: Acquisition unit 100: central processing unit 110: Communication module (transmitter/receiver) 111: Antenna 120: input unit 130: audio processing unit 131: Speaker 132: Microphone 140: memory 141: Buffer 142: Application/Function 143: Information 144: Driver 160: display 170: Power

為了更清楚地說明本發明實施方式或現有技術中的技術方案,下面將對實施方式或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明中記載的一些實施方式,對於本領域一般技術人員來講,在不付出進步性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 第1圖是本發明實施例訊息聚合方法的第一流程圖。 第2圖是本發明實施例訊息聚合方法的第二流程圖。 第3圖是本發明實施例採集監測區域的監測資料的流程圖。 第4圖是本發明實施例訊息聚合裝置的第一結構框圖。 第5圖是本發明實施例訊息聚合裝置的第二結構框圖。 第6圖是本發明實施例訊息聚合裝置的第三結構框圖。 第7圖為本發明實施例的電子設備600的系統構成的示意框圖。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are merely present For some of the embodiments described in the invention, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without making progressive labor. Figure 1 is a first flowchart of a message aggregation method according to an embodiment of the present invention. Figure 2 is a second flow chart of a message aggregation method according to an embodiment of the present invention. Figure 3 is a flow chart of collecting monitoring data of a monitoring area according to an embodiment of the present invention. Figure 4 is a first structural block diagram of a message aggregation device according to an embodiment of the present invention. Figure 5 is a second structural block diagram of the message aggregation device according to the embodiment of the present invention. Figure 6 is a third structural block diagram of a message aggregation device according to an embodiment of the present invention. FIG. 7 is a schematic block diagram of the system configuration of an electronic device 600 according to an embodiment of the present invention.

S101~S103:步驟 S101~S103: steps

Claims (10)

一種訊息聚合方法,其特徵在於,包括: 獲取資料來源頁面上的監測區域的當前監測資料; 將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比; 若對比不一致,將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。A message aggregation method, characterized in that it comprises: Obtain the current monitoring data of the monitoring area on the data source page; Comparing the hash value of the monitoring data with the hash value of the monitoring data of the monitoring area acquired last time; If the comparison is inconsistent, the change data between the current monitoring data and the monitoring data acquired last time is sent to the message push location corresponding to the monitoring area to perform message aggregation. 如請求項1所記載的方法,其特徵在於,上述方法還包括: 獲取所述資料來源頁面當前的最後修改日期; 將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比; 若一致性對比不通過,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。The method described in claim 1, characterized in that the above method further includes: Obtain the current last modification date of the data source page; Compare the last modification date with the last modification date obtained last time for consistency; If the consistency comparison fails, the change data between the content of the current data source page and the content of the data source page obtained last time is sent to the message push location. 如請求項1所記載的方法,其特徵在於,上述方法還包括: 根據所述監測區域的位置資訊以及所述資料來源頁面的程式規則生成所述監測區域的監測資料提取規則; 根據所述監測資料提取規則通過所述資料來源頁面的資料介面採集所述監測區域的監測資料。The method described in claim 1, characterized in that the above method further includes: Generating the monitoring data extraction rules of the monitoring area according to the location information of the monitoring area and the program rules of the data source page; The monitoring data of the monitoring area is collected through the data interface of the data source page according to the monitoring data extraction rule. 如請求項2所記載的方法,其特徵在於,上述方法還包括: 根據預設的採集規則同時採集所述監測區域的監測資料和所述資料來源頁面的最後修改日期。The method described in claim 2, characterized in that, the above method further includes: According to a preset collection rule, the monitoring data of the monitoring area and the last modification date of the data source page are collected at the same time. 一種訊息聚合裝置,其特徵在於,包括: 監測資料獲取單元,用於獲取資料來源頁面上的監測區域的當前監測資料; 雜湊值對比單元,用於將所述監測資料的雜湊值與上一次獲取的所述監測區域的監測資料的雜湊值進行對比; 第一推送單元,用於對比不一致時,將當前監測資料與上一次獲取的監測資料之間的變化資料發送給與所述監測區域對應的訊息推送位置,以進行訊息聚合。A message aggregation device is characterized in that it comprises: The monitoring data acquisition unit is used to obtain the current monitoring data of the monitoring area on the data source page; A hash value comparison unit for comparing the hash value of the monitoring data with the hash value of the monitoring data of the monitoring area acquired last time; The first push unit is configured to send the change data between the current monitoring data and the last acquired monitoring data to the message push location corresponding to the monitoring area when the comparison is inconsistent, so as to perform message aggregation. 如請求項5所記載的裝置,其特徵在於,上述裝置還包括: 最後修改日期獲取單元,用於獲取所述資料來源頁面當前的最後修改日期; 日期對比單元,用於將所述最後修改日期與上一次獲取的最後修改日期進行一致性對比; 第二推送單元,用於當一致性對比不通過時,將當前資料來源頁面內容與上一次獲取的資料來源頁面內容之間的變化資料發送給所述訊息推送位置。The device described in claim 5, characterized in that, the above-mentioned device further includes: The last modification date obtaining unit is used to obtain the current last modification date of the data source page; The date comparison unit is used to compare the last modification date with the last modification date obtained last time for consistency; The second pushing unit is configured to send the change data between the content of the current data source page and the content of the data source page obtained last time to the message pushing location when the consistency comparison fails. 如請求項5所記載的裝置,其特徵在於,上述裝置還包括: 監測資料提取規則生成單元,用於根據所述監測區域的位置資訊以及所述資料來源頁面的程式規則生成所述監測區域的監測資料提取規則; 採集單元,用於根據所述監測資料提取規則通過所述資料來源頁面的資料介面獲取所述監測區域的監測資料。The device described in claim 5, characterized in that, the above-mentioned device further includes: A monitoring data extraction rule generating unit, configured to generate monitoring data extraction rules for the monitoring area according to the location information of the monitoring area and the program rules of the data source page; The collection unit is configured to obtain the monitoring data of the monitoring area through the data interface of the data source page according to the monitoring data extraction rule. 如請求項6所記載的裝置,其特徵在於,所述監測區域的監測資料和所述資料來源頁面的最後修改日期為根據預設的採集規則同時採集的。The device described in claim 6, characterized in that the monitoring data of the monitoring area and the last modification date of the data source page are collected at the same time according to a preset collection rule. 一種電子設備,包括記憶體、中央處理器及儲存在記憶體上並可在中央處理器上運行的應用程式,其特徵在於,所述中央處理器執行所述應用程式時實現請求項1至4任一項的方法。An electronic device comprising a memory, a central processing unit, and an application program stored on the memory and capable of running on the central processing unit, wherein the central processing unit implements request items 1 to 4 when the application program is executed Any method. 一種電腦可讀儲存媒體,所述電腦可讀儲存媒體儲存有應用程式,其特徵在於,所述應用程式在電腦處理器中執行時實現請求項1至4任意一項的方法。A computer-readable storage medium storing an application program, wherein the application program is executed in a computer processor to implement any one of request items 1 to 4.
TW109124048A 2019-07-19 2020-07-16 Method and device for message aggregation TW202105191A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910655401.3A CN110428153A (en) 2019-07-19 2019-07-19 Message polymerization and device
CN201910655401.3 2019-07-19

Publications (1)

Publication Number Publication Date
TW202105191A true TW202105191A (en) 2021-02-01

Family

ID=68411173

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109124048A TW202105191A (en) 2019-07-19 2020-07-16 Method and device for message aggregation

Country Status (3)

Country Link
CN (1) CN110428153A (en)
TW (1) TW202105191A (en)
WO (1) WO2021012957A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110428153A (en) * 2019-07-19 2019-11-08 中国建设银行股份有限公司 Message polymerization and device
CN111371672B (en) * 2020-02-14 2022-04-08 贝壳技术有限公司 Message pushing method and device
CN112241330A (en) * 2020-03-31 2021-01-19 北京来也网络科技有限公司 Flow processing method, device, equipment and storage medium combining RPA and AI
CN112231663A (en) * 2020-03-31 2021-01-15 北京来也网络科技有限公司 Data acquisition method, device, equipment and storage medium combining RPA and AI

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425093A (en) * 2008-12-05 2009-05-06 腾讯科技(深圳)有限公司 Contact dynamic content polymerization process and system based on social network relationship chain
CN102447723B (en) * 2010-10-12 2015-09-09 运软网络科技(上海)有限公司 Client-side virtualization framework
CN102184128B (en) * 2011-05-26 2013-04-10 成都易我科技开发有限责任公司 Fast disc incremental backup method
US20140281870A1 (en) * 2013-03-14 2014-09-18 Microsoft Corporation Document collaboration and notification of changes using different notification mechanisms
CN104142987A (en) * 2014-07-24 2014-11-12 腾讯科技(深圳)有限公司 Page content management method and device and terminal device
US10545792B2 (en) * 2016-09-12 2020-01-28 Seven Bridges Genomics Inc. Hashing data-processing steps in workflow environments
CN108664520B (en) * 2017-04-01 2021-02-26 北京京东尚科信息技术有限公司 Method and device for maintaining data consistency, electronic equipment and readable storage medium
CN107229718B (en) * 2017-05-31 2020-06-05 北京京东尚科信息技术有限公司 Method and device for processing report data
CN107239546B (en) * 2017-06-05 2021-07-06 成都知道创宇信息技术有限公司 Method for tracking and reminding local content of webpage
CN109862069B (en) * 2018-12-13 2020-06-09 百度在线网络技术(北京)有限公司 Message processing method and device
CN110428153A (en) * 2019-07-19 2019-11-08 中国建设银行股份有限公司 Message polymerization and device

Also Published As

Publication number Publication date
WO2021012957A1 (en) 2021-01-28
CN110428153A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
WO2021012957A1 (en) Method and device for message aggregation
US20180285053A1 (en) Screenshot method and apparatus
CN110971655B (en) Offline client playback and synchronization
CN109947821B (en) Report information generation method, display method, device, equipment and storage medium
US10102239B2 (en) Application event bridge
CN111897738B (en) Automatic testing method and device based on atomic service
US20200233878A1 (en) Card-based information management method and system
US20160314026A1 (en) Establishing causality order of computer trace records
CN114594984A (en) Inspection method, inspection device, computer equipment and storage medium
CN111815292A (en) Business approval method and device and computer readable storage medium
CN113760611B (en) System site switching method and device, electronic equipment and storage medium
US20180262404A1 (en) Hypermedia-driven record and playback test framework
CN105139258A (en) Group member addition method and apparatus
CN113139373A (en) Method, system and equipment for generating industry and property voucher based on dynamic modeling
CN115984022A (en) Unified account checking method and device for distributed payment system
CN111859041B (en) Data reporting method and device
CN113837870B (en) Financial risk data approval method and device
CN110858175A (en) Test control method, master control equipment, controlled equipment and test system
CN115935916A (en) Document auditing method, device, equipment, storage medium and program product
US10372436B2 (en) Systems and methods for maintaining operating consistency for multiple users during firmware updates
CN113392081A (en) Data processing system and method
CN109920130B (en) Monitoring method, monitoring device, electronic equipment and computer readable storage medium
CN108960433B (en) Method and system for running machine learning modeling process
US10601893B2 (en) Remote operation method and remote operation device
CN112860683B (en) Method, device and system for cleaning data set in real time