CN110275811A - A kind of method of mobile terminal H5 application behavior monitoring - Google Patents

A kind of method of mobile terminal H5 application behavior monitoring Download PDF

Info

Publication number
CN110275811A
CN110275811A CN201910439183.XA CN201910439183A CN110275811A CN 110275811 A CN110275811 A CN 110275811A CN 201910439183 A CN201910439183 A CN 201910439183A CN 110275811 A CN110275811 A CN 110275811A
Authority
CN
China
Prior art keywords
mobile terminal
application
server
behavior monitoring
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910439183.XA
Other languages
Chinese (zh)
Inventor
赵洪巍
王伟
桂艳峰
陈电波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uusafe Co Ltd
Original Assignee
Uusafe 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 Uusafe Co Ltd filed Critical Uusafe Co Ltd
Priority to CN201910439183.XA priority Critical patent/CN110275811A/en
Publication of CN110275811A publication Critical patent/CN110275811A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44584Portable applications, i.e. making applications self-contained, e.g. U3 standard

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of methods of mobile terminal H5 application behavior monitoring, comprising the following steps: step 1 creates in server-side and pushes H5 and is applied to mobile terminal;Step 2 issues the instruction for opening behavior monitoring to mobile terminal, so that server-side is started behavior monitoring and receives the data that mobile terminal reports;Step 3 installs H5 application in mobile terminal, starts H5 to user;Step 4, H5 are applied with a new process initiation, are isolated with other H5 application;The javascript code that H5 is intercepted before being loaded H5 application by general mobile terminal Web engine injects, and then loads H5 application;Step 5, when user triggers opposite monitoring point, monitor event information is recorded and reports server-side by triggering inserting code.The present invention is not that H5 developer oneself is monitored collection, realizes that platform collects user using the information of H5;Reduce maintenance cost;Reduce development difficulty.

Description

A kind of method of mobile terminal H5 application behavior monitoring
Technical field
The invention belongs to mobile application management domains, and in particular to a kind of method of mobile terminal H5 application behavior monitoring.
Background technique
Mobile terminal application gradually turns to more light-weighted H5 by native applications and applies, so that the development cost of enterprise is reduced, But it as the degree of enterprise's application and public use H5 gradually increases and the continuous expansion of scope of the enterprise and personnel, uses User's is continuously increased.The high double challenge for obtaining objective cost and high turnover rate of numerous industry faces, how precise positioning Obtain objective channel.Fortune pipe how is refined, enterprise staff is managed, excavate bigger customer value? how by data realization is seen clearly Does business increase? how your employee and client are effectively understood? it is just needed at this time through user behavior analysis to be by these numbers According to being counted, being analyzed, the rule used the product by the user, and the marketing strategy by these rules with website, product are therefrom found Function, migration efficiency combine, in discovery marketing, product and operation there may be the problem of, solving these problems can optimize User experience realizes finer and accurately operation and marketing, allows product to obtain and preferably increases.
Chinese invention patent publication number CN108471376A discloses a kind of data processing method, apparatus and system, belongs to Data processing field.The described method includes: the application sharing event and apply reflux episodes that third-party analysis SDK is reported are received, Webpage is obtained in the social reflux conversion ratio shared on channel with application reflux episodes according to application sharing event.Due to The social channel mark for sharing channel is set in the URL of Webpage, is integrated in third-party analysis SDK in Webpage not only Can be reported to server using sharing event when Webpage is shared, additionally it is possible to when Webpage is refluxed access from Channel mark is got in the URL of Webpage, and then reports the application reflux episodes for carrying channel mark to server, is made Server can apply H5 and share being monitored in channel using reflux episodes social, improve to splitting glass opaque into The comprehensive and accuracy of line trace and monitoring.
However above-mentioned technical proposal, it is to need H5 itself to integrate SDK to carry out carry out behavior monitoring, for not being this public affairs The H5 of department's exploitation does not just accomplish behavior monitoring.
Summary of the invention
For overcome the deficiencies in the prior art, a kind of method that the present invention proposes mobile terminal H5 application behavior monitoring, effectively Solve problems.
The present invention to achieve the above object, is implemented with the following technical solutions:
A kind of method of mobile terminal H5 application behavior monitoring, comprising the following steps:
Step 1 creates in server-side and pushes H5 and is applied to mobile terminal;
Step 2 issues the instruction for opening behavior monitoring to mobile terminal, so that server-side is started behavior monitoring and receives mobile terminal The data reported;
Step 3 installs H5 application in mobile terminal, starts H5 to user;
Step 4, H5 are applied with a new process initiation, are isolated with other H5 application;Pass through mobile terminal Web engine The javascript code that H5 is intercepted before H5 application is loaded injects, and then loads H5 application;
Step 5, when user triggers opposite monitoring point, monitor event information is recorded and reports clothes by triggering inserting code Business end.
Compared with prior art, the present invention have the following advantages that and the utility model has the advantages that the present invention from mobile platform level carry out Monitoring to H5, rather than H5 developer oneself is monitored collection, then realizes that platform collects user using the information of H5;It can Multiple H5 application is monitored simultaneously;Meet cross-platform, reduces maintenance cost;Js injecting scheme based on Web engine, more Suitable for mobile Development person, does not need to use Js as main development language, reduce development difficulty.
Detailed description of the invention
Fig. 1 is the principle of the present invention schematic diagram;
Fig. 2 is server workflow figure of the invention;
Fig. 3 is mobile terminal work flow diagram of the invention.
Specific embodiment
The present invention is described in further detail below with reference to embodiment, embodiments of the present invention are not limited thereto.
The present invention provides a kind of one-stop convenient and simple H5 user behavior detection scheme, can be easy to be nested in H5 mixed In conjunction application and in portal application, SDK is carried out without H5 developer and integrates and develops.Other technical solutions on the market are Need H5 itself integrate SDK could carry out carry out behavior monitoring, for not be our company exploitation H5 do not accomplish behavior monitoring, So the advantage of this scheme carries out SDK access without the developer of H5, it is collected behavioural information from platform angle, for Arbitrary H5 can be monitored, and significantly increase the compatibility and scalability of platform, reduce enterprise development cost and Maintenance cost.
Embodiment:
As shown in Figure 1, a kind of method of mobile terminal H5 application behavior monitoring, comprising the following steps:
S1, it is created in server-side and pushes H5 and be applied to mobile terminal;
S2, the instruction for opening behavior monitoring is issued to mobile terminal, so that server-side is started behavior monitoring and receive on mobile terminal The data of report;
S3, H5 application is installed in mobile terminal, starts H5 to user;
S4, H5 are applied with a new process initiation, are isolated with other H5 application;Pass through general mobile terminal Web Engine intercepts H5 javascript code before being loaded H5 application injects, and then loads H5 application;
S5, when user triggers opposite monitoring point, monitor event information is recorded and reports service by triggering inserting code End.
As shown in Fig. 2, server workflow is as follows:
F1, initial configuration is carried out in application starting, URL is accessed by the other side that server-side provides settable H5 application And related names information etc..
F2, related setting information and resource file are generated into compressed package files, that is, H5 Apk file.
F3, the online connection in mobile terminal is waited, needs to push correlation H5 application according to user.
F4, administrator are as needed, and triggering, which opens also to can trigger the behavior monitoring that H5 is applied, closes monitoring.
The monitoring information that F5, server-side wait mobile terminal to report, and store into database.
F6, to storage information, carry out the processing analysis of data, and need to carry out fusion treatment according to business and show.
As shown in figure 3, mobile terminal workflow is as follows:
Y1, mobile terminal application starting, establish connection with server-side, then receive H5 and apply and install.
Y2, need to start H5 application according to user, H5 is applied with a new process initiation, it is therefore an objective to carry out H5 isolation.
When Y3, H5 application starting, whether need to open behavior monitoring according to the application that server-side configures, if opening It will continue step Y4, if you do not need to thening follow the steps Y8.
The interception of Y4, initialization to the correlation function of Web engine, such as onPageFinished etc..
Y5, as the Url of Web engine load H5, be triggered to that the similar page load such as onPageFinished terminates connecing Mouthful.
Y6, in onPageFinished method, in generation, is injected by the local javascript of the method for loadUrl load Code.
Y7, it completes when injection, Web engine can execute the code of injection, then this operates in the code in javascript It will be performed, into javascript running environment.
The local javascript program in machine code of Y8, operation will traverse the label of full page, on interface Control setting click event readjustment, that is, pull back to physical layer interface.
Y9, H5 page are supplied to user's use by Web engine normal load.
Y10, when user interface, be triggered to be provided with monitor readjustment control when, then carry out event interface Readjustment.
Y11, event interface pull back to the running environment of bottom mobile platform, enter and leave parameter according to interface, obtain the control Information and control on content.
Y12, the control information that will be collected into, are stored, and are arranged, and are packaged the operation such as upload, are completed primary letter with regard to this The acquisition of breath.
The above is only presently preferred embodiments of the present invention, not does limitation in any form to the present invention, it is all according to According to technical spirit any simple modification to the above embodiments of the invention, equivalent variations, protection of the invention is each fallen within Within the scope of.

Claims (5)

1. a kind of method of mobile terminal H5 application behavior monitoring, which comprises the following steps:
Step 1 creates in server-side and pushes H5 and is applied to mobile terminal;
Step 2 issues the instruction for opening behavior monitoring to mobile terminal, makes server-side start behavior monitoring and receive mobile terminal to report Data;
Step 3 installs H5 application in mobile terminal, starts H5 to user;
Step 4, H5 are applied with a new process initiation, are isolated with other H5 application;By mobile terminal Web engine by H5 It is injected using the javascript code for intercepting H5 before being loaded, then loads H5 application;
Step 5, when user triggers opposite monitoring point, monitor event information is recorded and reports server-side by triggering inserting code.
2. a kind of method of mobile terminal H5 application behavior monitoring according to claim 1, which is characterized in that the server-side Workflow it is as follows:
F1, initial configuration is carried out when H5 application starts, the other side that H5 is applied is arranged by server-side and accesses URL and correlation name Claim information;
F2, related setting information and resource file are generated into a compressed package files;
F3, the online connection in mobile terminal is waited, needs to push correlation H5 application according to user;
F4, as needed triggering, which are opened, closes monitoring to the H5 behavior monitoring applied or triggering;
F5, server-side receive the monitoring information that mobile terminal reports, and store into database;
F6, the processing for carrying out data to the monitoring information reported are analyzed, and need to carry out fusion treatment according to business and open up Show.
3. a kind of method of mobile terminal H5 application behavior monitoring according to claim 2, which is characterized in that the compressed package File is the Apk file of H5.
4. a kind of method of mobile terminal H5 application behavior monitoring according to claim 1, which is characterized in that the mobile terminal Workflow is as follows:
Y1, mobile terminal application starting, establish connection with server-side, then receive H5 and apply and install;
Y2, need to start H5 application according to user, H5 is applied with a new process initiation;
When Y3, H5 application starting, according to server-side configuration determination, whether the application needs to open behavior monitoring, will if opening Continue step Y4, if you do not need to thening follow the steps Y8;
The interception of Y4, initialization to the correlation function of Web engine;
Y5, when Web engine load H5 Url when, triggering the page load terminate interface;
Y6, in the method intercepted, pass through the local javascript injecting codes of the method for loadUrl load;
Y7, it completes when injection, Web engine executes the code of injection, into javascript running environment;
The local javascript program in machine code of Y8, operation traverses the label of full page, sets to the control on interface The readjustment for setting click event, that is, pull back to physical layer interface;
Y9, H5 page are supplied to user's use by Web engine normal load;
Y10, when user interface, be triggered to be provided with monitor readjustment control when, carry out the readjustment of event interface;
Y11, event interface pull back to the running environment of bottom mobile platform, enter and leave parameter according to interface, obtain the letter of the control Content on breath and control;
Y12, the control information being collected into is stored, is arranged, and being uploaded to server.
5. a kind of method of mobile terminal H5 application behavior monitoring according to claim 4, which is characterized in that the correlation letter Number is onPageFinished.
CN201910439183.XA 2019-05-24 2019-05-24 A kind of method of mobile terminal H5 application behavior monitoring Pending CN110275811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910439183.XA CN110275811A (en) 2019-05-24 2019-05-24 A kind of method of mobile terminal H5 application behavior monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910439183.XA CN110275811A (en) 2019-05-24 2019-05-24 A kind of method of mobile terminal H5 application behavior monitoring

Publications (1)

Publication Number Publication Date
CN110275811A true CN110275811A (en) 2019-09-24

Family

ID=67960223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910439183.XA Pending CN110275811A (en) 2019-05-24 2019-05-24 A kind of method of mobile terminal H5 application behavior monitoring

Country Status (1)

Country Link
CN (1) CN110275811A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198797A (en) * 2019-12-27 2020-05-26 华为技术有限公司 Operation monitoring method and device and operation analysis method and device
CN111966744A (en) * 2020-10-21 2020-11-20 太平金融科技服务(上海)有限公司 Workflow deployment method and device, computer equipment and storage medium
CN113220403A (en) * 2021-05-29 2021-08-06 长沙市到家悠享家政服务有限公司 Method and device for h5 intercepting Android return event and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140107886A1 (en) * 2012-10-11 2014-04-17 Automatic Labs, Inc. System to View Automobile Diagnostic Information
CN107566200A (en) * 2016-06-30 2018-01-09 阿里巴巴集团控股有限公司 A kind of monitoring method, apparatus and system
CN107864066A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Offline H5 pages monitoring method, device, equipment and readable storage medium storing program for executing
CN108628747A (en) * 2018-05-09 2018-10-09 深圳壹账通智能科技有限公司 H5 application testing methods, device, computer equipment and storage medium
US20180300008A1 (en) * 2017-04-05 2018-10-18 Wayne Rasanen Assistive text-entry system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140107886A1 (en) * 2012-10-11 2014-04-17 Automatic Labs, Inc. System to View Automobile Diagnostic Information
CN107566200A (en) * 2016-06-30 2018-01-09 阿里巴巴集团控股有限公司 A kind of monitoring method, apparatus and system
US20180300008A1 (en) * 2017-04-05 2018-10-18 Wayne Rasanen Assistive text-entry system and method
CN107864066A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Offline H5 pages monitoring method, device, equipment and readable storage medium storing program for executing
CN108628747A (en) * 2018-05-09 2018-10-09 深圳壹账通智能科技有限公司 H5 application testing methods, device, computer equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198797A (en) * 2019-12-27 2020-05-26 华为技术有限公司 Operation monitoring method and device and operation analysis method and device
CN111198797B (en) * 2019-12-27 2021-12-31 华为技术有限公司 Operation monitoring method and device and operation analysis method and device
CN111966744A (en) * 2020-10-21 2020-11-20 太平金融科技服务(上海)有限公司 Workflow deployment method and device, computer equipment and storage medium
CN111966744B (en) * 2020-10-21 2021-01-15 太平金融科技服务(上海)有限公司 Workflow deployment method and device, computer equipment and storage medium
CN113220403A (en) * 2021-05-29 2021-08-06 长沙市到家悠享家政服务有限公司 Method and device for h5 intercepting Android return event and electronic equipment

Similar Documents

Publication Publication Date Title
CN106445484B (en) The method and system of data tracking are realized by Software Development Kit
CN110275811A (en) A kind of method of mobile terminal H5 application behavior monitoring
CN104899016B (en) Allocating stack Relation acquisition method and device
CN103631699A (en) Log management system and method for log monitoring, acquiring and querying
CN109739725A (en) Monitoring method, device and system based on browser and storage medium
CN105989074A (en) Method and device for recommending cold start through mobile equipment information
CN109936621A (en) Multi-page information push method, device, equipment and the storage medium of information security
US20110040805A1 (en) Techniques for parallel business intelligence evaluation and management
CN111866158B (en) Routing method, routing device, computer equipment and storage medium
CN105530265A (en) Mobile Internet malicious application detection method based on frequent itemset description
CN107360155A (en) A kind of automatic source tracing method of network attack and system based on threat information and sandbox technology
CN107291956B (en) The system and method for record information is searched in a kind of quick search website
CN105721519B (en) A kind of webpage data acquiring method, apparatus and system
CN201114128Y (en) Enterprise search engine device
CN101931525B (en) Information security management resource positioning method and system
US20120078967A1 (en) Integration of a Framework Application and a Task Database
Wan et al. Research on key success factors model for innovation application of Internet of Things with grounded theory
CN106528682A (en) Big-data text mining system of call center
CN115277835A (en) Information pushing method and device, storage medium and electronic equipment
CN103377207B (en) Microblog users relation acquisition method based on script engine
CN109308310A (en) A kind of subsystem data interconnection processing method for asset management platform
CN104933623A (en) Mechanical non-standard component design service platform
CN111124610B (en) Application program calling method, device and storage medium in application container
US11949639B2 (en) Intelligent management of hero cards that display contextual information and actions for backend systems
CN102184175A (en) Method used for analyzing sex of accessor in network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190924