Page error correction method and device and electronic equipment
By analyzing the logs of the page resource bits to identify error types and automatically correct them, the problem of difficult timely correction of resource bit errors on e-commerce trading platforms is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202510255410.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2045-03-05
AI Technical Summary
It is difficult to correct errors in resource location errors in existing e-commerce trading platforms in a timely manner, resulting in a reduced user experience.
By obtaining and analyzing the logs of the event related to the page resource bits, identifying the error type indicated by the specified information, and automatically performing error correction processing based on the error type.
Improve the timeliness of solving resource bit errors and reduce delays and inconvenience in user experience.
Smart Images

Figure CN119759637A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of software technology, and in particular, relates to a page error correction method, device, electronic device, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of e-commerce technology, the number of e-commerce trading platforms is increasing, and the competition among them is becoming more and more fierce.
[0003] In order to increase sales, promotional activities are usually carried out through subsidies from e-commerce trading platforms or concessions from merchants. In order to guide users to designated activities more intuitively and conveniently, e-commerce trading platforms usually provide corresponding resource locations on specific pages (such as the homepage), and users open the corresponding page by clicking on the resource location, where the resource location is an address for displaying information such as advertisements or promotional information. Under normal circumstances, when a user clicks on a resource location, he or she will be able to enter the corresponding page, but in actual situations, there may be a situation where the user cannot enter the corresponding page after clicking on the resource location and an error message is displayed.
[0004] In the existing method, when an error message appears when a user clicks on a resource, the operator usually waits for the user to submit feedback before manually removing the resource. Before the operator removes the resource, as long as there are users who continue to click on the resource, an error message will still appear, thus reducing the user experience. Summary of the invention
[0005] The embodiments of the present application provide a page error correction method, device, electronic device, and computer-readable storage medium, which can solve the problem that it is difficult to correct errors in time when errors occur in existing resource bits.
[0006] In a first aspect, an embodiment of the present application provides a page error correction method, comprising: Obtaining a target log, wherein the target log is a log recording events related to resource bits of a page; Analyze whether the target log contains specified information, where the specified information is pre-set information for indicating an error type of a resource bit, and the error type includes at least one of the following: a user interface error, a third-party interface error, and an internal interface error; In the case that the target log has the designated information, corresponding error correction processing is performed on the resource bit according to the error type corresponding to the designated information.
[0007] In the embodiment of the present application, when it is analyzed that the target log contains the specified information of the information pre-set for indicating the error type of the resource bit, the above-mentioned resource bit is subjected to corresponding error correction processing according to the error type corresponding to the specified information. Since the target log is a log for recording the relevant events of the resource bit of the page, and the target log does not require user feedback, therefore, analyzing the target log is equivalent to analyzing the relevant events of the resource bit of the page without user feedback, and the obtained analysis result can reflect whether an error occurs in the resource bit. Furthermore, since the specified information is the information pre-set for indicating the error type of the resource bit, the error type includes at least one of the following: user interface error, third-party interface error and internal interface error, therefore, when the target log contains the above-mentioned specified information, it indicates that an error of the error type occurs in the resource bit, so that after the error correction processing is performed on the resource bit, the error can be processed more promptly, thereby improving the timeliness of solving the problem of the resource bit.
[0008] Optionally, performing corresponding error correction processing on the resource bit according to the error type corresponding to the designated information includes: When the error type corresponding to the specified information is a user interface error, the unique identifier of the resource bit corresponding to the resource bit of the user interface error in the database is hidden, wherein after the unique identifier of the resource bit is hidden, the front-end device will remove the resource bit corresponding to the unique identifier of the hidden resource bit.
[0009] Optionally, performing corresponding error correction processing on the resource bit according to the error type corresponding to the designated information includes: When the error type corresponding to the specified information is a third-party interface error, a predetermined unique identifier of a spare resource bit is used to replace the unique identifier of the resource bit corresponding to the third-party interface error in the database, wherein after the unique identifier of the resource bit is replaced, the front-end device will use the spare resource bit to replace the resource bit corresponding to the unique identifier of the replaced resource bit.
[0010] Optionally, performing corresponding error correction processing on the resource bit according to the error type corresponding to the designated information includes: When the error type corresponding to the designated information is an internal interface error, a first reminder message is sent to a first target person, wherein the first reminder message includes information about the internal interface error.
[0011] Optionally, the user interface error includes information overload, and before obtaining the target log, the method further includes: The time when the information of the resource location is displayed and the time when the resource location is clicked by the user are counted. When the time when the information of the resource location is displayed and the time when the resource location is clicked by the user correspond to each other is greater than a preset overload time threshold, a user interface error indicating that the resource location has information overload is recorded in the target log.
[0012] Optionally, the user interface error includes a loading time that is too long, and before obtaining the target log, the method further includes: The time when the information of the resource position starts to be displayed and the time when the information of the resource position ends to be displayed are counted. When the time length corresponding to the time when the information of the resource position starts to be displayed and the time when the information of the resource position ends to be displayed is greater than a preset loading time threshold, a user interface error indicating that the resource position takes too long to load is recorded in the target log.
[0013] Optionally, the user interface error includes a size mismatch, and before obtaining the target log, the method further includes: The size of the resource bit display and the screen size of the front-end device used to display the resource bit are counted, and whether a user interface error of size mismatch occurs in the resource bit according to the size of the resource bit display and the screen size, and the judgment result is recorded in the target log.
[0014] Optionally, the user interface error includes poor accessibility, and before obtaining the target log, the method further includes: In the case of receiving target feedback, a user interface error of poor accessibility of the resource location is recorded in the target log, wherein the target feedback includes information of similar colors between different information of the resource location.
[0015] Optionally, before replacing the unique identifier of the resource bit corresponding to the third-party interface error in the database with the unique identifier of the predetermined spare resource bit, the method further includes: Determine the activity type displayed by the target resource bit, search for a resource bit with the same activity type as the activity type displayed by the target resource bit, and use the found resource bit as the backup resource bit, wherein the target resource bit is the resource bit corresponding to the third-party interface error in the database.
[0016] Optionally, when the error type corresponding to the designated information is a user interface error, hiding a unique identifier of a resource bit corresponding to the resource bit of the user interface error in the database includes: When the error type corresponding to the designated information is a user interface error, the unique identifier of the resource bit corresponding to the resource bit of the user interface error in the database is hidden, and a second reminder message is sent to a second target person, wherein the second reminder message includes: information about the user interface error.
[0017] Optionally, the page error correction method further includes: When the error type corresponding to the designated information is a third-party interface error, a third reminder message is sent to a third target person, and the third reminder message includes information about the third-party interface error.
[0018] In a second aspect, an embodiment of the present application provides a page error correction device, including: A target log acquisition module, used to acquire a target log, wherein the target log is a log recording events related to resource bits of a page; A designated information analysis module, used to analyze whether the target log contains designated information, wherein the designated information is pre-set information for indicating the error type of the resource bit, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error; The error correction processing module is used to perform corresponding error correction processing on the resource bit according to the error type corresponding to the specified information when the target log has the specified information.
[0019] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the first aspects when executing the computer program.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects is implemented.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the methods described in the first aspect.
[0022] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0024] Figure 1 It is a schematic diagram of a page error correction method provided by an embodiment of the present application; Figure 2 This is a schematic diagram of a page when a user interface error occurs, provided by an embodiment of the present application; Figure 3 This is a schematic diagram of a page when a third-party interface error occurs, provided by an embodiment of the present application; Figure 4 This is a page schematic diagram provided by an embodiment of the present application when an internal interface error occurs; Figure 5 It is a structural schematic diagram of a page error correction device provided by an embodiment of the present application; Figure 6 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0025] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0026] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0027] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0028] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0029] At present, in order to promote products, e-commerce trading platforms usually provide corresponding resource locations on specific pages (such as the homepage), and users open the corresponding page by clicking on the resource location, wherein the resource location includes an address for displaying information such as advertisements or promotional information. Under normal circumstances, when a user clicks on a resource location (such as clicking on a specific icon of the resource location, such as clicking on the "GO" icon), he will be able to enter the corresponding page and perform the purchase operation of the product on the entered page. However, in actual situations, there may be a situation where the user cannot enter the corresponding page after clicking on the resource location, in which case an error message will be displayed on the page.
[0030] When a user clicks on a resource and an error message appears, if the operator waits for the user to submit feedback before manually removing the resource, it will be difficult to solve the problem in time, resulting in a poor user experience. This is because before the operator removes the resource, as long as there is a resource where the user clicks on a problem, the resource will still show an error message, which reduces the user's desire to buy the product, thereby reducing the product's promotion effect.
[0031] In order to improve the timeliness of solving problems that occur in resource bits, an embodiment of the present application provides a page error correction method. In this method, by obtaining logs of related events of resource bits, it is analyzed whether there is a resource bit error, and if there is a resource bit error, error correction processing is automatically performed according to the error type of the resource bit.
[0032] Since error correction processing is automatically performed when there is a resource bit error, the timeliness of solving the problem occurring in the resource bit can be improved.
[0033] A page error correction method provided by an embodiment of the present application is described below in conjunction with the accompanying drawings.
[0034] Figure 1 A flow chart of a page error correction method provided by an embodiment of the present application is shown. The page error correction method can be applied to backend devices such as servers, and is described in detail as follows: S11, obtaining a target log, where the target log is a log recording events related to resource bits of a page.
[0035] Among them, the above-mentioned related events include at least one of the following: click events, response events, mouse events (such as mouse hover, press, etc.), loading events (such as page or element loading events, image and sub-frame loading events), animation events (such as animation start, end, iteration, etc.), drag and drop events (such as window size change events, page is about to be unloaded or has been unloaded events, etc.), media events (such as audio, video element start, end, etc. events), touch events, form events (such as form submission, form reset, form element value change, etc. events).
[0036] In the embodiment of the present application, the target log is used to record the information of the related events of the resource position of the page. For example, when the related events include click events, the target log includes the information corresponding to the click events of the resource position, such as the time of the click, the location of the click, etc. Optionally, a target log may record the information of the related events of only one resource position, or may record the information of the related events of multiple resource positions, which is not limited here.
[0037] In the embodiment of the present application, the target log corresponding to the resource position can be obtained in real time, or the target log corresponding to the resource position can be obtained after the interval time arrives. Optionally, when the number of resource positions is greater than 1, the acquisition time of different resource positions can be the same or different. Optionally, when the target log corresponding to the resource position is obtained in a manner of arriving at the interval time, the interval time can be determined according to the promotion strength of the resource position. For example, the promotion strength and the interval time can be set to be negatively correlated, that is, the greater the promotion strength of the resource position, the smaller the corresponding interval time. This is because, considering that the greater the promotion strength, the greater the probability of the user accessing the resource position, and using a smaller interval time to obtain the target log, the target log can be obtained more timely, which is conducive to improving the timeliness of solving problems that arise.
[0038] S12, analyzing whether the target log contains specified information, where the specified information is pre-set information for indicating the error type of the resource bit, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error.
[0039] Specifically, information indicating the error type of the resource bit is pre-set (that is, the above-mentioned designated information is pre-set), and the number of the designated information is not less than the number of the error types of the resource bit. For example, assuming that there are three error types of the resource bit, three different designated information can be set to identify the three error types. In this way, after the target log is obtained, the information recorded in the target log can be compared with the designated information. If the information recorded in the target log is the same as the designated information, it is determined that the corresponding resource bit has the error type corresponding to the designated information.
[0040] S13, when the target log has the designated information, performing corresponding error correction processing on the resource bit according to the error type corresponding to the designated information.
[0041] The error correction process here refers to the process performed on errors existing in resource bits.
[0042] In the embodiment of the present application, when performing error correction processing, it is necessary to combine the error type existing in the resource bit. Different error types usually have different corresponding error correction processing. Specifically, the target log includes a unique identifier of the resource bit. According to the unique identifier of the resource bit corresponding to the specified information and the error type, the error type corresponding to the resource bit corresponding to the unique identifier of the resource bit is determined, and then the corresponding resource bit is corrected according to the error type.
[0043] In the embodiment of the present application, when it is analyzed that the target log contains the specified information of the information pre-set for indicating the error type of the resource bit, the above-mentioned resource bit is subjected to corresponding error correction processing according to the error type corresponding to the specified information. Since the target log is a log for recording the relevant events of the resource bit of the page, and the target log does not require user feedback, therefore, analyzing the target log is equivalent to analyzing the relevant events of the resource bit of the page without user feedback, and the obtained analysis result can reflect whether an error occurs in the resource bit. Furthermore, since the specified information is the information pre-set for indicating the error type of the resource bit, the error type includes at least one of the following: user interface error, third-party interface error and internal interface error, therefore, when the target log contains the above-mentioned specified information, it indicates that an error of the error type occurs in the resource bit, so that after the error correction processing is performed on the resource bit, the error can be processed more promptly, thereby improving the timeliness of solving the problem of the resource bit.
[0044] In some embodiments, in the above S13, performing corresponding error correction processing on the above resource bit according to the error type corresponding to the above specified information includes: When the error type corresponding to the above-mentioned specified information is a user interface error, the unique identifier of the resource bit corresponding to the resource bit of the above-mentioned user interface error in the database is hidden, wherein after the unique identifier of the resource bit is hidden, the front-end device will remove the resource bit corresponding to the unique identifier of the above-mentioned resource bit that is hidden.
[0045] Specifically, the specified information corresponding to the user interface error is preset, and when the target log contains the specified information corresponding to the user interface error, it is determined that the resource bit has a user interface error. For example, assuming that the specified information corresponding to the user interface error is "XYZ", and "XYZ" exists in the information of resource bit A recorded in the target log, it is determined that the resource bit A has a user interface error.
[0046] In the embodiment of the present application, the resource position corresponding to the unique identifier of the resource position stored in the database and not hidden can be displayed on the front-end device. The front-end device here is a device opposite to the back-end device. For example, when a user accesses a server through a mobile phone, the mobile phone is the front-end device mentioned above, and the server is the back-end device; when a user accesses a server through a personal computer, the personal computer is the front-end device mentioned above, and the server is the back-end device.
[0047] like Figure 2 As shown, Figure 2 A schematic diagram of a page when a user interface error occurs provided by an embodiment of the present application is shown. Figure 2 It can be seen that when a user interface error occurs, if the current page has not been loaded successfully, "Loading..." may be displayed. When a resource location has a user interface error, it may be difficult for the user to quickly enter the page corresponding to the resource location based on the resource location displayed by the front-end device (such as Figure 2 As shown), at this time, you can choose to hide the unique identifier of the resource position in the database. The front-end device removes the resource position corresponding to the hidden unique identifier according to the unique identifier of the resource position hidden in the database. In this way, the front-end device no longer displays the resource position, and subsequent users cannot access the resource position through the front-end device, which is equivalent to reducing the situation where users have difficulty in quickly entering the page corresponding to the resource position. This method can promptly solve the user interface errors that occur in the resource position without user feedback, thereby improving the timeliness of problem solving.
[0048] In some embodiments, the user interface error includes at least one of the following: information overload, long loading time, size mismatch, poor accessibility, and before the above S11, it also includes: The time when the information of the resource position is displayed and the time when the resource position is clicked by the user are counted. When the time corresponding to the time when the information of the resource position is displayed and the time when the information of the resource position is clicked by the user is greater than a preset overload time threshold, a user interface error of information overload occurs in the target log; and / or, the time when the information of the resource position starts to be displayed and the time when the information of the resource position ends to be displayed are counted. When the time corresponding to the time when the information of the resource position starts to be displayed and the time when the information of the resource position ends to be displayed is greater than a preset loading time threshold, a user interface error of too long loading time occurs in the target log; and / or, the size of the display of the resource position and the screen size of the front-end device used to display the resource position are counted, and whether a user interface error of size mismatch occurs in the resource position according to the size of the display of the resource position and the screen size, and the judgment result is recorded in the target log; and / or, when target feedback is received, a user interface error of poor accessibility occurs in the resource position, wherein the target feedback includes information of similar colors between different information of the resource position. Since the colors of different information are similar, it is difficult for users to quickly locate the information they actually need to click among the information with similar colors.
[0049] Regarding information overload: The time when the information of the resource position in the user interface error of information overload is displayed can be the time when all the information of the resource position is finished being displayed, or the time when the information in the resource position that can access the page corresponding to the resource position is finished being displayed. For example, assuming that resource position A includes icons 1, 2, and 3, and icon 3 is the information for accessing the page corresponding to resource position A, that is, the user can access the page corresponding to resource position A only when clicking the position where "icon 3" is located, then the time when the information of resource position A is displayed here can be the time when icon 3 of resource position A is finished being displayed.
[0050] The time when the resource position in the information overload user interface error is clicked by the user may be the time when the resource position is clicked for the first time, or the time when the information that can access the page corresponding to the resource position is clicked for the first time.
[0051] The time when the information of the resource position is displayed can be determined from the loading event, and the time when the resource position is clicked by the user can be determined from the clicking event. Since the user usually performs the corresponding clicking operation after the information is displayed, when the time when the information of the resource position is displayed and the time when the resource position is clicked by the user are longer than the preset overload time threshold, it is likely that the information loading time is too long, that is, the resource position is likely to have an information overload error. That is, the above method can accurately determine whether the resource position has an information overload error.
[0052] For long loading times: The time when the information of the resource position starts to be displayed usually refers to the earliest time when the information of the resource position starts to be displayed. The information here can be a complete information, or more than one complete or partial information. For example, if resource position A includes icon 1, icon 2 and icon 3, and the earliest icon displayed in resource position A is icon 1, then the time when icon 1 starts to be displayed is the time when the information of the resource position A starts to be displayed. Of course, if icon 1 and icon 2 are the earliest icons displayed in resource position A, then the time when icon 1 and icon 2 start to be displayed is the time when the information of the resource position A starts to be displayed.
[0053] The time when the information of the resource position ends displaying usually refers to the time when all the information of the resource position ends displaying, such as the time when the resource position A displays icons 1, 2 and 3.
[0054] Since the time between when the resource position information starts to be displayed and when the resource position information stops being displayed reflects the loading time of the resource position information, the above method can accurately determine whether the resource position has a problem of too long loading time.
[0055] For size mismatch: The size of the resource position display usually refers to the visible size of elements (such as buttons, icons, pictures, etc.) on the screen in the user interface design, which includes length*width. Specifically, after the resource position is displayed on the front-end device, the size of the resource position display can be calculated according to the actual display area of the resource position, and the user interface error of the resource position due to size mismatch can be judged according to the size of the resource position display and the screen size, and the judgment result can be recorded.
[0056] Optionally, a ratio range can be determined according to the ratio of the length to the width in the screen size, and the ratio of the length to the width in the size displayed by the resource position is calculated. If the ratio is within the above ratio range, it is determined that there is no size mismatch problem in the resource position. Through the above judgment, it can be determined whether the resource position is enlarged or reduced according to the size of the screen size.
[0057] Optionally, whether the resource position has a size mismatch problem can be determined based on the size of the resource position display, the screen size, and the distance between the elements on the resource position. For example, when the size of the resource position display is the same as the screen size, but the distance between the elements on the resource position is less than a preset value (such as less than 1 mm) (at this time, the displayed elements appear squeezed), it is determined that the resource position has a size mismatch problem.
[0058] For poor accessibility: Specifically, a feedback interface is provided, such as asking the user whether the colors of different information displayed in the resource position (such as two different icons for the same resource position) are easy to identify. If the user feedback is not easy to identify (such as after detecting that the displayed "No" button is clicked), it is determined that the target feedback is received and recorded in the target log.
[0059] In the embodiment of the present application, since the user interface errors are further subdivided into: information overload, long loading time, size mismatch, and poor accessibility, and recorded in the target log, it is possible to determine which user interface error has occurred more quickly based on the target log.
[0060] The above describes the types of user interface errors that occur in resource bits. In actual situations, third-party interface errors may also occur in resource bits. In this case, in the above S13, corresponding error correction processing is performed on the above resource bits according to the error type corresponding to the above specified information, including: When the error type corresponding to the above-mentioned specified information is a third-party interface error, a predetermined unique identifier of a spare resource bit is used to replace the unique identifier of the resource bit corresponding to the above-mentioned third-party interface error stored in the database, wherein after the unique identifier of the resource bit is replaced, the front-end device will use the above-mentioned spare resource bit to replace the resource bit corresponding to the unique identifier of the replaced resource bit.
[0061] The third-party interface refers to an interface that is not a local interface. For example, suppose that e-commerce platform A is used to integrate the promotional information of e-commerce platform B and e-commerce platform C. The interfaces provided by e-commerce platform B and e-commerce platform C are the third-party interfaces mentioned above, and the interface of e-commerce platform A is an internal interface. The error that occurs in the third-party interface is the third-party interface error mentioned above. For the personnel of e-commerce platform A, they usually cannot solve the third-party interface error. Figure 3 A schematic diagram of a page when a third-party interface error occurs provided by an embodiment of the present application is shown. Figure 3 It can be seen that when a third-party interface error occurs, a "request failed" message can be returned.
[0062] In the embodiment of the present application, after a third-party interface error occurs, the spare resource bit of the resource bit corresponding to the unique identifier of the resource bit where the third-party interface error occurs can be searched according to the unique identifier of the resource bit, and the spare resource bit refers to a spare resource bit that can replace the resource bit accessible on the front-end device. It should be pointed out that when the unique identifiers of the resource bits stored in the database are not hidden, the resource bits corresponding to the unique identifiers of these resource bits can all be accessed on the front-end device, and when the unique identifiers of the resource bits stored in the database and not hidden are replaced by the unique identifiers of other resource bits, the resource bits corresponding to the unique identifiers of the replaced resource bits will no longer be accessible on the front-end device, but the resource bits corresponding to the unique identifiers of the replaced resource bits will be accessible on the front-end device.
[0063] In the embodiment of the present application, considering that the third-party interface error usually cannot be resolved, directly replacing the resource bit where the third-party interface error occurs can resolve the third-party interface error more quickly.
[0064] In some embodiments, before the unique identifier of the predetermined spare resource bit is used to replace the unique identifier of the resource bit corresponding to the third-party interface error in the database, the method further includes: Determine the activity type displayed by the target resource position, search for a resource position with the same activity type as the target resource position, and use the found resource position as the above-mentioned backup resource position, wherein the above-mentioned target resource position is the resource position corresponding to the above-mentioned third-party interface error stored in the above-mentioned database.
[0065] Specifically, for each resource position that can be accessed by the front-end device, a venue with the same activity type as that displayed by the resource position that can be accessed by the front-end device is pre-determined, and then the corresponding resource position is determined according to the determined venue, and these determined resource positions are used as spare resource positions corresponding to the resource positions that can be accessed by the front-end device. For example, the resource position to be displayed can be determined according to the activity type, and one or more venues of the same type can be recorded. The resource positions corresponding to the recorded multiple venues can be used as spare resource positions for the displayed resource positions corresponding to the activity type.
[0066] In an embodiment of the present application, the spare resource bits corresponding to the resource bits accessible at the front-end device are determined according to one or more of the above-mentioned methods. Since there are multiple methods for determining the spare resource bits, the flexibility of determining the spare resource bits is improved.
[0067] Optionally, the same activity type includes the same or similar promotional activities. For example, assuming that two different resource positions have corresponding promotional activities of 20% direct reduction, the promotional activities of the two resource positions are the same; assuming that two different resource positions have corresponding promotional activities of 20% direct reduction and 10% direct reduction respectively, the promotional activities of the two resource positions are similar. Promotional activities include commodities, venues, direct reduction, gifts, points, more purchases, more benefits, discounts for full amounts, group purchases / rush purchases, and price increase and exchange. Optionally, when determining spare resource positions, the priority of the same promotional activities is higher than that of similar promotional activities, that is, when there are resource positions with the same promotional activities, the resource positions with the same promotional activities are given priority as spare resource positions, and when there are no resource positions with the same promotional activities, the resource positions with similar promotional activities are selected as spare resource positions.
[0068] Among them, the direct reduction here refers to directly discounting the goods, for example, 10% off when buying one, 20% off when buying two, etc.
[0069] Among them, gifts refer to gifts that can be obtained by purchasing goods, or gifts can be obtained when the amount of goods purchased reaches a certain amount.
[0070] Among them, gift points mean that you can get free points by purchasing goods, and the points can be deducted from cash or exchanged for goods.
[0071] Among them, "more purchases, more benefits" means that after purchasing J items, K items will be deducted (K is less than J), or L discounts will be given after purchasing J items, which encourages consumers to buy more goods to enjoy discounts.
[0072] Among them, full-amount discount means that consumers can enjoy discounts after the amount of money they purchase reaches a certain amount.
[0073] Among them, group buying / rush buying refers to promotional activities at lower prices, which are usually subject to time and quantity restrictions.
[0074] Among them, premium exchange means that consumers can exchange for specific goods at a lower preferential price after meeting certain shopping conditions.
[0075] It should be pointed out that in addition to the promotional activities listed above, there may be other promotional activities, such as member-only promotions, etc., which will not be listed here one by one.
[0076] Optionally, the same activity type includes the same or similar types of promotion objects, that is, when the types of promotion objects in different resource positions are the same or similar, the activity types of the two resource positions can be considered to be the same. For example, resource position A is an activity for promoting clothes of brand A (such as full-amount discounts), and resource position B is an activity for promoting clothes of brand B (such as direct discounts). Since resource position A and resource position B are both promotions for clothes, that is, the types of promotion objects are exactly the same, when resource position A is the target resource position, resource position B can be used as a backup resource position for resource position A. Since resource positions with exactly the same types of promotion objects are used as backup resource positions for target resource positions, when the backup resource positions are used for replacement, it is helpful to reduce the user's sense of difference in the replaced resource positions.
[0077] In an embodiment of the present application, resource bits with the same promotional activity as the target resource bits may also be screened and then the resource bits obtained after the screening may be used as spare resource bits. For example, when the number of resource bits with the same activity type as the target resource bits is less than a preset number threshold, these resource bits are used as spare resource bits, and when the number of resource bits with different activity types from the target resource bits is not less than a preset number threshold, these resource bits are screened. Among them, the screening strategy may include screening spare resource bits from these resource bits according to the activity type and activity cycle. Alternatively, the resource bits as spare resource bits are selected according to the received selection instruction. When based on the activity type and activity cycle, the resource bit with a shorter activity cycle may be preferentially selected from multiple resource bits with the same activity type as the spare resource bit with the highest priority, so that the resource bit with a shorter activity cycle has a longer promotion cycle.
[0078] In addition to using resource bits with the same activity type as the activity type displayed by the target resource bit as spare resource bits, resource bits of other activity types can also be used as spare resource bits. In some embodiments, the resource bits to be displayed can be determined according to the activity cycle, and the venues of one or more activities of different cycles can be recorded, and then the corresponding resource bits can be selected according to the venues of the activity cycle as spare resource bits for the target resource bits. For example, the resource bit corresponding to the venue of the next activity cycle of the target resource bit is used as the spare resource bit for the target resource bit, so that when an activity is taken off the shelf or ends, it can also be directly replaced with other replacement resource bits, which will not affect the participation of most users in the activity.
[0079] Optionally, in order to improve the disaster recovery capability, the number of spare resource bits corresponding to the same resource bit is greater than 1. Since the number of spare resource bits is greater than 1, when a spare resource bit is selected to replace a resource bit that can be accessed at the front-end device, if a third-party interface error also occurs in the spare resource bit, another spare resource bit can be selected for replacement, thereby improving the timeliness of resolving the third-party interface error.
[0080] Optionally, in order to increase the probability that the user can access the resource location that the user actually wants to access, after replacing the unique identifier of the resource location corresponding to the third-party interface error stored in the database with the unique identifier of the predetermined spare resource location, the method further includes: The candidate resource positions are displayed through a pop-up target window, wherein the target window is: a window different from the window used to display the spare resource position, and the candidate resource position is the resource position corresponding to the commodity screened by the target population according to the commodity corresponding to the resource position where the third-party interface error occurs. For example, the resource position corresponding to the commodity that the target population may purchase is used as the candidate resource position. Assuming that the commodity in the resource position where the third-party interface error occurs is flooring, and flooring is usually purchased by the decoration population, therefore, the resource position corresponding to the commodity that the decoration personnel may purchase (such as tiles, dining tables, curtains, etc.) can be displayed as the candidate resource position in the target window. By setting it in this way, the exposure of the candidate resource position is increased, and because the type of commodity corresponding to the candidate resource position is not necessarily the same as the type of commodity in the resource position where the third-party interface error occurs, it is conducive to expanding the breadth of the types of commodities that the user may access and increasing the probability that the user accesses the resource position that he actually wants to access. In addition, since the display window of the candidate resource position is different from the display window of the spare resource position, the candidate resource position will not interfere with the spare resource position.
[0081] The above describes the user interface errors and third-party interface errors that occur in the resource position. In actual situations, the resource position may also have internal interface errors, such as Figure 4 As shown, in Figure 4 In the diagram, a page diagram is given when an internal interface error occurs. Figure 4 In the case of an internal interface error, a prompt "Data request congestion, please try again later" may be displayed on the page. In order to improve the timeliness of solving internal interface errors, in some embodiments, the above-mentioned error correction processing of the above-mentioned resource bits according to the error type corresponding to the above-mentioned specified information includes: When the error type corresponding to the above-mentioned designated information is an internal interface error, a first reminder message is sent to the first target person, and the above-mentioned first reminder message includes information about the internal interface error.
[0082] Specifically, considering that when an error occurs in the internal interface, the user cannot access the corresponding resource location, therefore, when it is determined that the error in the resource location is an internal interface error, sending a first reminder message including information about the internal interface error to the first target person is conducive to the first target person timely knowing that an internal interface error has occurred in the resource location. That is, since the first reminder message is actively sent to the first target person instead of passively waiting for user feedback, the timeliness of solving the internal interface error is improved.
[0083] In the embodiment of the present application, a receiving address at which the first target person can receive the first reminder message is predetermined, and the receiving address can be one or more of an account number, an email address, a mobile phone number, etc. in an instant messaging application. When the server determines that an internal interface error occurs in the resource position, the first reminder message can be sent to the predetermined receiving address so that the first target person can receive the first reminder message in time.
[0084] Optionally, corresponding priorities are set for different resource positions in advance. When the first reminder message needs to be sent, the first target person and / or the form of the first reminder message (such as the content and number of times the first reminder message is sent) are determined in combination with the priority of the resource position. For example, when the priority of the resource position is higher, more people can be determined as the first target person, that is, the number of people involved in the first target person is greater; and / or, it is determined whether to add words indicating the degree of urgency to the content of the first reminder message according to the priority of the resource position, for example, the higher the priority of the resource position, the more urgent the corresponding degree of urgency; for another example, the higher the priority of the resource position, the more times the corresponding first reminder message is sent, such as by controlling the interval length of the interval for sending the first reminder message to control the number of times it is sent. By determining the first target person and / or the form of the first reminder message in combination with the priority of the resource position, it is beneficial to improve the matching of the determined first target person and / or the first reminder message with the resource position, thereby facilitating the efficiency of resolving errors.
[0085] In some embodiments, in order to promptly learn of a user interface error, when the error type corresponding to the specified information is a user interface error, hiding a unique identifier of a resource bit corresponding to the resource bit of the user interface error in the database includes: When the error type corresponding to the above-mentioned specified information is a user interface error, the unique identifier of the resource bit corresponding to the resource bit of the above-mentioned user interface error in the database is hidden, and a second reminder message is sent to the second target person, and the above-mentioned second reminder message includes: information about the user interface error.
[0086] In the embodiment of the present application, a receiving address at which the second target person can receive the second reminder message is predetermined, and the receiving address can be one or more of an account number, an email address, a mobile phone number, etc. in an instant messaging application. When the server determines that an internal interface error occurs in the resource position, the second reminder message can be sent to the predetermined receiving address so that the second target person can receive the second reminder message in time.
[0087] It should be pointed out that when the person who maintains the user interface is the same as the person who maintains the internal interface errors, the above-mentioned first target person is the same as the second target person, and when the person who maintains the user interface is different from the person who maintains the internal interface errors, the above-mentioned first target person is different from the second target person.
[0088] In some embodiments, when the target log records a specific error corresponding to a user interface error, the second reminder message may also include information corresponding to the specific error. For example, when the target log records a user interface error of the type of information overload, the second reminder message may include information corresponding to the information overload. For another example, when the target log records two types of user interface errors, information overload and size mismatch, the second reminder message may include information corresponding to the information overload and size mismatch.
[0089] Since the second reminder message includes the specific error corresponding to the user interface error, it is helpful for the second target person to resolve the user interface error more quickly.
[0090] As described above, when a user interface error or an internal interface error occurs in a resource, a corresponding reminder message can be sent. In actual situations, when a third-party interface error occurs, a reminder message can also be sent to the corresponding personnel. That is, in some embodiments, the above page error correction method further includes: When the error type corresponding to the above-mentioned designated information is a third-party interface error, a third reminder message is sent to the third target person, and the above-mentioned third reminder message includes information about the third-party interface error.
[0091] In the embodiment of the present application, a receiving address at which the third target person can receive the third reminder message is predetermined, and the receiving address can be one or more of an account number, an email address, a mobile phone number, etc. in an instant messaging application. When the server determines that an internal interface error occurs in the resource position, the third reminder message can be sent to the predetermined receiving address so that the third target person can receive the third reminder message in time.
[0092] It should be pointed out that when the personnel who maintain third-party interface errors are the same as the personnel who maintain the user interface and the personnel who maintain internal interface errors, the above-mentioned third target personnel are also the same as the first target personnel and the second target personnel. When the personnel who maintain third-party interface errors are different from the personnel who maintain the user interface and the personnel who maintain internal interface errors, the above-mentioned third target personnel are also different from the first target personnel and the second target personnel.
[0093] It should be understood that the size of the serial numbers of the steps in the above embodiments does not 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 embodiments of the present application.
[0094] Corresponding to the page error correction method described in the above embodiment, Figure 5 A structural block diagram of a page error correction device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0095] Reference Figure 5 The page error correction device 5 includes: a target log acquisition module 51, a specified information analysis module 52, and an error correction processing module 53. Among them: The target log acquisition module 51 is used to acquire the target log, where the target log is a log recording events related to the resource bit of the page.
[0096] Among them, the above-mentioned related events include at least one of the following: click events, response events, mouse events (such as mouse hover, press, etc.), loading events (such as page or element loading events, image and sub-frame loading events), animation events (such as animation start, end, iteration, etc.), drag and drop events (such as window size change events, page is about to be unloaded or has been unloaded events, etc.), media events (such as audio, video element start, end, etc. events), touch events, form events (such as form submission, form reset, form element value change, etc. events).
[0097] In the embodiment of the present application, the target log is used to record the information of the related events of the resource position of the page. For example, when the related events include click events, the target log includes the information corresponding to the click events of the resource position, such as the time of the click, the location of the click, etc. Optionally, a target log may record the information of the related events of only one resource position, or may record the information of the related events of multiple resource positions, which is not limited here.
[0098] In the embodiment of the present application, the target log corresponding to the resource position can be obtained in real time, or the target log corresponding to the resource position can be obtained after the interval time arrives. Optionally, when the number of resource positions is greater than 1, the acquisition time of different resource positions can be the same or different. Optionally, when the target log corresponding to the resource position is obtained at intervals, the interval time can be determined according to the promotion strength of the resource position. For example, the promotion strength and the interval time can be set to be positively correlated, that is, the greater the promotion strength of the resource position, the smaller the corresponding interval time. This is because, considering that the greater the promotion strength, the greater the probability of the user accessing the resource position, and using a smaller interval time to obtain the target log, the target log can be obtained more timely, which is conducive to improving the timeliness of solving problems that arise.
[0099] The designated information analysis module 52 is used to analyze whether the target log contains designated information, where the designated information is pre-set information for indicating the error type of the resource bit, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error.
[0100] Specifically, information indicating the error type of the resource bit is preset (ie, the above-mentioned designated information is preset), and the number of the designated information is not less than the number of the error types of the resource bit.
[0101] The error correction processing module 53 is used to perform corresponding error correction processing on the resource bit according to the error type corresponding to the specified information when the target log contains the specified information.
[0102] The error correction process here refers to the process performed on errors existing in resource bits.
[0103] In the embodiment of the present application, when performing error correction processing, it is necessary to combine the error type existing in the resource bit. Different error types usually have different corresponding error correction processing. Specifically, the target log includes a unique identifier of the resource bit. According to the unique identifier of the resource bit corresponding to the specified information and the error type, the error type corresponding to the resource bit corresponding to the unique identifier of the resource bit is determined, and then the corresponding resource bit is corrected according to the error type.
[0104] In the embodiment of the present application, when it is analyzed that the target log contains the specified information of the information pre-set to indicate the error type of the resource bit, the above-mentioned resource bit is subjected to corresponding error correction processing according to the error type corresponding to the specified information. Since the target log is a log for recording the relevant events of the resource bit of the page, and the target log does not require user feedback, therefore, analyzing the target log is equivalent to analyzing the relevant events of the resource bit of the page without user feedback, and the obtained analysis result can reflect whether an error occurs in the resource bit. Furthermore, since the specified information is the information pre-set to indicate the error type of the resource bit, therefore, when the target log contains the above-mentioned specified information, it indicates that an error of the error type occurs in the resource bit, so that after the error correction processing is performed on the resource bit, the error can be processed more promptly, thereby improving the timeliness of solving the problem of the resource bit.
[0105] In some embodiments, when the error correction processing module 53 performs corresponding error correction processing on the resource bit according to the error type corresponding to the specified information, it is specifically used to: When the error type corresponding to the above-mentioned specified information is a user interface error, the unique identifier of the resource bit corresponding to the resource bit of the above-mentioned user interface error in the database is hidden, wherein after the unique identifier of the resource bit is hidden, the front-end device will remove the resource bit corresponding to the unique identifier of the above-mentioned resource bit that is hidden.
[0106] In the embodiment of the present application, the resource position corresponding to the unique identifier of the resource position stored in the database and not hidden can be displayed on the front-end device. The front-end device here is a device opposite to the back-end device. For example, when a user accesses a server through a mobile phone, the mobile phone is the front-end device mentioned above, and the server is the back-end device; when a user accesses a server through a personal computer, the personal computer is the front-end device mentioned above, and the server is the back-end device.
[0107] In some embodiments, when the error correction processing module 53 performs corresponding error correction processing on the resource bit according to the error type corresponding to the specified information, it is specifically used to: When the error type corresponding to the above-mentioned specified information is a third-party interface error, the unique identifier of the resource bit corresponding to the above-mentioned third-party interface error in the database is replaced with the unique identifier of the predetermined spare resource bit, wherein after the unique identifier of the resource bit is replaced, the front-end device will use the above-mentioned spare resource bit to replace the resource bit corresponding to the unique identifier of the replaced resource bit.
[0108] In some embodiments, when the error correction processing module 53 performs corresponding error correction processing on the resource bit according to the error type corresponding to the specified information, it is specifically used to: When the error type corresponding to the above-mentioned designated information is an internal interface error, a first reminder message is sent to the first target person, and the above-mentioned first reminder message includes information about the internal interface error.
[0109] In some embodiments, the above-mentioned user interface error includes information overload, and the page error correction device 5 includes: The information overload recording module is used to count the time when the information of the above-mentioned resource position is displayed and the time when the above-mentioned resource position is clicked by the user before the above-mentioned target log is obtained. When the time corresponding to the time when the information of the above-mentioned resource position is displayed and the time when the above-mentioned resource position is clicked by the user is greater than a preset overload time threshold, a user interface error indicating that the above-mentioned resource position has information overload is recorded in the above-mentioned target log.
[0110] In some embodiments, the above-mentioned user interface error includes a loading time that is too long, and the page error correction device 5 includes: The module for recording long loading time is used to count the time when the information of the above-mentioned resource position starts to be displayed and the time when the information of the above-mentioned resource position ends to be displayed before the above-mentioned target log is obtained. When the time length corresponding to the time when the information of the above-mentioned resource position starts to be displayed and the time when the information of the above-mentioned resource position ends to be displayed is greater than the preset loading time threshold, the above-mentioned target log records a user interface error that the loading time of the above-mentioned resource position is too long.
[0111] In some embodiments, the above user interface error includes size mismatch, and the page error correction device 5 includes: The size mismatch judgment module is used to count the size of the resource position display and the screen size of the front-end device used to display the resource position before obtaining the target log, and judge whether the resource position has a user interface error of size mismatch based on the size of the resource position display and the screen size, and record the judgment result in the target log.
[0112] In some embodiments, the above-mentioned user interface error includes poor accessibility, and the page error correction device 5 includes: The poor accessibility recording module is used to record the user interface error of poor accessibility of the above resource location in the above target log before obtaining the above target log and when receiving the target feedback, wherein the above target feedback includes the information of similar colors between different information of the above resource location.
[0113] In some embodiments, the page error correction device 5 includes: A backup resource determination module is used to determine the activity type displayed by the target resource bit before replacing the unique identifier of the resource bit corresponding to the third-party interface error in the database with the unique identifier of the predetermined backup resource bit, search for the resource bit with the same activity type as the activity type displayed by the target resource bit, and use the found resource bit as the backup resource bit, wherein the target resource bit is the resource bit corresponding to the third-party interface error in the database.
[0114] In some embodiments, when the error type corresponding to the specified information is a user interface error, hiding the unique identifier of the resource bit corresponding to the resource bit of the user interface error in the database includes: When the error type corresponding to the above-mentioned specified information is a user interface error, the unique identifier of the resource bit corresponding to the resource bit of the above-mentioned user interface error in the database is hidden, and a second reminder message is sent to the second target person, and the above-mentioned second reminder message includes: information about the user interface error.
[0115] In some embodiments, the page error correction device 5 further includes: The third reminder message sending module is used to send a third reminder message to a third target person when the error type corresponding to the above-mentioned designated information is a third-party interface error, and the above-mentioned third reminder message includes information about the third-party interface error.
[0116] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0117] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3 As shown, the electronic device 6 of this embodiment includes: at least one processor 60 ( Figure 6 Only one processor is shown in the figure), a memory 61, and a computer program 62 stored in the above-mentioned memory 61 and executable on the above-mentioned at least one processor 60, when the above-mentioned processor 60 executes the above-mentioned computer program 62, the steps in any of the above-mentioned method embodiments are implemented.
[0118] The electronic device 6 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 6 It is only an example of the electronic device 6 and does not constitute a limitation on the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0119] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0120] In some embodiments, the memory 61 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. In other embodiments, the memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. Further, the memory 61 may include both an internal storage unit and an external storage device of the electronic device 6. The memory 61 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0121] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0122] An embodiment of the present application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps of any of the above method embodiments when executing the computer program.
[0123] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0124] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0125] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0126] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0127] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0128] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0129] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0130] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A page error correction method, characterized in that: include: Obtaining a target log, wherein the target log is a log recording events related to resource bits of a page; Analyze whether the target log contains specified information, where the specified information is pre-set information for indicating an error type of a resource bit, and the error type includes at least one of the following: a user interface error, a third-party interface error, and an internal interface error; In the case that the target log has the designated information, corresponding error correction processing is performed on the resource bit according to the error type corresponding to the designated information.
2. The page error correction method according to claim 1, characterized in that: The performing corresponding error correction processing on the resource bit according to the error type corresponding to the designated information includes: When the error type corresponding to the specified information is a user interface error, the unique identifier of the resource bit corresponding to the resource bit of the user interface error in the database is hidden, wherein after the unique identifier of the resource bit is hidden, the front-end device will remove the resource bit corresponding to the unique identifier of the hidden resource bit.
3. The page error correction method according to claim 1, characterized in that: The performing corresponding error correction processing on the resource bit according to the error type corresponding to the designated information includes: When the error type corresponding to the specified information is a third-party interface error, a predetermined unique identifier of a spare resource bit is used to replace the unique identifier of the resource bit corresponding to the third-party interface error in the database, wherein after the unique identifier of the resource bit is replaced, the front-end device will use the spare resource bit to replace the resource bit corresponding to the unique identifier of the replaced resource bit.
4. The page error correction method according to claim 1, characterized in that: The performing corresponding error correction processing on the resource bit according to the error type corresponding to the designated information includes: When the error type corresponding to the designated information is an internal interface error, a first reminder message is sent to a first target person, wherein the first reminder message includes information about the internal interface error.
5. The page error correction method according to claim 2, characterized in that: The user interface error includes information overload, and before obtaining the target log, the method further includes: The time when the information of the resource location is displayed and the time when the resource location is clicked by the user are counted. When the time when the information of the resource location is displayed and the time when the resource location is clicked by the user correspond to each other is greater than a preset overload time threshold, a user interface error indicating that the resource location has information overload is recorded in the target log.
6. The page error correction method according to claim 2, characterized in that: The user interface error includes a long loading time, and before obtaining the target log, it also includes: The time when the information of the resource position starts to be displayed and the time when the information of the resource position ends to be displayed are counted. When the time length corresponding to the time when the information of the resource position starts to be displayed and the time when the information of the resource position ends to be displayed is greater than a preset loading time threshold, a user interface error indicating that the resource position takes too long to load is recorded in the target log.
7. The page error correction method according to claim 2, characterized in that: The user interface error includes a size mismatch, and before obtaining the target log, the method further includes: The size of the resource bit display and the screen size of the front-end device used to display the resource bit are counted, and whether a user interface error of size mismatch occurs in the resource bit according to the size of the resource bit display and the screen size, and the judgment result is recorded in the target log.
8. The page error correction method according to claim 3, characterized in that: Before the unique identifier of the predetermined spare resource bit is used to replace the unique identifier of the resource bit corresponding to the third-party interface error in the database, the method further includes: Determine the activity type displayed by the target resource bit, search for a resource bit with the same activity type as the activity type displayed by the target resource bit, and use the found resource bit as the backup resource bit, wherein the target resource bit is the resource bit corresponding to the third-party interface error in the database.
9. A page error correction device, characterized in that: include: A target log acquisition module, used to acquire a target log, wherein the target log is a log recording events related to resource bits of a page; A designated information analysis module, used to analyze whether the target log contains designated information, wherein the designated information is pre-set information for indicating the error type of the resource bit, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error; The error correction processing module is used to perform corresponding error correction processing on the resource bit according to the error type corresponding to the specified information when the target log contains the specified information.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
On-line state monitoring method and system
CN105450462A
Method and apparatus for identifying abnormal clicking of advertising space
CN107330731A
Log collection and analysis method and device, computer system and readable storage medium
CN111563016A
Method, device, storage medium and system for processing log data
CN115017005A
Front-end page monitoring method and device, computer equipment and storage medium
CN117331804A