Mini-program processing method, device, electronic device, and computer-readable storage medium

By analyzing and evaluating the status of mini programs, unhealthy mini programs can be automatically identified and recalled, solving the problem of mini program loading failure and improving problem repair efficiency and user experience.

CN113204462BActive Publication Date: 2025-09-16BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110425560.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-20
Publication Date
2025-09-16
Estimated Expiration
2041-04-20

AI Technical Summary

Technical Problem

In the existing technology, the problem of failure to load the mini program page cannot be discovered and repaired in a timely manner, resulting in a decline in user experience.

Method used

By obtaining mini program information, using the mini program activity detection engine to perform status analysis, generating status assessment results, and automatically determining the health status of the mini program based on the assessment results, timely discovery and recall of unhealthy mini programs can be achieved.

Benefits of technology

It improves the efficiency of repairing mini-program problems, enhances user experience, reduces the possibility of redistribution of problematic mini-programs, and promotes the positive development of the mini-program ecosystem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113204462B_ABST
    Figure CN113204462B_ABST
Patent Text Reader

Abstract

This disclosure discloses a method, apparatus, electronic device, and computer-readable storage medium for processing mini-programs, relating to the internet and other fields. The method may include: obtaining predetermined mini-program information for any mini-program to be processed; performing a status analysis on the mini-program to be processed based on the mini-program information; generating a status assessment result for the mini-program to be processed based on the analysis result; and determining whether the mini-program to be processed is healthy based on the status assessment result. Application of the solution described in this disclosure can enable timely detection of problematic mini-programs, among other things.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, electronic device, and computer-readable storage medium for processing mini-programs in the Internet field. Background Art

[0002] Many service providers have launched mini-programs, which are popular among the public for their lightweight and convenient features. However, when using mini-programs, users may encounter broken links, such as "mini-program page failed to load," which can affect their ability to use the mini-programs.

[0003] Currently, problematic mini-programs are usually discovered based on user complaints. However, for the vast majority of users, even if they discover a problem with a mini-program, they will not file a complaint, which results in the problem not being discovered in a timely manner, and then the problem not being fixed in a timely manner. Summary of the Invention

[0004] The present disclosure provides a method, device, electronic device, and computer-readable storage medium for processing mini-programs.

[0005] A method for processing a small program, comprising:

[0006] For any mini program to be processed, obtain the scheduled mini program information;

[0007] Performing a status analysis on the mini-program to be processed based on the mini-program information, and generating a status evaluation result of the mini-program to be processed based on the analysis result;

[0008] Determine whether the mini-program to be processed is a healthy mini-program based on the status evaluation result.

[0009] A mini-program processing device includes: an acquisition module, an analysis module, and a determination module;

[0010] The acquisition module is used to acquire predetermined mini-program information for any mini-program to be processed;

[0011] The analysis module is configured to perform a status analysis on the mini-program to be processed based on the mini-program information, and generate a status evaluation result of the mini-program to be processed based on the analysis result;

[0012] The determination module is used to determine whether the mini program to be processed is a healthy mini program based on the status evaluation result.

[0013] An electronic device, comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the method as described above.

[0017] A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method as described above.

[0018] A computer program product comprises a computer program, which implements the above method when executed by a processor.

[0019] One embodiment disclosed above has the following advantages or beneficial effects: based on the acquired mini-program information, the status analysis of the mini-program to be processed can be performed, thereby automatically determining whether the mini-program to be processed is a healthy mini-program, thereby enabling problematic mini-programs to be discovered in a timely manner and correspondingly improving the efficiency of problem repair.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.

[0022] Figure 1 This is a flowchart of an embodiment of the mini-program processing method disclosed herein;

[0023] Figure 2 This is a schematic diagram of the overall implementation process of the mini-program processing method disclosed in this disclosure;

[0024] Figure 3 Schematic diagram of the structure of the first embodiment 30 of the mini-program processing device described in the present disclosure;

[0025] Figure 4 Schematic diagram of the structure of the second embodiment 40 of the mini-program processing device described in the present disclosure;

[0026] Figure 5 A schematic block diagram of an example electronic device 500 is shown, which may be used to implement embodiments of the present disclosure. DETAILED DESCRIPTION

[0027] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0028] Furthermore, it should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " as used herein generally indicates that the associated objects are in an "or" relationship.

[0029] Figure 1 This is a flowchart of an embodiment of the mini-program processing method described in this disclosure. Figure 1 As shown, the following specific implementation methods are included.

[0030] In step 101, for any mini-program to be processed, predetermined mini-program information is obtained.

[0031] In step 102, based on the acquired mini-program information, a status analysis is performed on the mini-program to be processed, and a status evaluation result of the mini-program to be processed is generated based on the analysis result.

[0032] In step 103, it is determined whether the mini-program to be processed is a healthy mini-program based on the status evaluation result.

[0033] It can be seen that in the scheme described in the above method embodiment, the status analysis of the mini-program to be processed can be performed based on the acquired mini-program information, so as to automatically determine whether the mini-program to be processed is a healthy mini-program, thereby enabling problematic mini-programs to be discovered in a timely manner and correspondingly improving the efficiency of problem repair.

[0034] The mini-program(s) to be processed can be determined based on actual needs. For example, at least one of the following can be performed: obtaining the mini-program distribution log of the service provider (or service provider, etc.), obtaining the mini-program display log (or mini-program display log, etc.) of the service provider, obtaining the reporting log generated when the mini-program is loaded on the end (client), and selecting the mini-program corresponding to at least one mini-program identifier in the obtained log as the mini-program to be processed.

[0035] As a resource display format, mini programs typically have their data source centrally distributed and managed by service providers. Therefore, mini program distribution and display logs can be obtained from service providers, which record information such as the mini program ID for each mini program. Additionally, when a mini program is loaded on the client, a reporting log is generated and sent to the backend, such as the service provider, which also includes information such as the mini program ID.

[0036] As a possible implementation method, the mini-programs corresponding to the mini-program identifiers in these logs can be respectively regarded as mini-programs to be processed and processed in accordance with the method described in this disclosure.

[0037] Through the above processing, the small programs to be processed can be determined conveniently and efficiently, thereby laying a good foundation for subsequent processing.

[0038] Based on the mini-program identifier of the mini-program to be processed, the predetermined mini-program information of the mini-program to be processed can be obtained. The specific content included in the mini-program information can be determined according to actual needs. For example, it may include but is not limited to: the mini-program's storage location, resource information, loading specifications, and display appearance.

[0039] Based on the acquired mini program information, a status analysis can be performed on the mini program to be processed, and a status evaluation result of the mini program to be processed can be generated based on the analysis result. For example, a status score corresponding to the mini program to be processed can be generated based on the analysis result.

[0040] There are no restrictions on how to perform status analysis on the Mini Program being processed. For example, the Mini Program activity detection engine can be used to analyze the status of the Mini Program being processed, i.e., perform activity verification. The Mini Program activity detection engine is similar to a chain rule processor, and can perform a rational health analysis of the status of the Mini Program being processed through methods such as playback, shell loading, and simulated clicks.

[0041] Among them, shell loading refers to using an emulator to simulate a client device such as a mobile phone, and using the emulator to simulate the relevant processing of the mini program to be processed, such as loading, etc. The playback mechanism refers to replaying the loading and display processes of the mini program to be processed based on the acquired mini program information. Simulated clicks refer to simulating human operations, such as simulating human clicks and other operations, to interact with the mini program to be processed.

[0042] Based on the results of the playback mechanism, shell loading, and simulated clicks, combined with predetermined scoring rules, a status score corresponding to the mini-program to be processed can be generated, thereby obtaining a status assessment result of the mini-program to be processed. The specific scoring rules can be determined according to actual needs.

[0043] Furthermore, the status assessment results can be used to determine whether the mini-program being processed is healthy. For example, the obtained status score can be compared with a pre-set threshold. If the status score is greater than the threshold, the mini-program being processed can be determined to be healthy. Otherwise, the mini-program being processed can be determined to be unhealthy. The specific value of the threshold can also be determined based on actual needs.

[0044] Through the above processing, the status analysis of the mini-program to be processed can be performed based on the acquired mini-program information, and the status score generated based on the analysis results can be compared with the threshold, etc., to automatically determine whether the mini-program to be processed is a healthy mini-program, so that problematic mini-programs can be discovered in a timely manner.

[0045] In the above method, the status of the mini-program to be processed is analyzed based on the acquired mini-program information, and a status assessment result of the mini-program to be processed is generated based on the analysis results. In actual applications, the status assessment result of the mini-program to be processed can also be generated by combining the analysis results with the reporting log generated when the mini-program to be processed is loaded on the client.

[0046] The report log contains information about the loading of the mini-program, which means it contains more information about the mini-program's operating status in real-world scenarios. This information is of great reference value and can be used as a factor in the scoring process. This means that the analysis results and the report log generated when the mini-program to be processed is loaded on the client side to generate a status assessment result for the mini-program to be processed. For example, the analysis results, the report log generated when the mini-program to be processed is loaded on the client side, and the scoring rules can be combined to generate a corresponding status score for the mini-program to be processed.

[0047] Through the above processing, the scoring mechanism is made more scientific and complete, thereby improving the accuracy of the scoring results, and further improving the accuracy of subsequent processing results.

[0048] If it is determined that the mini program to be processed is a healthy mini program, no further processing is required and it can be used normally by users.

[0049] If it is determined that the mini program to be processed is unhealthy, it can be taken offline, that is, recalled, and then put back online after the problem is fixed.

[0050] Alternatively, if it is determined that the mini program to be processed is an unhealthy mini program, the manual verification result of the mini program to be processed can also be obtained. If the manual verification result shows that the mini program to be processed is an unhealthy mini program, the mini program to be processed can be finally determined to be an unhealthy mini program and can be recalled.

[0051] If the corresponding review team can perform manual verification, and if the mini program to be processed is also considered unhealthy after manual verification, then the mini program to be processed can be finally determined to be unhealthy. Through double verification, the accuracy of the identification results of unhealthy mini programs is improved.

[0052] By recalling unhealthy mini programs, the possibility of problematic mini programs being redistributed is reduced, thereby improving the user experience of users of mini programs and promoting the positive development of the mini program ecosystem.

[0053] Based on the above introduction, Figure 2 This is a schematic diagram of the overall implementation process of the mini-program processing method described in this disclosure.

[0054] like Figure 2 As shown, the service provider's mini-program distribution log can be obtained, the service provider's mini-program display log can be obtained, and the reporting log generated when the mini-program is loaded on the terminal can be obtained, etc., and the mini-program corresponding to each mini-program identifier in the obtained log can be used as the mini-program to be processed.

[0055] like Figure 2 As shown, for any mini program to be processed, the predetermined mini program information can be obtained according to the corresponding mini program identifier, for example, the storage location, resource information, loading specifications, and display appearance of the mini program can be obtained.

[0056] like Figure 2 As shown, based on the acquired Mini Program information, the status of the Mini Program to be processed can be analyzed, and a status assessment result of the Mini Program to be processed can be generated based on the analysis results. For example, a status score corresponding to the Mini Program to be processed can be generated based on the analysis results. For example, the status of the Mini Program to be processed can be analyzed using the Mini Program Activity Detection Engine. The Mini Program Activity Detection Engine is similar to a chain rule processor, and can perform a rational health analysis of the status of the Mini Program to be processed through playback mechanisms, shell loading, and simulated clicks.

[0057] like Figure 2 As shown, based on the obtained status assessment results, it can be determined whether the mini-program to be processed is healthy. For example, the status score corresponding to the mini-program to be processed can be compared with a pre-set threshold. If the status score is greater than the threshold, the mini-program to be processed can be determined to be healthy. Otherwise, the mini-program to be processed can be determined to be unhealthy.

[0058] In addition, if it is determined that the mini program to be processed is unhealthy, it can also be recalled.

[0059] It should be noted that, for the sake of simplicity, the aforementioned method embodiments are described as a series of action combinations. However, those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

[0060] The above is an introduction to the method embodiment. The following is a further explanation of the solution disclosed in the present disclosure through an apparatus embodiment.

[0061] Figure 3 Schematic diagram of the structure of the first embodiment 30 of the mini-program processing device described in this disclosure. Figure 3 As shown, it includes: an acquisition module 301, an analysis module 302 and a determination module 303.

[0062] The acquisition module 301 is used to acquire predetermined mini-program information for any mini-program to be processed.

[0063] The analysis module 302 is used to perform a status analysis on the mini-program to be processed based on the acquired mini-program information, and generate a status evaluation result of the mini-program to be processed based on the analysis result.

[0064] The determination module 303 is used to determine whether the mini program to be processed is a healthy mini program based on the status evaluation result.

[0065] Figure 4 Schematic diagram of the structure of the second embodiment 40 of the mini-program processing device described in this disclosure. Figure 4 As shown, it includes: an acquisition module 301, an analysis module 302, a determination module 303 and a preprocessing module 300.

[0066] Among them, the functions of the acquisition module 301, the analysis module 302 and the determination module 303 are the same as Figure 3 The same is true in the illustrated embodiment.

[0067] The preprocessing module 300 is used to perform at least one of the following: obtaining the service provider's mini-program distribution log, obtaining the service provider's mini-program display log, and obtaining the reporting log generated when the mini-program is loaded on the terminal; and the mini-program corresponding to at least one mini-program identifier in the obtained log can be used as the mini-program to be processed.

[0068] For any mini-program to be processed, the acquisition module 301 can acquire predetermined mini-program information based on the mini-program identifier of the mini-program to be processed. Specific information included in the mini-program information can be determined based on actual needs.

[0069] Based on the acquired mini program information, the analysis module 302 may perform a status analysis on the mini program to be processed, and may generate a status evaluation result of the mini program to be processed based on the analysis result, such as generating a status score corresponding to the mini program to be processed based on the analysis result.

[0070] There are no restrictions on how to perform status analysis on the Mini Program being processed. For example, the Mini Program activity detection engine can be used to perform status analysis on the Mini Program being processed, i.e., to perform activity verification. The Mini Program activity detection engine can use playback mechanisms, shell loading, and simulated clicks to perform a rational health analysis of the status of the Mini Program being processed. Based on the processing results of the playback mechanism, shell loading, and simulated clicks, combined with predetermined scoring rules, a status score corresponding to the Mini Program being processed can be generated, thus obtaining a status assessment result for the Mini Program being processed.

[0071] Furthermore, the determination module 303 can determine whether the mini-program to be processed is healthy based on the status evaluation result. For example, the status score can be compared with a pre-set threshold. If the status score is greater than the threshold, the mini-program to be processed can be determined to be healthy. Otherwise, the mini-program to be processed can be determined to be unhealthy.

[0072] In the above-described method, the analysis module 302 performs a status analysis on the mini-program to be processed based on the acquired mini-program information, and generates a status evaluation result of the mini-program to be processed based on the analysis results. In actual applications, the analysis module 302 can also combine the analysis results and the report log generated when the mini-program to be processed is loaded on the terminal to generate a status evaluation result of the mini-program to be processed. For example, the status score corresponding to the mini-program to be processed can be generated by combining the analysis results, the report log generated when the mini-program to be processed is loaded on the terminal, and the scoring rules.

[0073] In addition, when determining that the mini program to be processed is an unhealthy mini program, the determination module 303 can also obtain the manual verification result of the mini program to be processed. If the manual verification result shows that the mini program to be processed is an unhealthy mini program, the mini program to be processed can be finally determined to be an unhealthy mini program.

[0074] Figure 3 and Figure 4 For the specific working process of the device embodiment shown, please refer to the relevant description in the aforementioned method embodiment, which will not be repeated here.

[0075] In summary, the solution described in the embodiment of the device disclosed herein can enable problematic applets to be discovered in a timely manner and correspondingly improve the efficiency of repairing the problems.

[0076] In the technical solutions disclosed herein, the acquisition, storage, and application of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0077] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0078] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0079] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the device 500 can also be stored in the RAM 503. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0080] Various components in device 500 are connected to I / O interface 505, including: an input unit 506, such as a keyboard, mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, optical disk, etc.; and a communication unit 509, such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows device 500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0081] The computing unit 501 can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the methods described in the present disclosure. For example, in some embodiments, the methods described in the present disclosure can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the method described in the present disclosure can be performed. Alternatively, in other embodiments, the computing unit 501 can be configured to perform the method described in the present disclosure in any other appropriate manner (e.g., by means of firmware).

[0082] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0083] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0084] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer 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 of the foregoing.

[0085] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0086] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0087] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship is established by computer programs running on the respective computers and establishing a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, a host product within the cloud computing service system that addresses the management difficulties and poor business scalability of traditional physical hosts and virtual private servers (VPS). The server may also be a server in a distributed system or a server integrated with blockchain. Cloud computing refers to a technology system that provides elastic and scalable shared physical or virtual resource pools accessed through the network. Resources may include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed in an on-demand, self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for the application of technologies such as artificial intelligence and blockchain, as well as for model training.

[0088] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not a limitation herein.

[0089] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.

Claims

1. A method for processing a mini program, comprising: Obtain the service provider's mini-program distribution log, the service provider's mini-program display log, and the reporting log generated when the mini-program is loaded on the client. Select the mini-program corresponding to the mini-program identifier in the obtained log as the mini-program to be processed. For any mini-program to be processed, obtaining predetermined mini-program information includes: obtaining the mini-program information according to the mini-program identifier of the mini-program to be processed; the mini-program information includes: the storage location, resource information, loading specifications, and display appearance of the mini-program; Based on the mini-program information, a status analysis is performed on the mini-program to be processed, including: performing activity verification on the mini-program to be processed using a mini-program activity detection engine based on the mini-program information, the activity detection verification including a playback mechanism, shell loading, and simulated clicks; combining the analysis results, a reporting log generated when the mini-program to be processed is loaded on the terminal, and a scoring rule to generate a status evaluation result of the mini-program to be processed; Determining whether the mini-program to be processed is a healthy mini-program according to the status assessment result; It also includes: if it is determined that the mini program to be processed is an unhealthy mini program, obtaining the manual verification result of the mini program to be processed; if the manual verification result is that the mini program to be processed is an unhealthy mini program, finally determining the mini program to be processed as an unhealthy mini program.

2. The method according to claim 1, wherein The status evaluation result includes: a status score corresponding to the mini program to be processed; The method of determining whether the applet to be processed is a healthy applet based on the status evaluation result includes: comparing the status score with a pre-set threshold; if the status score is greater than the threshold, determining that the applet to be processed is a healthy applet; otherwise, determining that the applet to be processed is an unhealthy applet.

3. A mini-program processing device, comprising: Preprocessing module, acquisition module, analysis module and determination module; The preprocessing module is configured to obtain the service provider's mini-program distribution log, the service provider's mini-program display log, and the reporting log generated when the mini-program is loaded on the client, and to select the mini-program corresponding to the mini-program identifier in the obtained log as the mini-program to be processed; The acquisition module is configured to acquire predetermined mini-program information for any mini-program to be processed, including: acquiring the mini-program information according to the mini-program identifier of the mini-program to be processed; the mini-program information includes: the mini-program's storage location, resource information, loading specifications, and display appearance; The analysis module is configured to perform a status analysis on the mini-program to be processed based on the mini-program information, including: performing a liveness check on the mini-program to be processed using a mini-program activity detection engine based on the mini-program information, wherein the liveness detection check includes a playback mechanism, shell loading, and simulated clicks; and generating a status evaluation result of the mini-program to be processed based on the analysis results, a reporting log generated when the mini-program to be processed is loaded on the terminal, and a scoring rule. The determination module is configured to determine whether the mini-program to be processed is a healthy mini-program based on the status evaluation result; The determination module is further used to obtain a manual verification result for the applet to be processed if it is determined that the applet to be processed is an unhealthy applet; if the manual verification result shows that the applet to be processed is an unhealthy applet, the applet to be processed is finally determined to be an unhealthy applet.

4. The device according to claim 3, wherein The status evaluation result includes: a status score corresponding to the mini program to be processed; The determination module compares the status score with a preset threshold. If the status score is greater than the threshold, the applet to be processed is determined to be a healthy applet; otherwise, the applet to be processed is determined to be an unhealthy applet.

5. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 2.

6. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute the method according to any one of claims 1-2.

7. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Health assessment method, apparatus and device of application program, and storage medium

    CN111552607A