CN104902432B - The method and apparatus for generating the log of mobile terminal application operating - Google Patents

The method and apparatus for generating the log of mobile terminal application operating Download PDF

Info

Publication number
CN104902432B
CN104902432B CN201510303225.9A CN201510303225A CN104902432B CN 104902432 B CN104902432 B CN 104902432B CN 201510303225 A CN201510303225 A CN 201510303225A CN 104902432 B CN104902432 B CN 104902432B
Authority
CN
China
Prior art keywords
mobile terminal
interface
call request
log
server
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.)
Active
Application number
CN201510303225.9A
Other languages
Chinese (zh)
Other versions
CN104902432A (en
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201510303225.9A priority Critical patent/CN104902432B/en
Publication of CN104902432A publication Critical patent/CN104902432A/en
Application granted granted Critical
Publication of CN104902432B publication Critical patent/CN104902432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides the methods for generating mobile terminal application operating record and corresponding server and mobile terminal.A kind of method of the generations mobile terminal application operating record executed by server includes: from the interface call request that issues in response to its user to the operation of application of one or more mobile terminals reception, and the interface call request includes the identifier of mobile terminal;The interface call request is recorded according to server time, interface is formed and calls log;And call log to export the application operating log of each mobile terminal according to the interface, wherein the server time of the interface call request will be recorded in the application operating log as the time of the respective application of mobile terminal execution operation.

Description

The method and apparatus for generating the log of mobile terminal application operating
Technical field
The present invention relates to the methods and apparatus for generating the log of mobile terminal application operating.
Background technique
With wireless communication technique be constantly progressive and the appearance of mobile Internet, such as mobile phone, can be worn tablet computer The mobile terminal for wearing smart machine has become work, indispensable a part in life.In order to enable mobile terminal band Carry out bigger convenience, had already appeared a large amount of mobile terminal application, these applications almost cover each side of human lives Face.
Application developer needs to obtain the application operating record of mobile terminal.Currently, mainly using mobile terminal reporting The mode of operation log realizes this point.Specifically, referring to Fig. 1, user opens in mobile terminal and applies, every once to be grasped Make that an operation note log will be generated in mobile terminal, wherein the write time of operation note log uses mobile whole The time at end.Hereafter, the operation note log of generation can be by mobile terminal reporting to server.
The above operation note acquisition modes have the disadvantage in that
1. the time of mobile terminal can be arbitrarily arranged by user, lead to time and user's actual operating time in log It is inconsistent, so that there is error and dirty data in statistics;
2. report dependent on mobile terminal, if occurred during reporting, network is obstructed or communication failure, can go out The case where now reporting failure or delay, will cause shortage of data;And
3. above-mentioned log reports and will use family and spend additional network flow.
Summary of the invention
In order to solve at least one of disadvantages mentioned above existing in the prior art, proposes following generation mobile terminal and answer With the method for operation log and corresponding server and mobile terminal.
According to the first aspect of the invention, a kind of generation mobile terminal application operating log executed by server is provided Method.The operation of application is issued in response to its user the described method includes: being received from one or more mobile terminals Interface call request, the interface call request include the identifier of mobile terminal;According to server time to the interface tune It is recorded with request, forms interface and call log;And log is called to export answering for each mobile terminal according to the interface With operation log, wherein the server time of the interface call request will be recorded in the application operating log as the shifting The time for the respective application operation that dynamic terminal executes.
Preferably, the interface call request further include: the application operating count value of mobile terminal.
Preferably, the identifier of the mobile terminal and the application operating count value are spliced into a field and are inserted in institute It states in interface call request.
Preferably, it is described according to the interface call log export each mobile terminal application operating log include: from When the interface calls log to obtain the field in interface call request and record the server of the interface call request Between;The field in the interface call request is split into mobile terminal identifier and operation count value;And it will be described Server time is determined as being identified by the mobile terminal execution that mobile terminal identifier identifies by the application operating count value The real time of operation.
According to the second aspect of the invention, a kind of auxiliary generation mobile terminal application behaviour by mobile terminal execution is provided Make the method for log.The described method includes: receiving operation of the user to application execution;In response to the operation, sent out to server Send the interface call request including mobile terminal identifier.
Preferably, the interface call request further include: the application operating count value of mobile terminal.
According to the third aspect of the invention we, a kind of server is provided.The server includes: for from one or more Mobile terminal receives the device of the interface call request issued in response to its user to the operation of application, and the interface calling is asked Seek the identifier including mobile terminal;Interface tune is formed for carrying out record to the interface call request according to server time With the device of log;And the dress of the application operating log for exporting each mobile terminal according to interface calling log It sets, wherein holding the server time for recording the interface call request as the mobile terminal in the application operating log The time of capable respective application operation.
According to the fourth aspect of the invention, a kind of mobile terminal is provided.The mobile terminal includes: for receiving user To the device of the operation of application execution;And for sending in response to described operate to server including mobile terminal identifier The device of interface call request.
Above-mentioned various aspects through the invention uniformly can record application operating using server time, and subtract Lack and reported process, reduce error present in operation note and has avoided shortage of data caused by as reporting fault, And it can more efficiently utilize Internet resources.
Detailed description of the invention
Fig. 1 shows the generation mobile terminal application operating day executed by server according to an embodiment of the present The method of will;
Fig. 2 shows the auxiliary by mobile terminal execution according to an embodiment of the present to generate mobile terminal application The flow chart of the method for operation log;
Fig. 3 shows the structural block diagram of server according to an embodiment of the present;
Fig. 4 shows the structural block diagram of mobile terminal according to an embodiment of the present;And
Fig. 5 shows the detailed of the method for generation mobile terminal application operating log according to an embodiment of the present Process.
Specific embodiment
The present invention is specifically described below with reference to attached drawing.
Firstly, it is mobile that Fig. 1 shows the generation executed by server according to an embodiment of the present referring to Fig. 1 The flow chart of the method 100 of terminal applies operation log.
As shown, method 100 originates in step S110, receive from one or more mobile terminals in response to its user couple The operation of application and the interface call request issued, the interface call request includes the identifier of mobile terminal.Then, in step In rapid S120, the interface call request is recorded according to server time, interface is formed and calls log.Then, in step In rapid S130, the application operating log of each mobile terminal is exported according to interface calling log, wherein the application operating The server time for recording the interface call request is operated as the respective application of the mobile terminal execution in log Time.
In step s 110, server is first from mobile terminal receiving interface call request, the interface call request by User triggers the operation that application carries out in mobile terminal, and includes the mark of mobile terminal in the interface call request Symbol.Server can be equipped with mobile terminal receiving interface call request that is application or having subscribed related service from all.? In the interface call request include mobile terminal identifier can different interface call requests respectively with corresponding shifting Dynamic terminal is associated, to be subsequently used to produce the application operating log for each mobile terminal.
The interface call request may also include application operating count value.The application operating count value is somebody's turn to do for identifying to send The number that application has been operated on the mobile terminal of interface call request.The application operating count value is by transmission interface The mobile terminal of call request is arranged, default value 0, and its primary value of every request adds one.It in another embodiment, can be with It is respectively that the application operating count value is arranged in each mobile terminal by server.
Preferably, the identifier of the mobile terminal field can be spliced into the application operating count value to insert Enter in the interface call request.For example, underscore (or other characters, or pass through end to end mode) can be passed through Mobile terminal identifier and application operating count value are combined into a new identifier, and needing to extract mobile terminal mark Used pre-defined rule is split it when knowing symbol according to combination.
In the step s 120, server records received interface call request according to server time, shape Log is called at interface.
In this step, server records the total interface call request received, forms corresponding interface tune Use log.The interface, which calls, includes at least server time and movement corresponding with each interface call request eventually in log Hold identifier.It preferably, further include the application operating count value in the log.
In this step, forming interface and calling log includes calling log to be updated and generate newly existing interface Interface call log.
In this step, server also may be selected data returning to mobile terminal.
In step s 130, mobile terminal identifier described in server by utilizing, which is indexed from the interface, calls log to mention Corresponding journal entries are taken out, the application operating log of each mobile terminal is formed.It is formed by application operating log, will remember Record the time that the server time of the interface call request is operated as the respective application of the mobile terminal execution.
By the identifier of the mobile terminal and the application operating count value be spliced into a field be inserted in it is described In the case where in interface call request, when needing to call log to form application operating log from interface, need to being spliced into Field split.Specifically, the application operating log can be generated as follows: calling log from the interface It obtains the field in interface call request and records the server time of the interface call request;The interface is called The field in request splits into mobile terminal identifier and operation count value;And by the server time be determined as by The real time for the operation that the mobile terminal execution of mobile terminal identifier mark is identified by the application operating count value.
It is answered in the following, describing the auxiliary according to an embodiment of the present invention by mobile terminal execution referring to Fig. 2 and generating mobile terminal With the method 200 of operation note.As shown, method 200 originates in step S210, operation of the user to application execution is received. Then, in S220, in response to the operation, the interface call request including mobile terminal identifier is sent to server.
In step S210, mobile terminal receives the operation that user carries out, i.e., is carried out by the operation to mobile terminal Triggering.This can be realized by each sensor (such as touch screen, volume adjustment etc.) on mobile terminal.
In a step 220, in response to the operation (be based on the triggering), mobile terminal is to server transmission interface tune With request.
It include mobile terminal identifier in the request.The mobile terminal identifier can different requests respectively with Corresponding mobile terminal is associated, for recording respectively to the application operating from each mobile terminal.
After the interface call request is received by server, for executing each step of method shown in FIG. 1 by server Suddenly, details are not described herein for content.
Fig. 3 shows the structural block diagram of server 300 according to an embodiment of the present.As shown, the service Device 300, comprising: reception device 310, interface please use log generating means 320 and application operating log generating means 330.It is described Reception device 310 is used to receive the interface tune for issuing the operation of application in response to its user from one or more mobile terminals With request, the interface call request includes the identifier of mobile terminal.The interface please be used for root with log generating means 320 Record is carried out to the interface call request according to server time and forms interface calling log.The application operating log generates dress The 330 application operating log for calling log to export each mobile terminal according to the interface is set, wherein the application operating The server time for recording the interface call request is operated as the respective application of the mobile terminal execution in log Time.
Fig. 4 shows the structural block diagram of mobile terminal 400 according to an embodiment of the present.As shown, the shifting Dynamic terminal 400 includes operation reception device 410 and sending device 420.The operation reception device 410 is corresponding for receiving user With the operation of execution.The sending device 420 is used to send in response to described operate to server including mobile terminal identifier Interface call request.
A kind of specific reality according to the present invention executed referring to Fig. 5 description by above-mentioned server and mobile terminal cooperation Apply the detailed process of the method for the generation mobile terminal application operating log of example.As shown,
Firstly, mobile client (i.e. mobile terminal) receives operation of the user to application execution;
Then, mobile client is asked in response to described operate to the interface calling that server transmission includes SendID parameter It asks, wherein the SendID parameter is that uniquely, SendID=is operated every time from increasing ID_ mobile client for mobile client String number, wherein increasing ID corresponds to application operating count value certainly for operation every time, mobile client string number corresponds to mobile terminal identification Symbol;
Correspondingly, server receives the interface call request from mobile terminal, then according to server time to institute It states interface call request to be recorded, forms interface and call log;
Finally, server calls log to export application operating log using SendID parameter from the interface.
Above-mentioned specific embodiment through the invention uniformly can record application operating using server time, and And reduces and report process, reduce error present in operation note and avoid data caused by as reporting fault and is scarce It loses, and can more efficiently utilize Internet resources.
Although having been combined the preferred embodiment of the present invention above shows the present invention, those skilled in the art will It will be appreciated that without departing from the spirit and scope of the present invention, can carry out various modifications, replace and change to the present invention Become.Therefore, the present invention should not be limited by above-described embodiment, and should be limited by appended claims and its equivalent.

Claims (4)

1. a kind of method of the generation mobile terminal application operating log executed by server, comprising:
The interface call request issued in response to its user to the operation of application is received from one or more mobile terminals, it is described Interface call request includes the identifier of mobile terminal and the field that the application operating count value of the mobile terminal is spliced into;
The interface call request is recorded according to server time, interface is formed and calls log;
It calls log to obtain the field from the interface and records the server time of the interface call request;
The field in the interface call request is split into mobile terminal identifier and operation count value;And
The mobile terminal execution that the server time is determined as being identified by mobile terminal identifier is by the application operating meter The real time of the operation of numerical identity.
2. a kind of method for generating the log of mobile terminal application operating by the auxiliary of mobile terminal execution, comprising:
Receive operation of the user to application execution;
In response to the operation, the application operating including mobile terminal identifier and the mobile terminal is sent to server and is counted The interface call request of value, so that the server records the interface call request according to server time, shape Log is called at interface, and according to the application operating count value for the mobile terminal for calling log export to obtain from the interface The field that is spliced into and the server time for recording the interface call request, by the word in the interface call request Section splits into mobile terminal identifier and operation count value and the server time is determined as by mobile terminal identifier The real time for the operation that the mobile terminal execution of mark is identified by the application operating count value.
3. a kind of server, comprising:
Reception device, for receiving the interface issued in response to its user to the operation of application from one or more mobile terminals Call request, the interface call request include that the identifier of mobile terminal and the application operating count value of the mobile terminal are spelled The field being connected into;
Interface calls log generating means, connects for carrying out record formation to the interface call request according to server time Mouth calls log;And
Application operating log generating means are called for calling log to obtain the field and record the interface from the interface The server time of request, and the field in the interface call request is split into mobile terminal identifier and operation meter Numerical value, and the server time is determined as being grasped by the mobile terminal execution that mobile terminal identifier identifies by the application Make the real time of the operation of count value mark.
4. a kind of mobile terminal, comprising:
Reception device is operated, for receiving operation of the user to application execution;And
Sending device, for including mobile terminal identifier and the mobile terminal in response to described operate to server transmission The interface call request for the field that application operating count value is spliced into, so that the server is according to server time to described Interface call request is recorded, and is formed interface and is called log, and according to calling log export to obtain from the interface Field that the application operating count value of mobile terminal is spliced into and the server time for recording the interface call request, by institute It states the field in interface call request and splits into mobile terminal identifier and operation count value and when by the server Between be determined as the reality of operation identified by the mobile terminal execution that mobile terminal identifier identifies by the application operating count value The border time.
CN201510303225.9A 2015-06-04 2015-06-04 The method and apparatus for generating the log of mobile terminal application operating Active CN104902432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510303225.9A CN104902432B (en) 2015-06-04 2015-06-04 The method and apparatus for generating the log of mobile terminal application operating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510303225.9A CN104902432B (en) 2015-06-04 2015-06-04 The method and apparatus for generating the log of mobile terminal application operating

Publications (2)

Publication Number Publication Date
CN104902432A CN104902432A (en) 2015-09-09
CN104902432B true CN104902432B (en) 2019-02-15

Family

ID=54034773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510303225.9A Active CN104902432B (en) 2015-06-04 2015-06-04 The method and apparatus for generating the log of mobile terminal application operating

Country Status (1)

Country Link
CN (1) CN104902432B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632916A (en) * 2016-07-19 2018-01-26 中兴通讯股份有限公司 The method and apparatus for checking mobile terminal operation note
CN107622009A (en) * 2017-04-27 2018-01-23 北京远索科技有限公司 Log information systems
CN111142960B (en) * 2018-11-02 2023-11-14 中国电信股份有限公司 Interface providing method, device and system
CN109474698A (en) * 2018-12-14 2019-03-15 平安城市建设科技(深圳)有限公司 Access request labeling method, device, equipment and storage medium
CN110865986B (en) * 2019-11-12 2023-05-12 深圳易为控股有限公司 Enterprise retail system data summarization synchronization scheme

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640605A (en) * 2008-07-31 2010-02-03 国际商业机器公司 Method and device for correlating client data with server-end data
CN102904774A (en) * 2012-09-28 2013-01-30 用友软件股份有限公司 Terminal, server and server performance testing method
CN103713808A (en) * 2014-01-21 2014-04-09 北京网秦天下科技有限公司 Method and equipment for using applications on mobile terminal by browser
CN104156300A (en) * 2013-05-14 2014-11-19 利德科技发展有限公司 Log management system and log management method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226054A (en) * 2007-03-14 2008-09-25 Ricoh Co Ltd Manhour management system, server terminal, manhour management method, program and computer readable recording medium
JP2010026557A (en) * 2008-07-15 2010-02-04 Japan Lucida Co Ltd Equipment management system
CN102681886A (en) * 2011-04-14 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method and system for tracking user behaviors on mobile equipment
CN103634462B (en) * 2013-11-07 2017-04-12 小米科技有限责任公司 Method and device for recording and processing user activities and terminal
CN103942136B (en) * 2014-04-21 2017-06-16 北京音之邦文化科技有限公司 Log statistic tactics configuring method and device, log statistic method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640605A (en) * 2008-07-31 2010-02-03 国际商业机器公司 Method and device for correlating client data with server-end data
CN102904774A (en) * 2012-09-28 2013-01-30 用友软件股份有限公司 Terminal, server and server performance testing method
CN104156300A (en) * 2013-05-14 2014-11-19 利德科技发展有限公司 Log management system and log management method
CN103713808A (en) * 2014-01-21 2014-04-09 北京网秦天下科技有限公司 Method and equipment for using applications on mobile terminal by browser

Also Published As

Publication number Publication date
CN104902432A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104902432B (en) The method and apparatus for generating the log of mobile terminal application operating
CN106375458B (en) Service calling system, method and device
CN104778121A (en) Game program test method, device and system
CN103077718A (en) Speech processing method, system and terminal
CN106101169A (en) A kind of terminal and data reporting method
CN110809095A (en) Method and device for voice call-out
CN108540674A (en) Automated testing method, device, computer equipment and storage medium
US20150312396A1 (en) System and method for providing additional information to mobile communication terminal during call attempts
TW201814609A (en) Information pushing
CN106686265A (en) A service providing method and device based on communication records
CN102904774B (en) Terminal, server and server performance test methods
CN107613091A (en) A kind of method and terminal for establishing communication
CN109962893A (en) A kind of intelligent call method and its relevant device
CN107833064A (en) A kind of phone integrates cloud CRM system and method
CN104954588B (en) Voice leaving method and tone information device
CN103873704A (en) Caller identification method and system for calling number
CN108990092A (en) Communication abnormality localization method and device
WO2020125529A1 (en) Application method, system and apparatus for interactive voice response menu, and storage medium
CN104184871B (en) A kind of method and apparatus prompting harassing call number
CN103763439B (en) Information processing method and device
CN109246282B (en) Call information storage method and device, storage medium and electronic device
EP2814211A1 (en) Method and device for displaying conversation information
TW202037142A (en) Voice call recording method, real-time communication device and computer program product
CN108400901A (en) Test method, terminal device and the computer readable storage medium of application
CN103780477B (en) Information-pushing method and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant