CN108572908B - Information feedback method and device - Google Patents

Information feedback method and device Download PDF

Info

Publication number
CN108572908B
CN108572908B CN201710151393.XA CN201710151393A CN108572908B CN 108572908 B CN108572908 B CN 108572908B CN 201710151393 A CN201710151393 A CN 201710151393A CN 108572908 B CN108572908 B CN 108572908B
Authority
CN
China
Prior art keywords
target
description information
information
module
problem description
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
CN201710151393.XA
Other languages
Chinese (zh)
Other versions
CN108572908A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710151393.XA priority Critical patent/CN108572908B/en
Publication of CN108572908A publication Critical patent/CN108572908A/en
Application granted granted Critical
Publication of CN108572908B publication Critical patent/CN108572908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3442Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for planning or managing the needed capacity

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an information feedback method and device, and belongs to the technical field of terminals. The method comprises the following steps: acquiring problem description information of a target problem fed back by a target application; acquiring an operation log corresponding to the problem description information from a plurality of operation logs of the target application, wherein the plurality of operation logs are obtained by respectively acquiring information generated when the target application executes different functions; and sending the problem description information of the target problem and the running log corresponding to the problem description information to an application server for information feedback. By the information feedback method provided by the invention, the problem scene can be accurately reproduced on the feedback problem, so that the feedback problem can be effectively solved.

Description

Information feedback method and device
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to an information feedback method and apparatus.
Background
At present, an application installed in a terminal may fail due to some reasons in the running process, or a user finds that some functions are not complete enough in the process of using the application, so that in order to solve and repair the problems in a targeted manner, the user needs to report the problems to an application server in time and then feed the problems back to a developer when finding that the problems exist in the application.
In the prior art, an application installed in a terminal is usually provided with a user feedback module, and a user can report problems existing in the application to an application server through simple description through the user feedback module of the application, that is, the user can input problem description information in a feedback page corresponding to the user feedback module and report the problem description information to the application server, for example, the problem description information may be a flash back, an automatic pause in downloading, a slow downloading speed, and the like, which occur during operation. And then, the developer can reproduce the problem scene according to the problem description information reported to the application server by the user.
However, in the above method, the user only feeds back simple problem description information, and therefore, based on the problem description information, the problem scene reproduction cannot be accurately performed, and the problem that occurs cannot be effectively solved.
Disclosure of Invention
In order to solve the problems that the existing problem feedback method based on the existing information feedback method cannot effectively solve the problem and the problem solving efficiency is low, the embodiment of the invention provides an information feedback method and an information feedback device. The technical scheme is as follows:
in one aspect, an information feedback method is provided, and the method includes:
acquiring problem description information of a target problem fed back by a target application;
acquiring an operation log corresponding to the problem description information from a plurality of operation logs of the target application, wherein the plurality of operation logs are obtained by respectively acquiring information generated when the target application executes different functions;
and sending the problem description information of the target problem and the running log corresponding to the problem description information to an application server for information feedback.
In another aspect, an information feedback apparatus is provided, the apparatus including:
the first acquisition module is used for acquiring the problem description information of the target problem fed back by the target application;
a second obtaining module, configured to obtain an operation log corresponding to the problem description information from multiple operation logs of the target application, where the multiple operation logs are obtained by collecting information generated when the target application executes different functions;
and the sending module is used for sending the problem description information of the target problem and the running log corresponding to the problem description information to an application server for information feedback.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, after the problem description information of the target problem fed back by the target application is acquired, the operation logs corresponding to the problem description information may be acquired from the multiple operation logs of the target application, and then the problem description information and the operation logs corresponding to the problem description information are sent to the application server together. Because the running log is only the running log corresponding to the problem description information in the stored logs, and can accurately reflect and position a part of running scenes generating the target problem, developers can accurately reproduce the problem scene based on the problem description information and the running log corresponding to the problem description information, so that the problem of feedback can be effectively solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1A is a schematic diagram of an information feedback system according to an embodiment of the present invention;
fig. 1B is a flowchart of an information feedback method according to an embodiment of the present invention;
FIG. 1C is a schematic diagram of a first feedback interface provided by an embodiment of the present invention;
FIG. 1D is a schematic diagram of a second feedback interface provided by an embodiment of the present invention;
FIG. 1E is a schematic diagram of another information feedback system provided by an embodiment of the present invention;
fig. 2 is a block diagram of an information feedback apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, an application scenario of the embodiments of the present invention will be described. The method provided by the embodiment of the invention is applied to a scene that when the problem of the application installed in the terminal is found, the problem needs to be reported to the application server and then fed back to the developer, so that the developer can solve and repair the fed-back problem in a targeted manner. For example, the user may feedback a failure problem when finding that the application has a failure, or may feedback an inconvenient problem when finding that some functions of the application are not complete enough in the process of using the application.
The method provided by the embodiment of the invention is particularly applied to an information feedback system. Fig. 1A is a schematic diagram of an information feedback system according to an embodiment of the present invention, as shown in fig. 1A, the information feedback system includes a terminal 100 and an application server 200, and the terminal 100 and the application server 200 may be connected through a wired network or a wireless network.
In this case, the terminal 100 may obtain the problem description information of the target problem fed back by the installed application, and, unlike the prior art, after obtaining the problem description information, the terminal 100 may further obtain an operation log corresponding to the problem description information from the operation log of the application, and send the problem description information and the corresponding operation log to the application server 200 together. The application server 200 may store the problem description information and the operation log in correspondence. In this way, developers can accurately reproduce problem scenes based on the problem description information and the corresponding operation logs stored in the application server 200, and thus the problems can be effectively solved.
Further, the application installed in the terminal 100 may be provided with a user feedback module through which the user may report a problem to be fed back to the application server 200. For example, the user may operate in a feedback page provided by the user feedback module to trigger the reporting of the problem.
Further, the application installed in the terminal 100 may further be provided with an operation log reporting module, and in the application operation process, the operation log reporting module may collect and store the operation information generated in the application operation process. It should be noted that the running log reporting module may collect running information generated by the application at different stages, respectively, to generate a plurality of running logs. When the fed-back problem description information is obtained, the operation log reporting module may extract the operation log corresponding to the problem description information from the stored multiple operation logs, and report the operation log corresponding to the problem description information to the application server 200.
The terminal 100 may be a Computer, a smart phone, a tablet Computer, a notebook Computer, a UMPC (Ultra-mobile Personal Computer), a netbook, a PDA (Personal Digital Assistant), and the like, which are not limited in the embodiments of the present invention.
Fig. 1B is a flowchart of an information feedback method according to an embodiment of the present invention, where the method is used in a terminal, and referring to fig. 1B, the method includes:
step 101: problem description information of a target problem fed back by a target application is acquired.
Wherein the target application is an application which is selected by a user from a plurality of applications installed in the terminal and needs a feedback question. When the user finds that a problem occurs in a certain application in the terminal, the problem feedback can be carried out through the application. The target problem of feedback may be a problem of a fault occurring in the application, a problem of insufficient function, a problem of inconvenient use of a user, and the like, which is not limited in the embodiment of the present invention.
In practical application, the terminal may obtain the problem description information of the target problem fed back by the target application when receiving the problem feedback instruction based on the target application. The question feedback instruction may be triggered by a user through a specified operation, which may be a triggering operation for a question feedback option, or the like. For example, the user may trigger the question feedback instruction by clicking on a main interface of the application or setting a question feedback option in a menu interface.
In practical application, the target problem can be simply described to obtain the problem description information of the target problem, and the target problem is fed back by feeding back the problem description information of the target problem. The question description information of the target question may be input or selected by the user. How to obtain the problem description information of the target problem can be determined by the problem feedback mechanism of the application.
Specifically, the manner of acquiring the problem description information of the target problem fed back by the target application may include the following two ways:
the first implementation mode comprises the following steps: and displaying a first feedback interface of the target application, and acquiring the problem description information of the target problem input in the first feedback interface by the user.
The first feedback interface is used for inputting question description information of the target question.
In practice, the first feedback interface may include a question input box in which the user may enter question description information. When the user input is completed, the question description information input by the user in the question input box can be obtained. For example, the question description information input in the question input box may be acquired after the user stops inputting the preset time period. Or, the first feedback interface may further include a confirmation option, and when the terminal receives a trigger operation on the confirmation option, the problem description information input by the user in the problem input box may be acquired.
For example, fig. 1C is a schematic diagram of a first feedback interface provided in an embodiment of the present invention, and as shown in fig. 1C, the first feedback interface includes a question input box and a confirmation option. The user can input the question description information of the target question to be fed back in the question input box, and after the input is completed, the confirmation option can be triggered to determine that the input is completed. For example, the input question description information may be "download speed too slow".
The second implementation mode comprises the following steps: displaying a second feedback interface of the target application, wherein the second feedback interface comprises a plurality of question options, the question options correspond to a plurality of preset question description information one by one, and each preset question description information corresponds to at least one running log in the running logs; and when a selection instruction of the question option is received based on the second feedback interface, determining target preset question description information corresponding to the selected question option as the question description information of the target question.
The second feedback interface is used for selecting the problem description information to be fed back, and based on the second feedback interface, a user does not need to input the problem description information and directly selects the problem description information, so that the operation of the user can be simplified, and the problem feedback efficiency is improved.
The second feedback interface may include a plurality of preset question options, and each question option corresponds to a piece of preset question description information. In practical applications, the preset question description information may be directly displayed on or beside the corresponding question option, so that the user may select the corresponding question option based on the displayed question description information. The selection instruction of the question option may be triggered by a user through a specified operation, such as a click operation, a slide operation, or a voice operation of the question option by the specified operation.
In another embodiment, when the problem encountered by the user does not conform to the preset problem description information, or when the problem does not conform to a certain preset problem description information accurately enough, the user may modify the preset problem description information, so as to report the problem description information based on the modified preset problem description information.
It should be noted that the preset problem description information is the problem description information which is obtained by statistics and is possible to be fed back by the user, and which is expected by the developer of the application to be a problem that may occur to the application. For example, the preset problem description information may be description information of types of problems such as a download problem, an installation problem, an update problem, a management problem, and a performance problem, or may also be description information of specific problems such as a flash back, an automatic pause of download, a slow download speed, and an insufficiently concise operation interface during operation.
Further, in order to improve the accuracy of question feedback, the question options in the second feedback interface may be ranked, so that the question options are divided into multiple levels of question options. The multiple stages may be two stages, three stages, four stages, etc., and this is not limited in the embodiment of the present invention. For example, the second feedback interface may use a menu structure, and the menu structure includes a plurality of levels of menus.
For convenience of explanation, only two stages will be taken as an example. That is, the second feedback interface may include a plurality of primary question options, each primary question option corresponding to at least one secondary question option. Moreover, at least one secondary question option corresponding to each primary question option is used for further refining and classifying the primary question option. For example, a primary question option may be used to indicate a question type and a secondary question option may be used to indicate a specific question under the corresponding question type.
For example, fig. 1D is a schematic diagram of a second feedback interface provided in an embodiment of the present invention, and as shown in fig. 1D, the second feedback interface includes a plurality of primary question options distinguished according to question types, which are a download option, an install option, an update option, a management option, a performance option, an activity option, a social option, an entertainment option, and a robot option. Moreover, each primary question option also corresponds to at least one secondary question option for indicating various specific questions which may appear under the corresponding question type. Taking the download option as an example, the second-level question options corresponding to the download option may include a download failure option, a download automatic pause option, a download speed slow option, a re-download option, and other download question options.
Step 102: and acquiring an operation log corresponding to the problem description information from a plurality of operation logs of the target application, wherein the plurality of operation logs are obtained by respectively acquiring information generated when the target application executes different functions.
In the embodiment of the invention, in order to solve the problems that problem description information based on feedback cannot accurately reproduce a problem scene and further cannot effectively solve the feedback problem in the prior art, a method for determining and feeding back part of an operation log corresponding to the problem description information while acquiring the feedback problem description information is provided, so that developers can accurately reproduce the problem scene based on the feedback problem description information and the corresponding part of the operation log.
In order to obtain the operation logs corresponding to the problem description information from the multiple operation logs of the target application, before obtaining the operation logs corresponding to the problem description information, the terminal may collect logs according to functions in the operation process of the target application, that is, collect operation information of different functions, and store the operation information of different functions to obtain the multiple operation logs of the target application. Further, a plurality of preset problem description information can be preset by the target application, and the corresponding relation between the plurality of preset problem description information and the plurality of running logs can be established according to the actually corresponding functions of the plurality of preset problem description information. For example, a download question corresponds to a log of execution of a download function of the target application, and an update question corresponds to a log of execution of an update function of the target application.
It should be noted that, in the embodiment of the present invention, only the operation logs of the target application are collected and stored according to different functions as an example, but in practical application, the operation logs may also be stored according to other manners, for example, the operation logs may also be stored according to different operation phases, that is, in the operation process of the target application, information generated by the target application in different operation phases may be collected respectively to obtain the plurality of operation logs.
When the manner of obtaining the problem description information of the fed-back target problem is different, the manner of obtaining the operation log corresponding to the problem description information from the multiple operation logs of the target application may also be different, and specifically, the following two manners may be included:
the first implementation mode comprises the following steps: when the problem description information of the fed back target problem is obtained through the first implementation manner in step 101, obtaining an execution log corresponding to the problem description information from a plurality of execution logs of the target application includes: determining target preset problem description information with the largest similarity with the problem description information from a plurality of preset problem description information, wherein each preset problem description information corresponds to at least one operation log in the plurality of operation logs; and acquiring an operation log corresponding to the target preset problem description information from a plurality of operation logs of the target application, and determining the operation log corresponding to the target preset problem description information as the operation log corresponding to the problem description information.
That is, when the problem description information is the problem description information input by the user, the similarity between a plurality of preset problem description information and the problem description information may be respectively determined, the preset problem description information with the maximum similarity to the problem description information is selected from the similarity, and then the operation log corresponding to the preset problem description information with the maximum similarity is determined as the operation log corresponding to the problem description information.
The similarity is used for indicating the degree of information similarity between the preset problem description information and the problem description information, and the larger the similarity is, the higher the degree of information similarity is represented. In practical application, the similarity may be determined by the number of the same characters or the number of the same keywords in the two pieces of description information, and may also be determined in other manners, which is not limited in the embodiment of the present invention.
For example, in a specific embodiment, determining the target preset problem description information with the largest similarity to the problem description information of the target problem from the plurality of preset problem description information may include: for each preset problem description information in the plurality of preset problem description information, determining the number of the same characters in the preset problem description information and the problem description information; respectively determining the proportion between the number of the same characters and the total number of the words of the problem description information; and determining the preset problem description information with the maximum corresponding proportion as the target preset problem description information with the maximum similarity.
The second implementation mode comprises the following steps: when the problem description information of the fed back target problem is obtained through the second implementation manner in step 101, obtaining an execution log corresponding to the problem description information from a plurality of execution logs of the target application includes: and acquiring an operation log corresponding to the target preset problem description information from a plurality of operation logs of the target application, and determining the operation log corresponding to the target preset problem description information as the operation log corresponding to the problem description information.
That is, when the problem description information is determined based on the problem option, the operation log corresponding to the target preset problem description information corresponding to the problem option is the operation log corresponding to the problem description information.
Further, in order to achieve that the target application can collect operation logs of different functions in the operation process, in the embodiment of the present invention, a developer may also divide the program source code of the application into a plurality of program modules according to functions in advance, where each program module is formed by a part of codes in the program source code, and each program module corresponds to one function of the target application. And then selecting a plurality of program modules needing to acquire operation information from the plurality of divided program modules, and setting the corresponding relation between the plurality of program modules and a plurality of preset problem description information.
The correspondence between the selected program modules and the preset problem description information can be set according to the actual correspondence between the functions of the program modules and the problem description information. Moreover, each preset problem description information may correspond to at least one program module, and of course, each program module may also correspond to at least one preset problem description information.
For example, taking the program source code of the application as a download module, an installation module, an update module, a management module, etc. according to the function, and taking the preset problem description information as download problem, installation problem, update problem, management problem and performance problem, respectively, as an example, the download problem may correspond to the download module, the installation problem may correspond to the installation module, the update problem may correspond to the update module, the management problem may correspond to the management module, and the performance problem may correspond to the download module, the installation module, the update module and the management module.
Correspondingly, obtaining the operation log corresponding to the target preset problem description information from the multiple operation logs of the target application may include: determining a target program module corresponding to the target preset problem description information from a plurality of program modules of the target application, wherein the program modules are formed by selecting partial codes needing to collect operation information from program source codes of the target application, each program module corresponds to one function of the target application, and each preset problem description information corresponds to at least one program module in the program modules; acquiring the running logs of the target program module from the running logs of the target application, wherein the running logs of the target program module are obtained by collecting information generated in the running process of the target program module; and determining the running log of the target program module as the running log corresponding to the problem description information.
In addition, for the second feedback interface, a corresponding relationship between a plurality of question options and a plurality of program modules in the second feedback interface may also be directly established, and when the target preset question description information is the question description information determined based on the selected question option, the program module corresponding to the selected question option may be directly determined as the target program module corresponding to the target preset question description information.
Taking the second feedback interface shown in fig. 1D as an example, each question option in the second feedback interface corresponds to the question description information displayed on the question option one to one and corresponds to at least one program module, and assuming that the user selects and clicks the download option and the program module corresponding to the download option is a download module, the terminal may determine the download module as a target program module corresponding to the question description information "download question".
The embedded point codes are inserted into the appointed positions of the program modules in advance and used for acquiring the running information generated by the corresponding program modules in the running process. Before the running logs of the target program module are acquired from the running logs of the target application, in the running process of the target application, running information generated in the running process of each program module can be acquired through the embedded point code inserted into each program module; and generating an operation log of each program module based on the operation information generated in the operation process of each program module to obtain a plurality of operation logs of the target application.
In the embodiment of the present invention, after the developer selects a plurality of program modules that need to acquire operation information from the plurality of divided program modules, in order to realize automatic acquisition of respective operation information by the plurality of program modules, the developer may further insert a buried point code at a designated position of each of the plurality of selected program modules.
It should be noted that the buried point code is a statistical code in the data acquisition method, and is used for data acquisition. For the program module inserted with the embedded point code, in the running process of the program module, the embedded point code is called when the program module runs to the position inserted with the embedded point code, and the key parameters generated at the embedded point position are collected through the embedded point code, so that the running information generated in the running process of the program module is obtained.
It should be further noted that the operation information of the program module may include: identification of program module + key parameters at the buried point code. Further, the operation information may further include a time stamp to indicate a time of acquisition of the operation information. The identification of the program module may be the name or number of the program module or the like. Taking the program module as a download module as an example, the key parameter may be information such as a download address and download content.
Further, the detailed granularity of the embedded point code can be adjusted according to the importance degree of the program module. For example, for a core program module that is important and needs to acquire detailed operation information, a large number of embedded point codes may be inserted into the core program module according to the code logic of the core program module, so that the core program module can acquire the detailed operation information.
Furthermore, for each program module in the plurality of program modules, the codes of each program module can be divided according to the execution process, and a plurality of key processes needing to collect the operation information are selected from the codes to obtain a plurality of sub-modules. And then, inserting a buried point code into the designated position of each sub-module, so that the operation information of the sub-module is collected through the inserted buried point code in the operation process of the application.
It should be noted that the operation information of the sub-modules of the program module may include: the identification of the program module + the running identification of the submodule + the key parameters at the embedded point code. The operation identifier of the sub-module may be the name or number of the sub-module. Further, the operation information may further include a time stamp to indicate a time of acquisition of the operation information.
For example, the object program module may include a plurality of sub-modules, the sub-modules are configured by selecting a part of code that needs to collect operation information from the code of the object program module, and the embedded point code is pre-inserted into designated positions of the sub-modules. Before the operation logs of the target program module are obtained from the operation logs of the target application, in the operation process of the target application, when the target program module is operated, the operation information generated in the operation process of each sub-module in the target application module can be respectively collected through the embedded point codes inserted into each sub-module in the target program module; and generating an operation log of each submodule based on the operation information of each submodule generated in the operation process.
Further, when the target program module further includes a plurality of sub-modules, the extraction granularity of the operation information of the target program module may also be determined according to the current network state of the terminal. That is, the implementation manner of obtaining the operation log of the target program module from the multiple operation logs of the target application may include the following two manners:
the first implementation mode comprises the following steps: and if the current network state is in the wireless local area network state, acquiring the running logs of the plurality of sub-modules, and determining the running logs of the plurality of sub-modules as the running logs of the target program module.
The wireless local area network may be a WIFI network or the like. That is, if the terminal is currently in the wlan state, indicating that the terminal has sufficient network resources, at this time, the terminal may extract the operation logs of the sub-modules of the target program module from the stored operation logs, so as to feed back a more detailed operation log to the application server for a developer to perform problem analysis.
For example, referring to fig. 1D, taking an example that the user clicks a "download failure" option which is a sub-option of the "download" option, wherein the program module corresponding to the "download failure" option is a download module, and the download module includes a plurality of sub-modules, which are in one-to-one correspondence with the plurality of sub-options of the "download" option. If the current network state is in the wireless local area network state, the terminal can obtain the running logs of all the sub-modules in the downloading module corresponding to the downloading failure option, namely, the running logs of the sub-modules corresponding to the downloading failure option, the downloading automatic pause option, the downloading speed slow option, the re-downloading option and the other downloading problem option are respectively obtained, and the running logs of the sub-modules are used as the running logs of the downloading module of the target program module.
The second implementation mode comprises the following steps: and if the current network state is in a cellular network state, determining a target sub-module corresponding to the problem description information of the target problem from the plurality of sub-modules, acquiring an operation log of the target sub-module, and determining the operation log of the target sub-module as the operation log of the target program module.
The cellular network state is a mobile network state, and when the terminal is in the cellular network state, it indicates that the terminal may not have enough network resources currently, so that the terminal can extract only the operation log of the target sub-module corresponding to the problem description information, so as to save network resources.
For example, referring to fig. 1D, taking an example that the user clicks a "download failure" option which is a sub-option of the "download" option, wherein the program module corresponding to the "download failure" option is a download module, and the download module includes a plurality of sub-modules, which are in one-to-one correspondence with the plurality of sub-options of the "download" option. If the current network state is in the cellular network state, the terminal can select the sub-module corresponding to the 'download failure' option from the sub-modules corresponding to the 'download failure' option, the 'download automatic pause' option, the 'download speed slow' option, the're-download' option and the 'other download problem' option respectively, acquire the running log of the sub-module corresponding to the 'download failure' option, and take the running log of the sub-module corresponding to the 'download failure' option as the running log of the 'download module' of the target program module.
Of course, if the current network state is in the cellular network state, the terminal may also extract the operation logs of the multiple sub-modules, and store the operation logs until the current network state is detected to be in the wireless local area network state, and then send the extracted operation logs of the multiple sub-modules as the operation logs of the target program module to the application server through the wireless local area network.
The designated positions include a position where the flow is interrupted due to a program exception, a position where the flow is interrupted due to an external parameter, a position where a system exception occurs, a position where the flow is interrupted due to a data exception or a failure of an operation condition check, and the like.
1) The reason why the embedded point code is inserted into the position which is estimated in advance and is easy to cause flow interruption due to program abnormity to carry out operation information acquisition is that the operation conditions of the terminal are different every time, the flow interruption can be caused due to various program abnormity, the operation information at the position is acquired and recorded, the operation information can be analyzed subsequently to reduce the probability of abnormity as much as possible, and the flow interruption caused by various uncontrollable abnormity is prevented.
2) For the position where the flow is interrupted due to the external parameter, the external parameter may be an interface parameter or the like. The reason why the embedded point code is inserted into the position which is estimated in advance and is easy to cause the process interruption due to the external parameters is to acquire the running information because operating system and terminal manufacturers can modify some interfaces, so that the application can not be successfully called at times when calling the interfaces, and further the process of the program is interrupted.
3) The reason why the operation information collection is performed by inserting the embedded point code at the position where the system abnormality is easily estimated in advance and the position where the flow interruption is not caused by the data abnormality or the operation condition check is that by collecting and recording the operation information at the position, the flow interruption caused by various abnormalities or other codes of the system can be prevented by analyzing the operation information at the subsequent time.
Specifically, generating the plurality of operation logs based on the operation information generated by the plurality of program modules during the operation includes: the operation information of each of the plurality of program modules is stored to generate the plurality of operation logs, respectively.
In practical application, for each program module in the plurality of program modules, the running information of the program module may be directly stored to generate a running log of the program module, or the running information acquired by the program module through each embedded point code may be spliced and then stored to generate the running log of the program module.
Further, each of the plurality of execution logs may include common information of the terminal in addition to the execution information. Specifically, the terminal may further obtain common information of the terminal in the application running process, where the common information includes network status information, remaining hard disk space information, or remaining memory information, and the like, and store the common information in the multiple running logs respectively.
The network condition information may include network status information, network quality information, and the like of the terminal. For example, the network status information may include a wireless local area network status or a cellular network status, etc. The WIreless local area network may be a WIFI (WIreless-Fidelity) network, and the cellular network may be a 2G network, a 3G network, a 4G network, and the like.
The public information can be acquired periodically or triggered by a specified condition, considering that the public information of the terminal is generally constant for a period of time. For example, the remaining hard disk space information and the remaining memory information may be collected once every preset time period; for the network condition information, the collection of the network condition information can be triggered when the network state where the network condition information is detected to change.
The preset duration may be set by a default of the terminal, may be set by the application server in advance, or may be set by the user, which is not limited in the embodiment of the present invention. For example, the preset time period may be 30 seconds or 1 minute.
In this implementation manner, in the process of running the application, besides the running information of the program module, the public information of the terminal may also be collected. The public information can be used as auxiliary information for problem scene reproduction, and is used for assisting in subsequently restoring a terminal operation site and analyzing problem reasons, so that the accuracy of problem scene reproduction and the success rate of problem solution are improved.
Step 103: and sending the problem description information of the target problem and the running log corresponding to the problem description information to an application server for information feedback.
In the embodiment of the invention, only the running log corresponding to the problem description information of the fed back target problem is sent to the application server, so that the transmission quantity of data can be reduced, and the efficiency of log analysis can be improved.
Sending the problem description information of the target problem and the operation log corresponding to the problem description information to the application server may include any one of the following manners:
the first implementation mode comprises the following steps: and sending the problem description information and the operation log corresponding to the problem description information to the application server through a special protocol channel between the application server and the problem description information.
That is, the application server may pre-establish a dedicated protocol channel with the terminal through the application, and after acquiring the problem description information of the target problem and the operation log corresponding to the problem description information, the application server may send the problem description information of the target problem and the operation log corresponding to the problem description information to the application server through the dedicated protocol channel with the application server.
It should be noted that, when the problem description information and the operation log are transmitted through the dedicated Protocol channel, the problem description information and the operation log need to be transmitted in the form of a data packet, for example, in the form of an HTTP (HyperText Transfer Protocol) data packet.
When the information is sent through the special protocol channel, the information is sent more timely, and the information feedback efficiency can be improved.
In a second implementation manner, the problem description information and the operation log corresponding to the problem description information are written into a feedback file, and the feedback file is sent to the application server through a common file transmission channel between the application server and the feedback file.
The common file transmission channel is a common file transmission channel, each application server can perform information interaction with the terminal through the common file transmission channel, and the information interaction form is usually a file form. For example, the feedback file may be a TXT file or a WORD file.
When the information is transmitted in a file form through the public file transmission channel, more information content can be written in the file and transmitted at one time, namely, more detailed operation logs can be transmitted, so that developers can better reproduce problem scenes.
In a third implementation manner, for the problem description information of the target problem, the problem description information of the target problem is sent to the application server through a dedicated protocol channel between the problem description information and the application server; and for the operation log corresponding to the problem description information, sending the operation log to the application server through the special protocol channel, or writing the operation log corresponding to the problem description information into a log file, and sending the log file to the application server through a common file transmission channel between the application server and the log file.
It should be noted that the sending form of each piece of information may be set by the application server, may be set by the terminal, or may be set by the user, which is not limited in the embodiment of the present invention.
In one embodiment, it may be preset that the execution log for a specific module of the plurality of program modules is transmitted through a dedicated protocol channel, and the execution logs for other modules of the plurality of program modules are transmitted through a common file transfer channel. The designated module may be a core module of the plurality of program modules, or a program module with a low probability of causing a problem.
Further, in order to save network resources and improve information security, before the problem description information and the operation log are sent, the problem description information and the operation log to be sent can be compressed and encrypted, and then the compressed and encrypted information is sent to the application server. Specifically, for compression, a compression algorithm with a higher compression ratio may be employed; for encryption, either symmetric encryption or asymmetric encryption algorithms may be employed.
Further, after the problem description information and the operation log corresponding to the problem description information are sent to the application server, the terminal may further detect whether a hot patch of the application is stored in the application server by communicating with the application server, where the hot patch is a repair code issued based on the problem description information of the target problem and the operation log corresponding to the problem description information; when the hot patch is detected to be stored in the application server, downloading the hot patch from the application server; the hot patch is run to address the target issue of the application.
After receiving the problem description information of the target problem and the operation log corresponding to the problem description information, the application server may store the problem description information and the operation log. And then, the developer can extract the problem description information and the operation log from the application server, and because the operation log is a part of operation log aiming at the problem description information, the operation log can accurately reflect and position a part of operation scene generating the target problem, the developer can accurately reproduce the problem scene based on the problem description information and the operation log corresponding to the problem description information, and perform targeted problem analysis according to the reproduced problem scene, so that the time for the developer to track and solve the problem can be saved, and the workload of the developer can be reduced. After a developer finds out the cause causing the target problem by analyzing the problem, the developer can develop a repair code capable of solving or repairing the target problem, then compares the repair code with the source code of the application to generate a hot patch, and uploads the hot patch to the application server, so that the terminal can download the hot patch from the application server through the installed application, and the target problem is repaired through the hot patch.
For the terminal, the terminal may communicate with the application server based on the installed application, and detect whether the application server stores a hot patch of the application. Specifically, the terminal may actively query whether the application server stores the hot patch of the application based on the installed application, or determine whether the application server stores the hot patch of the application based on whether the hot patch release notification sent by the application server is received. When the hot patch of the application is stored in the application server or a hot patch release notice sent by the application server is received, the hot patch can be downloaded and verified, and the hot patch can be operated when the verification is passed so as to solve the target problem.
By the method provided by the embodiment of the invention, when the application encounters a problem, the operation log corresponding to the problem can be quickly acquired, the problem scene can be accurately and specifically reproduced according to the operation log corresponding to the problem, the site with the problem is restored, so that the problem is solved, and finally the problem of the application is repaired by using the hot patch. Therefore, various problems existing in the current release version of the application can be quickly and effectively solved, the application can be repaired in time, the operation of the application is more stable, the solution rate of the problems fed back by a user is improved, the user can be satisfied with the application, and the viscosity of the user is improved.
Fig. 1E is a schematic diagram of an information feedback system according to an embodiment of the present invention, and as shown in fig. 1E, the information feedback system may include an application 10 installed in a terminal, an application server 20 of the application 10, and a developer 30 of the application 10.
The application 10 may include a log record saving and reporting module 11, a user feedback module 12, and a hot patch downloading and repairing module 13. The module 11 may include three sub-modules, namely, log recording, log saving and log extracting, and is configured to record and save an operation log of each program module of the application 11 during the operation of the application 10. The user feedback module 12 is used for providing a question feedback interface for the user, and obtaining question description information of a target question fed back by the user, sending the question description information to the module 11, and sending the question description information to the application server 20. The module 11 is further configured to extract an operation log corresponding to the problem description information from a plurality of stored operation logs of the application 10 according to the problem description information, and send the operation log corresponding to the problem description information to the application server 20 after processing. The hot patch downloading and repairing module 13 is configured to receive a hot patch issued by the application server 20, run the hot patch, and repair the problem of the application.
The application server 20 may include a log saving module 21, a user feedback saving module 22, and a hot patch storing and issuing module 23. The log saving module 21 is configured to receive and save an operation log corresponding to the problem description information sent by the application 10. The user feedback saving module 22 is used for receiving and saving the question description information of the target question sent by the application 10. The hot patch storage and distribution module is used for storing the hot patch developed and uploaded by the developer and distributing the hot patch to the application 10.
The developer 30 may extract the stored problem description information of the target problem and the operation log corresponding to the problem description information from the application server 20, perform problem scene repair and problem analysis based on the problem description information and the operation log, develop a hot patch capable of repairing the target problem through the problem analysis, and upload the developed hot patch to the application server 20.
It should be noted that, in the embodiment of the present invention, the information feedback system shown in fig. 1E is taken as an example, but the information feedback system shown in fig. 1E does not constitute a limitation to the information feedback system, and in practical applications, the information feedback system may further include more or less modules than those shown in the figure, and may be increased, decreased or replaced according to actual needs.
In the embodiment of the present invention, after the problem description information of the target problem fed back by the target application is acquired, the operation logs corresponding to the problem description information may be acquired from the multiple operation logs of the target application, and then the problem description information and the operation logs corresponding to the problem description information are sent to the application server together. Because the running log is only the running log corresponding to the problem description information in the stored logs, and can accurately reflect and position a part of running scenes generating the target problem, developers can accurately reproduce the problem scene based on the problem description information and the running log corresponding to the problem description information, so that the problem of feedback can be effectively solved.
Fig. 2 is a block diagram of an information feedback apparatus, which may be a terminal according to an embodiment of the present invention, and referring to fig. 2, the apparatus includes:
a first obtaining module 201, configured to perform step 101 of the foregoing embodiment;
a second obtaining module 202, configured to perform step 102 of the foregoing embodiment;
a sending module 203, configured to execute step 103 of the foregoing embodiment.
Optionally, the first obtaining module is configured to:
displaying a first feedback interface of the target application, and acquiring problem description information of the target problem input in the first feedback interface by a user;
accordingly, the second obtaining module comprises:
a determining unit, configured to determine, from a plurality of preset problem description information, target preset problem description information having a maximum similarity to the problem description information, where each preset problem description information corresponds to at least one of the plurality of operation logs;
and the acquisition unit is used for acquiring the running log corresponding to the target preset problem description information from a plurality of running logs of the target application, and determining the running log corresponding to the target preset problem description information as the running log corresponding to the problem description information.
Optionally, the first obtaining module is configured to:
displaying a second feedback interface of the target application, wherein the second feedback interface comprises a plurality of question options, the question options correspond to a plurality of preset question description information one by one, and each preset question description information corresponds to at least one running log in the running logs;
when a selection instruction of a question option is received based on the second feedback interface, determining target preset question description information corresponding to the selected question option as question description information of the target question;
accordingly, the second obtaining module comprises:
and the acquisition unit is used for acquiring the running log corresponding to the target preset problem description information from a plurality of running logs of the target application, and determining the running log corresponding to the target preset problem description information as the running log corresponding to the problem description information.
Optionally, the obtaining unit is configured to:
determining a target program module corresponding to the target preset problem description information from a plurality of program modules of the target application, wherein the program modules are formed by selecting partial codes needing to collect operation information from program source codes of the target application, each program module corresponds to one function of the target application, and each preset problem description information corresponds to at least one program module in the program modules;
acquiring the running logs of the target program module from the running logs of the target application, wherein the running logs of the target program module are obtained by collecting information generated in the running process of the target program module;
and determining the running log of the target program module as the running log corresponding to the problem description information.
Optionally, embedded point codes are inserted into the designated positions of the plurality of program modules in advance, and the embedded point codes are used for acquiring running information generated by the corresponding program modules in the running process;
the device also includes:
the first acquisition module is used for acquiring the running information generated in the running process of each program module through the embedded point code inserted in each program module in the running process of the target application;
and the first generation module is used for generating an operation log of each program module based on the operation information generated in the operation process of each program module to obtain a plurality of operation logs of the target application.
Optionally, the specified locations include a location of a flow interruption due to a program exception, a location of a flow interruption due to an external parameter, a location of a system exception, and a location of a flow interruption due to a data exception or a failure of a running condition check.
Optionally, the target program module includes a plurality of sub-modules, the sub-modules are formed by selecting partial codes needing to collect operation information from codes of the target program module, and embedded point codes are pre-inserted into designated positions of the sub-modules;
the device also includes:
the second acquisition module is used for respectively acquiring the operation information generated by each sub-module in the operation process through the embedded point codes inserted into each sub-module included in the target program module when the target program module is operated in the operation process of the target application;
the second generation module is used for generating an operation log of each submodule based on operation information generated by each submodule in the operation process;
accordingly, the obtaining unit is configured to:
if the current network state is in the cellular network state, determining a target sub-module corresponding to the problem description information of the target problem from the plurality of sub-modules;
and acquiring the running log of the target sub-module, and determining the running log of the target sub-module as the running log of the target program module.
Optionally, the obtaining unit is further configured to:
and if the current network state is in the wireless local area network state, acquiring the running logs of the plurality of sub-modules, and determining the running logs of the plurality of sub-modules as the running logs of the target program module.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain public information in a process of running the target application, where the public information includes network status information, remaining hard disk space information, or remaining memory information;
and the storage module is used for storing the public information into the plurality of running logs respectively.
Optionally, the sending module is configured to:
for the problem description information of the target problem, sending the problem description information of the target problem to the application server through a special protocol channel between the problem description information and the application server;
and for the operation log corresponding to the problem description information, sending the operation log to the application server through the special protocol channel, or writing the operation log corresponding to the problem description information into a log file, and sending the log file to the application server through a common file transmission channel between the application server and the log file.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether the application server stores a hot patch of the application or not by communicating with the application server, wherein the hot patch is a repair code issued based on the problem description information of the target problem and the running log corresponding to the problem description information;
the downloading module is used for downloading the hot patch from the application server when the hot patch is detected to be stored in the application server;
and the running module is used for running the hot patch so as to solve the target problem of the application. In the embodiment of the present invention, after the information feedback apparatus acquires the problem description information of the target problem fed back by the target application, the information feedback apparatus may further acquire an operation log corresponding to the problem description information from a plurality of operation logs of the target application, and then send the problem description information and the operation log corresponding to the problem description information to the application server together. Because the running log is only the running log corresponding to the problem description information in the stored logs, and can accurately reflect and position a part of running scenes generating the target problem, developers can accurately reproduce the problem scene based on the problem description information and the running log corresponding to the problem description information, so that the problem of feedback can be effectively solved.
It should be noted that: in the information feedback device provided in the above embodiment, when performing information feedback, only the division of the above functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the information feedback device and the information feedback method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention. Referring to fig. 3, the terminal 300 may include components such as a communication unit 310, a memory 320 including one or more computer-readable storage media, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, a WIFI (Wireless Fidelity) module 370, a processor 380 including one or more processing cores, and a power supply 390. Those skilled in the art will appreciate that the terminal structure shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the communication unit 310 may be used for receiving and transmitting information or signals during a call, and the communication unit 310 may be an RF (Radio Frequency) circuit, a router, a modem, or other network communication devices. In particular, when the communication unit 310 is an RF circuit, downlink information of the base station is received and then processed by the one or more processors 380; in addition, data relating to uplink is transmitted to the base station. Generally, the RF circuit as a communication unit includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the communication unit 310 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like. The memory 320 may be used to store software programs and modules, and the processor 380 executes various functional applications and data processing by operating the software programs and modules stored in the memory 320. The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created based on the use of the terminal 300, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 320 may also include a memory controller to provide the processor 380 and the input unit 330 with access to the memory 320.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Preferably, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device based on a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. Preferably, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 based on the type of touch event. Although in FIG. 3, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. The light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 based on the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or backlight when the terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and transmitted to, for example, another terminal via the communication unit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the terminal 300.
In order to realize wireless communication, a wireless communication unit 370 may be configured on the terminal, and the wireless communication unit 370 may be a WIFI module. WIFI belongs to a short-distance wireless transmission technology, and the terminal 300 can help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the wireless communication unit 370, and it provides wireless broadband internet access for the user. Although the wireless communication unit 370 is shown in the drawing, it is understood that it does not belong to the essential constitution of the terminal 300 and may be omitted entirely within the scope not changing the essence of the invention depending on the necessity.
The processor 380 is a control center of the terminal 300, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the handset. Optionally, processor 380 may include one or more processing cores; preferably, the processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The terminal 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 360 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal 300 may further include a camera, a bluetooth module, etc., which will not be described herein.
In this embodiment, the terminal 300 further includes one or more programs, which are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the information feedback method provided by the embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (18)

1. An information feedback method for a target application, the method comprising:
acquiring problem description information of a target problem fed back by the target application;
acquiring an operation log corresponding to target preset problem description information from a plurality of operation logs of the target application, wherein the plurality of operation logs are obtained by respectively acquiring information generated when the target application executes different functions, and the target preset problem description information is determined based on the problem description information;
for the target preset problem description information, sending the target preset problem description information to an application server through a special protocol channel between the target preset problem description information and the application server;
for the operation log corresponding to the target preset problem description information, sending the operation log to the application server through the special protocol channel, or writing the operation log corresponding to the target preset problem description information into a log file, and sending the log file to the application server through a common file transmission channel between the operation log and the application server;
the obtaining of the operation log corresponding to the preset target problem description information from the multiple operation logs of the target application includes:
determining a target program module corresponding to the target preset problem description information from a plurality of program modules of the target application, wherein each program module corresponds to a function of the target application;
if the current network state is in a cellular network state, determining a target sub-module corresponding to the target preset problem description information from a plurality of sub-modules included in the target program module, and determining an operation log of the target sub-module as an operation log corresponding to the target preset problem description information, or extracting and storing the operation logs of the plurality of sub-modules until the current network state is detected to be in a wireless local area network state, and determining the extracted operation logs of the plurality of sub-modules as the operation log corresponding to the target preset problem description information; the running logs of the sub-modules are obtained by respectively acquiring information generated when the target application executes different functions;
and if the current network state is in a wireless local area network state, acquiring the running logs of the plurality of sub-modules, and determining the running logs of the plurality of sub-modules as the running logs corresponding to the target preset problem description information.
2. The method of claim 1, wherein the obtaining of the problem description information for the target problem fed back by the target application comprises:
displaying a first feedback interface of the target application, and acquiring problem description information of the target problem input in the first feedback interface by a user;
accordingly, the method further comprises:
and determining target preset problem description information with the maximum similarity with the problem description information from a plurality of preset problem description information, wherein each preset problem description information corresponds to at least one operation log in the plurality of operation logs.
3. The method of claim 1, wherein the obtaining of the problem description information for the target problem fed back by the target application comprises:
displaying a second feedback interface of the target application, wherein the second feedback interface comprises a plurality of question options, the question options correspond to a plurality of preset question description information one to one, and each preset question description information corresponds to at least one running log in the running logs;
and when a selection instruction of a question option is received based on the second feedback interface, determining target preset question description information corresponding to the selected question option as the question description information of the target question.
4. The method of claim 1, wherein the plurality of program modules are formed by selecting a portion of code of the target application from program source code that requires collecting operation information, and each preset problem description information corresponds to at least one program module of the plurality of program modules.
5. The method as claimed in claim 4, wherein the designated positions of the plurality of program modules are pre-inserted with embedded point codes, and the embedded point codes are used for collecting operation information generated by the corresponding program modules in the operation process;
before determining the running log corresponding to the target preset problem description information, the method further includes:
in the running process of the target application, collecting running information generated in the running process of each program module through a buried point code inserted in each program module;
and generating an operation log of each program module based on the operation information generated in the operation process of each program module to obtain a plurality of operation logs of the target application.
6. The method of claim 5, wherein the specified locations include a location of a flow interrupt due to a program exception, a location of a flow interrupt due to an external parameter, a location of a system exception, and a location of a flow interrupt due to a data exception or a failure of a run condition check.
7. The method of claim 4, wherein the plurality of sub-modules are composed of partial codes which are selected from codes of the target program module and need to collect operation information, and embedded point codes are pre-inserted into designated positions of the plurality of sub-modules;
before determining the running log corresponding to the target preset problem description information, the method further includes:
in the running process of the target application, when the target application runs to the target program module, respectively acquiring running information generated by each sub-module in the running process through embedded point codes inserted into each sub-module included in the target program module;
and generating an operation log of each sub-module based on the operation information generated by each sub-module in the operation process.
8. The method of any one of claims 1-7, wherein the method further comprises:
acquiring public information in the running process of the target application, wherein the public information comprises network condition information, residual hard disk space information or residual memory information;
and respectively storing the public information into the plurality of running logs.
9. The method according to any one of claims 1 to 7, wherein after sending the target preset problem description information and the operation log corresponding to the target preset problem description information to an application server, the method further comprises:
detecting whether a hot patch of the application is stored in the application server or not by communicating with the application server, wherein the hot patch is a repair code issued based on the problem description information of the target problem and the running log corresponding to the problem description information;
downloading the hot patch from the application server when the hot patch is detected to be stored in the application server;
running the hot patch to solve the target problem of the application.
10. An information feedback apparatus for a target application, the apparatus comprising:
the first acquisition module is used for acquiring the problem description information of the target problem fed back by the target application;
a second obtaining module, configured to obtain, from multiple running logs of the target application, running logs corresponding to target preset problem description information, where the multiple running logs are obtained by collecting information generated when the target application executes different functions, and the target preset problem description information is determined based on the problem description information;
the sending module is used for sending the target preset problem description information to an application server through a special protocol channel between the sending module and the application server; for the operation log corresponding to the target preset problem description information, sending the operation log to the application server through the special protocol channel, or writing the operation log corresponding to the target preset problem description information into a log file, and sending the log file to the application server through a common file transmission channel between the operation log and the application server;
the second obtaining module is configured to determine, from a plurality of program modules of the target application, a target program module corresponding to the target preset problem description information, where each program module corresponds to a function of the target application; if the current network state is in a cellular network state, determining a target sub-module corresponding to the target preset problem description information from a plurality of sub-modules included in the target program module, and determining an operation log of the target sub-module as an operation log corresponding to the target preset problem description information, or extracting and storing the operation logs of the plurality of sub-modules until the current network state is detected to be in a wireless local area network state, and determining the extracted operation logs of the plurality of sub-modules as the operation log corresponding to the target preset problem description information; the running logs of the sub-modules are obtained by respectively acquiring information generated when the target application executes different functions; and if the current network state is in a wireless local area network state, acquiring the running logs of the plurality of sub-modules, and determining the running logs of the plurality of sub-modules as the running logs corresponding to the target preset problem description information.
11. The apparatus of claim 10, wherein the first obtaining module is to:
displaying a first feedback interface of the target application, and acquiring problem description information of the target problem input in the first feedback interface by a user;
accordingly, the second obtaining module comprises:
the device comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining target preset problem description information with the maximum similarity to the problem description information from a plurality of preset problem description information, and each preset problem description information corresponds to at least one operation log in the plurality of operation logs.
12. The apparatus of claim 10, wherein the first obtaining module is to:
displaying a second feedback interface of the target application, wherein the second feedback interface comprises a plurality of question options, the question options correspond to a plurality of preset question description information one to one, and each preset question description information corresponds to at least one running log in the running logs;
and when a selection instruction of a question option is received based on the second feedback interface, determining target preset question description information corresponding to the selected question option as the question description information of the target question.
13. The apparatus of claim 10, wherein the plurality of program modules are configured to select a portion of code of the target application from program source code of the target application, where the portion of code is required to collect operation information, and each preset problem description information corresponds to at least one program module of the plurality of program modules.
14. The apparatus of claim 13, wherein a buried point code is pre-inserted into a designated location of the plurality of program modules, and the buried point code is used to collect operation information generated by the corresponding program module during an operation process;
the device further comprises:
the first acquisition module is used for acquiring running information generated in the running process of each program module through the embedded point code inserted in each program module in the running process of the target application;
the first generation module is used for generating an operation log of each program module based on the operation information generated in the operation process of each program module to obtain a plurality of operation logs of the target application.
15. The apparatus of claim 14, wherein the specified locations comprise a location of a flow interrupt due to a program exception, a location of a flow interrupt due to an external parameter, a location of a system exception, and a location of a flow interrupt due to a data exception or a failure of a run condition check.
16. The apparatus of claim 13, wherein the plurality of sub-modules are formed by selecting a part of code required to collect operation information from the code of the target program module, and embedded point codes are pre-inserted into designated positions of the plurality of sub-modules;
the device further comprises:
the second acquisition module is used for respectively acquiring operation information generated by each sub-module in the operation process through embedded point codes inserted into each sub-module included in the target program module when the target program module is operated in the operation process of the target application;
and the second generation module is used for generating the operation log of each sub-module based on the operation information generated by each sub-module in the operation process.
17. The apparatus of any of claims 10-16, wherein the apparatus further comprises:
a third obtaining module, configured to obtain public information in a process of running the target application, where the public information includes network status information, remaining hard disk space information, or remaining memory information;
and the storage module is used for storing the public information into the plurality of running logs respectively.
18. The apparatus of any of claims 10-16, wherein the apparatus further comprises:
a detection module, configured to detect whether a hot patch of the application is stored in the application server by communicating with the application server, where the hot patch is a repair code issued based on the problem description information of the target problem and an operation log corresponding to the problem description information;
a downloading module, configured to download the hot patch from the application server when it is detected that the hot patch is stored in the application server;
and the running module is used for running the hot patch so as to solve the target problem of the application.
CN201710151393.XA 2017-03-14 2017-03-14 Information feedback method and device Active CN108572908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710151393.XA CN108572908B (en) 2017-03-14 2017-03-14 Information feedback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710151393.XA CN108572908B (en) 2017-03-14 2017-03-14 Information feedback method and device

Publications (2)

Publication Number Publication Date
CN108572908A CN108572908A (en) 2018-09-25
CN108572908B true CN108572908B (en) 2021-04-02

Family

ID=63577315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710151393.XA Active CN108572908B (en) 2017-03-14 2017-03-14 Information feedback method and device

Country Status (1)

Country Link
CN (1) CN108572908B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492003A (en) * 2018-10-22 2019-03-19 平安医疗健康管理股份有限公司 The treating method and apparatus and computer equipment and storage medium of access information
CN109597949B (en) * 2018-10-22 2024-04-02 平安科技(深圳)有限公司 Third party buried point identification generation method and equipment based on data standardization
CN109446309B (en) * 2018-10-30 2021-08-27 天津字节跳动科技有限公司 Question feedback method and device
CN111951020A (en) * 2019-05-14 2020-11-17 阿里巴巴集团控股有限公司 Method and device for providing service information
CN110764974B (en) * 2019-12-25 2020-04-17 武汉慧联无限科技有限公司 Monitoring method, monitoring device and storage medium
CN111402471A (en) * 2020-03-05 2020-07-10 慧科(台州)智能系统有限公司 Personnel processing mode determining method and device and data processing platform
CN112163084B (en) * 2020-10-22 2024-03-22 腾讯科技(深圳)有限公司 Problem feedback method, device, medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631699A (en) * 2012-08-28 2014-03-12 纽海信息技术(上海)有限公司 Log management system and method for log monitoring, acquiring and querying
CN105049269A (en) * 2015-08-31 2015-11-11 小米科技有限责任公司 Information feedback method and device
CN105095081A (en) * 2015-08-06 2015-11-25 小米科技有限责任公司 Application program function testing method and device
CN105703942A (en) * 2015-12-31 2016-06-22 迈普通信技术股份有限公司 Log acquisition method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426944B (en) * 2013-08-27 2019-03-05 腾讯科技(深圳)有限公司 Information feedback method, device and terminal
JP2016099873A (en) * 2014-11-25 2016-05-30 株式会社グロリアス Electronic content management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631699A (en) * 2012-08-28 2014-03-12 纽海信息技术(上海)有限公司 Log management system and method for log monitoring, acquiring and querying
CN105095081A (en) * 2015-08-06 2015-11-25 小米科技有限责任公司 Application program function testing method and device
CN105049269A (en) * 2015-08-31 2015-11-11 小米科技有限责任公司 Information feedback method and device
CN105703942A (en) * 2015-12-31 2016-06-22 迈普通信技术股份有限公司 Log acquisition method and device

Also Published As

Publication number Publication date
CN108572908A (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN108572908B (en) Information feedback method and device
CN107995519B (en) Method, device and storage medium for playing multimedia file
CN111176960B (en) User operation behavior tracking method, device, equipment and storage medium
CN104135500B (en) The method and system that prompting application upgrades
CN105429775B (en) Method and device for reporting log
CN106453511B (en) A kind of data back up method and equipment
US10652287B2 (en) Method, device, and system for managing information recommendation
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
CN104516812A (en) Method and device for testing software
CN108039963B (en) Container configuration method and device and storage medium
CN107465841B (en) Fault information reporting method and terminal
CN106658354B (en) A kind of data transmission method and equipment
CN106953898B (en) Method and device for acquiring software package
CN104965716A (en) Icon updating method, client apparatus, and terminal apparatus
CN104093123A (en) Application program information pushing method, device and system and mobile terminal
CN108834132A (en) A kind of data transmission method and equipment and related media production
CN104423822A (en) Automated test script recording method and device
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN110347578B (en) Application testing method and device and storage medium
CN104166899A (en) Voice interaction method and terminals
CN103729283A (en) System log output method and device and terminal device
CN106371948B (en) A kind of data back up method and terminal device
CN116303085A (en) Test reason analysis method, device, equipment and storage medium
CN106453845B (en) A kind of data transmission method and equipment
CN106933626B (en) Application association method and device

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
GR01 Patent grant
GR01 Patent grant