Information reporting method and device and computer readable storage medium
By obtaining and reporting business permission instructions and logs in the clear text, users' problems are directly solved, improving the efficiency of software problems and reducing information flow and waiting time.
Patent Information
- Application Number
- CN202411247224.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-01-10
AI Technical Summary
The prior art is less efficient when users use software, and developers need to intervene in positioning and solving problems, resulting in extended waiting time.
By obtaining business permission instructions and generating plain-text logs, directly reporting user identification and log information, allowing customer service personnel to judge and solve problems, and reducing information flow.
Improves the efficiency of solving user problems and reduces dependence on developers, and customer service personnel can directly judge and provide solutions.
Smart Images

Figure CN119292803A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to an information reporting method, device and computer-readable storage medium. Background Art
[0002] When a user encounters a problem while using the software, for example, the user is unable to make a call through the dial-up software, the user can seek help from the customer service staff of the software.
[0003] When customer service personnel solve problems for users, they usually need to obtain the software's operation log, and then hand the operation log and the user's problem to the software developer. The developer locates the cause of the problem, determines a solution, and conveys the solution to the customer service personnel. The customer service personnel finally feedbacks the solution to the customer.
[0004] This solution takes up the developer's time and prolongs the user's waiting time. Therefore, the existing solution is less efficient in solving user problems. Summary of the invention
[0005] The present application provides an information reporting method, device and computer-readable storage medium, which can improve the efficiency of solving user problems.
[0006] In order to achieve the above purpose, this application adopts the following technical solutions:
[0007] In a first aspect, an information reporting method is provided, the method comprising: in response to a user's execution operation on a service applied in a terminal, obtaining first permission indication information of the service; generating a first log; the first log includes an identifier of the service and the first permission indication information; in response to a triggering operation, reporting first information; the first information includes a user identifier of the user and a first log.
[0008] In the existing scheme, since it is necessary to have certain professional knowledge to understand the information carried by the log, after obtaining the problem and log, the customer service personnel need to feedback the problem and log to the developer, and the developer locates the cause of the problem and determines the solution. Compared with the existing scheme, the scheme of the present application obtains the first permission indication information of the business in response to the user's execution operation on the business applied in the terminal, and then generates a first log including the identification of the business and the first permission indication information, and then, in response to the trigger operation, reports the first information including the user identification and the first log of the user. Since the first log includes the identification and the first permission indication information of the business, that is, the scheme of the present application directly carries the first permission indication information of the business in the first log in plain text, and does not need certain professional knowledge to understand the information carried by the first log. Therefore, when the customer service personnel receives the user's problem, the customer service personnel can judge whether the user's use of the business is caused by the business authority through the first log, and give a solution. There is no need for the developer to locate the cause of the problem and determine the solution, which reduces the information flow link, thereby improving the efficiency of solving user problems.
[0009] In combination with the first aspect, in some implementations of the first aspect, when the service is executed without calling the SDK, the first permission indication information is used to indicate whether the service is allowed to be executed.
[0010] In combination with the first aspect, in certain implementations of the first aspect, when executing a service and calling an SDK, the first permission indication information is used to indicate whether the SDK executing the service call is allowed to be called.
[0011] In combination with the first aspect, in certain embodiments of the first aspect, the method also includes: obtaining second permission indication information for each system service in at least one system service of the terminal; the second permission indication information is used to indicate whether at least one system service is allowed to be used; determining second information; the second information includes a service identifier of at least one system service and second permission indication information for each system service in at least one system service, and the first information includes the second information.
[0012] Based on this solution, since the second information in the first information includes the service identifier of at least one system service and the second permission indication information of each system service in at least one system service, that is, the second permission indication information of the system service is directly carried in the second information in plain text in the solution of the present application, it is not necessary to have certain professional knowledge to understand the information carried by the second information. Therefore, when the customer service personnel receives the user's question, the customer service personnel can use the second information to determine whether the problem in the user's use of the service is caused by the system service permission, and provide a solution. There is no need for the developers to locate the cause of the problem and determine the solution, which reduces the information flow links and further improves the efficiency of solving user problems.
[0013] In combination with the first aspect, in certain embodiments of the first aspect, the method also includes: detecting at least one exception information in the terminal; the exception information includes permission exception information of the system service, exception information of the broadcast event information and / or exception information of the SDK; determining at least one second log; the second log includes the exception information, and the first information includes at least one second log.
[0014] Based on this solution, since the second log in the first information includes at least one abnormal information in the terminal, that is, the abnormal information in the terminal is directly carried in the second log in plain text in the solution of the present application, it is not necessary to have certain professional knowledge to understand the information carried by the second log. Therefore, when the customer service personnel receives the user's question, the customer service personnel can use the second log to determine whether the abnormal information in the terminal caused the user to have problems in using the service, and provide solutions. There is no need for developers to locate the cause of the problem and determine the solution, which reduces the information flow links and further improves the efficiency of solving user problems.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: receiving target broadcast event information in the terminal; determining third information; the third information includes the target broadcast event information, and the first information includes the third information.
[0016] Based on this solution, since the third information in the first information includes the target broadcast event information in the terminal, that is, the solution of the present application directly carries the target broadcast event information in the terminal in the third information in plain text, it is not necessary to have certain professional knowledge to understand the third carried information. Therefore, when the customer service personnel receives the user's question, the customer service personnel can understand the target broadcast event information in the terminal through the third information, and there is no need for the developer to process the third information, which reduces the information flow links and further improves the efficiency of solving user problems.
[0017] In combination with the first aspect, in some implementations of the first aspect, the method further includes: registering a target listening event; the target listening event is used to listen to target broadcast event information.
[0018] In a second aspect, an information reporting device is provided for implementing the information reporting method of the first aspect. The information reporting device includes a module, unit, or means corresponding to the above method, and the module, unit, or means can be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
[0019] In combination with the second aspect, in certain embodiments of the second aspect, the device includes: an acquisition module and a processing module; the acquisition module is used to obtain first permission indication information of the service in response to the user's execution operation on the service applied in the terminal; the processing module is used to generate a first log; the first log includes the identification of the service and the first permission indication information; the processing module is also used to report the first information in response to the trigger operation; the first information includes the user identification and the first log of the user.
[0020] In combination with the second aspect, in some implementations of the second aspect, when the service is executed without calling the SDK, the first permission indication information is used to indicate whether the service is allowed to be executed.
[0021] In combination with the second aspect, in certain implementations of the second aspect, when executing a service and calling an SDK, the first permission indication information is used to indicate whether the SDK executing the service call is allowed to be called.
[0022] In combination with the second aspect, in certain embodiments of the second aspect, the processing module is also used to: obtain second permission indication information for each system service in at least one system service of the terminal; the second permission indication information is used to indicate whether at least one system service is allowed to be used; determine the second information; the second information includes a service identifier of at least one system service and the second permission indication information for each system service in at least one system service, and the first information includes the second information.
[0023] In combination with the second aspect, in certain embodiments of the second aspect, the processing module is also used to: detect at least one exception information in the terminal; the exception information includes permission exception information of the system service, broadcast event information exception information and / or SDK exception information; determine at least one second log; the second log includes the exception information, and the first information includes at least one second log.
[0024] In combination with the second aspect, in certain embodiments of the second aspect, the processing module is further used to: receive target broadcast event information in the terminal; determine third information; the third information includes the target broadcast event information, and the first information includes the third information.
[0025] In combination with the second aspect, in certain implementations of the second aspect, the processing module is further used to: register a target monitoring event; the target monitoring event is used to monitor target broadcast event information.
[0026] In a third aspect, an information reporting device is provided, comprising: at least one processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the method provided in the first aspect and any possible implementation manner thereof.
[0027] In a fourth aspect, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an information reporting device, the information reporting device can execute the method provided in the first aspect and any possible implementation manner thereof.
[0028] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method provided in the first aspect and any possible implementation manner thereof.
[0029] Among them, the technical effects brought about by any implementation of the second to fifth aspects can refer to the technical effects brought about by different implementations of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the architecture of an information reporting system provided for this application;
[0031] Figure 2 A flowchart of an information reporting method provided for this application;
[0032] Figure 3 A flowchart of another information reporting method provided for this application;
[0033] Figure 4 A flowchart of another information reporting method provided for this application;
[0034] Figure 5 A flowchart of another information reporting method provided for this application;
[0035] Figure 6 A schematic diagram of the structure of an information reporting device provided by this application;
[0036] Figure 7A structural diagram of another information reporting device provided in this application. DETAILED DESCRIPTION
[0037] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0038] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.
[0039] Meanwhile, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.
[0040] It is understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It is understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0041] It can be understood that in the present application, "when", "if" and "if" all mean that corresponding processing will be carried out under certain objective circumstances, but do not limit the time, nor do they require judgment actions when implementing them, nor do they mean the existence of other limitations.
[0042] It can be understood that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects, or may be combined with other features according to needs in certain scenarios. Accordingly, the devices provided in the embodiments of the present application may also realize these features or functions accordingly, which will not be elaborated here.
[0043] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments in this application, and the various implementation methods in each embodiment, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The following implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0044] Figure 1 This is a schematic diagram of the architecture of an information reporting system provided by this application. The technical solution of the embodiment of this application can be applied to Figure 1 The information reporting system shown in Figure 1 As shown, the information reporting system 10 includes an information reporting device 11 and an electronic device 12 .
[0045] The information reporting device 11 is directly or indirectly connected to the electronic device 12. In this connection relationship, a wired connection or a wireless connection may be adopted, which is not limited in the embodiment of the present application.
[0046] The information reporting device 11 and the electronic device 12 can exchange data.
[0047] It should be noted that the information reporting device 11 and the electronic device 12 can be independent devices or integrated into the same device, and this application does not make any specific limitation on this.
[0048] When the information reporting device 11 and the electronic device 12 are integrated into the same device, for example, integrated into a terminal, the communication method between the information reporting device 11 and the electronic device 12 is the communication between the internal modules of the device. In this case, the communication process between the two is the same as "the communication process between the two when the information reporting device 11 and the electronic device 12 are independent of each other".
[0049] Exemplarily, the terminal in the embodiments of the present application may be a mobile phone, a tablet computer, a wearable device (such as a smart watch), a personal digital assistant (PDA), a laptop computer, a vehicle-mounted device, an Internet of Things device, or the like. The embodiments of the present application do not impose any special restrictions on the specific form of the terminal.
[0050] In the following embodiments provided in the present application, the present application is described by taking the example that the information reporting device 11 and the electronic device 12 are independently configured.
[0051] In practical applications, the information reporting method provided in the embodiment of the present application can be applied to the information reporting device 11, and can also be applied to the device included in the information reporting device 11.
[0052] In the following, in conjunction with the accompanying drawings, the information reporting method provided in the embodiment of the present application is described by taking the application of the information reporting method to the information reporting device 11 as an example.
[0053] Figure 2 A flowchart of an information reporting method provided for this application, such as Figure 2 As shown, the method comprises the following steps:
[0054] S201: The information reporting device obtains first permission indication information of a service in response to an execution operation of a user on a service applied in a terminal.
[0055] It should be noted that the service may be a telephone dialing service or an off-site check-in service. Of course, the service may also be a service with other names, and this application does not impose any specific restrictions on this.
[0056] In the case where the SDK is not called when executing the service, the first permission indication information is used to indicate whether the service is allowed to be executed. For example, taking the service of making a phone call as an example, making a phone call does not require calling the SDK, and the first permission indication information is used to indicate whether the service of making a phone call is allowed to be executed. For example, the first permission indication information can be service permission on or service permission off.
[0057] In the case of executing a business calling an SDK, the first permission indication information is used to indicate whether the SDK executing the business call is allowed to be called. For example, taking the business of field check-in as an example, field check-in requires calling the positioning SDK, and the first permission indication information is used to indicate whether the positioning SDK is allowed to be called. For example, the first permission indication information can be to close the permission to call the SDK or to open the permission to call the SDK.
[0058] Optionally, when executing a business call SDK, if the first permission indication information is used to indicate that the called SDK is not allowed to be called, the prohibition call reason information can also be obtained. The prohibition call reason information is used to indicate the reason why the called SDK is not allowed to be called. For example, taking the positioning SDK as an example, the prohibition call reason information can be insufficient quota for the positioning SDK.
[0059] Optionally, when the first permission indication information indicates that the service is not allowed to be executed, or the first permission indication information indicates that the called SDK is not allowed to be called, the information reporting device may also send a prompt message to the user, and the enhanced information is used to prompt that the service is not allowed to be executed, or the called SDK is not allowed to be called.
[0060] In order to comply with relevant regulations and avoid harassing users, the information reporting device may send prompt information to the user once. Of course, the information reporting device may send prompt information to the user multiple times, and this application does not impose any specific restrictions on this.
[0061] As a possible implementation, combining Figure 1 In response to the user's execution operation on the service applied in the terminal, the information reporting device sends first request information for requesting first permission indication information of the service to the electronic device. Correspondingly, the electronic device receives the first request information from the information reporting device.
[0062] The electronic device generates first response information including the first permission indication information of the service, and sends the first response information to the information reporting device. Correspondingly, the information reporting device receives the first response information of the electronic device and obtains the first permission indication information of the service from the first response information.
[0063] S202: The information reporting device generates a first log.
[0064] The first log includes the business identifier and first authority indication information.
[0065] As an example, when executing a service without calling the SDK, taking the service of making a phone call as an example, if the service of making a phone call is allowed to be executed, the first log may be "making a phone call - making a phone call permission enabled".
[0066] If the call making service is not allowed to be executed, the first log may be "make a call - call making permission closed".
[0067] As another example, when executing a business calling SDK, taking the business as the field sign-in business, if the positioning SDK called by the field sign-in business is not allowed to be called, the first log can be "Field sign-in-positioning SDK-Permission to call positioning SDK is closed", or, when the reason information for the prohibited call is also obtained, the first log can be "Field sign-in-positioning SDK-Permission to call positioning SDK is closed-insufficient credit".
[0068] If the positioning SDK used to perform the field attendance service is allowed to be called, the first log may be "Field attendance-Positioning SDK-Calling positioning SDK permission enabled".
[0069] It should be noted that the specific description of generating the log in S202 can refer to the existing solution, and this application will not explain it again here.
[0070] S203: The information reporting device reports first information in response to the triggering operation.
[0071] The first information includes a user ID and a first log of the user.
[0072] It should be noted that the trigger operation can be the user clicking a report button on the display screen of the terminal, or the trigger operation can also be a preset report trigger operation set periodically. Of course, the trigger operation can also be other trigger operations, and this application does not impose specific restrictions on this.
[0073] The user identifier can be the user's mobile phone number, the user's ID, or the user's name. Of course, the user identifier can also be other information that can identify the user, and this application does not impose any specific restrictions on this.
[0074] As a possible implementation manner, the information reporting device reports the first information to the customer service system in response to the triggering operation.
[0075] In the existing scheme, since it is necessary to have certain professional knowledge to understand the information carried by the log, after obtaining the problem and log, the customer service personnel need to feedback the problem and log to the developer, and the developer locates the cause of the problem and determines the solution. Compared with the existing scheme, the scheme of the present application obtains the first permission indication information of the business in response to the user's execution operation on the business applied in the terminal, and then generates a first log including the identification of the business and the first permission indication information, and then, in response to the trigger operation, reports the first information including the user identification and the first log of the user. Since the first log includes the identification and the first permission indication information of the business, that is, the scheme of the present application directly carries the first permission indication information of the business in the first log in plain text, and does not need certain professional knowledge to understand the information carried by the first log. Therefore, when the customer service personnel receives the user's problem, the customer service personnel can judge whether the user's use of the business is caused by the business authority through the first log, and give a solution. There is no need for the developer to locate the cause of the problem and determine the solution, which reduces the information flow link, thereby improving the efficiency of solving user problems.
[0076] The above is a general description of the information reporting method provided by the present application. The following will further describe the information reporting method provided by the present application in conjunction with the accompanying drawings.
[0077] In one design, Figure 3 A flowchart of another information reporting method provided for this application is as follows: Figure 3 As shown, the information reporting method provided by this application may also include the following steps:
[0078] S301. An information reporting apparatus obtains second permission indication information of each system service in at least one system service of a terminal.
[0079] The second permission indication information is used to indicate whether at least one system service is allowed to be used.
[0080] It should be noted that the system service may be a positioning service, a microphone usage service, an audio playback service, and of course, the system service may also include other system services, and this application does not impose any specific restrictions on this.
[0081] Exemplarily, the second permission indication information may be system service permission closed or system service permission opened.
[0082] As a possible implementation method, for each system service in at least one system service of the terminal, the information reporting device detects the user's operation of changing the permissions of the system service, obtains the result information of the operation, the result information includes second permission indication information of the system service, and the information reporting device obtains the second permission indication information of the system service from the result information.
[0083] S302: The information reporting device determines second information.
[0084] The second information includes a service identifier of at least one system service and second permission indication information of each system service in the at least one system service, and the first information includes the second information.
[0085] It should be noted that the second information can be a HashMap<String,Int> , where String represents the service identifier of the system service, and Int represents the second permission indication information of the system service.
[0086] As a possible implementation method, the information reporting device writes the service identifier of the system service and the second permission indication information of each system service in the system service into the HashMap<String,Int> , and obtain the second information.
[0087] Based on this solution, since the second information in the first information includes the service identifier of at least one system service and the second permission indication information of each system service in at least one system service, that is, the second permission indication information of the system service is directly carried in the second information in plain text in the solution of the present application, it is not necessary to have certain professional knowledge to understand the information carried by the second information. Therefore, when the customer service personnel receives the user's question, the customer service personnel can use the second information to determine whether the problem in the user's use of the service is caused by the system service permission, and provide a solution. There is no need for the developers to locate the cause of the problem and determine the solution, which reduces the information flow links and further improves the efficiency of solving user problems.
[0088] In one design, Figure 4 A flowchart of another information reporting method provided for this application is as follows: Figure 4 As shown, the information reporting method provided by this application may also include the following steps:
[0089] S401: An information reporting device detects at least one abnormal information in a terminal.
[0090] The exception information includes exception information of system service permissions, exception information of broadcast event information and / or exception information of SDK.
[0091] It should be noted that the broadcast event information may be system broadcast event information or customized broadcast event information.
[0092] The SDK can be a system SDK or a third-party SDK.
[0093] As a possible implementation manner, the information reporting device calls the system abnormality service service to detect at least one abnormal information in the terminal.
[0094] S402: The information reporting device determines at least one second log.
[0095] The second log includes abnormal information, and the first information includes at least one second log.
[0096] As a possible implementation manner, the information reporting device generates a second log based on the abnormal information.
[0097] It should be noted that the specific description of generating logs in possible implementations can refer to existing solutions, and this application will not explain them again.
[0098] Based on this solution, since the second log in the first information includes at least one abnormal information in the terminal, that is, the abnormal information in the terminal is directly carried in the second log in plain text in the solution of the present application, it is not necessary to have certain professional knowledge to understand the information carried by the second log. Therefore, when the customer service personnel receives the user's question, the customer service personnel can use the second log to determine whether the abnormal information in the terminal caused the user to have problems in using the service, and provide solutions. There is no need for developers to locate the cause of the problem and determine the solution, which reduces the information flow links and further improves the efficiency of solving user problems.
[0099] In one design, Figure 5 A flowchart of another information reporting method provided for this application is as follows: Figure 5 As shown, the information reporting method provided by this application may also include the following steps:
[0100] S501, the information reporting device registers a target monitoring event.
[0101] Among them, the target monitoring event is used to monitor the target broadcast event information.
[0102] Exemplarily, the target monitoring event may be a call hanging up event or a call dialing event. Of course, the target monitoring event may also be other monitoring events, and this application does not impose any specific limitation on this.
[0103] As a possible implementation method, the information reporting device registers the target monitoring event through a monitoring register.
[0104] It should be noted that the specific description of this possible implementation method can refer to the existing solution, and this application will not explain it again here.
[0105] S502: The information reporting device receives target broadcast event information in the terminal.
[0106] It should be noted that after the information reporting device registers the target monitoring event, if a target broadcast event occurs, the information reporting device can receive the target broadcast event information.
[0107] S503: The information reporting device determines third information.
[0108] The third information includes target broadcast event information, and the first information includes the third information.
[0109] It should be noted that the third information may also be called a third log.
[0110] As a possible implementation manner, the information reporting device encapsulates the target broadcast event information to obtain the third information.
[0111] It should be noted that, in this possible implementation, the specific description of encapsulating data can refer to the existing solution, and this application will not explain it again.
[0112] Based on this solution, since the third information in the first information includes the target broadcast event information in the terminal, that is, the solution of the present application directly carries the target broadcast event information in the terminal in the third information in plain text, it is not necessary to have certain professional knowledge to understand the third carried information. Therefore, when the customer service personnel receives the user's question, the customer service personnel can understand the target broadcast event information in the terminal through the third information, and there is no need for the developer to process the third information, which reduces the information flow links and further improves the efficiency of solving user problems.
[0113] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of the information reporting device executing the information reporting method. In order to realize the above functions, the information reporting device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0114] The embodiment of the present application can divide the functional modules of the information reporting device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic, which is only a logical function division, and there may be other division methods in actual implementation. In addition, the "module" here may refer to a specific application-specific integrated circuit (ASIC), a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.
[0115] In the case of functional module division, Figure 6 FIG. 1 shows a schematic diagram of the structure of an information reporting device. Figure 6 As shown, the information reporting device 60 includes an acquisition module 601 and a processing module 602 .
[0116] In some embodiments, the information reporting device 60 may also include a storage module ( Figure 6 ), for storing program instructions and data.
[0117] Among them, the acquisition module 601 is used to obtain the first permission indication information of the service in response to the user's execution operation on the service applied in the terminal; the processing module 602 is used to generate a first log; the first log includes the identification of the service and the first permission indication information; the processing module 602 is also used to report the first information in response to the trigger operation; the first information includes the user identification and the first log of the user.
[0118] Optionally, when the SDK is not called when executing the service, the first permission indication information is used to indicate whether the service is allowed to be executed.
[0119] Optionally, in the case of executing a service calling an SDK, the first permission indication information is used to indicate whether the SDK executing the service calling is allowed to be called.
[0120] Optionally, the processing module 602 is also used to: obtain second permission indication information for each system service in at least one system service of the terminal; the second permission indication information is used to indicate whether at least one system service is allowed to be used; determine the second information; the second information includes the service identifier of at least one system service and the second permission indication information for each system service in at least one system service, and the first information includes the second information.
[0121] Optionally, the processing module 602 is also used to: detect at least one exception information in the terminal; the exception information includes permission exception information of the system service, broadcast event information exception information and / or SDK exception information; determine at least one second log; the second log includes the exception information, and the first information includes at least one second log.
[0122] Optionally, the processing module 602 is further used to: receive target broadcast event information in the terminal; determine third information; the third information includes the target broadcast event information, and the first information includes the third information.
[0123] Optionally, the processing module 602 is further used to: register a target monitoring event; the target monitoring event is used to monitor target broadcast event information.
[0124] All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0125] When the functions of the above functional modules are implemented in the form of hardware, Figure 7 FIG. 2 shows a schematic diagram of the structure of another information reporting device. Figure 7 As shown, the information reporting device 70 includes a processor 701, a memory 702 and a bus 703. The processor 701 and the memory 702 may be connected via the bus 703.
[0126] The processor 701 is the control center of the information reporting device 70, which can be a processor or a general term for multiple processing elements. For example, the processor 701 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0127] As an embodiment, the processor 701 may include one or more CPUs, such as Figure 7 CPU0 and CPU1 are shown in the figure.
[0128] The memory 702 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0129] As a possible implementation, the memory 702 may exist independently of the processor 701, and the memory 702 may be connected to the processor 701 via a bus 703 to store instructions or program codes. When the processor 701 calls and executes the instructions or program codes stored in the memory 702, the information reporting method provided in the embodiment of the present application can be implemented.
[0130] In another possible implementation, the memory 702 may also be integrated with the processor 701 .
[0131] The bus 703 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0132] It should be pointed out that Figure 7 The structure shown does not constitute a limitation on the information reporting device 70. Figure 7 In addition to the components shown, the information reporting device 70 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0133] As an example, combining Figure 6 The functions implemented by the acquisition module 601 and the processing module 602 in the information reporting device 60 are similar to those Figure 7 The function of processor 701 in is the same.
[0134] Optional, such as Figure 7 As shown, the information reporting device 70 provided in the embodiment of the present application may also include a communication interface 704.
[0135] The communication interface 704 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 704 may include a receiving unit for receiving data and a sending unit for sending data.
[0136] In a possible implementation, in the information reporting device 70 provided in the embodiment of the present application, the communication interface 704 may also be integrated in the processor 701, and the embodiment of the present application does not specifically limit this.
[0137] As a possible product form, the information reporting device of the embodiment of the present application can also be implemented using the following: one or more field programmable gate arrays (FPGA), programmable logic devices (PLD), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits that can perform the various functions described throughout the present application.
[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0139] An embodiment of the present application also provides a computer-readable storage medium on which a computer program or instruction is stored. When the computer program or instruction is executed, the computer executes each step in the method flow shown in the above method embodiment.
[0140] An embodiment of the present application provides a computer program product including instructions. When the instructions are executed on a computer, the computer is caused to execute each step in the method flow shown in the above method embodiment.
[0141] An embodiment of the present application provides a chip system, including: a processor and an interface circuit; the interface circuit is used to receive a computer program or instruction and transmit it to the processor; the processor is used to execute the computer program or instruction so that the chip system executes each step in the method flow shown in the above method embodiment.
[0142] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage media in a suitable combination of the above, or numerical values in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in a specific-purpose ASIC. In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0143] Since the information reporting device, computer-readable storage medium, and computer program product provided in this embodiment can be applied to the information reporting method provided by this embodiment, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of this application will not be repeated here.
[0144] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other changes to the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0145] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. An information reporting method, characterized in that: The method comprises: In response to an execution operation of a service applied in a terminal by a user, obtaining first permission indication information of the service; Generate a first log; the first log includes an identifier of the service and the first authority indication information; In response to a trigger operation, first information is reported; the first information includes a user identifier of the user and the first log.
2. The method according to claim 1, characterized in that In the case where the service is executed without calling the SDK, the first permission indication information is used to indicate whether the service is allowed to be executed.
3. The method according to claim 1, characterized in that In the case of executing the service calling SDK, the first permission indication information is used to indicate whether the SDK executing the service calling is allowed to be called.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Acquire second permission indication information of each system service in at least one system service of the terminal; the second permission indication information is used to indicate whether the at least one system service is allowed to be used; Determine second information; the second information includes a service identifier of the at least one system service and second permission indication information of each system service in the at least one system service, and the first information includes the second information.
5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: At least one abnormal information in the terminal is detected; the abnormal information includes abnormal information of permission of system services, abnormal information of broadcast event information and / or abnormal information of SDK; At least one second log is determined; the second log includes the exception information, and the first information includes the at least one second log.
6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving target broadcast event information in the terminal; Determine third information; the third information includes the target broadcast event information, and the first information includes the third information.
7. The method according to claim 6, characterized in that The method further comprises: Register a target listening event; the target listening event is used to listen to the target broadcast event information.
8. An information reporting device, characterized in that: The device comprises: an acquisition module and a processing module; The acquisition module is used to acquire first permission indication information of the service in response to the user's execution operation on the service applied in the terminal; The processing module is used to generate a first log; the first log includes an identifier of the service and the first authority indication information; The processing module is further used to report first information in response to a trigger operation; the first information includes a user identifier of the user and the first log.
9. An information reporting device, characterized in that: The information reporting device includes: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instructions are executed, the computer is caused to perform the method according to any one of claims 1 to 7.