Method and device for viewing application data
By providing search tools in the mobile terminal, the problem that the application cannot view the editing mode data is solved, and the cause of abnormalities is quickly positioned, which improves the resolution efficiency of abnormal problems and the application launch time.
Patent Information
- Application Number
- CN202111497271.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-09
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2041-12-09
AI Technical Summary
The application cannot view the application data in edit mode when running on the mobile terminal, which causes abnormal problems to be unable to quickly locate the cause of the abnormality, which reduces the efficiency of solving abnormal problems and affects the launch time.
It provides a search tool that can present the data retrieval interface of an application in a mobile terminal, and view the application data and operating parameter information of each data level through the data retrieval interface, supports fuzzy search and storage functions, and achieves rapid positioning of the causes of abnormalities.
Quickly locate the causes of abnormalities through search tools, which improves the efficiency of solving abnormal problems, reduces the cost of reproduction, and shortens the time for online release of applications.
Smart Images

Figure CN114139026B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for viewing application data. Background Art
[0002] With the advancement of technology, various applications have become part of our daily lives, enriching our leisure time. Currently, every application, such as gaming software, undergoes a series of development, debugging, and release processes. Before official release, or during subsequent version updates, each application is loaded onto a mobile device for a trial run to verify the correctness of the application data and, based on the test results, to modify the application.
[0003] However, since the application data in edit mode cannot be viewed while the application is running on a mobile terminal, when an abnormality occurs while the application is running on a mobile terminal, it will not be possible to quickly locate the abnormal application data based on the mobile terminal. For example, if the application is game software, the game data is normal in edit mode, but when loaded and run on a mobile terminal, abnormalities such as resource loss, sudden black screen, and other sudden problems will occur. At this time, if you want to query the cause of the abnormality, you can only return to edit mode and query to reproduce the abnormality, or wait for the application version to be updated and query during the application version update process.
[0004] Therefore, since the corresponding application data cannot be viewed when the application is running on the mobile terminal, the cause of the exception cannot be quickly located when an exception occurs, which reduces the efficiency of solving the exception problem and affects the online release time of the application. Summary of the Invention
[0005] The present application provides a method and device for querying application data on a mobile terminal, which are used to view application data in a mobile terminal to quickly locate the cause of anomalies and improve the efficiency of resolving abnormal problems.
[0006] In a first aspect, an embodiment of the present application provides a method for viewing application data, the method comprising:
[0007] During the test operation of an application in a mobile terminal, a search tool interface is presented in response to an application data search instruction triggered for the application; the search tool interface includes at least: at least one data search interface corresponding to the application, each data search interface corresponding to a data processing method;
[0008] In response to a triggering operation on a data retrieval interface, at least one application data and corresponding operating parameter information obtained for each data level under a data processing mode corresponding to the data retrieval interface are displayed in the retrieval tool interface.
[0009] In a second aspect, an embodiment of the present application provides a device for viewing application data, the device comprising:
[0010] A presentation unit is configured to present a search tool interface in response to an application data search instruction triggered for an application during a test run of the application in the mobile terminal; the search tool interface includes at least one data search interface corresponding to the application, each data search interface corresponding to a data processing method;
[0011] The display unit is used to respond to a trigger operation on a data retrieval interface and display at least one application data and corresponding operating parameter information obtained for each data level under a data processing mode corresponding to a data retrieval interface in a retrieval tool interface.
[0012] In a possible implementation, the search tool interface further includes: a search function interface;
[0013] Before the display unit responds to a trigger operation on a data retrieval interface, it is further configured to:
[0014] In response to an interface search instruction triggered by a search function interface, determining a target character string included in the interface search instruction;
[0015] Based on the target character string, searching for at least one target data retrieval interface in at least one data retrieval interface;
[0016] In the search tool interface, at least one target data search interface is displayed.
[0017] In a possible implementation, the display unit is specifically configured to:
[0018] Determining the data name of each of the at least one data retrieval interfaces, the name string corresponding to each of the data names, and the length of the corresponding name string;
[0019] Determine a target string length of a target string, and screen out, from at least one data retrieval interface, at least one candidate data name having a name string length greater than or equal to the target string length, and a corresponding candidate data retrieval interface;
[0020] Among the at least one candidate data retrieval interface that is screened out, at least one target data retrieval interface whose name string contains a target string is screened out.
[0021] In a possible implementation, the display unit is further configured to:
[0022] For at least one candidate retrieval interface, perform the following operations:
[0023] Match each name character in the name string corresponding to a candidate search interface with the first character in the target string;
[0024] If it is determined that there is a successfully matched name character, then starting with the successfully matched name character, the other name characters that are consecutive to the name character and the remaining characters in the target string are matched one by one in the corresponding arrangement order, and based on the matching result, a candidate data retrieval interface corresponding to the name character string is selected;
[0025] If it is determined that there is no successfully matched name character, then a candidate data retrieval interface corresponding to the name character string is not screened.
[0026] In a possible implementation, the display unit is further configured to:
[0027] If the matching result indicates that the other name characters and the remaining characters are matched successfully, a candidate data retrieval interface corresponding to the name string is screened out;
[0028] If the matching result indicates that other name characters and the remaining characters fail to match, a candidate data retrieval interface corresponding to the name string is not screened.
[0029] In a possible implementation, the display unit is further configured to:
[0030] In the search tool interface, directly display at least one target data search interface; or
[0031] In the search tool interface, at least one target data search interface and corresponding emphasis marks are displayed.
[0032] In a possible implementation, the search tool interface further includes: a storage function interface;
[0033] The display unit displays, in the search tool interface, at least one target application data and corresponding operating parameter information obtained for each data level under a data processing mode corresponding to a data search interface, and is further configured to:
[0034] In response to a storage instruction triggered by selecting target application data and corresponding target operating parameter information from the at least one application data and corresponding operating parameter information, convert the target application data and the corresponding target operating parameter information into corresponding text information;
[0035] Call the storage function interface and save the target application data and corresponding target operating parameter information in the form of a text file.
[0036] In a possible implementation, the search tool interface further includes: a read function interface;
[0037] The display unit calls the storage function interface to save the target application data and corresponding target operating parameter information in the form of a text file. It is also used to:
[0038] In response to a read instruction triggered for a text file;
[0039] The reading function interface is called in the form of a directory, and the target application data and corresponding target operation parameter information contained in the text file are displayed in the search tool interface.
[0040] In a possible implementation, before the presentation unit responds to the application data retrieval instruction triggered for the application, it is further configured to:
[0041] During the test run of the application in the mobile terminal, the running status of the application is monitored, and when an abnormality occurs in the application, an abnormal prompt message is displayed in the application interface;
[0042] The exception prompt information is used to remind the target object to retrieve the application data of the application.
[0043] In a third aspect, an embodiment of the present application provides a device for viewing application data, comprising: a memory and a processor, wherein the memory is used to store computer instructions; and the processor is used to execute computer instructions to implement the steps of the method for viewing application data provided in an embodiment of the present application.
[0044] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the steps of the method for viewing application data provided in the embodiment of the present application are implemented.
[0045] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; when the processor of an electronic device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the electronic device executes the steps of the method for viewing application data provided in the embodiment of the present application.
[0046] The beneficial effects of this application are as follows:
[0047] The present application provides a method and apparatus for viewing application data, which is used to enable viewing application data of an application during operation in a mobile terminal. In the present application, a search tool is provided, which can read all application data and corresponding operating parameter information generated when the application is running on the mobile terminal. During the test operation of the application in the mobile terminal, in response to an application data search instruction triggered for the application, a search tool interface is presented; the search tool interface includes at least: at least one data search interface corresponding to the application, each data search interface corresponding to a data processing method; in response to a triggering operation for a data search interface, the search tool interface displays each data layer under the data processing method corresponding to the data search interface, as well as at least one application data obtained for each data layer and corresponding operating parameter information. When the application is running in the mobile terminal, the search tool is used to retrieve and view the application data and corresponding operating parameters of the application. When an abnormal problem occurs, the cause of the abnormal problem can be quickly located, the efficiency of resolving the abnormal problem is improved, the cost is reduced, and the online release time of the application is further improved.
[0048] Other features and advantages of the present application will be described in the following description, and will become apparent from the description or understood by practicing the present application. The objectives and other advantages of the present application can be achieved and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0050] Figure 1 This is a schematic diagram of displaying Unity game data in the Unity game engine when a Unity game is running in the related art;
[0051] Figure 2 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0052] Figure 3 A flowchart of a method for viewing application data provided in an embodiment of the present application;
[0053] Figure 4 A schematic diagram of a display interface of a Unity game provided in an embodiment of the present application;
[0054] Figure 5 A schematic diagram of a search tool interface provided in an embodiment of the present application;
[0055] Figure 6 A schematic diagram showing abnormal prompt information provided in an embodiment of the present application;
[0056] Figure 7 A schematic diagram showing various data levels corresponding to a data retrieval interface provided in an embodiment of the present application;
[0057] Figure 8 A schematic diagram showing the operating parameter information corresponding to each application data provided in an embodiment of the present application;
[0058] Figure 9 A flowchart of a method for searching a target data retrieval interface provided in an embodiment of the present application;
[0059] Figure 10 A schematic diagram of a trigger interface search instruction provided in an embodiment of the present application;
[0060] Figure 11 A schematic diagram of a search target data retrieval interface provided in an embodiment of the present application;
[0061] Figure 12 A schematic diagram of another search target data retrieval interface provided in an embodiment of the present application;
[0062] Figure 13 A schematic diagram showing at least one target data retrieval interface provided in an embodiment of the present application;
[0063] Figure 14 Another schematic diagram showing at least one target data retrieval interface provided in an embodiment of the present application;
[0064] Figure 15 A schematic diagram of storing target application data and corresponding target operating parameter information provided by an embodiment of the present application;
[0065] Figure 16 A flowchart of a specific implementation method for viewing application data provided in an embodiment of the present application;
[0066] Figure 17 A flowchart of another specific implementation method for viewing application data provided in an embodiment of the present application;
[0067] Figure 18 A structural diagram of a device for viewing application data provided in an embodiment of the present application;
[0068] Figure 19 A structural diagram of an electronic device provided in an embodiment of the present application;
[0069] Figure 20 A structural diagram of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solutions and beneficial effects of this application more clear and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described are only some embodiments of this application, not all embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0071] In order to help those skilled in the art better understand the technical solutions of this application, some concepts involved in this application are introduced below.
[0072] Retrieval tool: also known as debugging tool, used in the development and version update process of application to assist developers in correcting application data. It supports storage, search, and reading of application data levels on mobile terminals, as well as application data and corresponding operating parameter information under each level node.
[0073] Unity Game Engine: A real-time 3D interactive content creation and operation platform. All creators, including game developers, artists, architects, automotive designers, and filmmakers, use Unity to turn their ideas into reality. The Unity platform provides a comprehensive suite of software solutions for creating, operating, and monetizing any real-time interactive 2D and 3D content, supporting mobile phones, tablets, PCs, game consoles, and augmented and virtual reality devices.
[0074] Unity Editor: It is a general editor that provides the creation, preview, editing and visual interface of Unity internal objects.
[0075] The word “exemplary” is used hereinafter to mean “serving as an example, example, or illustration.” Any embodiment described as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0076] The terms "first" and "second" are used for descriptive purposes only and should not be construed as explicitly or implicitly indicating relative importance or the number of technical features indicated. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0077] The following is a brief introduction to the design concept of the embodiment of this application:
[0078] The embodiments of the present application involve scenarios such as application development, version updates, etc., which require data correction of the application.
[0079] Currently, every app goes through a series of stages, including development, debugging, and release. Before a formal release, or during a version update, each app is loaded onto a mobile device for a test run to verify the correctness of the application data. The app can then be modified based on the test results.
[0080] However, since the application data in the edit mode cannot be viewed when the application is running on the mobile terminal, when the application is running on the mobile terminal and an abnormal problem occurs, the abnormal application data cannot be quickly located based on the mobile terminal.
[0081] Taking the application as Unity game as an example, when the Unity game is running on a mobile terminal, the information on the Unity editor cannot be viewed. In other words, the data hierarchy of the Unity game, as well as the application data and corresponding operating parameter information under each node of the hierarchy, cannot be viewed on the mobile terminal at present. It can only be viewed in edit mode. Please refer to Figure 1 , Figure 1 The present invention provides an exemplary schematic diagram of displaying Unity game data in the Unity game engine when a Unity game is running in the related art.
[0082] Therefore, when a Unity game encounters an anomaly or debugging issue, it's impossible to quickly locate it like in the editor. For example, game data may appear normal in the Unity editor, but when loaded onto a mobile device, anomalies such as resource loss, a sudden black screen, and other unexpected issues may occur.
[0083] At this time, if you want to query the application data of a certain level node where an exception occurs and the corresponding operating parameter information on the mobile terminal, you can only return to the edit mode and perform a query to reproduce the exception problem, or wait for the application version and query during the application version update process.
[0084] Therefore, since the corresponding application data cannot be viewed when the application is running on the mobile terminal, the cause of the exception cannot be quickly located when an exception occurs, which reduces the efficiency of solving the exception problem and affects the online release time of the application.
[0085] In view of this, an embodiment of the present application provides a method and device for viewing application data, so as to design a retrieval tool capable of viewing application data. The retrieval tool supports searching, saving, and reading data hierarchies in applications in mobile terminals, as well as application data and corresponding operating parameter information under nodes at each level. When an abnormal problem occurs, the application data and operating parameter information can be viewed directly in the retrieval tool, or the application data and corresponding operating parameter information stored when the problem occurs can be opened. In this way, the reproduction cost can be reduced, the cause of the problem can be quickly located, the efficiency of solving abnormal problems can be improved, costs can be reduced, and the online release time of the application can be further improved.
[0086] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application can be combined with each other if there is no conflict.
[0087] Please refer to Figure 2 , Figure 2 Schematic diagram of an application scenario of an embodiment of the present application. The application scenario includes multiple mobile terminals 110 and a server 120, and the mobile terminals 110 and the server 120 can communicate with each other through a communication network.
[0088] In an optional embodiment, the communication network can be a wired network or a wireless network. Therefore, the mobile terminal 110 and the server 120 can be directly or indirectly connected via wired or wireless communication. For example, the mobile terminal 110 can be indirectly connected to the server 120 via a wireless access point, or the mobile terminal 110 can be directly connected to the server 120 via the Internet, which is not limited in this application.
[0089] In the embodiment of the present application, the mobile terminal 110 includes but is not limited to mobile phones, tablet computers, laptop computers, desktop computers, e-book readers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, and other devices; various clients may be installed on the mobile terminal, and the client may be an application (such as a browser, game software, etc.), a web page, a mini-program, etc.;
[0090] Server 120 is a backend server corresponding to the client. Server 120 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0091] It should be noted that the method for viewing application data in the embodiment of the present application can be executed by an electronic device, which can be a server 120 or a mobile terminal 110, that is, the method can be executed by the server 120 or the mobile terminal 110 alone, or can be executed jointly by the server 120 and the mobile terminal 110.
[0092] It should be noted that Figure 2 The figures are only examples. In fact, the number of mobile terminals 110 and servers 120 is not limited and is not specifically limited in the embodiments of the present application.
[0093] In an embodiment of the present application, when there are multiple servers 120, the multiple servers 120 can be combined into a blockchain, and the servers 120 are nodes on the blockchain; as disclosed in the embodiment of the present application, the application data involved in the method of viewing application data can be stored on the blockchain.
[0094] Based on the above application scenarios, the following describes the method for viewing application data provided by the exemplary embodiment of the present application in combination with the above-described application scenarios and according to the accompanying drawings. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this respect. Moreover, the embodiments of the present application can be applied to various scenarios, including not only scenarios for viewing application data, but also various scenarios such as cloud technology, artificial intelligence, smart transportation, and assisted driving.
[0095] Please refer to Figure 3 , Figure 3 A flowchart of a method for viewing application data in an embodiment of the present application is exemplarily provided, and the method includes:
[0096] Step S300, during the test operation of the application in the mobile terminal, in response to the application data retrieval instruction triggered for the application, a retrieval tool interface is presented; the retrieval tool interface includes at least: at least one data retrieval interface corresponding to the application, each data retrieval interface corresponding to a data processing method.
[0097] When the application is running in the mobile terminal, the application's display interface is presented in the mobile terminal; taking the application as a Unity game as an example, please refer to Figure 4 , Figure 4 A schematic diagram of a display interface of a Unity game in an embodiment of the present application is provided as an example. The display interface of the Unity game includes an entry button for a search tool, namely, an application data search function button.
[0098] When you need to determine the current running status of a Unity game, you can click the search tool entry button to enter the search tool interface, where the application data representing the current running status of the Unity game and the corresponding running parameter information will be displayed.
[0099] Please refer to Figure 5 , Figure 5 An exemplary schematic diagram of a search tool interface in an embodiment of the present application is provided. The search tool interface includes at least one data search interface corresponding to a Unity game, and each data search interface corresponds to a data processing method and a corresponding data name.
[0100] like Figure 5 As shown in , the data retrieval interfaces include but are not limited to: Main Camera, Unity scene rendering light (Directional Light), Canvas, and Mobile Hierarchy.
[0101] In a possible implementation, the developer can click the entry button of the search tool at any time to trigger an application data search instruction for the application.
[0102] In another possible implementation, when the developer determines that the application program is running abnormally, the developer clicks an entry button of the search tool to trigger an application data search instruction for the application program.
[0103] Generally, during the test run of the application in the mobile terminal, the running status of the application is monitored, and when an exception occurs in the application, an exception prompt message is displayed in the application interface to remind the R&D personnel to retrieve the application data of the application. Figure 6 , Figure 6 A schematic diagram showing abnormal prompt information in an embodiment of the present application is provided as an example.
[0104] It should be noted that Figure 6 The use of a pop-up window to display abnormal prompt information is only an example. In the embodiment of the present application, abnormal behaviors that occur during the operation of the application can also be used as abnormal prompt information, such as flash back, black screen, etc.
[0105] Step S301 , in response to a triggering operation on a data retrieval interface, displaying at least one application data and corresponding operating parameter information obtained for each data level under a data processing mode corresponding to the data retrieval interface in a retrieval tool interface.
[0106] from Figure 5As can be seen in the figure, the search tool interface includes at least one data search interface, and a click operation can be triggered for any data search interface displayed in the search tool interface.
[0107] In an embodiment of the present application, when a click operation is triggered for a data retrieval interface, the various data levels corresponding to the data retrieval interface, that is, all script components mounted on the data retrieval interface, and at least one application data and corresponding operating parameter information obtained for each data level are displayed in the retrieval tool interface.
[0108] Please refer to Figure 7 , Figure 7 An exemplary schematic diagram of each data level corresponding to a data retrieval interface in an embodiment of the present application is provided. For example, a developer triggers a click operation on the Canvas displayed in the retrieval tool interface. At this time, all data levels mounted on the Canvas, i.e., script components, will be displayed in the retrieval tool interface. Among them, all data levels mounted on the Canvas include but are not limited to: RectTransform, Canvas, Canvas Scaler, and GraphicRaycaster.
[0109] At this point, you can trigger a click operation on any data level to display all application data and corresponding operating parameter information on that data level, i.e., the script component; please refer to Figure 8 , Figure 8 A schematic diagram showing the corresponding operating parameter information of each application data in an embodiment of the present application is provided as an example; for example, when a click operation is triggered on the Canvas Scaler, all the application data on the Canvas Scaler, that is, the corresponding operating parameter information, is displayed.
[0110] In an embodiment of the present application, during the test operation of an application in a mobile terminal, a search tool interface is presented in response to an application data retrieval instruction triggered for the application; the search tool interface at least includes: at least one data retrieval interface corresponding to the application, each data retrieval interface corresponding to a data processing method; in response to a trigger operation for a data retrieval interface, at least one application data and corresponding operating parameter information obtained for each data level under the data processing method corresponding to a data retrieval interface are displayed in the search tool interface. When the application is running in the mobile terminal, the application data and corresponding operating parameter information of the application are retrieved and viewed through the set search tool, so that the application data and corresponding operating parameter information of the application can be viewed in the mobile terminal, so that when an abnormality occurs, the cause of the abnormality can be quickly located, the efficiency of solving the abnormal problem can be improved, and the cost of reproduction can be reduced.
[0111] Since at least one data retrieval interface is displayed in the retrieval tool, and when the retrieval tool interface is initially presented, all data retrieval interfaces corresponding to the application will be displayed in the retrieval tool interface, which is a large number, so that R&D personnel cannot view the data they want to view in time; therefore, in the embodiment of the present application, the retrieval tool interface is also provided with: a search function interface, please refer to Figure 5 .
[0112] The search function is used to quickly view application data under a certain data level, or operating parameter information corresponding to multiple application data, etc. Therefore, the search function interface is mainly used to search for data retrieval interfaces.
[0113] In one possible implementation, a target string is entered in the search box corresponding to the search function interface to perform a fuzzy search; the result obtained by the fuzzy search is at least one target data retrieval interface displayed in the retrieval tool interface, that is, the target data retrieval interface is searched for in all data retrieval interfaces corresponding to the application, and the obtained target data retrieval interface is displayed in the retrieval tool interface.
[0114] Therefore, in an embodiment of the present application, based on the application data retrieval instruction, after presenting the retrieval tool interface, the target string is entered in the search box corresponding to the search function interface contained in the retrieval tool interface to obtain at least one target data retrieval interface, and at least one target data retrieval interface is displayed in the retrieval tool interface.
[0115] Please refer to Figure 9 , Figure 9 A flowchart of a method for searching a target data retrieval interface in an embodiment of the present application is provided as an example, including the following steps:
[0116] Step S900 : In response to an interface search instruction triggered by a search function interface, determining a target character string contained in the interface search instruction.
[0117] Please refer to Figure 10 , Figure 10 A schematic diagram of a triggering interface search instruction in an embodiment of the present application is provided as an example. For example, if the target string "ca" is entered in the search box corresponding to the search function interface and the corresponding search button is clicked, the interface search instruction is triggered and the target string "ca" contained in the interface search instruction is determined.
[0118] Step S901 : searching for at least one target data retrieval interface in at least one data retrieval interface based on a target character string.
[0119] When you initially enter the search tool interface, it contains all data search interfaces corresponding to the application, and each data search interface has a corresponding data name. Each data name corresponds to a name string, and the name string has a certain length.
[0120] In order to speed up the efficiency of searching for the target data retrieval interface, in an embodiment of the present application, the data retrieval interface is first screened based on the name string length and the target string length to screen out at least one candidate data name with a name string length greater than or equal to the target string length, and the candidate data retrieval interface corresponding to each of them; and among the at least one screened candidate data retrieval interface, at least one target data retrieval interface whose name string contains the target string is screened out.
[0121] In an embodiment of the present application, when at least one target data retrieval interface whose name string contains the target string is filtered out from at least one candidate data retrieval interface, the name string corresponding to each candidate data retrieval interface is matched with the target string, and the candidate data retrieval interface corresponding to the successfully matched name string is selected as the target data retrieval interface.
[0122] Please refer to Figure 11 , Figure 11 A schematic diagram of a search target data retrieval interface in an embodiment of the present application is provided as an example.
[0123] Taking the target string T as "ca" as an example, among the name strings corresponding to the candidate data retrieval interfaces, search for the name string containing "ca" in the data name, and use the candidate data retrieval interface corresponding to the searched name string as the target data retrieval interface.
[0124] Suppose a candidate data retrieval interface S is "Canvas", and the name characters S[0] = "c", S[1] = "a", S[2] = "n", S[3] = "v", S[4] = "a", S[5] = "s" in the corresponding name string of the candidate data retrieval interface "Canvas" are matched with the first character T[0] = "c" in the target string respectively.
[0125] In one possible implementation, it is determined that the name characters include the first character "c" in the target string, that is, it is determined that there is a successfully matched name character, and the successfully matched name character is used as the starting position. It can be seen that with S[0] as the starting position, the other name characters that are consecutive with the name character and the remaining characters in the target string are matched one by one in the corresponding arrangement order, that is, the character S[1] = "a" adjacent to the first character is matched with the second character T[1] = "a" in the target character string. When the other name characters and the remaining characters are matched successfully, a candidate data retrieval interface corresponding to the name string is screened out; when the other name characters and the remaining characters fail to match, a candidate data retrieval interface corresponding to the name string is not screened.
[0126] In another possible implementation, it is determined that the name characters do not contain the first character T[0]="c" in the target string, that is, it is determined that there are no successfully matched name characters in the name string, and then a candidate data retrieval interface corresponding to the name string is not screened.
[0127] Please refer to Figure 12 , Figure 12 A schematic diagram of another search target data retrieval interface in an embodiment of the present application is provided as an example.
[0128] Taking the target string T as "abcabd" as an example, among the name strings corresponding to the candidate data retrieval interfaces, search for the name string containing "abcabd" in the data name, and use the candidate data retrieval interface corresponding to the searched name string as the target data retrieval interface.
[0129] Suppose a candidate data retrieval interface S is "abcabcabdabba", and take the first name character S[0] = "a" in the name string corresponding to the candidate data retrieval interface "abcabcabdabba" as the starting position, and match it with the first character T[0] = "a" in the target string. After the match is determined, the second name character S[1] = "b" in the name string is matched with the second character T[1] = "b" in the target name string. After the match is determined, the third name character S[2] = "c" in the name string is matched with the second character T[2] = "c" in the target name string, until the fifth name character in the name string is compared to determine that S[4] does not match T[4];
[0130] After determining that there is no match, the second name character S[1] = "b" in the name string is used as the starting position to match the first character T[0] = "a" in the target string;
[0131] After determining that there is no match, the third name character S[2] = "c" in the name string is used as the starting position to match the first character T[0] = "a" in the target string;
[0132] After determining that there is no match, the fourth name character S[3] = "a" in the name string is used as the starting position to match the first character T[0] = "a" in the target string. After determining the match, S[4] is matched with T[1], and so on. It will not be repeated here.
[0133] Finally, if it is determined that the name character string corresponding to the candidate data retrieval interface contains the target character string, the candidate data retrieval interface is selected as the target data retrieval interface, otherwise the candidate data retrieval interface is not selected.
[0134] Step S902: Display at least one target data retrieval interface in the retrieval tool interface.
[0135] In a possible implementation, when displaying at least one target data retrieval interface in the retrieval tool interface, at least one target data retrieval interface may be directly displayed, that is, only the determined target data retrieval interface is displayed in the retrieval tool interface. Figure 13 , Figure 13 A schematic diagram showing at least one target data retrieval interface provided in an embodiment of the present application;
[0136] In another possible implementation, when displaying at least one target data retrieval interface in the retrieval tool interface, at least one target data retrieval interface and a corresponding highlight mark may be displayed in the retrieval tool interface, wherein the highlight mark is used to indicate that the data retrieval interface is the target data retrieval interface, so that the target object can quickly find the target data retrieval interface among all data retrieval interfaces. Figure 14 , Figure 14 Another schematic diagram showing at least one target data retrieval interface is provided in an embodiment of the present application, for example, the target data retrieval interface is displayed in bold.
[0137] The mobile terminal in the embodiment of the present application can be a mobile phone. When the mobile terminal is a mobile phone, it is not very convenient to operate on the mobile phone. Therefore, a storage function is added in the embodiment of the present application, that is, a function of storing the current data layer, the application data under the data layer, and the corresponding operating parameter information is added, and the current data layer, the application data under the data layer, and the corresponding operating parameter information are stored in text information to facilitate subsequent operations. Therefore, in the embodiment of the present application, a storage function interface is also set in the search tool interface, please refer to Figure 5 .
[0138] In one possible implementation, in the search tool interface, after displaying the data processing mode corresponding to the target data search interface, at least one target application data and corresponding operating parameter information are obtained for each data level, in response to the storage instruction triggered by the target application data and corresponding target operating parameter information selected from the at least one application data and corresponding operating parameter information, the target application data and corresponding target operating parameter information are converted into corresponding text information; and the storage function interface is called to save the target application data and corresponding target operating parameter information in the form of a text file. Please refer to Figure 15 As shown, this is a schematic diagram of a method for storing target application data and corresponding target operating parameter information provided by an embodiment of the present application, and the storage type adopts text type. When the text is opened later, each application data and corresponding operating parameter information can be seen.
[0139] Although the data retrieval interface included in the search tool interface in the embodiment of the present application has realized the function of viewing application data, the display interface of the mobile terminal is small and there is no obvious data hierarchy division between the displayed application data and the corresponding operating parameter information, resulting in low viewing efficiency. Therefore, in the embodiment of the present application, the search tool interface is further provided with: a reading function interface; please refer to Figure 5 .
[0140] In an embodiment of the present application, in response to a read instruction triggered for a specified text file, and calling a read function interface, the target application data and corresponding target operating parameter information contained in the specified text file are displayed in a search tool interface in a directory format.
[0141] In a possible implementation, the designated text file is a text file stored in the form of a text file by the mobile terminal itself calling a storage function interface to store target application data and corresponding target operating parameter information.
[0142] In another possible implementation, the specified text file is received by the mobile terminal from other mobile terminals; for example, the text file stored on the mobile phone is transferred to the computer for viewing, and read on the computer to restore the various data layers when the application is running on the mobile phone, as well as the application data and corresponding operating parameter information under each data layer.
[0143] Below, please refer to Figure 16 , taking the application program as a Unity game as an example, the specific implementation method for viewing application data provided in the embodiment of the present application is explained.
[0144] Figure 16 A flowchart of a specific implementation method for viewing application data in an embodiment of the present application is provided as an example, including the following steps:
[0145] Step S1600 , responding to an application data retrieval instruction triggered for a Unity game, presenting a retrieval tool interface.
[0146] When the Unity game is running in the mobile terminal, the mobile terminal presents a running interface of the Unity game, which at least includes an application data retrieval function interface;
[0147] The target object triggers the application data retrieval instruction by clicking the application data retrieval function interface; at this time, the mobile terminal responds to the application data retrieval instruction triggered for the Unity game and presents the retrieval tool interface.
[0148] Step S1601: responding to an interface search instruction triggered by a search function interface included in a search tool interface, and determining a target character string included in the interface search instruction.
[0149] For example, if a target character string "ca" is entered into the search box corresponding to the search function interface and the search button is clicked, an interface search instruction containing the target character string "ca" is triggered.
[0150] Step S1602 : Match the name character strings corresponding to the respective data retrieval interfaces with the target character strings respectively, and display all target data retrieval interfaces that have been successfully matched.
[0151] For example, if the data retrieval interface "Canvas" contains the target string "ca", it is determined that the data retrieval interface "Canvas" successfully matches the target string "ca", and the matched "Canvas" is displayed in the retrieval tool interface;
[0152] It should be noted that the matched "Canvas" can also be called a data-level node.
[0153] Step S1603: responding to a storage instruction triggered by a storage function interface included in the search tool interface.
[0154] Step S1604: traverse all target data retrieval interfaces, corresponding to each data level, and store at least one application data and corresponding operating parameter information contained in the data level into a text file according to a set data structure.
[0155] After receiving the storage instruction, it traverses all target data retrieval interfaces, that is, traverses all hierarchical data nodes, and stores them into text files according to the specified data structure.
[0156] Step S1605 , responding to a read instruction triggered for a designated text file.
[0157] Step S1606: Read the specified text file and display the target application data and corresponding target operating parameter information contained in the text file in the search tool interface in the form of a directory;
[0158] After receiving the read instruction, the data in the specified text file is displayed and read, and restored into hierarchical node structure data.
[0159] In another possible implementation, it is possible to monitor in real time or periodically whether an interface search instruction, storage instruction, or read instruction is received; please refer to Figure 17 , Figure 17 A flowchart of another specific implementation method for viewing application data in an embodiment of the present application is provided as an example, including the following steps:
[0160] Step S1700: presenting a search tool interface.
[0161] Step S1701, determining whether an interface search instruction triggered by a search function interface included in a search tool interface is received, if so, executing step S1702, otherwise executing step S1700.
[0162] Step S1702: determine the target character string contained in the interface search instruction, match the name character string corresponding to each data retrieval interface with the target character string, and display all target data retrieval interfaces that are successfully matched.
[0163] Step S1703, determining whether a storage instruction is received through a storage function interface included in the search tool interface, if so, executing step S1704, otherwise executing step S1702.
[0164] Step S1704: traverse all target data retrieval interfaces, corresponding to each data level, and store at least one application data and corresponding operating parameter information contained in the data level into a text file according to a set data structure.
[0165] Step S1705, determining whether a read instruction triggered by a read function interface included in the search tool interface for a specified text file is received, if so, executing step S1706, otherwise executing step S1704;
[0166] Step S1706 , reading the designated text file, and displaying the target application data and corresponding target operation parameter information contained in the text file in the search tool interface in the form of a directory.
[0167] In the embodiments of the present application, when an application is running on a mobile terminal, a search tool is provided to retrieve and view the application data and corresponding operating parameter information of the application, and the application data and corresponding operating parameter information can also be stored and read. When an anomaly occurs, the cause of the anomaly is quickly located, improving the efficiency of resolving the anomaly, reducing the cost of reproduction, and accelerating the online release time of the application.
[0168] Based on the same inventive concept as the above-mentioned method embodiment of the present application, a device for viewing application data is also provided in the embodiment of the present application. The principle of solving the problem by the device is similar to that of the method in the above-mentioned embodiment. Therefore, the implementation of the device can refer to the implementation of the above-mentioned method, and the repeated parts will not be repeated.
[0169] Please refer to Figure 18 , Figure 18 An exemplary embodiment of the present application provides a device 1800 for viewing application data. The device 1800 for viewing application data includes: a presentation unit 1801 and a display unit 1802, wherein:
[0170] The presenting unit 1801 is configured to present a search tool interface in response to an application data search instruction triggered for an application during a test run of the application in the mobile terminal; the search tool interface includes at least one data search interface corresponding to the application, each data search interface corresponding to a data processing method;
[0171] The display unit 1802 is used to respond to a trigger operation on a data retrieval interface and display at least one application data and corresponding operating parameter information obtained for each data level under the data processing mode corresponding to the data retrieval interface in the retrieval tool interface.
[0172] In a possible implementation, the search tool interface further includes: a search function interface;
[0173] Before responding to a trigger operation on a data retrieval interface, the display unit 1802 is further configured to:
[0174] In response to an interface search instruction triggered by a search function interface, determining a target character string included in the interface search instruction;
[0175] Based on the target character string, searching for at least one target data retrieval interface in at least one data retrieval interface;
[0176] In the search tool interface, at least one target data search interface is displayed.
[0177] In a possible implementation, the display unit 1802 is specifically configured to:
[0178] Determining the data name of each of the at least one data retrieval interfaces, the name string corresponding to each of the data names, and the length of the corresponding name string;
[0179] Determine a target string length of a target string, and screen out, from at least one data retrieval interface, at least one candidate data name having a name string length greater than or equal to the target string length, and a corresponding candidate data retrieval interface;
[0180] Among the at least one candidate data retrieval interface that is screened out, at least one target data retrieval interface whose name string contains a target string is screened out.
[0181] In a possible implementation, the display unit 1802 is further configured to:
[0182] For at least one candidate retrieval interface, perform the following operations:
[0183] Match each name character in the name string corresponding to a candidate search interface with the first character in the target string;
[0184] If it is determined that there is a successfully matched name character, then starting with the successfully matched name character, the other name characters that are consecutive to the name character and the remaining characters in the target string are matched one by one in the corresponding arrangement order, and based on the matching result, a candidate data retrieval interface corresponding to the name character string is selected;
[0185] If it is determined that there is no successfully matched name character, then a candidate data retrieval interface corresponding to the name character string is not screened.
[0186] In a possible implementation, the display unit 1802 is further configured to:
[0187] If the matching result indicates that the other name characters and the remaining characters are matched successfully, a candidate data retrieval interface corresponding to the name string is screened out;
[0188] If the matching result indicates that other name characters and the remaining characters fail to match, a candidate data retrieval interface corresponding to the name string is not screened.
[0189] In a possible implementation, the display unit 1802 is further configured to:
[0190] In the search tool interface, directly display at least one target data search interface; or
[0191] In the search tool interface, at least one target data search interface and corresponding emphasis marks are displayed.
[0192] In a possible implementation, the search tool interface further includes: a storage function interface;
[0193] After displaying at least one target application data and corresponding operating parameter information obtained for each data level under a data processing mode corresponding to a data retrieval interface in the search tool interface, the display unit 1802 is further configured to:
[0194] In response to a storage instruction triggered by selecting target application data and corresponding target operating parameter information from the at least one application data and corresponding operating parameter information, convert the target application data and the corresponding target operating parameter information into corresponding text information;
[0195] Call the storage function interface and save the target application data and corresponding target operating parameter information in the form of a text file.
[0196] In a possible implementation, the search tool interface further includes: a read function interface;
[0197] The display unit 1802 calls the storage function interface to save the target application data and the corresponding target operation parameter information in the form of a text file, and is also used to:
[0198] In response to a read instruction triggered for a text file;
[0199] The reading function interface is called in the form of a directory, and the target application data and corresponding target operation parameter information contained in the text file are displayed in the search tool interface.
[0200] In a possible implementation, before the presentation unit 1801 responds to the application data retrieval instruction triggered for the application, it is further configured to:
[0201] During the test run of the application in the mobile terminal, the running status of the application is monitored, and when an abnormality occurs in the application, an abnormal prompt message is displayed in the application interface;
[0202] The exception prompt information is used to remind the target object to retrieve the application data of the application.
[0203] In an embodiment of the present application, when an application is running in a mobile terminal, the application data and corresponding operating parameter information of the application can be retrieved and viewed through a set retrieval tool, and the application data and corresponding operating parameter information can be stored for subsequent viewing. When an abnormality occurs, the cause of the abnormality can be quickly located, thereby improving the efficiency of solving the abnormal problem and reducing the cost of reproduction.
[0204] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.
[0205] After introducing the method and device for viewing application data according to an exemplary embodiment of the present application, next, an apparatus for viewing application data according to another exemplary embodiment of the present application is introduced.
[0206] Those skilled in the art will appreciate that various aspects of the present application can be implemented as systems, methods, or program products. Therefore, various aspects of the present application can be specifically implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation that combines hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system."
[0207] In some possible implementations, the apparatus for viewing application data according to the present application may include at least a processor and a memory. The memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the method for viewing application data according to various exemplary embodiments of the present application described in this specification. For example, the processor may execute the following steps: Figure 3 Follow the steps shown in .
[0208] After introducing the method and apparatus for viewing application data according to an exemplary embodiment of the present application, an electronic device according to another exemplary embodiment of the present application is introduced next.
[0209] Based on the same inventive concept as the above-mentioned method embodiment of the present application, an electronic device is also provided in the embodiment of the present application. In one embodiment, the electronic device may be a server, such as Figure 1 In this embodiment, the structure of the electronic device can refer to that shown in FIG19 , including a memory 1901 , a communication module 1903 and one or more processors 1902 .
[0210] Memory 1901 is used to store computer programs executed by processor 1902. Memory 1901 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and programs required for running instant messaging functions, while the data storage area may store various instant messaging messages and operating instruction sets.
[0211] Memory 1901 may be a volatile memory, such as random-access memory (RAM); a non-volatile memory, such as read-only memory, flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or any other medium capable of carrying or storing a desired computer program in the form of instructions or data structures and accessible by a computer, but is not limited thereto. Memory 1901 may be a combination of the aforementioned memories.
[0212] The processor 1902 may include one or more central processing units (CPUs) or digital processing units, etc. The processor 1902 is configured to implement the above-mentioned method for viewing application data when calling the computer program stored in the memory 1901 .
[0213] The communication module 1903 is used to communicate with the mobile terminal and other servers.
[0214] The specific connection medium between the memory 1901, the communication module 1903 and the processor 1902 is not limited in the embodiment of the present application. Figure 19 In the embodiment, the memory 1901 and the processor 1902 are connected via a bus 1904. Figure 19 The connections between the other components are shown in bold lines for illustration only and are not intended to be limiting. The bus 1904 can be divided into an address bus, a data bus, a control bus, etc. For ease of description, Figure 19 The diagram shows a single thick line, but this does not indicate that there is only one bus or one type of bus.
[0215] The memory 1901 stores a computer storage medium, which stores computer executable instructions for implementing the method for viewing application data according to an embodiment of the present application. The processor 1902 is configured to execute the method for viewing application data.
[0216] In another embodiment, the electronic device may also be other electronic devices, such as Figure 1 The mobile terminal 110 shown in FIG. In this embodiment, the structure of the electronic device can refer to FIG. Figure 20As shown, it includes: a communication component 2010, a memory 2020, a display unit 2030, a camera 2040, a sensor 2050, an audio circuit 2060, a Bluetooth module 2070, a processor 2080 and other components.
[0217] The communication component 2010 is used to communicate with the server. In some embodiments, it may include a wireless fidelity (WiFi) module. The WiFi module is a short-range wireless transmission technology. Electronic devices can help users send and receive information through the WiFi module.
[0218] The memory 2020 can be used to store software programs and data. The processor 2080 executes various functions and data processing of the mobile terminal 110 by running the software programs or data stored in the memory 2020. The memory 2020 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 2020 stores an operating system that enables the mobile terminal 110 to run. In the present application, the memory 2020 can store the operating system and various application programs, and may also store code for executing the method for viewing application data in the embodiment of the present application.
[0219] The display unit 2030 can also be used to display information input by the user or provided to the user, as well as a graphical user interface (GUI) for various menus of the mobile terminal 110. Specifically, the display unit 2030 may include a display screen 2032 disposed on the front of the mobile terminal 110. The display screen 2032 may be configured in the form of a liquid crystal display, a light-emitting diode, etc. The display unit 2030 can be used to display, for example, the interface for editing comments to be published in the embodiments of the present application.
[0220] The display unit 2030 can also be used to receive input digital or character information and generate signal input related to user settings and function control of the mobile terminal 110. Specifically, the display unit 2030 may include a touch screen 2031 set on the front of the mobile terminal 110, which can collect user touch operations on or near it, such as clicking a button, dragging a scroll box, etc.
[0221] The touch screen 2031 can be covered on the display screen 2032, or the touch screen 2031 and the display screen 2032 can be integrated to realize the input and output functions of the mobile terminal 110. The integrated display screen can be simply called a touch screen display. In this application, the display unit 2030 can display applications and corresponding operation steps.
[0222] Camera 2040 can be used to capture still images, and users can post comments on images captured by camera 2040 through the application. Camera 2040 can be one or more. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to processor 2080 for conversion into a digital image signal.
[0223] The mobile terminal may further include at least one sensor 2050, such as an acceleration sensor 2051, a distance sensor 2052, a fingerprint sensor 2053, and a temperature sensor 2054. The mobile terminal may also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor.
[0224] The audio circuit 2060, speaker 2061, and microphone 2062 provide an audio interface between the user and the mobile terminal 110. The audio circuit 2060 can convert received audio data into electrical signals and transmit them to the speaker 2061, which converts them into sound signals for output. The mobile terminal 110 may also be configured with a volume button for adjusting the volume of the sound signals. Meanwhile, the microphone 2062 converts the collected sound signals into electrical signals, which are then received by the audio circuit 2060 and converted into audio data. The audio data is then output to the communication component 2010 for transmission to, for example, another mobile terminal 110, or the audio data is output to the memory 2020 for further processing.
[0225] The Bluetooth module 2070 is used to exchange information with other Bluetooth devices having a Bluetooth module through the Bluetooth protocol. For example, the mobile terminal can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 2070 to exchange data.
[0226] The processor 2080 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs stored in the memory 2020 and calling data stored in the memory 2020. In some embodiments, the processor 2080 may include one or more processing units; the processor 2080 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 2080. In the present application, the processor 2080 can run the operating system, application programs, user interface display and touch response, as well as the method for viewing application data in the embodiment of the present application. In addition, the processor 2080 is coupled to the display unit 2030.
[0227] In some possible implementations, various aspects of the method for viewing application data provided by the present application may also be implemented in the form of a program product, which includes a computer program. When the program product is run on an electronic device, the computer program is used to enable the electronic device to perform the steps of the method for viewing application data according to various exemplary embodiments of the present application described above in this specification. For example, the electronic device may perform the following steps: Figure 3 Follow the steps shown in .
[0228] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0229] The program product of the embodiment of the present application may be a portable compact disc read-only memory (CD-ROM) and include a computer program, and can be run on a computing device. However, the program product of the present application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with a command execution system, device, or device.
[0230] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a readable computer program. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with a command execution system, apparatus, or device.
[0231] The computer program embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0232] It should be noted that although several units or subunits of the device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, depending on the embodiment of the application, the features and functions of two or more units described above can be embodied in a single unit. Conversely, the features and functions of a single unit described above can be further divided and embodied by multiple units.
[0233] Furthermore, although the operations of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0234] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain a computer-usable computer program.
[0235] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.
[0236] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A method for viewing application data, characterized in that: The method comprises: During a test run of an application in a mobile terminal, a search tool interface is presented in response to an application data search instruction triggered by an application data search function button in a display interface of the application; the search tool interface includes at least: at least one data search interface corresponding to the application, each data search interface corresponding to a data processing method; the data search function button is an entry button for the search tool; In response to a trigger operation on a data retrieval interface, displaying, in the retrieval tool interface, at least one application data and corresponding operating parameter information obtained for each data level under the data processing mode corresponding to the data retrieval interface; In response to a storage instruction triggered by a target application data and a corresponding target operating parameter information selected from the at least one application data and the corresponding operating parameter information, converting the target application data and the corresponding target operating parameter information into corresponding text information; Calling a storage function interface in the search tool interface to save the target application data and corresponding target operating parameter information in the form of a text file; In response to a read instruction triggered for the text file, the read function interface in the search tool interface is called, and the target application data and corresponding target operating parameter information contained in the text file are displayed in the search tool interface in the form of a directory.
2. The method according to claim 1, wherein The search tool interface also includes: a search function interface; Before responding to a trigger operation on a data retrieval interface, the method further includes: In response to an interface search instruction triggered by the search function interface, determining a target character string included in the interface search instruction; Based on the target character string, searching for at least one target data retrieval interface in the at least one data retrieval interface; In the search tool interface, the at least one target data search interface is displayed.
3. The method according to claim 2, wherein The step of searching for at least one target data retrieval interface in the at least one data retrieval interface based on the target character string specifically includes: respectively determining the data name of each of the at least one data retrieval interfaces, the name character strings corresponding to the respective data names, and the lengths of the corresponding name character strings; determining a target string length of the target string, and screening out, from the at least one data retrieval interface, at least one candidate data name having a name string length greater than or equal to the target string length, and a corresponding candidate data retrieval interface for each candidate data name; Among the at least one candidate data retrieval interface that is screened out, at least one target data retrieval interface whose name string contains the target string is screened out.
4. The method according to claim 3, wherein The step of selecting at least one target data retrieval interface whose name string contains the target string from the selected at least one candidate data retrieval interface comprises: For the at least one candidate search interface, perform the following operations respectively: Match each name character in the name string corresponding to a candidate search interface with the first character in the target string; If it is determined that there is a successfully matched name character, then starting with the successfully matched name character, other name characters that are consecutive to the name character and the remaining characters in the target character string are matched one by one in the corresponding arrangement order, and the candidate data retrieval interface corresponding to the name character string is selected based on the matching result; If it is determined that there is no successfully matched name character, the candidate data retrieval interface corresponding to the name character string is not screened.
5. The method according to claim 4, wherein The step of screening the candidate data retrieval interface corresponding to the name string according to the matching result includes: If the matching result indicates that the other name characters and the remaining characters are matched successfully, then the candidate data retrieval interface corresponding to the name character string is selected; If the matching result indicates that the other name characters and the remaining characters fail to match, the candidate data retrieval interface corresponding to the name character string is not screened.
6. The method according to claim 2, wherein The at least one target data retrieval interface is displayed in the retrieval tool interface, including: In the search tool interface, directly display the at least one target data search interface; or In the search tool interface, the at least one target data search interface and corresponding emphasis marks are displayed.
7. The method according to any one of claims 1 to 6, wherein: Before responding to the application data retrieval instruction triggered for the application program, the method includes: During the test operation of the application in the mobile terminal, the running status of the application is monitored, and when an abnormality occurs in the application, an abnormality prompt message is displayed in the application interface; The abnormal prompt information is used to remind the target object to retrieve the application data of the application program.
8. A device for viewing application data, characterized in that: The device comprises: A presentation unit, configured to present a search tool interface in response to an application data search instruction triggered by an application data search function button in a display interface of the application during a test run of the application in the mobile terminal; the search tool interface comprising at least: at least one data search interface corresponding to the application, each data search interface corresponding to a data processing method; the data search function button being an entry button for the search tool; A display unit is used to respond to a trigger operation on a data retrieval interface and display, in the retrieval tool interface, at least one application data and corresponding operating parameter information obtained for each data level under the data processing mode corresponding to the data retrieval interface; in response to a storage instruction triggered for target application data and corresponding target operating parameter information selected from the at least one application data and corresponding operating parameter information, convert the target application data and corresponding target operating parameter information into corresponding text information; call the storage function interface in the retrieval tool interface to save the target application data and corresponding target operating parameter information in the form of a text file; in response to a read instruction triggered for the text file, call the read function interface in the retrieval tool interface to display the target application data and corresponding target operating parameter information contained in the text file in the retrieval tool interface in the form of a directory.
Citation Information
Patent Citations
Mobile terminal application program searching method and system
CN104077418A
Text query method and apparatus, and electronic device
CN108287885A