Link data processing method and device, computer equipment and storage medium

By performing exception detection and conversion processing on the link data, generating format verification results and updating the link status, the URL compatibility problem in the iOS environment is solved, and efficient and accurate URL verification and user experience improvement are achieved.

CN119691297APending Publication Date: 2025-03-25KANG JIAN INFORMATION TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411783971.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

There is a lack of an efficient and accurate tool or method in the prior art to enable the ability to quickly identify and verify the correctness of each URL under different system versions in the iOS environment, resulting in compatibility issues and user experience issues.

Method used

By obtaining pre-collected link data, generating link lists, performing exception link detection, eliminating exception links, displaying target link lists, traversing link lists for conversion processing, generating format verification results, and updating link status based on the results.

Benefits of technology

It realizes the rapid and accurate detection of URLs under different system versions in the iOS environment, improves the intelligence and accuracy of link format verification processing, and automatically updates the link status, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119691297A_ABST
    Figure CN119691297A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of artificial intelligence, and relates to a link data processing method and device, computer equipment and a storage medium, and the method comprises the steps: generating a link list based on obtained link data; performing abnormal link detection on the link list to obtain an abnormal link detection result; based on the abnormal link detection result, removing abnormal links from the link list to obtain a target link list; displaying the target link list in the target page; traversing the target link list, and performing conversion processing on links in the target link list based on a detection method in a target class of the target system to obtain an object result; generating a format verification result corresponding to the link in the target link list based on the object result; and based on the format verification result, performing link state updating on a target link list in the target page. In addition, the format verification result can be stored in the block chain. According to the method and the device, the processing intelligence and accuracy of format verification of correctness of the link in the target system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of artificial intelligence development technology, financial technology, and digital medicine, and in particular to methods, devices, computer equipment, and storage media for processing linked data. Background Art

[0002] In highly information-based and data-intensive industries such as finance and healthcare, with the rapid development of mobile Internet technology, H5 (HTML5) technology has been widely used in various business scenarios due to its cross-platform, easy deployment and maintenance characteristics. H5 pages can not only achieve a rich interactive experience, but also effectively integrate data and services from different back-end systems, greatly improving the flexibility and efficiency of business processing.

[0003] However, in actual application, an issue that cannot be ignored is that H5 pages usually involve interactions with multiple heterogeneous systems, which may run in different software and hardware environments, including but not limited to different versions of operating systems, browser kernels, and various customized application containers. This diversity leads to significant differences in the way URLs (links) are handled. Specifically, some URLs that can be correctly parsed and loaded in the new version of the system may not be accessed normally in the old version or in a specific environment due to compatibility issues, which in turn causes user experience issues such as the inability to render the page or a white screen.

[0004] Especially for the iOS system, due to its closed ecosystem, strict review mechanism and periodicity of version updates, different versions of iOS devices may have large differences in supporting HTML5 features, processing URL protocols and security checks. However, traditional testing methods, such as manual testing and simulator-based testing, are not only time-consuming and labor-intensive, but also difficult to cover all possible system versions and configuration combinations, thus failing to fully reveal potential compatibility issues. Therefore, the prior art lacks an efficient and accurate tool or method to quickly identify and verify the correctness of each URL under different system versions in the iOS environment. Summary of the invention

[0005] The purpose of the embodiments of the present application is to propose a method, apparatus, computer device and storage medium for processing link data to solve the technical problem that there is a lack of an efficient and accurate tool or method in the prior art to quickly identify and verify the correctness of each URL under different system versions in an iOS environment.

[0006] In order to solve the above technical problems, the present application embodiment provides a method for processing link data, which adopts the following technical solution:

[0007] Acquire pre-collected link data, and generate a corresponding link list based on the link data;

[0008] Performing abnormal link detection on the link list to obtain corresponding abnormal link detection results;

[0009] Based on the abnormal link detection result, remove abnormal links from the link list to obtain a corresponding target link list;

[0010] Displaying the target link list on the target page;

[0011] Traversing the target link list, and converting the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results;

[0012] generating a format verification result corresponding to the link in the target link list based on the object result;

[0013] Based on the format verification result, the link status of the target link list in the target page is updated.

[0014] Furthermore, the step of performing abnormal link detection on the link list to obtain corresponding abnormal link detection results specifically includes:

[0015] Obtain a first designated link; wherein the first designated link is any one of all the links included in the link list;

[0016] Call the pre-trained anomaly recognition model;

[0017] Performing an abnormality recognition process on the first designated link based on the abnormality recognition model to obtain a corresponding recognition result;

[0018] The recognition result is used as a designated abnormal link detection result corresponding to the first designated link.

[0019] Furthermore, the step of generating a format verification result corresponding to the link in the target link list based on the object result specifically includes:

[0020] Acquire a designated object result corresponding to a second designated link; wherein the second designated link is any one of all links included in the target link list;

[0021] Get the preset specified data value;

[0022] If the designated object result is not the designated data value, generating a first format verification result indicating that the content corresponding to the second designated link is in a correct format;

[0023] If the designated object result is the designated data value, a second format verification result is generated indicating that the content corresponding to the second designated link is in a format error.

[0024] Furthermore, the step of updating the link status of the target link list in the target page based on the format verification result specifically includes:

[0025] Performing content analysis on the format verification result to filter out first links with correct formats and second links with incorrect formats from the target link list;

[0026] Performing display processing corresponding to a first preset icon on the first link in the target link list on the target page;

[0027] In the target page, display processing is performed on the second link in the target link list corresponding to a second preset icon.

[0028] Further, after the step of generating a format verification result corresponding to the link in the target link list based on the object result, the step further includes:

[0029] Performing content analysis on the format verification result to filter out third links with format errors from the target link list;

[0030] Obtaining an error type of the third link;

[0031] Extracting key information of the third link based on a preset information type;

[0032] Based on the key information and the error type, calling a preset error model to repair the third link to obtain a repaired fourth link;

[0033] The fourth link is stored.

[0034] Further, after the step of repairing the third link based on the key information and the error type by calling a preset error model to obtain a repaired fourth link, the method further includes:

[0035] Get the preset format validation strategy;

[0036] Performing corresponding format verification processing on the fourth link based on the format verification strategy to obtain a corresponding target format verification result;

[0037] Determine whether the target format verification result is in a correct format;

[0038] If so, a record processing is performed on the fourth link indicating that the repair is successful.

[0039] Further, after the step of generating a format verification result corresponding to the link in the target link list based on the object result, the step further includes:

[0040] Summarizing the format verification results of all the links included in the target link list to obtain corresponding target detection results;

[0041] Generate a link format check report corresponding to the target link list based on the target verification result;

[0042] Obtain the target person’s communication information;

[0043] Based on the communication information, the link format check report is sent to the target person.

[0044] In order to solve the above technical problems, the embodiment of the present application further provides a link data processing device, which adopts the following technical solution:

[0045] A first generating module, used to obtain pre-collected link data and generate a corresponding link list based on the link data;

[0046] A detection module, used to perform abnormal link detection on the link list to obtain corresponding abnormal link detection results;

[0047] A processing module, configured to remove abnormal links from the link list based on the abnormal link detection result to obtain a corresponding target link list;

[0048] A display module, used to display the target link list on a target page;

[0049] A conversion module, used for traversing the target link list, and converting the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results;

[0050] A second generating module, configured to generate a format verification result corresponding to the link in the target link list based on the object result;

[0051] An updating module is used to update the link status of the target link list in the target page based on the format verification result.

[0052] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0053] Acquire pre-collected link data, and generate a corresponding link list based on the link data;

[0054] Performing abnormal link detection on the link list to obtain corresponding abnormal link detection results;

[0055] Based on the abnormal link detection result, remove abnormal links from the link list to obtain a corresponding target link list;

[0056] Displaying the target link list on the target page;

[0057] Traversing the target link list, and converting the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results;

[0058] generating a format verification result corresponding to the link in the target link list based on the object result;

[0059] Based on the format verification result, the link status of the target link list in the target page is updated.

[0060] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0061] Acquire pre-collected link data, and generate a corresponding link list based on the link data;

[0062] Performing abnormal link detection on the link list to obtain corresponding abnormal link detection results;

[0063] Based on the abnormal link detection result, remove abnormal links from the link list to obtain a corresponding target link list;

[0064] Displaying the target link list on the target page;

[0065] Traversing the target link list, and converting the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results;

[0066] generating a format verification result corresponding to the link in the target link list based on the object result;

[0067] Based on the format verification result, the link status of the target link list in the target page is updated.

[0068] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0069] The present application first obtains pre-collected link data, and generates a corresponding link list based on the link data; then performs abnormal link detection on the link list to obtain a corresponding abnormal link detection result; then, based on the abnormal link detection result, removes abnormal links from the link list to obtain a corresponding target link list; and displays the target link list in a target page; subsequently traverses the target link list, and converts the links in the target link list based on the detection method in the target class of the target system to obtain a corresponding object result; further generates a format verification result corresponding to the link in the target link list based on the object result; and finally, based on the format verification result, updates the link status of the target link list in the target page. The present application generates a corresponding link list based on pre-collected link data, then performs abnormal link detection on the link list to obtain the corresponding abnormal link detection result, and based on the abnormal link detection result, removes abnormal links from the link list to obtain the corresponding target link list, and then displays the target link list in the target page, traverses the target link list, and converts the links in the target link list based on the detection method in the target class of the target system to obtain the corresponding object result, and then generates a format verification result corresponding to the link in the target link list based on the object result, so that the correctness of the link in the target link list in the target system can be quickly and accurately detected according to the obtained format verification result, thereby improving the processing intelligence and processing accuracy of the format verification of the correctness of the link in the target system. In addition, based on the format verification result, the link status of the target link list in the target page is automatically updated, thereby improving the update intelligence of the link status update. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0071] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0072] Figure 2 A flowchart of an embodiment of a method for processing link data according to the present application;

[0073] Figure 3 is a structural schematic diagram of an embodiment of a link data processing device according to the present application;

[0074] Figure 4It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0075] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0076] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0077] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0078] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, a network 102 and a server 103. The terminal device 101 may be a laptop 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is used to provide a medium for a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0079] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0080] The terminal device 101 can be any electronic device with a display screen and supporting web browsing. In addition to the laptop computer 1011, tablet computer 1012 or mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer, a desktop computer, etc.

[0081] The server 103 may be a server that provides various services, such as a background server that provides support for a web page displayed on the terminal device 101 .

[0082] It should be noted that the link data processing method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the link data processing device is generally set in the server / terminal device.

[0083] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0084] Continue to refer Figure 2 , showing a flowchart of an embodiment of a method for processing link data according to the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted. The method for processing link data provided in the embodiment of the present application can be applied to any scenario that requires link verification, and the method for processing link data can be applied to products in these scenarios, for example, link verification in financial applications or medical applications. The method for processing link data includes the following steps:

[0085] Step S201: obtaining pre-collected link data, and generating a corresponding link list based on the link data.

[0086] In this embodiment, the link data processing method is executed on the electronic device (eg Figure 1The server / terminal device shown in the figure) can obtain the link data through a wired connection or a wireless connection. It should be noted that the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future. The execution subject of this application may specifically be a device with a target application, i.e., an iOS application, installed. The iOS application will hand over a large number of services to H5 for processing, which will involve multiple different iOS system environments. H5 refers to HTML5, a markup language for building web pages and applications. The above-mentioned link data refers to the H5 URL (link) collected in the business. The link data can be obtained by the client by sending a request through the background configuration, or the collected link data can be saved in a local database. Among them, the H5 URL refers to the link address of a web page built using HTML5 technology. In the business scenarios in the financial or medical fields, the above-mentioned target applications may include transaction applications, payment applications, medical applications, and the like.

[0087] Step S202: performing abnormal link detection on the link list to obtain corresponding abnormal link detection results.

[0088] In this embodiment, the specific implementation process of performing abnormal link detection on the link list to obtain the corresponding abnormal link detection result will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0089] Step S203: based on the abnormal link detection result, remove abnormal links from the link list to obtain a corresponding target link list.

[0090] In this embodiment, the content of the abnormal link detection result may include abnormal links and normal links. The abnormal link detection result may be analyzed to determine the abnormal links in the link list (i.e., the links corresponding to the abnormal link detected by the abnormal link detection result), and then the abnormal links may be removed from the link list to obtain the corresponding target link list.

[0091] Step S204: display the target link list on the target page.

[0092] In this embodiment, a new UI page is created in advance in the iOS application and used to display the URL list. Among them, controls such as UITableView or UICollectionView can be used to display URL data, and the target link list is displayed in the target page by filling the read target link list into the data source of UITableView or UICollectionView.

[0093] Step S205 , traverse the target link list, and convert the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results.

[0094] In this embodiment, the above-mentioned target system specifically refers to the iOS system corresponding to the correctness of the link data in the target system that needs to be verified, for example, it may include iOS10 system-iOS17 system, etc. And by running the above-mentioned target application in the above-mentioned target system, the correctness of the above-mentioned link data in the environment of the target system is detected. Among them, correctness means: if the format verification result of the link is that the format is correct, then the link is judged to be correct, and if the format verification result of the link is that the format is wrong, then the link is judged to be incorrect. In addition, you can also use a real machine to run, or you can also use the simulator provided by Xcode, or use a virtual machine for automated execution to detect the correctness of URLs in different iOS systems.

[0095] Specifically, the detection method in the target class of the target system refers to the URLWithString: method of the NSURL class that comes with the iOS system. The URLWithString: method of the NSURL class can detect whether an error occurs in the link by determining whether the return value of the link is nil). Among them, by traversing the target link list, for each link in the target link list, the link is converted based on the detection method in the target class of the target system to convert the link into an NSURL object, that is, the object result.

[0096] Step S206: Generate a format verification result corresponding to the link in the target link list based on the object result.

[0097] In this embodiment, the specific implementation process of generating the format verification result corresponding to the link in the target link list based on the object result will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0098] Step S207: based on the format verification result, updating the link status of the target link list in the target page.

[0099] In this embodiment, the specific implementation process of updating the link status of the target link list in the target page based on the format verification result will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0100] The present application first obtains pre-collected link data, and generates a corresponding link list based on the link data; then performs abnormal link detection on the link list to obtain a corresponding abnormal link detection result; then, based on the abnormal link detection result, removes abnormal links from the link list to obtain a corresponding target link list; and displays the target link list in a target page; subsequently traverses the target link list, and converts the links in the target link list based on the detection method in the target class of the target system to obtain a corresponding object result; further generates a format verification result corresponding to the link in the target link list based on the object result; and finally, based on the format verification result, updates the link status of the target link list in the target page. The present application generates a corresponding link list based on pre-collected link data, then performs abnormal link detection on the link list to obtain the corresponding abnormal link detection result, and based on the abnormal link detection result, removes abnormal links from the link list to obtain the corresponding target link list, and then displays the target link list in the target page, traverses the target link list, and converts the links in the target link list based on the detection method in the target class of the target system to obtain the corresponding object result, and then generates a format verification result corresponding to the link in the target link list based on the object result, so that the correctness of the link in the target link list in the target system can be quickly and accurately detected according to the obtained format verification result, thereby improving the processing intelligence and processing accuracy of the format verification of the correctness of the link in the target system. In addition, based on the format verification result, the link status of the target link list in the target page is automatically updated, thereby improving the update intelligence of the link status update.

[0101] In some optional implementations, step S202 includes the following steps:

[0102] Get the first specified link.

[0103] In this embodiment, the first designated link is any one of all the links included in the link list.

[0104] Call the pre-trained anomaly recognition model.

[0105] In this embodiment, the above-mentioned anomaly recognition model can use the isolation forest algorithm as the model basis. The model construction process of the above-mentioned anomaly recognition model includes: 1) pre-collecting the URL list and its related features (such as response time, status code, content length, etc.). Then clean and pre-process the data, such as processing missing values, outliers, etc. And convert the data into a form suitable for Isolation Forest input, usually a two-dimensional array. 2) Select features related to URL anomaly detection. For example, for each URL, by recording its HTTP response status code, response time (in seconds), content length (in bytes), etc. If the content of the URL also contains useful information (such as HTML structure, the occurrence of specific keywords, etc.), this information can also be used as features. 3) The IsolationForest class in the scikit-learn library is used to create a model instance. Concatenate model parameters such as n_estimators (the number of trees), max_samples (the maximum number of samples used for each tree), contamination (proportion estimation of outliers), etc. Then use the pre-processed data for model training, and obtain an anomaly recognition model with the function of identifying abnormal links.

[0106] An exception recognition process is performed on the first designated link based on the exception recognition model to obtain a corresponding recognition result.

[0107] In this embodiment, by inputting the feature data corresponding to the first specified link into the anomaly identification model, the anomaly identification model predicts the feature data corresponding to the first specified link and returns a score indicating the degree to which each data point is considered abnormal. The lower the score, the more likely the data point is an outlier. Then, according to a set threshold (usually determined based on the score distribution of the training data), data points with scores below the threshold are marked as abnormal links.

[0108] The recognition result is used as a designated abnormal link detection result corresponding to the first designated link.

[0109] In this embodiment, after abnormal link detection is performed on the link list to obtain the corresponding abnormal link detection result, the corresponding target link list is obtained by automatically removing the abnormal links from the link list according to the abnormal link detection result, so that only the target link list containing normal links needs to be format verified, and there is no need to perform format verification on all link data in the link list, which effectively improves the processing standardization of the format verification processing of the link, reduces the processing workload of the format verification processing of the link, and thus improves the processing efficiency of the format verification processing of the link.

[0110] The present application obtains a first designated link; wherein the first designated link is any one of all the links included in the link list; then calls a pre-trained abnormal recognition model; then performs abnormal recognition processing on the first designated link based on the abnormal recognition model to obtain a corresponding recognition result; and subsequently uses the recognition result as a designated abnormal link detection result corresponding to the first designated link. The present application performs abnormal recognition processing on the first designated link based on the use of a pre-trained abnormal recognition model, and can realize the rapid and accurate generation of a designated abnormal link detection result corresponding to the first designated link, effectively improving the processing efficiency of abnormal recognition processing for the link, and ensuring the data accuracy of the obtained abnormal link detection result.

[0111] In some optional implementations of this embodiment, step S206 includes the following steps:

[0112] Gets the specified object result corresponding to the second specified link.

[0113] In this embodiment, the second designated link is any one of all the links included in the target link list.

[0114] Gets the specified data value of a preset.

[0115] In this embodiment, the specified data value is specifically nil. If the object result obtained after the link is converted is nil, it means that the format of the link is incorrect, otherwise, it is considered that the format of the link is correct.

[0116] If the designated object result is not the designated data value, a first format verification result is generated indicating that the content corresponding to the second designated link is in a correct format.

[0117] In this embodiment, if it is detected that the designated object result is not the designated data value, the format of the second designated link is determined to be incorrect, and a first format verification result indicating that the content corresponding to the second designated link is in a correct format is generated.

[0118] If the designated object result is the designated data value, a second format verification result is generated indicating that the content corresponding to the second designated link is in a format error.

[0119] In this embodiment, if the designated object result is detected to be the designated data value, the format of the second designated link is determined to be correct, and a second format verification result indicating that the content corresponding to the second designated link is in a correct format is generated.

[0120] The present application obtains the designated object result corresponding to the second designated link; then obtains the preset designated data value; if the designated object result is not the designated data value, then generates a first format verification result indicating that the content corresponding to the second designated link is in the correct format; and if the designated object result is the designated data value, then generates a second format verification result indicating that the content corresponding to the second designated link is in the wrong format. The present application obtains the designated object result corresponding to the second designated link and obtains the preset designated data value, and then compares the designated object result with the designated data value, so as to quickly and accurately generate the format verification result corresponding to the link in the target link list according to the obtained data comparison result, thereby ensuring the accuracy of the obtained format verification result.

[0121] In some optional implementations, step S207 includes the following steps:

[0122] Content analysis is performed on the format verification result to filter out first links with correct formats and second links with incorrect formats from the target link list.

[0123] In this embodiment, the content of the format verification result may include that the format is correct or that the format is incorrect.

[0124] In the target page, the first link in the target link list is displayed corresponding to a first preset icon.

[0125] In this embodiment, the first preset icon can be selected according to actual business needs, and preferably a green check mark icon can be used. Exemplarily, a green check mark icon can be displayed on the right side of the first link with a correct format in the target page.

[0126] In the target page, display processing is performed on the second link in the target link list corresponding to a second preset icon.

[0127] In this embodiment, the second preset icon can be selected according to actual business needs, and preferably a red cross icon can be used. Exemplarily, a red cross icon can be displayed on the right side of the second link with an incorrect format in the target page.

[0128] The present application performs content analysis on the format verification result to filter out the first link with the correct format and the second link with the wrong format from the target link list; then performs display processing corresponding to the first preset icon on the target page for the first link in the target link list; and performs display processing corresponding to the second preset icon on the target page for the second link in the target link list. The present application performs content analysis on the format verification result to filter out the first link with the correct format and the second link with the wrong format from the target link list; then performs display processing corresponding to the first preset icon on the target page for the first link in the target link list and the second preset icon on the target page for the second link in the target link list, thereby automatically and intelligently completing the link status update processing for the target link list in the target page, effectively improving the display intelligence of the link status update processing.

[0129] In some optional implementations, after step S206, the electronic device may further perform the following steps:

[0130] Content analysis is performed on the format verification result to filter out third links with format errors from the target link list.

[0131] In this embodiment, the content of the format verification result may include a correct format or an incorrect format. The third link refers to a link in the target link list whose format verification result is an incorrect format.

[0132] Get the error type of the third link.

[0133] In this embodiment, the error type of the third link can be obtained by performing an error type analysis on the third link. Specifically, the error type analysis includes: performing an encoding problem analysis on the link to check whether there are characters in the URL that need to be encoded but are not correctly encoded; performing a path error analysis on the link to analyze whether the path contains illegal characters, directory level errors, or file extension errors; performing a complete analysis on the link to determine whether the URL is missing necessary parts, such as the protocol (http: / / , https: / / ), domain name, or path, and then integrating to obtain the error type of the third link.

[0134] The key information of the third link is extracted based on a preset information type.

[0135] In this embodiment, the above information type may at least include a domain name type, a parameter type, and a path type. The key information of the third link may refer to the domain name, parameter, and path of the third link.

[0136] Based on the key information and the error type, a preset error model is called to repair the third link to obtain a repaired fourth link.

[0137] In this embodiment, the error model is a pre-built model that includes multiple error types, key information (such as domain names, parameters, paths, etc.) and matching repair suggestions. By inputting the key information and error type of the third link into the error model, the error model will repair the third link according to the pre-stored specified repair suggestions that match the key information and error type of the third link, thereby obtaining a repaired fourth link. Exemplarily, if the error type is an encoding problem, try to correctly encode the special characters in the URL; if the error type is a path error, try to correct the illegal characters or structures in the path.

[0138] The fourth link is stored.

[0139] In this embodiment, there is no specific limitation on the storage method of the fourth link, and it may include blockchain storage, local database storage, cloud server storage, disk storage, etc.

[0140] The present application performs content analysis on the format verification result to filter out the third link with a format error from the target link list; then obtains the error type of the third link; then extracts the key information of the third link based on the preset information type; subsequently, based on the key information and the error type, calls the preset error model to repair the third link to obtain the repaired fourth link; and finally stores the fourth link. The present application performs content analysis on the format verification result to filter out the third link with a format error from the target link list; then, based on the error type and key information of the acquired third link, calls the error model to repair the third link, thereby achieving efficient and accurate completion of the repair process for the third link, and improving the processing intelligence of the link repair. In addition, the fourth link will also be stored, thereby ensuring the data security of the obtained fourth link.

[0141] In some optional implementations of this embodiment, after the step of repairing the third link based on the key information and the error type by calling a preset error model to obtain a repaired fourth link, the method further includes:

[0142] Get the preset format validation strategy.

[0143] In this embodiment, the policy content of the above format verification policy includes: converting the link based on the detection method in the target class of the target system to obtain a corresponding object result; generating a format verification result corresponding to the link based on the object result.

[0144] Based on the format verification strategy, corresponding format verification processing is performed on the fourth link to obtain a corresponding target format verification result.

[0145] In this embodiment, the fourth link may be subjected to corresponding format verification processing according to the policy content of the format verification policy, thereby obtaining a corresponding target format verification result, wherein the content of the target format verification result may include whether the format is correct or incorrect.

[0146] Determine whether the target format verification result is in a correct format.

[0147] In this embodiment, the target format verification result may be subjected to content analysis to determine whether the content of the target format verification result is in a correct format.

[0148] If so, a record processing is performed on the fourth link indicating that the repair is successful.

[0149] In this embodiment, the above-mentioned recording process may include: recording the successfully repaired URL and the corresponding error model, so that similar errors can be quickly located and repaired in the future. In addition, if the fourth link repair fails, that is, the content of the target format verification result is a format error, the failure reason can be recorded, and useful error information or suggestions can be provided to the user, so that the user can manually repair it or contact technical support.

[0150] The present application obtains a preset format verification strategy; then performs corresponding format verification processing on the fourth link based on the format verification strategy to obtain a corresponding target format verification result; subsequently determines whether the content of the target format verification result is in the correct format; if so, performs a record processing of the successful repair of the fourth link. The present application calls the error model to perform repair processing on the third link based on key information and error type to obtain a repaired fourth link, performs corresponding format verification processing on the fourth link based on the use of the format verification strategy to obtain a corresponding target format verification result, and if it is detected that the content of the target format verification result is in the correct format, the successful repair record processing of the fourth link will be intelligently performed, effectively improving the processing intelligence of the repair record of the fourth link.

[0151] In some optional implementations of this embodiment, after step S206, the electronic device may further perform the following steps:

[0152] The format verification results of all the links included in the target link list are aggregated to obtain corresponding target detection results.

[0153] In this embodiment, the target detection result at least includes the format verification results of all the links included in the target link list, and may also include data such as the original URL, detection result (correct / incorrect), error type, and repaired URL.

[0154] A link format check report corresponding to the target link list is generated based on the target verification result.

[0155] In this embodiment, the target verification results can be filled into the corresponding position in the preset format check report template to generate a corresponding link format check report. The template content of the format check report template can be set according to actual business needs. Exemplarily, the link format check report can include the format verification results, problem analysis data and recommended solutions for each link in the target system.

[0156] Obtain the target person’s communication information.

[0157] In this embodiment, the communication information may be the application operation and maintenance personnel. The communication information may at least include email information, mobile phone number, etc.

[0158] Based on the communication information, the link format check report is sent to the target person.

[0159] In this embodiment, the acquired communication information is used to send the link format check report to the communication terminal held by the target person.

[0160] The present application obtains the corresponding target detection result by summarizing the format verification results of all the links contained in the target link list; then generates a link format inspection report corresponding to the target link list based on the target verification result; then obtains the communication information of the target person; and subsequently sends the link format inspection report to the target person based on the communication information. After the present application generates the format verification result corresponding to the link in the target link list based on the object result, it will automatically and intelligently summarize the format verification results of all the links contained in the target link list to obtain the corresponding target detection result, and will generate a link format inspection report corresponding to the target link list based on the target verification result, thereby improving the generation efficiency and accuracy of the link format inspection report. In addition, based on the acquired communication information of the target person, the link format inspection report will be sent to the target person, so that the user can clearly understand the format verification result of the link data in a timely manner, and can take corresponding processing measures in a timely manner, thereby improving the user experience.

[0161] In some optional implementations, the user information obtained is subject to the user's consent and complies with relevant laws and policies.

[0162] In addition, the non-Company software tools or components that appear in the embodiments of the present application are merely examples and do not represent actual use.

[0163] In addition, by detecting the correctness of different URLs in different iOS systems, URL-related problems can be discovered and resolved in advance, improving development efficiency. The white screen problem when URLs are loaded can be quickly and accurately located, which is caused by problems with URLs in different systems. This provides strong support for problem solving, avoids online problems, affects the normal operation of the business, and reduces customer complaints. Therefore, it has significant technical advantages and practical value, and can effectively solve problems in existing businesses and technologies.

[0164] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0165] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned format verification results, the above-mentioned format verification results can also be stored in a node of a blockchain.

[0166] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0167] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0168] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0169] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0170] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0171] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a link data processing device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0172] like Figure 3 As shown, the link data processing device 300 described in this embodiment includes: a first generation module 301, a detection module 302, a processing module 303, a display module 304, a conversion module 305, a second generation module 306 and an update module 307. Among them:

[0173] The first generating module 301 is used to obtain pre-collected link data and generate a corresponding link list based on the link data;

[0174] A detection module 302 is used to perform abnormal link detection on the link list to obtain corresponding abnormal link detection results;

[0175] A processing module 303 is used to remove abnormal links from the link list based on the abnormal link detection result to obtain a corresponding target link list;

[0176] A display module 304, used to display the target link list in a target page;

[0177] The conversion module 305 is used to traverse the target link list and convert the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results;

[0178] A second generating module 306, configured to generate a format verification result corresponding to the link in the target link list based on the object result;

[0179] The updating module 307 is used to update the link status of the target link list in the target page based on the format verification result.

[0180] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the link data processing method in the above-mentioned implementation mode, and will not be described in detail here.

[0181] In some optional implementations of this embodiment, the detection module 302 includes:

[0182] A first acquisition submodule is used to acquire a first designated link; wherein the first designated link is any one of all the links included in the link list;

[0183] The calling submodule is used to call the pre-trained anomaly recognition model;

[0184] an identification submodule, configured to perform an abnormality identification process on the first designated link based on the abnormality identification model to obtain a corresponding identification result;

[0185] A determination submodule is used to use the recognition result as a designated abnormal link detection result corresponding to the first designated link.

[0186] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the link data processing method in the above-mentioned implementation mode, and will not be described in detail here.

[0187] In some optional implementations of this embodiment, the second generating module 306 includes:

[0188] A third acquisition submodule is used to acquire a designated object result corresponding to a second designated link; wherein the second designated link is any one of all the links included in the target link list;

[0189] The fourth acquisition submodule is used to acquire a preset specified data value;

[0190] A first generating submodule, configured to generate a first format verification result indicating that the content corresponding to the second designated link is in a correct format if the designated object result is not the designated data value;

[0191] The second generating submodule is configured to generate a second format verification result indicating that the content corresponding to the second designated link is in a format error if the designated object result is the designated data value.

[0192] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the link data processing method in the above-mentioned implementation mode, and will not be described in detail here.

[0193] In some optional implementations of this embodiment, the updating module 307 includes:

[0194] An analysis submodule, configured to perform content analysis on the format verification result, so as to filter out first links with correct formats and second links with incorrect formats from the target link list;

[0195] A first display submodule, configured to perform display processing corresponding to a first preset icon on the first link in the target link list in the target page;

[0196] The second display submodule is used as a submodule, and is used to perform display processing corresponding to a second preset icon on the second link in the target link list in the target page.

[0197] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the link data processing method in the above-mentioned implementation mode, and will not be described in detail here.

[0198] In some optional implementations of this embodiment, the link data processing device further includes:

[0199] An analysis module, configured to perform content analysis on the format verification result, so as to filter out third links with format errors from the target link list;

[0200] A first acquisition module, used to acquire an error type of the third link;

[0201] An extraction module, used to extract key information of the third link based on a preset information type;

[0202] A calling module, configured to call a preset error model to repair the third link based on the key information and the error type, so as to obtain a repaired fourth link;

[0203] A storage module is used to store the fourth link.

[0204] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the link data processing method in the above-mentioned implementation mode, and will not be described in detail here.

[0205] In some optional implementations of this embodiment, the link data processing device further includes:

[0206] A second acquisition module is used to acquire a preset format verification strategy;

[0207] A verification module, configured to perform corresponding format verification processing on the fourth link based on the format verification strategy to obtain a corresponding target format verification result;

[0208] A judging module, used to judge whether the content of the target format verification result is in a correct format;

[0209] The recording module is used for recording the successful repair of the fourth link if yes.

[0210] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the link data processing method in the above-mentioned implementation mode, and will not be described in detail here.

[0211] In some optional implementations of this embodiment, the link data processing device further includes:

[0212] A summarizing module, used for summarizing the format verification results of all the links included in the target link list to obtain corresponding target detection results;

[0213] A third generating module, configured to generate a link format checking report corresponding to the target link list based on the target verification result;

[0214] The third acquisition module is used to obtain the communication information of the target person;

[0215] A sending module is used to send the link format check report to the target person based on the communication information.

[0216] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the link data processing method in the above-mentioned implementation mode, and will not be described in detail here.

[0217] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0218] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0219] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0220] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of the link data processing method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.

[0221] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions or process data stored in the memory 41, such as computer-readable instructions for running the link data processing method.

[0222] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0223] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the link data processing method as described above.

[0224] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0225] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A method for processing link data, characterized in that: The steps include: Acquire pre-collected link data, and generate a corresponding link list based on the link data; Performing abnormal link detection on the link list to obtain corresponding abnormal link detection results; Based on the abnormal link detection result, remove abnormal links from the link list to obtain a corresponding target link list; Displaying the target link list on the target page; Traversing the target link list, and converting the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results; generating a format verification result corresponding to the link in the target link list based on the object result; Based on the format verification result, the link status of the target link list in the target page is updated.

2. The method for processing link data according to claim 1, characterized in that: The step of performing abnormal link detection on the link list to obtain corresponding abnormal link detection results specifically includes: Obtain a first designated link; wherein the first designated link is any one of all the links included in the link list; Call the pre-trained anomaly recognition model; Performing an abnormality recognition process on the first designated link based on the abnormality recognition model to obtain a corresponding recognition result; The recognition result is used as a designated abnormal link detection result corresponding to the first designated link.

3. The method for processing link data according to claim 1, characterized in that: The step of generating a format verification result corresponding to the link in the target link list based on the object result specifically includes: Acquire a designated object result corresponding to a second designated link; wherein the second designated link is any one of all links included in the target link list; Get the preset specified data value; If the designated object result is not the designated data value, generating a first format verification result indicating that the content corresponding to the second designated link is in a correct format; If the designated object result is the designated data value, a second format verification result is generated indicating that the content corresponding to the second designated link is in a format error.

4. The method for processing link data according to claim 1, characterized in that: The step of updating the link status of the target link list in the target page based on the format verification result specifically includes: Performing content analysis on the format verification result to filter out first links with correct formats and second links with incorrect formats from the target link list; Performing display processing corresponding to a first preset icon on the first link in the target link list on the target page; In the target page, display processing is performed on the second link in the target link list corresponding to a second preset icon.

5. The method for processing link data according to claim 1, characterized in that: After the step of generating a format verification result corresponding to the link in the target link list based on the object result, the method further includes: Performing content analysis on the format verification result to filter out third links with format errors from the target link list; Obtaining an error type of the third link; Extracting key information of the third link based on a preset information type; Based on the key information and the error type, calling a preset error model to repair the third link to obtain a repaired fourth link; The fourth link is stored.

6. The method for processing link data according to claim 5, characterized in that: After the step of repairing the third link based on the key information and the error type by calling a preset error model to obtain a repaired fourth link, the method further includes: Get the preset format validation strategy; Performing corresponding format verification processing on the fourth link based on the format verification strategy to obtain a corresponding target format verification result; Determine whether the target format verification result is in a correct format; If so, a record processing is performed on the fourth link indicating that the repair is successful.

7. The method for processing link data according to claim 1, characterized in that: After the step of generating a format verification result corresponding to the link in the target link list based on the object result, the method further includes: Summarizing the format verification results of all the links included in the target link list to obtain corresponding target detection results; Generate a link format check report corresponding to the target link list based on the target verification result; Obtain the target person’s communication information; Based on the communication information, the link format check report is sent to the target person.

8. A link data processing device, characterized in that: include: A first generating module, used to obtain pre-collected link data and generate a corresponding link list based on the link data; A detection module, used to perform abnormal link detection on the link list to obtain corresponding abnormal link detection results; A processing module, configured to remove abnormal links from the link list based on the abnormal link detection result to obtain a corresponding target link list; A display module, used to display the target link list on a target page; A conversion module, used for traversing the target link list, and converting the links in the target link list based on the detection method in the target class of the target system to obtain corresponding object results; A second generating module, configured to generate a format verification result corresponding to the link in the target link list based on the object result; An updating module is used to update the link status of the target link list in the target page based on the format verification result.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the method for processing link data as claimed in any one of claims 1 to 7 when executing the computer-readable instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the method for processing link data according to any one of claims 1 to 7 are implemented.