TWI680657B - WeChat H5 propagation monitoring analysis method and related equipment - Google Patents

WeChat H5 propagation monitoring analysis method and related equipment Download PDF

Info

Publication number
TWI680657B
TWI680657B TW107134471A TW107134471A TWI680657B TW I680657 B TWI680657 B TW I680657B TW 107134471 A TW107134471 A TW 107134471A TW 107134471 A TW107134471 A TW 107134471A TW I680657 B TWI680657 B TW I680657B
Authority
TW
Taiwan
Prior art keywords
log
page
field information
target
data
Prior art date
Application number
TW107134471A
Other languages
Chinese (zh)
Other versions
TW201924282A (en
Inventor
陳玉萍
Yuping CHEN
Original Assignee
大陸商北京國雙科技有限公司
Beijing Gridsum Technology Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商北京國雙科技有限公司, Beijing Gridsum Technology Co., Ltd. filed Critical 大陸商北京國雙科技有限公司
Publication of TW201924282A publication Critical patent/TW201924282A/en
Application granted granted Critical
Publication of TWI680657B publication Critical patent/TWI680657B/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本發明實施例提供了一種微信H5傳播監測分析方法及相關設備,用於在H5頁面中植入監測代碼,全面監測一個H5頁面傳播活動的傳播效果。本發明實施例方法包括:獲取使用者操作H5頁面的操作日誌,所述H5頁面為添加監測代碼的網頁頁面,所述操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;對所述操作日誌進行分類解析,以得到目標欄位資訊,所述目標欄位資訊包括訪問日誌對應的欄位資訊、分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;根據所述目標欄位資訊確定目標資料,所述目標資料包括傳播屬性資料和/或使用者屬性資料;將所述目標資料進行展現。 An embodiment of the present invention provides a WeChat H5 propagation monitoring analysis method and related equipment, which are used to embed a monitoring code in an H5 page to comprehensively monitor the propagation effect of a H5 page propagation activity. The method of the embodiment of the present invention includes: obtaining an operation log of a user operating an H5 page, the H5 page is a web page with a monitoring code added, the operation log is an IIS format log, and the operation log includes an access log and a sharing log And / or leave log; classify and analyze the operation log to obtain target field information, where the target field information includes field information corresponding to the access log, field information corresponding to the sharing log, and / or in the exit log Corresponding field information; determining target data according to the target field information, the target data including propagation attribute data and / or user attribute data; and displaying the target data.

Description

一種微信H5傳播監測分析方法及相關設備    WeChat H5 propagation monitoring analysis method and related equipment   

本發明涉及資料處理領域,特別涉及一種微信H5(HTML(HyperText Markup Language)5)傳播監測分析方法及相關設備。 The invention relates to the field of data processing, in particular to a WeChat H5 (HTML (HyperText Markup Language) 5) propagation monitoring analysis method and related equipment.

微信是騰訊公司於2011年1月21日推出的一個為智慧終端機提供即時通訊服務的免費應用程式,微信公眾平臺是開發者或商家在微信平臺上申請的應用帳號,該帳號與QQ帳號互通,通過公眾號,商家可在微信平臺上實現和特定群體的文字、圖片、語音、視頻的全方位溝通、互動。形成了一種主流的線上線下微信互動行銷方式。 WeChat is a free application launched by Tencent on January 21, 2011 to provide instant messaging services for smart terminals. The WeChat public platform is an application account applied by developers or merchants on the WeChat platform. This account is interoperable with the QQ account. Through the public account, merchants can achieve full-scale communication and interaction with specific groups of text, pictures, voice, and videos on the WeChat platform. It has formed a mainstream online and offline WeChat interactive marketing method.

隨著智慧手機的越來越普及,微信已成為當下最火熱的互聯網聊天工具之一。微信行銷,一個新型的互聯網行銷方式因此應運而生。而H5(HTML5)頁面支援文字、圖片、音訊、動畫等多種元素的優勢,已漸漸成為微信行銷的首要載體。 With the increasing popularity of smartphones, WeChat has become one of the hottest Internet chat tools of the moment. WeChat marketing, a new type of Internet marketing method came into being. The advantage of H5 (HTML5) pages supporting text, pictures, audio, animation and other elements has gradually become the primary carrier of WeChat marketing.

在傳統的網站監測工具中,僅能統計到網站的PV/UV/IP等基本流量資訊,無法充分挖掘微信作為一個新型的社交媒體的傳播行為、傳播層級、分享去向、KOL(Key Opinion Leader,關鍵意見領袖)等深層次更有意義的價值。 In traditional website monitoring tools, only the basic traffic information such as PV / UV / IP of the website can be counted, and WeChat cannot be fully exploited as a new type of social media's communication behavior, communication level, sharing destination, KOL (Key Opinion Leader, Key opinion leaders) and more meaningful values.

本發明實施例提供了一種微信H5傳播監測分析方法及相關設備,用於在H5頁面中植入監測代碼,全面監測一個H5頁面傳播活動的傳播效果。 An embodiment of the present invention provides a WeChat H5 propagation monitoring analysis method and related equipment, which are used to embed a monitoring code in an H5 page to comprehensively monitor the propagation effect of a H5 page propagation activity.

本發明實施例第一方面提供了一種微信H5傳播監測分析方法,具體包括: 獲取使用者操作H5頁面的操作日誌,所述H5頁面為添加監測代碼的網頁頁面,所述操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;對所述操作日誌進行分類解析,以得到目標欄位資訊,所述目標欄位資訊包括訪問日誌對應的欄位資訊、分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;根據所述目標欄位資訊確定目標資料,所述目標資料包括傳播屬性資料和/或使用者屬性資料;將所述目標資料進行展現。 A first aspect of an embodiment of the present invention provides a WeChat H5 propagation monitoring analysis method, which specifically includes: obtaining an operation log of a user operating an H5 page, where the H5 page is a web page with a monitoring code added, and the operation log is in an IIS format Log, and the operation log includes an access log, a share log, and / or a leave log; the operation log is classified and analyzed to obtain target field information, and the target field information includes field information corresponding to the access log, Sharing field information corresponding to the log and / or corresponding field information in the leaving log; determining target data according to the target field information, the target data including propagation attribute data and / or user attribute data; Data for presentation.

可選地,所述獲取使用者操作H5頁面的操作日誌之前,所述方法還包括:配置推廣管道,所述推廣管道為H5頁面的微信公眾號;在所述H5頁面添加監測代碼。 Optionally, before obtaining the operation log of the user operating the H5 page, the method further includes: configuring a promotion channel, the promotion channel being a WeChat public account of the H5 page; and adding a monitoring code to the H5 page.

所述根據所述目標欄位資訊確定目標資料之後,所述方法還包括:將所述目標資料同步至目標資料表中,所述目標資料表為關係型數據庫中的資料表,所述傳播屬性資料以及所述使用者屬性資料分別對應不同類型的資料表,所述關係型數據庫中保存有包括所述目標資料表在內的多個不同類型的資料表。 After the target data is determined according to the target field information, the method further includes: synchronizing the target data to a target data table, the target data table is a data table in a relational database, and the propagation attribute The data and the user attribute data respectively correspond to different types of data tables, and the relational database stores a plurality of different types of data tables including the target data table.

所述將所述目標資料進行展現之前,所述方法還包括:接收展現請求;所述將所述目標資料進行展現包括:根據所述展現請求,從所述關係型數據庫中查詢出所述展現請求對應的資料進行展現。 Before the target material is displayed, the method further includes: receiving a display request; the displaying the target material includes: querying the display from the relational database according to the display request Request corresponding materials for display.

所述獲取使用者操作H5頁面的操作日誌之後,所述方法還包括:將所述操作日誌存儲至日誌檔中。 After obtaining the operation log of the user operating the H5 page, the method further includes: storing the operation log in a log file.

本發明實施例第二方面提供了一種微信H5傳播監測分析裝置,包括: 獲取單元,用於獲取使用者操作H5頁面的操作日誌,所述H5頁面為添加監測代碼的網頁頁面,所述操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;解析單元,用於對所述操作日誌進行分類解析,以得到目標欄位資訊,所述目標欄位資訊包括訪問日誌、對應的欄位資訊分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;確定單元,用於根據所述目標欄位資訊確定目標資料,所述目標資料包括傳播屬性資料和/或使用者屬性資料;展現單元,用於將所述目標資料進行展現。 According to a second aspect of the embodiments of the present invention, a WeChat H5 propagation monitoring and analysis device is provided, including: an obtaining unit for obtaining an operation log of a user operating an H5 page, where the H5 page is a web page with a monitoring code added, and the operation log The log is an IIS format, and the operation log includes an access log, a share log, and / or an exit log; a parsing unit is configured to parse and parse the operation log to obtain target field information, and the target field information Including access log, corresponding field information, corresponding field information in the sharing log, and / or corresponding field information in the exit log; a determining unit, configured to determine target data according to the target field information, and the target data includes propagation Attribute data and / or user attribute data; a presentation unit, configured to display the target data.

本發明實施例協力廠商面提供了一種處理器,所述處理器用於運行電腦程式,所述電腦程式運行時執行如上述各方面所述方法的步驟。 According to the embodiment of the present invention, a third party provides a processor, where the processor is configured to run a computer program, and when the computer program runs, the steps of the method according to the foregoing aspects are performed.

本發明實施例第四方面提供了一種電腦可讀存儲介質,其上存儲有電腦程式,其特徵在於:所述電腦程式被處理器執行時上述各方面所述方法的步驟。 A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that the steps of the method described in the above aspects when the computer program is executed by a processor.

從以上技術方案可以看出,在H5頁面添加監測代碼,對用戶訪問、分享和/或離開所述H5頁面進行監測,並對監測得到的日誌檔進行解析,得到使用者訪問H5頁面對應的欄位資訊、使用者分享H5頁面對應的欄位資訊和/或使用者離開H5頁面對應的欄位資訊,並對欄位資訊進行預處理以得到目標資料,並將目標資料進行展現,全面掌握了H5頁面傳播活動的傳播效果,充分利用微信公眾號H5頁面的傳播性能,為廣告主分析出ROI(Return on investment,投入產出比)更合理的媒體和KOL(Key Opinion Leader,關鍵意見領袖)。 It can be seen from the above technical solution that a monitoring code is added to the H5 page to monitor the user's access, sharing, and / or leaving the H5 page, and analyze the log file obtained by the monitoring to obtain the column corresponding to the user's visit to the H5 page Bit information, users share the field information corresponding to the H5 page and / or the user leaves the field information corresponding to the H5 page, and pre-processes the field information to obtain the target data, and displays the target data to fully grasp The spread effect of the H5 page dissemination campaign, making full use of the spread performance of the WeChat public account H5 page, to analyze for advertisers more reasonable ROI (Return on investment, input-output ratio) media and KOL (Key Opinion Leader) .

101~108‧‧‧步驟 101 ~ 108‧‧‧step

201‧‧‧配置單元 201‧‧‧Configuration Unit

202‧‧‧獲取單元 202‧‧‧Get Unit

203‧‧‧解析單元 203‧‧‧Analysis unit

204‧‧‧確定單元 204‧‧‧ Confirmation unit

205‧‧‧同步單元 205‧‧‧Sync unit

206‧‧‧展現單元 206‧‧‧ Display Unit

300‧‧‧微信H5傳播監測分析裝置 300‧‧‧ WeChat H5 propagation monitoring and analysis device

301‧‧‧處理器 301‧‧‧ processor

302‧‧‧記憶體 302‧‧‧Memory

第1圖為本發明實施例中微信H5傳播監測分析方法的實施例示意圖;第2圖為本發明實施例中微信H5傳播監測分析裝置的實施例示意圖;以及第3圖為本發明實施例中微信H5傳播監測分析裝置的結構示意圖。 FIG. 1 is a schematic diagram of an embodiment of a WeChat H5 propagation monitoring and analysis method according to an embodiment of the present invention; FIG. 2 is a schematic diagram of an WeChat H5 propagation monitoring and analysis device according to an embodiment of the present invention; and FIG. 3 is an embodiment of the present invention. Schematic diagram of WeChat H5 propagation monitoring and analysis device.

本發明實施例提供了一種微信H5傳播監測分析方法及相關設備,用於在H5頁面中植入監測代碼,全面監測一個H5頁面傳播活動的傳播效果。 An embodiment of the present invention provides a WeChat H5 propagation monitoring analysis method and related equipment, which are used to embed a monitoring code in an H5 page to comprehensively monitor the propagation effect of a H5 page propagation activity.

本發明的說明書和申請專利範圍及上述圖式中的術語“第一”、“第二”、“第三”、“第四”等(如果存在)是用於區別類似的物件,而不必用於描述特定的順序或先後次序。應該理解這樣使用的資料在適當情況下可以互換,以便這裡描述的實施例能夠以除了在這裡圖示或描述的內容以外的順序實施。此外,術語“包括”和“具有”以及他們的任何變形,意圖在於覆蓋不排他的包含,例如,包含了一系列步驟或單元的過程、方法、系統、產品或設備不必限於清楚地列出的那些步驟或單元,而是可包括沒有清楚地列出的或對於這些過程、方法、產品或設備固有的其它步驟或單元。 The terms "first", "second", "third", "fourth", and the like (if any) in the scope of the description and patent application of the present invention and the above-mentioned drawings are used to distinguish similar items, and need not be used. For describing a particular order or sequence. It should be understood that the materials used in this way are interchangeable under appropriate circumstances so that the embodiments described herein can be implemented in an order other than what is illustrated or described herein. Furthermore, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units need not be limited to those explicitly listed Those steps or units may instead include other steps or units not explicitly listed or inherent to these processes, methods, products or equipment.

下面對本申請中的一些詞彙進行解釋說明:H5:H5是HTML5的簡稱,就是HTML(HyperText Markup Language,超級文本標記語言)的第五次重大修改,超級文本指的是網頁頁面除了傳統的文字元素,還包括非文字類的元素,例如圖片、音樂等。這些超文字必須由包含屬性的開頭與結尾來標記,流覽器正是通過對HTML的解碼把網頁內容顯示出來,也正是互聯網的基礎。 The following explains some terms in this application: H5: H5 is the abbreviation of HTML5, which is the fifth major modification of HTML (HyperText Markup Language, Hypertext Markup Language). Hypertext refers to web pages in addition to traditional text elements , And also includes non-textual elements such as pictures, music, etc. These hypertext must be marked by the beginning and end of the attribute. The browser displays the content of the webpage by decoding the HTML, which is also the basis of the Internet.

KOL(Key Opinion Leader,關鍵意見領袖),俗稱“網路紅人”,是指在現實或者網路生活中因為某個事件或者某個行為而被線民關注從而走紅的人。他們的走紅皆因為自身的某種特質在網路作用下被放大,與線民的審美、審醜、娛樂、刺激、偷窺、臆想以及看客等心理相契合,有意或無意間受到網路世界的追捧,成為“網路紅人”。因此,“網路紅人”的產生不是自發的,而是網路媒介環境下,網路紅人、網路推手、傳統媒體以及受眾心理需求等利益共同體綜合作用下的結果。而在本申請中,KOL特指在微信中廣告或文章頁面後按照一定計算模型帶來訪問該分享廣告或文章頁面最多的主體。 KOL (Key Opinion Leader, key opinion leader), commonly known as "Internet celebrity", refers to people who have become popular because of certain events or behaviors in reality or online life. Their popularity is due to their own characteristics being magnified under the influence of the Internet, which is in line with the psychological, aesthetic, ugly, entertaining, stimulating, peeping, speculative, and spectator mentality of the informants. Be sought after, become "Internet celebrities." Therefore, the emergence of "Internet celebrities" is not spontaneous, but is the result of a combination of interest communities such as Internet celebrities, Internet promoters, traditional media, and the psychological needs of the audience under the network media environment. In this application, KOL specifically refers to the subject who has visited the most shared advertisement or article page according to a certain calculation model after the advertisement or article page in WeChat.

微信JS-SDK:是微信公眾平臺面向網頁開發者提供的基 於微信內的網頁開發套件。 WeChat JS-SDK: It is a web development kit provided by WeChat public platform for web developers based on WeChat.

ROI(return on investment,投入產出比),指的就是所投入資金的回報程度。 ROI (return on investment, input-output ratio) refers to the degree of return on invested capital.

請參閱第1圖,本發明實施例中微信H5傳播監測分析方法的一個實施例包括: Please refer to FIG. 1. An embodiment of a WeChat H5 propagation monitoring analysis method in the embodiment of the present invention includes:

步驟101、配置推廣管道。 Step 101: Configure a promotion channel.

本實施例中,在監測H5之前需要為該H5配置推廣管道,即創建一個監測專案,並為該監測專案添加推廣管道。其中,創建專案時需要填寫該專案的名稱,專案的開始結束時間,以及H5頁面對應的url(Uniform Resource Locator,統一資源定位符),即俗稱的網址,比如http://www.h5.com。其中,添加推廣管道主要是指添加推廣H5頁面的微信公眾號,該微信公眾號包括付費的公眾號和廣告主自有的公眾號。每添加一個推廣管道,就會對應的為其生成唯一的推廣連結,比如,添加一個微信公眾號為A的推廣管道,則為其生成的推廣連結為:{H5頁面的url}&gsadid=wx_x_xxxx(如:http://www.h5.com&gsadid=wx_6_O9NT930S)。其中gsadid=wx_x_xxxx是一個鍵值對,示例中wx是微信的縮寫,6是項目編號,O9NT930S是隨機生成的唯一值,該隨機生成的唯一值的目的就是在後續資料分析時識別不同的公眾號的傳播效果。 In this embodiment, before monitoring H5, a promotion channel needs to be configured for the H5, that is, a monitoring project is created, and a promotion channel is added to the monitoring project. Among them, when creating a project, you need to fill in the name of the project, the start and end time of the project, and the url (Uniform Resource Locator, Uniform Resource Locator) corresponding to the H5 page, which is a commonly known URL, such as http://www.h5.com . Among them, adding a promotion channel mainly refers to adding a WeChat public account that promotes H5 pages. The WeChat public account includes the paid public account and the advertiser's own public account. Every time you add a promotion channel, a unique promotion link will be generated for it. For example, if you add a WeChat public account number A, the promotion link generated for it is: {H5 page url} & gsadid = wx_x_xxxx ( For example: http: //www.h5.com&gsadid=wx_6_O9NT930S). Where gsadid = wx_x_xxxx is a key-value pair, in the example wx is the abbreviation of WeChat, 6 is the project number, and O9NT930S is a unique value that is randomly generated. The purpose of the randomly generated unique value is to identify different public numbers in subsequent data analysis Effect of communication.

步驟102、為H5頁面配置監測代碼。 Step 102: Configure a monitoring code for the H5 page.

本實施例中,當添加推廣H5頁面的微信公眾號後,可以為H5頁面配置監測代碼,首先引入微信的JS-SDK(下面統稱為js檔)、監測的js檔;其次,進行監測配置、微信JS-SDK配置和微信JS-SDK分享設置。下面對引入JS檔以及具體配置資訊進行詳細說明: In this embodiment, after adding the WeChat public account that promotes the H5 page, you can configure the monitoring code for the H5 page. First, the WeChat JS-SDK (collectively referred to as the js file below) and the monitored js file are introduced. Second, the monitoring configuration, WeChat JS-SDK configuration and WeChat JS-SDK sharing settings. The following describes the introduction of JS files and specific configuration information in detail:

1、引入微信的JS文件。 1. Introduce WeChat JS files.

<scripttype="text/javascript"src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>;當引入微信的JS檔時需要注意,如果頁面中啟用了https(Hyper Text Transfer Protocol over Secure Socket Layer,以安全為目標的 HTTP通道),此時需要引入:https://res.wx.qq.com/open/js/jweixin-1.0.0.js,否則將無法在iOS9.0以上系統中成功使用JS-SDK。 <scripttype = "text / javascript" src = "http: //res.wx.qq.com/open/js/jweixin-1.0.0.js"> </ script>; you need to pay attention to the introduction of WeChat JS files If https (Hyper Text Transfer Protocol over Secure Socket Layer) is enabled on the page, you need to introduce: https: //res.wx.qq.com/open/js/jweixin-1.0 .0.js, otherwise you will not be able to use JS-SDK successfully on iOS9.0 and above systems.

2、引入監測JS檔。 2. Introduce monitoring JS files.

<scripttype="text/javascript"src="http://wechat-recv.XXX.com/js/gswc.js"></script> <scripttype = "text / javascript" src = "http://wechat-recv.XXX.com/js/gswc.js"> </ script>

3、監控JS配置。 3. Monitor JS configuration.

配置監控gs.config,需在wx.config之前完成。 <scripttype="text/javascript" var userinfo=[];//將授權返回的使用者資訊賦給userinfo變數。gs.config({ gs_debug:false,//選填,debug模式:值為true開啟,默認關閉。},userinfo);<script> The configuration monitoring gs.config must be completed before wx.config. <scripttype = "text / javascript" var userinfo = []; // Assign the user information returned by authorization to the userinfo variable. gs.config ({gs_debug: false, // optional, debug mode: enabled with value, closed by default.}, userinfo); <script>

上面的userInfo為微信使用者授權介面返回的JSON資料包轉換成的JSON物件,格式如下:var userinfo={ "openid":"OPENID",//使用者的唯一標識"nickname":"NICKNAME",//用戶昵稱"sex":0,//用戶的性別,值為1時是男性,值為2時是女性,值為0時是未知"province":"PROVINCE",//用戶個人資料填寫的省份"city":"CITY",//用戶個人資料填寫的城市"country":"COUNTRY",//用戶個人資料填寫的國家"headimgurl":"http://wx.qlogo.cn/mmopen/g3MonUZtNHkdmzicIlibx6iaFqAc56vxLS",//用戶頭像url "unionid":"o6_bmasdasdsad6_2sgVt7hMZOPfL","subscribe":-1//用戶是否關注}; The above userInfo is a JSON object converted from the JSON data package returned by the WeChat user authorization interface, the format is as follows: var userinfo = {"openid": "OPENID", // the unique identifier of the user "nickname": "NICKNAME", // User nickname "sex": 0, // user's gender, value is 1 when male, value is 2 when female, value is 0 is unknown "province": "PROVINCE", // fill in user profile Province "city": "CITY", // city filled in by user profile "country": "COUNTRY", // country filled in by user profile "headimgurl": "http://wx.qlogo.cn/mmopen / g3MonUZtNHkdmzicIlibx6iaFqAc56vxLS ", // user avatar url" unionid ":" o6_bmasdasdsad6_2sgVt7hMZOPfL "," subscribe ": -1 // whether the user is following};

說明: Explanation:

Unionid:如果獲取不到,則預設給空字串即可,即"unionid":"" Subscribe:如果獲取不到,則默認給-1,即"subscribe":-1。 Unionid: If it can't get it, it can be preset to the empty string, that is, "unionid": "" Subscribe: If it can't get it, it defaults to -1, that is, "subscribe": -1.

4、微信JS-SDK配置 4, WeChat JS-SDK configuration

wx.config({ appId:"wxdxxxxxxxxxxxx",//必填,公眾號的唯一標識timestamp:"",//必填,生成簽名的時間戳記nonceStr:"",//必填,生成簽名的隨機串signature:"",//必填,根據簽名演算法生成的簽名jsApiList:[ "getNetworkType","getLocation","onMenuShareTimeline","onMenuShareAppMessage" //如有其他業務需求,可繼續加入其他微信JS介面] });微信JSSDK分享設置wx.ready(function(){ varlink=location.hrefsplit('#')[0];var shareData={ title:"",//必填,分享標題desc:"",//選填,分享描述imgUrl:"",//選填,分享圖片link:link,//必填,分享連結success:function(){ //用戶確認分享後執行的回呼函數},cancel:function(){ //用戶取消分享後執行的回呼函數 } };wx.onMenuShareAppMessage(gs.setShareAppMessage(shareData));wx.onMenuShareTimeline(gs.setShareTimeline(shareData));})。 wx.config ({appId: "wxdxxxxxxxxxxxx", // required, the unique identifier of the public number timestamp: "", // required, the signature timestamp nonceStr: "", // required, the signature is generated randomly String signature: "", // required, signature jsApiList generated according to the signature algorithm: ["getNetworkType", "getLocation", "onMenuShareTimeline", "onMenuShareAppMessage" // If you have other business needs, you can continue to join other WeChat JS Interface]}); WeChat JSDDK sharing settings wx.ready (function () {varlink = location.hrefsplit ('#') [0]; var shareData = {title: "", // required, share title desc: " ", // optional, share description imgUrl:" ", // optional, share picture link: link, // required, share link success: function () {// callback function executed after user confirms sharing} , Cancel: function () {// callback function executed after the user cancels sharing}}; wx.onMenuShareAppMessage (gs.setShareAppMessage (shareData)); wx.onMenuShareTimeline (gs.setShareTimeline (shareData));}).

至此,完成H5頁面配置的監測代碼。 At this point, the monitoring code for H5 page configuration is completed.

步驟103、獲取使用者操作H5頁面的操作日誌。 Step 103: Obtain an operation log of the user operating the H5 page.

本實施例中,為H5頁面配置監測代碼之後,當使用者操作H5頁面時,即當使用者訪問、分享和/或離開H5頁面,通過監測代碼可以獲取到用戶訪問、分享和/或離開H5頁面的操作日誌,其中該操作日誌IIS格式的日誌,且該操作日誌包括訪問日誌、分享日誌和/或離開日誌。 In this embodiment, after the monitoring code is configured for the H5 page, when the user operates the H5 page, that is, when the user accesses, shares, and / or leaves the H5 page, the user can access, share, and / or leave H5 through the monitoring code. The operation log of the page, where the operation log is a log in the IIS format, and the operation log includes an access log, a share log, and / or an exit log.

需要說明的是,操作日誌與使用者在H5頁面進行的操作有關係,例如用戶只是訪問以及離開H5頁面,則只有訪問日誌和離開日誌,而沒有分享日誌,只有使用者對H5頁面進行分享之後,才會有分享日誌。 It should be noted that the operation log is related to the operations performed by the user on the H5 page. For example, if the user only visits and leaves the H5 page, there is only the access log and the leave log, but no shared log. Only the user shares the H5 page. , There will be shared logs.

需要說明的是,還可以是其他格式的日誌,具體不做限定,另外,該操作日誌可以存儲至日誌檔中,具體的,當用戶訪問、分享和/或離開H5頁面時,此時會觸發向日誌接收伺服器發送請求,根據該請求將操作日誌存儲到日誌檔中。其中,操作日誌可以按天存儲,即將同一天的日誌資料放在同一個日誌檔中,也可以按星期存儲,即將每七天的日誌資料放在同一個日誌檔中,也可以按照其他的時間段存儲,具體不限定。以按天存儲為例進行說明,比如將8月1日的所有日誌放在20170801.log檔中,8月2日的所有日誌放在20170802.log文件中。 It should be noted that there may also be logs in other formats, which are not specifically limited. In addition, the operation log may be stored in a log file. Specifically, when a user accesses, shares, and / or leaves the H5 page, it will trigger at this time. Send a request to the log receiving server, and store the operation log in the log file according to the request. Among them, the operation log can be stored by day, that is, the log data of the same day is placed in the same log file, or it can be stored by the week, that is, the log data of every seven days is placed in the same log file, or according to other time periods Storage is not limited. Take the daily storage as an example. For example, all logs on August 1 are placed in the 20170801.log file, and all logs on August 2 are placed in the 20170802.log file.

步驟104、對請求日誌進行分類解析,以得到目標欄位資訊。 Step 104: Classify and analyze the request log to obtain target field information.

本實施例中,可以對獲取的IIS格式的日誌進行分類解析,以得到目標欄位資訊,由於上述根據使用者在H5頁面進行的操作不同可以得到不同的操作日誌,此處,對IIS格式的日誌進行分類解析,也相應 的得到不同的欄位資訊,包括:訪問日誌對應的欄位資訊(例如gscmd、gsadid、gsguid等欄位資訊,具體不限定)、分析日誌對應的欄位資訊(例如gsopenid、gsfopenid、gsdestination等欄位資訊,具體不限定)和/或離開日誌對應的欄位資訊(例如gsversion、gsduration、GRIDSUMID等欄位資訊,具體不限定),當得到目標欄位資訊之後,可以將該目標欄位資訊與配置推廣管道時為H5頁面隨機生成的唯一值相對應存入大資料平臺中,以方便後續追蹤。 In this embodiment, the obtained logs in the IIS format can be classified and parsed to obtain target field information. As the foregoing, different operation logs can be obtained according to different operations performed by the user on the H5 page. Here, the IIS format logs The logs are classified and parsed, and different field information is obtained accordingly, including: field information corresponding to the access log (for example, field information such as gscmd, gsadid, and gsguid, etc.), and field information corresponding to the analysis log (for example, Field information such as gsopenid, gsfopenid, gsdestination, etc., and / or field information corresponding to the log (for example, field information such as gsversion, gsduration, GRIDSUMID, etc., specific but not limited), after obtaining the target field information, you can The target field information is stored in the big data platform corresponding to the unique value randomly generated for the H5 page when the promotion channel is configured to facilitate subsequent tracking.

步驟105、根據目標欄位資訊確定目標資料。 Step 105: Determine target data according to the target field information.

本實施例中,當獲取到目標欄位資訊之後,可以對該目標欄位資訊進行預處理,以得到目標資料,該目標資料包括傳播屬性資訊和/或使用者屬性資訊,其中,傳播屬性資訊包括:使用者傳播趨勢資料、傳播路徑圖資料、KOL資料、傳播層級數據和/或訪問行為資料(包括停留時間、存取時間、分享去向、閱讀來源),使用者屬性資訊包括:地域分佈資料、性別分佈資料、系統類型分佈資料、網路類型分佈資料和機型分佈資料。由於使用者訪問H5頁面時,記錄的日誌資料量比較大,且都是對使用者行為的直接簡單記錄,無法直接作為展現使用,所以需要對解析到的目標欄位資訊進行預處理。預處理主要作用是從大資料平臺查詢出不同類型的資料,並進行處理,以得到使用者傳播趨勢資料、傳播路徑圖資料、KOL資料、傳播層級數據、訪問行為資料(包括停留時間、存取時間、分享去向、閱讀來源),和/或使用者屬性資料(包括地域分佈、性別分佈、系統類型分佈、網路類型分佈和機型分佈)。 In this embodiment, after the target field information is obtained, the target field information may be pre-processed to obtain target data, where the target data includes propagation attribute information and / or user attribute information, wherein the propagation attribute information Including: user dissemination trend data, dissemination path map data, KOL data, dissemination level data and / or access behavior data (including dwell time, access time, sharing destination, reading source), user attribute information includes: geographical distribution data , Gender distribution data, system type distribution data, network type distribution data, and model distribution data. Because users access the H5 page, the amount of recorded log data is relatively large, and they are direct and simple records of user behaviors, which cannot be directly used for display, so the pre-parsed target field information needs to be pre-processed. The main function of preprocessing is to query different types of data from big data platforms and process them to obtain user communication trend data, communication path map data, KOL data, communication level data, and access behavior data (including dwell time, access Time, sharing destination, reading source), and / or user attribute data (including geographical distribution, gender distribution, system type distribution, network type distribution, and model distribution).

步驟106、將目標資料同步至目標資料表中。 Step 106: Synchronize the target data into the target data table.

本實施例中,當獲取到目標資料之後,可以將該目標資料同步至目標資料表中,該目標資料表為關係型數據庫中的資料表,該目標資料中的子資料對應不同類型的資料表,例如傳播屬性資料表、使用者屬性資料表、地域分佈資料表,關係型數據庫中存儲有包括目標資料表在內的多個不同類型的資料表。 In this embodiment, after the target data is obtained, the target data may be synchronized to the target data table. The target data table is a data table in a relational database, and the sub-data in the target data corresponds to different types of data tables. , Such as the propagation attribute data table, user attribute data table, and geographical distribution data table, the relational database stores a number of different types of data tables, including the target data table.

步驟107、接收展現請求。 Step 107: Receive a display request.

步驟108、根據展現請求,從關係型數據庫中查詢出展 現請求對應的資料進行展現。 Step 108: According to the display request, query the data corresponding to the display request from the relational database for display.

本實施例中,當接收到了展現請求之後,可以從資料庫中查詢出該展現請求對應的資料進行展現。具體的展現過程不做限定,例如可以按照時間維度進行展現,即按照天、小時等等時間進行展現,也可以按照媒體維度進行展現,例如按照不同的推廣媒體(付費媒體、自由媒體等等)進行展現,也可以按照其他的維度進行展現,例如傳播路徑、訪問行為或使用者屬性的維度,具體不做限定。 In this embodiment, after receiving the display request, the data corresponding to the display request can be queried from the database for display. The specific display process is not limited, for example, it can be displayed according to the time dimension, that is, according to the time of day, hour, etc., or it can be displayed according to the media dimension, for example, according to different promotional media (paid media, free media, etc.) For display, it can also be displayed according to other dimensions, such as the dimensions of the propagation path, access behavior, or user attributes, which are not specifically limited.

需要說明的是,可以將資料通過曲線圖、折線圖、圓形圖、關係圖、柱狀圖、表格等展現形式從不同角度展現不同推廣媒體、KOL帶來的傳播效果。 It should be noted that the data can be used to display the spreading effects of different promotion media and KOL from different angles through the display forms such as graphs, line charts, circle diagrams, relationship diagrams, histograms, and tables.

綜上所述,在H5頁面添加監測代碼,對用戶訪問、分享和/或離開所述H5頁面進行監測,並對監測得到的日誌檔進行解析,得到使用者訪問H5頁面對應的欄位資訊、使用者分享H5頁面對應的欄位資訊和/或使用者離開H5頁面對應的欄位資訊,並對欄位資訊進行預處理以得到目標資料,並將目標資料進行展現,全面掌握了H5頁面傳播活動的傳播效果,監測H5頁面的分享去向、閱讀來源、傳播層級、傳播路徑圖以及挖掘KOL,分析POE(即付費媒體、自有媒體、賺得媒體)的傳播效果和推廣情況,分析傳播過程中所有參與者的貢獻量和分享流向,充分利用微信公眾號H5頁面的傳播性能,為廣告主分析出ROI更合理的媒體和KOL。 In summary, add a monitoring code to the H5 page to monitor the user ’s visit, share, and / or leave the H5 page, and analyze the log file obtained from the monitoring to obtain the field information corresponding to the user ’s visit to the H5 page. Users share the field information corresponding to the H5 page and / or the user leaves the field information corresponding to the H5 page, and pre-processes the field information to obtain the target data, and displays the target data to fully grasp the H5 page spread. The communication effect of the event, monitoring the sharing destination of H5 pages, reading source, communication level, communication path map and mining KOL, analyzing the communication effect and promotion of POE (that is, paid media, own media, earned media), and analyzing the communication process The contribution and sharing flow of all participants in the media, make full use of the spread performance of the WeChat public account H5 page, and analyze more reasonable ROI media and KOL for advertisers.

上面從微信H5傳播監測分析方法的角度對本發明實施例進行說明,下面從微信H5傳播監測分析裝置的角度對本發明實施例進行說明。 The embodiments of the present invention are described above from the perspective of the WeChat H5 propagation monitoring and analysis method, and the embodiments of the present invention are described below from the perspective of the WeChat H5 propagation monitoring and analysis device.

請參閱第2圖,本發明實施例中微信H5傳播監測分析裝置的實施例包括:配置單元201,用於配置推廣管道,所述推廣管道為H5頁面的微信公眾號;所述配置單元還用於在所述H5頁面添加監測代碼。 Referring to FIG. 2, an embodiment of the WeChat H5 propagation monitoring and analysis device in the embodiment of the present invention includes: a configuration unit 201 configured to configure a promotion channel, the promotion channel being a WeChat public account of an H5 page; the configuration unit also uses Add monitoring code on the H5 page.

獲取單元202,用於獲取使用者操作H5頁面的操作日誌, 所述H5頁面為添加監測代碼的網頁頁面,操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;解析單元203,用於對操作日誌進行分類解析,以得到目標欄位資訊,目標欄位資訊包括訪問日誌、對應的欄位資訊分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;確定單元204,用於根據目標欄位資訊確定目標資料,目標資料包括傳播屬性資料和/或使用者屬性資料;同步單元205,用於將目標資料同步至目標資料表中,目標資料表為關係型數據庫中的資料表,傳播屬性資料以及所述使用者屬性資料分別對應不同類型的資料表,關係型數據庫中保存有包括目標資料表在內的多個不同類型的資料表。 The obtaining unit 202 is configured to obtain an operation log of a user operating an H5 page, where the H5 page is a web page added with a monitoring code, the operation log is an IIS format log, and the operation log includes an access log, a sharing log, and / or Leaving log; Parsing unit 203 is used to classify and analyze the operation log to obtain target field information, and the target field information includes access log, corresponding field information, corresponding field information in the sharing log, and / or corresponding information in the leaving log. Field information; a determining unit 204 for determining target data according to the target field information, the target data including propagation attribute data and / or user attribute data; a synchronization unit 205 for synchronizing the target data into the target data table, The target data table is a data table in a relational database. The propagation attribute data and the user attribute data correspond to different types of data tables. The relational database stores a plurality of different types of data tables, including the target data table. .

展現單元206,用於將目標資料進行展現。 The presenting unit 206 is configured to present the target data.

本實施例中的微信H5傳播監測分析裝置的各單元之間的對話模式如前述第1圖所示實施例中的描述,具體此處不再贅述。 The dialogue mode between the units of the WeChat H5 propagation monitoring and analysis device in this embodiment is as described in the embodiment shown in FIG. 1 above, and details are not described herein again.

綜上所述,在H5頁面添加監測代碼,對用戶訪問、分享和/或離開所述H5頁面進行監測,並對監測得到的日誌檔進行解析,得到使用者訪問H5頁面對應的欄位資訊、使用者分享H5頁面對應的欄位資訊和/或使用者離開H5頁面對應的欄位資訊,並對欄位資訊進行預處理以得到目標資料,並將目標資料進行展現,全面掌握了H5頁面傳播活動的傳播效果,監測H5頁面的分享去向、閱讀來源、傳播層級、傳播路徑圖以及挖掘KOL,分析POE(即付費媒體、自有媒體、賺得媒體)的傳播效果和推廣情況,分析傳播過程中所有參與者的貢獻量和分享流向,充分利用微信公眾號H5頁面的傳播性能,為廣告主分析出ROI更合理的媒體和KOL。 In summary, add a monitoring code to the H5 page to monitor the user ’s visit, share, and / or leave the H5 page, and analyze the log file obtained from the monitoring to obtain the field information corresponding to the user ’s visit to the H5 page. Users share the field information corresponding to the H5 page and / or the user leaves the field information corresponding to the H5 page, and pre-processes the field information to obtain the target data, and displays the target data to fully grasp the H5 page spread. The communication effect of the event, monitoring the sharing destination of H5 pages, reading source, communication level, communication path map and mining KOL, analyzing the communication effect and promotion of POE (that is, paid media, own media, earned media), and analyzing the communication process The contribution and sharing flow of all participants in the media, make full use of the spread performance of the WeChat public account H5 page, and analyze more reasonable ROI media and KOL for advertisers.

請參閱第3圖,本發明實施例還提供了一種微信H5傳播監測分析裝置300,所述微信H5傳播監測分析裝置300包括處理器301和記憶體302,上述配置單元201、獲取單元202、解析單元203、確定單元204、同步單元205和展現單元206等均可以作為程式單元存儲在記憶體中,由處理器執行存儲在記憶體中的上述程式單元來實現相應的功 能。 Referring to FIG. 3, an embodiment of the present invention further provides a WeChat H5 propagation monitoring and analysis device 300. The WeChat H5 propagation monitoring and analysis device 300 includes a processor 301 and a memory 302. The above-mentioned configuration unit 201, acquisition unit 202, and analysis The unit 203, the determination unit 204, the synchronization unit 205, and the presentation unit 206 can be stored in the memory as program units, and the processor executes the above program units stored in the memory to implement corresponding functions.

處理器301中包含內核,由內核去記憶體中調取相應的程式單元。內核可以設置一個或以上,通過調整內核參數來對使用者資料進行更新。 The processor 301 includes a kernel, and the kernel retrieves a corresponding program unit from the memory. The kernel can set one or more, and update the user profile by adjusting the kernel parameters.

記憶體302可能包括電腦可讀介質中的非永久性記憶體,隨機存取記憶體(Random access memory,RAM)和/或非易失性記憶體等形式,如唯讀記憶體(Read-Only Memory,ROM)或快閃記憶體(flash RAM),記憶體包括至少一個存儲晶片。 The memory 302 may include non-permanent memory, random access memory (RAM), and / or non-volatile memory in a computer-readable medium, such as read-only memory. Memory (ROM) or flash RAM, the memory includes at least one memory chip.

本發明實施例提供了一種存儲介質,其上存儲有程式,該程式被處理器執行時實現所述微信H5傳播監測分析方法。 An embodiment of the present invention provides a storage medium on which a program is stored, and when the program is executed by a processor, the WeChat H5 propagation monitoring and analysis method is implemented.

本發明實施例提供了一種處理器,所述處理器用於運行程式,其中,所述程式運行時執行所述微信H5傳播監測分析方法。 An embodiment of the present invention provides a processor for running a program, wherein the WeChat H5 propagation monitoring and analysis method is executed when the program runs.

本發明實施例提供了一種設備,設備包括處理器、記憶體及存儲在記憶體上並可在處理器上運行的程式,處理器執行程式時實現以下步驟:獲取使用者操作H5頁面的操作日誌,所述H5頁面為添加監測代碼的網頁頁面,所述操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;對所述操作日誌進行分類解析,以得到目標欄位資訊,所述目標欄位資訊包括訪問日誌對應的欄位資訊、分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;根據所述目標欄位資訊確定目標資料,所述目標資料包括傳播屬性資料和/或使用者屬性資料;將所述目標資料進行展現。 An embodiment of the present invention provides a device. The device includes a processor, a memory, and a program stored on the memory and can run on the processor. When the processor executes the program, the following steps are implemented: obtaining an operation log of a user operating an H5 page The H5 page is a web page with a monitoring code added, the operation log is a log in the IIS format, and the operation log includes an access log, a share log, and / or a leave log; the operation log is classified and analyzed, and Obtain target field information, which includes field information corresponding to the access log, field information corresponding to the sharing log, and / or field information corresponding to the exit log; determining target data according to the target field information , The target data includes propagation attribute data and / or user attribute data; and the target data is displayed.

所述獲取使用者操作H5頁面的操作請求之前,還包括:配置推廣管道,所述推廣管道為H5頁面的微信公眾號;為所述H5頁面配置監測代碼。 Before the obtaining an operation request of the user to operate the H5 page, the method further includes: configuring a promotion channel, the WeChat public account of the H5 page; and configuring a monitoring code for the H5 page.

所述根據所述目標欄位信確定目標資料之後,還包括:將所述目標資料同步至目標資料表中,所述目標資料表 為關係型數據庫中的資料表,所述傳播屬性資料以及所述使用者屬性資料分別對應不同類型的資料表,所述關係型數據庫中保存有包括所述目標資料表在內的多個不同類型的資料表。 After determining the target data according to the target field letter, the method further includes: synchronizing the target data into a target data table, where the target data table is a data table in a relational database, the propagation attribute data, and all The user attribute data corresponds to different types of data tables, and the relational database stores a plurality of different types of data tables including the target data table.

所述將所述目標資料進行展現之前,還包括:接收展現請求;所述將所述目標資料進行展現包括:根據所述展現請求,從所述關係型數據庫中查詢出所述展現請求對應的資料進行展現。 Before displaying the target material, the method further includes: receiving a display request; and displaying the target material includes: querying, from the relational database, the display request corresponding to the display request according to the display request. Data for presentation.

所述獲取使用者操作H5頁面的操作日誌之後,所述方法還包括:將所述操作日誌存儲至日誌檔中。 After obtaining the operation log of the user operating the H5 page, the method further includes: storing the operation log in a log file.

本文中的設備可以是伺服器、PC、PAD、手機等。 The equipment in this article can be server, PC, PAD, mobile phone, etc.

本申請還提供了一種電腦程式產品,當在資料處理設備上執行時,適於執行初始化有如下方法步驟的程式:獲取使用者操作H5頁面的操作日誌,所述H5頁面為添加監測代碼的網頁頁面,所述操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;對所述操作日誌進行分類解析,以得到目標欄位資訊,所述目標欄位資訊包括訪問日誌對應的欄位資訊、分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;根據所述目標欄位資訊確定目標資料,所述目標資料包括傳播屬性資料和/或使用者屬性資料;將所述目標資料進行展現。 This application also provides a computer program product that, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: obtaining an operation log of a user operating an H5 page, which is a web page with a monitoring code added Page, the operation log is an IIS format log, and the operation log includes an access log, a sharing log, and / or a departure log; the operation log is classified and parsed to obtain target field information, and the target field The information includes field information corresponding to the access log, field information corresponding to the sharing log, and / or field information corresponding to the exit log; the target data is determined according to the target field information, and the target data includes propagation attribute data and / Or user attribute data; displaying the target data.

所述獲取使用者操作H5頁面的操作請求之前,還包括:配置推廣管道,所述推廣管道為H5頁面的微信公眾號;為所述H5頁面配置監測代碼。 Before the obtaining an operation request of the user to operate the H5 page, the method further includes: configuring a promotion channel, the WeChat public account of the H5 page; and configuring a monitoring code for the H5 page.

所述根據所述目標欄位信確定目標資料之後,還包括:將所述目標資料同步至目標資料表中,所述目標資料表為關係型數據庫中的資料表,所述傳播屬性資料以及所述使用者屬性資 料分別對應不同類型的資料表,所述關係型數據庫中保存有包括所述目標資料表在內的多個不同類型的資料表。 After determining the target data according to the target field letter, the method further includes: synchronizing the target data into a target data table, where the target data table is a data table in a relational database, the propagation attribute data, and all The user attribute data corresponds to different types of data tables, and the relational database stores a plurality of different types of data tables including the target data table.

所述將所述目標資料進行展現之前,還包括:接收展現請求;所述將所述目標資料進行展現包括:根據所述展現請求,從所述關係型數據庫中查詢出所述展現請求對應的資料進行展現。 Before displaying the target material, the method further includes: receiving a display request; and displaying the target material includes: querying, from the relational database, the display request corresponding to the display request according to the display request. Data for presentation.

所述獲取使用者操作H5頁面的操作日誌之後,所述方法還包括:將所述操作日誌存儲至日誌檔中。 After obtaining the operation log of the user operating the H5 page, the method further includes: storing the operation log in a log file.

本領域內的技術人員應明白,本申請的實施例可提供為方法、系統、或電腦程式產品。因此,本申請可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本申請可採用在一個或多個其中包含有電腦可用程式碼的電腦可用存儲介質(包括但不限於磁碟記憶體、CD-ROM(Compact Disc Read-Only Memory,CD-ROM,唯讀記憶光碟)、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system, or a computer program product. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application may use one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM (Compact Disc Read-Only Memory, CD-ROM, Memory disc), optical memory, etc.).

本申請是參照本申請實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得通過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。 This application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products in the embodiments of this application. It should be understood that each process and / or block in the flowchart and / or block diagram, and a combination of the process and / or block in the flowchart and / or block diagram may be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to generate a machine for instructions executed by the processor of the computer or other programmable data processing device Means are generated for implementing the functions specified in one or more of the flowcharts and / or one or more of the block diagrams.

這些電腦程式指令也可存儲在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得存儲在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定 的功能。 These computer program instructions can also be stored in computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured article including a command device The instruction device implements the functions specified in a flowchart or a plurality of processes and / or a block or a plurality of blocks in the block diagram.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。 These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operating steps can be performed on the computer or other programmable equipment to generate computer-implemented processing, and thus on the computer or other programmable equipment The instructions executed on the steps provide steps for implementing the functions specified in one or more of the flowcharts and / or one or more of the block diagrams.

在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。 In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

記憶體可能包括電腦可讀介質中的非永久性記憶體,隨機存取記憶體(RAM)和/或非易失性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。 Memory may include non-permanent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory ( flash RAM).

記憶體是電腦可讀介質的示例。 Memory is an example of a computer-readable medium.

電腦可讀介質包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊存儲。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的存儲介質的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電子抹除式可複寫唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學存儲、磁盒式磁帶,磁帶磁磁片存儲或其他磁性存放裝置或任何其他非傳輸介質,可用於存儲可以被計算設備訪問的資訊。按照本文中的界定,電腦可讀介質不包括暫存電腦可讀媒體(transitory media),如調製的資料信號和載波。 Computer-readable media includes permanent and non-permanent, removable and non-removable media. Information can be stored by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) , Read-only memory (ROM), electronic erasable rewritable read-only memory (EEPROM), flash memory or other memory technology, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape cartridges, magnetic tape storage or other magnetic storage devices, or any other non-transmission media, may be used to store information that can be accessed by computing devices. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個......”限定的要素,並不排除在包括要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the terms "including," "including," or any other variation thereof are intended to encompass non-exclusive inclusion, so that a process, method, product, or device that includes a range of elements includes not only those elements, but also Other elements not explicitly listed, or those that are inherent to such a process, method, product, or device. Without more restrictions, the elements defined by the sentence "including a ..." do not exclude the existence of other identical elements in the process, method, product or equipment including the elements.

本領域技術人員應明白,本申請的實施例可提供為方法、系統或電腦程式產品。因此,本申請可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本申請可採用在一個或多個其中包含有電腦可用程式碼的電腦可用存儲介質(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable code. .

以上僅為本申請的實施例而已,並不用於限制本申請。對於本領域技術人員來說,本申請可以有各種更改和變化。凡在本申請的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本申請的申請專利範圍之內。 The above are only examples of the present application and are not intended to limit the present application. For those skilled in the art, this application may have various modifications and changes. Any modification, equivalent replacement, or improvement made within the spirit and principle of this application shall be included in the scope of the patent application for this application.

Claims (8)

一種微信H5傳播監測分析方法,其特徵在於,包括:獲取使用者操作H5頁面的操作日誌,所述H5頁面為添加監測代碼的網頁頁面,所述操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;對所述操作日誌進行分類解析,以得到目標欄位資訊,所述目標欄位資訊包括訪問日誌對應的欄位資訊、分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;根據所述目標欄位資訊確定目標資料,所述目標資料包括傳播屬性資料和/或使用者屬性資料;將所述目標資料進行展現;其中,所述首次獲取使用者操作H5頁面的操作請求之前,所述方法還包括:配置推廣管道,其中,所述推廣管道為推廣所述H5頁面的微信公眾號,所述配置推廣管道包括創建監測專案,並為該監測專案添加推廣管道,從而為各推廣所述H5頁面的微信公眾號生成唯一的推廣連結;為所述H5頁面配置監測代碼。A WeChat H5 propagation monitoring analysis method, comprising: obtaining an operation log of a user operating an H5 page, the H5 page being a web page with a monitoring code added, the operation log being a log in the IIS format, and the operation The log includes an access log, a sharing log, and / or a departure log; the operation log is classified and analyzed to obtain target field information, and the target field information includes field information corresponding to the access log and field corresponding to the sharing log Information and / or corresponding field information in the exit log; determining target data according to the target field information, the target data including propagation attribute data and / or user attribute data; displaying the target data; wherein, Before the first operation request for the user to operate the H5 page is obtained, the method further includes: configuring a promotion channel, wherein the promotion channel is a WeChat public account that promotes the H5 page, and configuring the promotion channel includes creating a monitoring project , And add a promotion channel for this monitoring project, so as to promote the WeChat public account of each H5 page Unique promotional link; H5 configured to monitor the code page. 根據申請專利範圍第1項所述的方法,其中,所述根據所述目標欄位信確定目標資料之後,所述方法還包括:將所述目標資料同步至目標資料表中,所述目標資料表為關係型數據庫中的資料表,所述傳播屬性資料以及所述使用者屬性資料分別對應不同類型的資料表,所述關係型數據庫中保存有包括所述目標資料表在內的多個不同類型的資料表。The method according to item 1 of the scope of patent application, wherein after determining the target data according to the target field letter, the method further comprises: synchronizing the target data to a target data table, the target data The table is a data table in a relational database. The propagation attribute data and the user attribute data respectively correspond to different types of data tables. The relational database stores a plurality of different data including the target data table. Type of data sheet. 根據申請專利範圍第2項所述的方法,其中,所述將所述目標資料進行展現之前,所述方法還包括:接收展現請求;所述將所述目標資料進行展現包括:根據所述展現請求,從所述關係型數據庫中查詢出所述展現請求對應的資料進行展現。The method according to item 2 of the scope of patent application, wherein before the displaying of the target material, the method further comprises: receiving a display request; and displaying the target material includes: according to the display Request to query, from the relational database, materials corresponding to the display request for display. 根據申請專利範圍第1項所述的方法,其中,所述獲取使用者操作H5頁面的操作日誌之後,所述方法還包括:將所述操作日誌存儲至日誌檔中。The method according to item 1 of the scope of patent application, wherein after obtaining the operation log of the user operating the H5 page, the method further comprises: storing the operation log in a log file. 一種微信H5監測分析裝置,其特徵在於,包括:獲取單元,用於獲取使用者操作H5頁面的操作日誌,所述H5頁面為添加監測代碼的網頁頁面,所述操作日誌為IIS格式的日誌,且所述操作日誌包括訪問日誌、分享日誌和/或離開日誌;解析單元,用於對所述操作日誌進行分類解析,以得到目標欄位資訊,所述目標欄位資訊包括訪問日誌對應的欄位資訊、分享日誌對應的欄位資訊和/或離開日誌中對應的欄位資訊;確定單元,用於根據所述目標欄位資訊確定目標資料,所述目標資料包括傳播屬性資料和/或使用者屬性資料;展現單元,用於將所述目標資料進行展現;其中,所述裝置還包括:配置單元,用於配置推廣管道,其中,所述推廣管道為推廣所述H5頁面的微信公眾號,所述配置推廣管道包括創建監測專案,並為該監測專案添加推廣管道,從而為各推廣所述H5頁面的微信公眾號生成唯一的推廣連結;所述配置單元還用於在所述H5頁面添加監測代碼。A WeChat H5 monitoring and analysis device, comprising: an obtaining unit for obtaining an operation log of a user operating an H5 page, wherein the H5 page is a web page with a monitoring code added, and the operation log is a log in the IIS format, In addition, the operation log includes an access log, a share log, and / or a departure log; a parsing unit is configured to classify and parse the operation log to obtain target field information, and the target field information includes fields corresponding to the access log Bit information, field information corresponding to the sharing log, and / or field information corresponding to the leaving log; a determining unit, configured to determine target data according to the target field information, the target data including propagation attribute data and / or use Attribute data; a display unit for displaying the target data; wherein the device further includes: a configuration unit for configuring a promotion channel, wherein the promotion channel is a WeChat public account that promotes the H5 page , The configuration promotion channel includes creating a monitoring project, and adding a promotion channel to the monitoring project, so as to promote He said micro-channel public H5 page number generated unique promotional link; the configuration unit is further configured to monitor the code page to add the H5. 根據申請專利範圍第5項所述的裝置,其中,所述裝置還包括:同步單元,用於將所述目標資料同步至目標資料表中,所述目標資料表為關係型數據庫中的資料表,所述傳播屬性資料以及所述使用者屬性資料分別對應不同類型的資料表,所述關係型數據庫中保存有包括所述目標資料表在內的多個不同類型的資料表。The device according to item 5 of the scope of patent application, wherein the device further comprises: a synchronization unit configured to synchronize the target data to a target data table, where the target data table is a data table in a relational database The propagation attribute data and the user attribute data respectively correspond to different types of data tables, and the relational database stores a plurality of different types of data tables including the target data table. 一種處理器,其特徵在於,所述處理器用於運行電腦程式,所述電腦程式運行時執行如申請專利範圍第1至4項中任一項所述方法。A processor is characterized in that the processor is used to run a computer program, and when the computer program runs, the method according to any one of claims 1 to 4 of the scope of patent application is executed. 一種電腦可讀存儲介質,其上存儲有電腦程式,其特徵在於:所述電腦程式被處理器執行時實現如申請專利範圍第1至4項中任一項所述方法的步驟。A computer-readable storage medium having stored thereon a computer program, characterized in that when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 of the scope of patent application are implemented.
TW107134471A 2017-10-09 2018-09-28 WeChat H5 propagation monitoring analysis method and related equipment TWI680657B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710934493.X 2017-10-09
CN201710934493.XA CN109639559A (en) 2017-10-09 2017-10-09 A kind of wechat H5 propagates method for monitoring and analyzing and relevant device
??201710934493.X 2017-10-09

Publications (2)

Publication Number Publication Date
TW201924282A TW201924282A (en) 2019-06-16
TWI680657B true TWI680657B (en) 2019-12-21

Family

ID=66051164

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107134471A TWI680657B (en) 2017-10-09 2018-09-28 WeChat H5 propagation monitoring analysis method and related equipment

Country Status (2)

Country Link
CN (1) CN109639559A (en)
TW (1) TWI680657B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579594A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Method and device for acquiring shared link
CN112422345A (en) * 2020-11-18 2021-02-26 青岛海尔科技有限公司 Log transmission method and device, storage medium and electronic device
CN113111367A (en) * 2021-04-28 2021-07-13 北京天空卫士网络安全技术有限公司 Security information management method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001856A (en) * 2012-12-05 2013-03-27 华为软件技术有限公司 Information sharing method and system and instant messaging (IM) client and server
CN105930363A (en) * 2016-04-12 2016-09-07 深圳云之家网络有限公司 HTML5 webpage based user behavior analysis method and device
CN107528707A (en) * 2016-06-21 2017-12-29 天脉聚源(北京)科技有限公司 A kind of method and system for managing wechat public number concern user

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9633131B2 (en) * 2014-03-11 2017-04-25 Cisco Technology, Inc. HTML network service tags used with web browsers for controlling network elements
CN104992117B (en) * 2015-06-16 2018-04-13 北京航空航天大学 The anomaly detection method and behavior model method for building up of HTML5 mobile applications
CN106534229A (en) * 2015-09-10 2017-03-22 周强 HTML5 activity platform
CN106953740B (en) * 2017-01-24 2020-07-03 阿里巴巴集团控股有限公司 Processing method, client, server and system for page access data in application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001856A (en) * 2012-12-05 2013-03-27 华为软件技术有限公司 Information sharing method and system and instant messaging (IM) client and server
CN105930363A (en) * 2016-04-12 2016-09-07 深圳云之家网络有限公司 HTML5 webpage based user behavior analysis method and device
CN107528707A (en) * 2016-06-21 2017-12-29 天脉聚源(北京)科技有限公司 A kind of method and system for managing wechat public number concern user

Also Published As

Publication number Publication date
CN109639559A (en) 2019-04-16
TW201924282A (en) 2019-06-16

Similar Documents

Publication Publication Date Title
US10924574B2 (en) Systems and methods for managing loading priority or sequencing of fragments of a web object
JP6131278B2 (en) Providing content to users across multiple devices
US20140281918A1 (en) Systems and methods for configuration-based optimization by an intermediary
US20150324189A1 (en) System and method for a user to dynamically update a mobile application from a generic or first application within a class of applications to create a specific or second application with said class of applications
US20220091958A1 (en) Systems and methods for governing client-side services
TWI680657B (en) WeChat H5 propagation monitoring analysis method and related equipment
WO2018210122A1 (en) Media information pushing method and device and storage medium
US11687980B2 (en) Method of operating a server and a user terminal for providing advertisement information, and apparatus thereof
US11768904B1 (en) Resource view data collection
WO2011119438A2 (en) Detecting virality paths and supporting referral monetization
TW201335773A (en) Method and device for determining page elements in a webpage
WO2016039783A1 (en) Auditing of web-based video
CN106648688B (en) Information display method and device
US9813260B1 (en) In-message applications in a messaging platform
US20080281754A1 (en) Systems and methods for facilitating affiliate-based transactions
TW201516938A (en) User information classification method and apparatus, and user group information acquisition method and apparatus
JP6377848B2 (en) Application install conversion and identification
CN106621332B (en) Data request detection method and device
Andersson et al. Mobile e-services using HTML5
US20190297143A1 (en) Coordinating sections of a webpage using automatic communications
US20180204270A1 (en) Method, Apparatus, and System for Data Object Information Processing
KR20130117640A (en) Systems and methods for acquiring a captive customer base within a cloud environment
US9430779B1 (en) Determining visual attributes of content items
US20190095948A1 (en) Promotion compliance systems and methods
Giang et al. Cross domain communication in the web of things: a new context for the old problem

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees