Page error correction method, device and electronic device
The method analyzes log data to identify and automatically correct errors in resource slots on electronic commerce platforms, improving user experience and promotional effectiveness by resolving issues promptly.
Patent Information
- Application Number
- CN202510255410.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2045-03-05
AI Technical Summary
In the prior art, when a user clicks on the resource position of the e-commerce trading platform, the operator needs to wait for user feedback before manually removing the resource position, resulting in the error being unable to be corrected in time, affecting the user experience and promotional effect.
By obtaining the relevant event log of the resource bit, analyzing whether there is a specified error type, and automatically correcting errors based on the error type, including hiding the resource bit of the user interface error, replacing the resource bit of the third-party interface error, or sending reminder messages.
It realizes timely correcting resource position errors without user feedback, improving user experience and promotional effects.
Smart Images

Figure CN119759637B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of software technology, and particularly relates to a page error correction method, apparatus, 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 various e-commerce trading platforms is becoming increasingly fierce.
[0003] In order to increase sales volume, promotional activities are usually carried out by subsidizing e-commerce trading platforms or allowing merchants to offer discounts. To more intuitively and conveniently guide users to designated activities, e-commerce trading platforms usually provide corresponding resource positions on specific pages (such as the home page). Users can click on the resource position to open the corresponding page. Here, the resource position is an address for displaying information such as advertisements or promotional information. Normally, when a user clicks on a resource position, they will be able to enter the corresponding page. However, in actual situations, there may be cases where, after a user clicks on a resource position, they are unable to enter the corresponding page and an error occurs.
[0004] In existing methods, when an error occurs after a user clicks on a resource position, usually after waiting for the user to submit feedback, the operation staff manually operates to take down the resource position. And before the operation staff takes down the resource position, as long as there are users who continue to click on the resource position, an error will still occur, thus reducing the user experience. Summary of the Invention
[0005] Embodiments of this application provide a page error correction method, apparatus, electronic device, and computer-readable storage medium, which can solve the problem that it is difficult to correct errors in existing resource positions in a timely manner.
[0006] In a first aspect, embodiments of this application provide a page error correction method, including:
[0007] Obtain a target log, where the target log is a log recording events related to the resource position of a page;
[0008] Analyze whether the target log contains specified information, where the specified information is information preset for indicating the error type of the resource position, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error;
[0009] In the case where the target log contains the specified information, perform corresponding error correction processing on the resource position according to the error type corresponding to the specified information.
[0010] In an embodiment of the present application, in the case where it is analyzed that the target log has specified information indicating an error type preset for a resource position, corresponding error correction processing is performed on the above resource position according to the error type corresponding to the specified information. Since the target log is a log for recording events related to the resource positions of a page and does not require user feedback, analyzing the target log is equivalent to analyzing events related to the resource positions of the page without user feedback, and the obtained analysis result can reflect whether there is an error in the resource position. Also, since the specified information is information preset for indicating an error type of a resource position, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error, when the target log has the above specified information, it indicates that an error of this error type has occurred in the resource position. Therefore, after performing error correction processing on the resource position, the error can be processed more promptly, improving the timeliness of solving problems that occur in the resource position.
[0011] Optionally, the corresponding error correction processing of the resource position according to the error type corresponding to the specified information includes:
[0012] When the error type corresponding to the specified information is a user interface error, hide the unique identifier of the resource position corresponding to the resource position with the user interface error in the database. After the unique identifier of the resource position is hidden, the front-end device will take off the resource position corresponding to the hidden unique identifier of the resource position.
[0013] Optionally, the corresponding error correction processing of the resource position according to the error type corresponding to the specified information includes:
[0014] When the error type corresponding to the specified information is a third-party interface error, replace the unique identifier of the resource position corresponding to the third-party interface error in the database with the unique identifier of a pre-determined alternative resource position. After the unique identifier of the resource position is replaced, the front-end device will use the alternative resource position to replace the resource position corresponding to the replaced unique identifier of the resource position.
[0015] Optionally, the corresponding error correction processing of the resource position according to the error type corresponding to the specified information includes:
[0016] When the error type corresponding to the specified information is an internal interface error, send a first reminder message to a first target person, where the first reminder message includes information about the internal interface error.
[0017] Optionally, the user interface error includes information overload. Before obtaining the target log, it further includes:
[0018] Statistically record the moment when the information of the resource position is displayed and the moment when the resource position is clicked by the user. When the duration corresponding to the moment when the information of the resource position is displayed and the moment when the resource position is clicked by the user is greater than a preset overload duration threshold, record a user interface error of information overload for the resource position in the target log.
[0019] Optionally, the user interface error includes a long loading time. Before obtaining the target log, it further includes:
[0020] Statistically record the moment when the information of the resource position starts to be displayed and the moment when the information of the resource position ends to be displayed. When the duration corresponding to the moment when the information of the resource position starts to be displayed and the moment when the information of the resource position ends to be displayed is greater than a preset loading duration threshold, record a user interface error of long loading time for the resource position in the target log.
[0021] Optionally, the user interface error includes a size mismatch. Before obtaining the target log, it further includes:
[0022] Statistically record the size of the resource position displayed and the screen size of the front-end device used to display the resource position. Determine whether there is a user interface error of size mismatch for the resource position based on the size of the resource position displayed and the screen size, and record the judgment result in the target log.
[0023] Optionally, the user interface error includes poor accessibility. Before obtaining the target log, it further includes:
[0024] When receiving a target feedback, record a user interface error of poor accessibility for the resource position in the target log, where the target feedback includes information that the colors between different information of the resource position are similar.
[0025] Optionally, before replacing the unique identifier of the resource position corresponding to the third-party interface error in the database with the unique identifier of the pre-determined backup resource position, it further includes:
[0026] Determine the activity type displayed by the target resource position, search for a resource position with the same activity type as the activity type displayed by the target resource position, and use the found resource position as the backup resource position, where the target resource position is the resource position corresponding to the third-party interface error in the database.
[0027] Optionally, when the error type corresponding to the specified information is a user interface error, hiding the unique identifier of the resource position corresponding to the resource position with the user interface error in the database includes:
[0028] When the error type corresponding to the specified information is a user interface error, hide the unique identifier of the resource bit corresponding to the resource bit of the user interface error in the database, and send a second reminder message to a second target person, where the second reminder message includes: information about the user interface error.
[0029] Optionally, the page error correction method further includes:
[0030] When the error type corresponding to the specified information is a third-party interface error, send a third reminder message to a third target person, where the third reminder message includes information about the third-party interface error.
[0031] In a second aspect, an embodiment of the present application provides a page error correction device, including:
[0032] A target log acquisition module, configured to acquire a target log, where the target log is a log recording events related to resource bits of a page;
[0033] A specified information analysis module, configured to analyze whether the target log has specified information, where the specified information is pre-set information used to indicate the error type of a resource bit, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error;
[0034] An error correction processing module, configured to, when the target log has the specified information, perform corresponding error correction processing on the resource bit according to the error type corresponding to the specified information.
[0035] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the processor executes the computer program, the method described in any item of the first aspect is implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any item of the first aspect is implemented.
[0037] In a fifth aspect, an embodiment of the present application provides a computer program product, which when running on an electronic device causes the electronic device to execute the method described in any item of the first aspect above.
[0038] It can be understood that the beneficial effects of the above second aspect to fifth aspect can refer to the relevant descriptions in the first aspect above, and will not be elaborated here. Description of the Drawings
[0039] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art.
[0040] Figure 1 It is a schematic diagram of a page error correction method provided by an embodiment of the present application;
[0041] Figure 2 It is a page schematic diagram when a user interface error occurs provided by an embodiment of the present application;
[0042] Figure 3 It is a page schematic diagram when a third-party interface error occurs provided by an embodiment of the present application;
[0043] Figure 4 It is a page schematic diagram when an internal interface error occurs provided by an embodiment of the present application;
[0044] Figure 5 It is a schematic diagram of the structure of a page error correction device provided by an embodiment of the present application;
[0045] Figure 6 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0046] In the following description, specific details such as specific system structures and technologies are proposed for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can 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 avoid unnecessary details from interfering with the description of the present application.
[0047] It should be understood that when used in the specification and the appended claims of the present application, the term "comprising" indicates the presence of the 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 their combinations.
[0048] It should also be understood that the term "and / or" used in the specification and the appended claims of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0049] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that specific features, structures, or characteristics described in connection with that embodiment are included in one or more embodiments of this application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
[0050] Currently, in order to promote products, e-commerce trading platforms usually provide corresponding resource positions on specific pages (such as the home page). Users can click on this resource position to open the corresponding page. Among them, this resource position includes an address for displaying information such as advertisements or promotional information. Normally, when a user clicks on the resource position (such as clicking on a specific icon of the resource position, such as clicking on the "GO" icon), they will be able to enter the corresponding page and can perform the purchase operation of the product on the entered page. However, in actual situations, there may be cases where, after a user clicks on the resource position, they are unable to enter the corresponding page. At this time, an error message will be displayed on the page.
[0051] When an error occurs when a user clicks on a resource position, if the operator waits for the user to submit feedback before manually operating to take down this resource position, it will be difficult to solve the problem of the resource position in a timely manner, thereby resulting in a poor user experience. This is because, before the operator takes down the resource position, as long as there are users clicking on the problematic resource position, the resource position will still show an error situation, thus reducing the user's desire to purchase products, and further reducing the promotional effect of the products.
[0052] In order to improve the timeliness of solving the problems that occur in resource positions, an embodiment of this application provides a page error correction method. In this method, by obtaining the logs of relevant events of the resource position, it is analyzed whether there is a resource position error, and in the case of a resource position error, error correction processing is automatically performed according to the error type of the resource position.
[0053] Since error correction processing is automatically performed in the case of a resource position error, the timeliness of solving the problems that occur in resource positions can be improved.
[0054] The following describes a page error correction method provided by an embodiment of this application in conjunction with the accompanying drawings.
[0055] Figure 1 The flowchart of a page error correction method provided by an embodiment of this application is shown. This page error correction method can be applied to backend devices such as servers, and is described in detail as follows:
[0056] S11, obtain the target log, where the above target log is a log recording relevant events of the resource position of the page.
[0057] Among them, the above-mentioned related events include at least one of the following: click event, response event, mouse event (such as mouse hovering, pressing, etc.), loading event (such as page or element loading event, image and sub-frame loading event), animation event (such as animation start, end, iteration, etc.), drag-and-drop event (such as window size change event, page about to be unloaded or already unloaded, etc.), media event (such as start and end events of audio and video elements), touch event, form event (such as form submission, form reset, form element value change, etc.).
[0058] In the embodiments of the present application, the target log is used to record information about related events of a resource position on a page. For example, when the related event includes a click event, the target log includes information corresponding to the click event of the resource position, such as the moment of clicking, the position of clicking, etc. Optionally, a target log may record information about related events of only one resource position, or may record information about related events of multiple resource positions, which is not limited here.
[0059] In the embodiments of the present application, the target log corresponding to the resource position can be obtained in real time, or can be obtained after the interval time arrives. Optionally, when the number of resource positions is greater than 1, the acquisition times of different resource positions can be the same or different. Optionally, when obtaining the target log corresponding to the resource position in the way that the interval time arrives, the interval time can be determined according to the promotion intensity of the resource position. For example, it can be set that the promotion intensity is negatively correlated with the interval time, that is, when the promotion intensity of the resource position is greater, the corresponding interval time is smaller. This is because, considering that the greater the promotion intensity, the greater the probability that the user accesses the resource position, and using a smaller interval time to obtain the target log can obtain the target log more timely, which is beneficial to improving the timeliness of solving the problems that occur.
[0060] S12. Analyze whether the above-mentioned target log contains specified information, where the specified information is pre-set information used to indicate the error type of the resource position, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error.
[0061] Specifically, pre-set information indicating the error type of the resource position (that is, pre-set the above-mentioned specified information), and the number of the specified information is not less than the number of error types of the resource position. For example, assuming that there are 3 error types of the resource position, 3 different specified information can be set to identify the 3 error types. In this way, after obtaining the target log, the information recorded in the target log can be compared with the specified information. If the information recorded in the target log has the same information as the specified information, it is determined that the corresponding resource position has the error type corresponding to the specified information.
[0062] S13. When the above-mentioned target log has the above-mentioned specified information, perform corresponding error correction processing on the above-mentioned resource position according to the error type corresponding to the above-mentioned specified information.
[0063] Here, the error correction processing refers to the processing of the errors existing in the resource position.
[0064] In the embodiment of the present application, when performing error correction processing, it is necessary to combine the error type existing in the resource position. For different error types, the corresponding error correction processing is usually different. Specifically, the target log includes the unique identifier of the resource position. According to the unique identifier of the resource position corresponding to the specified information and the error type, determine the error type corresponding to the resource position corresponding to the unique identifier of the resource position, and then perform error correction processing on the corresponding resource position according to the error type.
[0065] In the embodiment of the present application, when it is analyzed that the target log has the specified information of the information preset for indicating the error type of the resource position, perform corresponding error correction processing on the above-mentioned resource position according to the error type corresponding to the specified information. Since the target log is a log for recording relevant events of the resource position 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 position of the page without user feedback, and the obtained analysis result can reflect whether the resource position has an error. Also, since the specified information is the information preset for indicating the error type of the resource position, and 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 has the above-mentioned specified information, it indicates that the resource position has an error of this error type. Thus, after performing error correction processing on the resource position, the error can be processed more timely, improving the timeliness of solving the problems occurring in the resource position.
[0066] In some embodiments, in the above-mentioned S13, performing corresponding error correction processing on the above-mentioned resource position according to the error type corresponding to the above-mentioned specified information includes:
[0067] When the error type corresponding to the above-mentioned specified information is a user interface error, hide the unique identifier of the resource position corresponding to the resource position with the user interface error in the database. After the unique identifier of the resource position is hidden, the front-end device will take off the shelf the resource position corresponding to the hidden unique identifier of the resource position.
[0068] Specifically, specify the information corresponding to the user interface error in advance. When the target log contains the specified information corresponding to the user interface error, it is determined that there is a user interface error in the resource position. For example, assume that the specified information corresponding to the user interface error is "XYZ", and "XYZ" exists in the information of resource position A recorded in the target log, then it is determined that there is a user interface error in the resource position A.
[0069] In the embodiments 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. Here, the front-end device is a device opposite to the back-end device. For example, when a user accesses the server through a mobile phone, the mobile phone is the above-mentioned front-end device, and the server is the back-end device; when a user accesses the server through a personal computer, the personal computer is the above-mentioned front-end device, and the server is the back-end device.
[0070] As Figure 2 shown, Figure 2 Fig. shows a page schematic diagram when a user interface error occurs provided by the embodiments of the present application. As can be seen from Figure 2 this, when a user interface error occurs, if the current page has not been loaded successfully, "Loading..." can be displayed. When there is a user interface error in the resource position, it may be difficult for the user to quickly enter the page corresponding to the resource position according to the resource position displayed on the front-end device (as shown in Figure 2 this). At this time, the unique identifier of the resource position in the database can be selected to be hidden. 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 it is difficult for the user to quickly enter the page corresponding to the resource position. This method can solve the user interface error of the resource position in a timely manner without user feedback, thereby improving the timeliness of problem-solving.
[0071] In some embodiments, the above user interface error includes at least one of the following: information overload, long loading time, size mismatch, and poor accessibility. Before the above S11, it further includes:
[0072] Statistically record the moment when the information of the above resource position is displayed and the moment when the above resource position is clicked by the user. When the duration corresponding to the moment when the information of the above resource position is displayed and the moment when the above resource position is clicked by the user is greater than the preset overload duration threshold, record a user interface error of information overload for the above resource position in the above target log; and / or, statistically record the moment when the information of the above resource position starts to be displayed and the moment when the information of the above resource position ends to be displayed. When the duration corresponding to the moment when the information of the above resource position starts to be displayed and the moment when the information of the above resource position ends to be displayed is greater than the preset loading duration threshold, record a user interface error of too long loading time for the above resource position in the above target log; and / or, statistically record the size of the above resource position displayed and the screen size of the front-end device used to display the above resource position, determine whether there is a user interface error of size mismatch for the above resource position according to the size of the above resource position displayed and the above screen size, and record the judgment result in the above target log; and / or, when receiving a target feedback, record a user interface error of poor accessibility for the above resource position in the above target log, where the above target feedback includes information that the colors of different information of the above resource position are similar. 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.
[0073] Regarding information overload:
[0074] Among them, the moment when the information of the resource position in the user interface error of information overload is displayed can be the moment when all the information of the resource position is displayed, or the moment when the information that can access the page corresponding to the resource position in the resource position is displayed. For example, assume that resource position A includes icon 1, icon 2, and icon 3, and icon 3 is the information to access the page corresponding to resource position A, that is, the user can access the page corresponding to resource position A by clicking on the position where "icon 3" is located. Then the moment when the information of resource position A is displayed here can be the moment when icon 3 of resource position A is displayed.
[0075] Among them, the moment when the resource position in the user interface error of information overload is clicked by the user can be the moment when the resource position is first clicked, or the moment when the information that can access the page corresponding to the resource position is first clicked.
[0076] The moment when the information of the above resource position is displayed can be determined from the loading event, and the moment when the above resource position is clicked by the user can be determined from the click event. Since users usually perform the corresponding click operation after the information is displayed, when the duration corresponding to the moment when the information of the resource position is displayed and the moment when the resource position is clicked by the user is greater than the preset overload duration threshold, it is very likely that the information loading duration is too long, that is, the resource position is very likely to have an information overload error. That is, through the above method, it can be accurately determined whether the resource position has an information overload error.
[0077] Regarding the overly long loading time:
[0078] Among them, the moment when the information of the resource slot starts to be displayed usually refers to the earliest moment when the information of the resource slot starts to be displayed. The information here can be a complete piece of information or more than one complete or partial piece of information. For example, if resource slot A includes icon 1, icon 2, and icon 3, and the earliest displayed icon of resource slot A is icon 1, then the moment when icon 1 starts to be displayed is the moment when the information of the above-mentioned resource slot A starts to be displayed. Of course, if the earliest displayed icons of resource slot A are icon 1 and icon 2, then the moments when icon 1 and icon 2 start to be displayed are the moments when the information of the above-mentioned resource slot A starts to be displayed.
[0079] Among them, the moment when the information of the resource slot ends to be displayed usually refers to the moment when all the information of the resource slot ends to be displayed. Such as the moment corresponding after resource slot A displays icon 1, icon 2, and icon 3.
[0080] Since the duration corresponding to the moment when the information of the resource slot starts to be displayed and the moment when the information of the resource slot ends to be displayed reflects the loading duration of the information of the resource slot, therefore, through the above method, it can be accurately judged whether there is a problem of overly long loading time for the resource slot.
[0081] Regarding the size mismatch:
[0082] Among them, the size of the resource slot display usually refers to the visible size of elements (such as buttons, icons, pictures, etc.) on the screen in the user interface design, and this size includes length * width. Specifically, after the resource slot is displayed on the front-end device, the size of the resource slot display can be calculated according to the actual display area of the resource slot, and it can be judged whether there is a user interface error of size mismatch for the resource slot according to the size of the resource slot display and the screen size, and the judgment result is recorded.
[0083] Optionally, a ratio range can be determined according to the ratio of the length and width in the screen size, and the ratio of the length and width in the size of the resource slot display is calculated. If this ratio is within the above ratio range, it is determined that there is no problem of size mismatch for the resource slot. Through the above judgment, it can be judged whether the resource slot is enlarged or reduced corresponding to the size of the screen.
[0084] Optionally, it can be judged whether there is a problem of size mismatch for the resource slot according to the size of the resource slot display, the screen size, and the distance between the elements on the resource slot. For example, when the size of the resource slot display is the same as the screen size, but the distance between the elements on the resource slot is less than a preset value (such as less than 1 mm) (at this time, the displayed elements are in a squeezed situation), it is determined that there is a problem of size mismatch for the resource slot.
[0085] For poor accessibility:
[0086] Specifically, a feedback interface is provided. For example, the user is asked whether the colors between different information (such as two different icons of the same resource position) of the displayed resource position are easily distinguishable. If the user feedback is not easily distinguishable (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.
[0087] In the embodiments 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, therefore, it is possible to more quickly determine which user interface error has occurred according to the target log in the future.
[0088] The types of user interface errors that occur in the resource position are introduced above. In actual situations, third-party interface errors may also occur in the resource position. At this time, in the above S13, corresponding error correction processing is performed on the above resource position according to the error type corresponding to the above specified information, including:
[0089] When the error type corresponding to the above specified information is a third-party interface error, the unique identifier of the pre-determined alternative resource position is used to replace the unique identifier of the resource position corresponding to the above third-party interface error stored in the database. After the unique identifier of the resource position is replaced, the front-end device will use the above alternative resource position to replace the resource position corresponding to the replaced unique identifier of the resource position.
[0090] Among them, the third-party interface refers to an interface that is not the local interface. For example, assume that e-commerce platform A is used to integrate the promotion information of e-commerce platform B and e-commerce platform C. Then, the interfaces provided by e-commerce platform B and e-commerce platform C are both the above third-party interfaces, and the interface of e-commerce platform A is an internal interface. The error that occurs in the third-party interface is the above third-party interface error. For the personnel of e-commerce platform A, they usually cannot solve the third-party interface error. Among them, Figure 3 shows a schematic diagram of a page when a third-party interface error occurs provided by the embodiments of the present application. From Figure 3 it can be seen that when a third-party interface error occurs, an information of "request failed" can be returned.
[0091] In the embodiments of the present application, after a third-party interface error occurs, the backup resource position corresponding to the resource position with the unique identifier of the resource position where the third-party interface error occurs can be found according to the unique identifier of the resource position. The backup resource position refers to a backup resource position that can replace the resource position that can be accessed on the front-end device. It should be noted that when the unique identifiers of the resource positions stored in the database are not hidden, the resource positions corresponding to these unique identifiers of the resource positions can all be accessed on the front-end device. When the unique identifier of the resource position stored in the database and not hidden is replaced by the unique identifier of another resource position, the resource position corresponding to the replaced unique identifier of the resource position will no longer be able to be accessed on the front-end device, but the resource position corresponding to the unique identifier of the replaced resource position will be able to be accessed on the front-end device.
[0092] In the embodiments of the present application, considering that third-party interface errors usually cannot be solved, directly replacing the resource position where the third-party interface error occurs can solve the third-party interface error more quickly.
[0093] In some embodiments, before replacing the unique identifier of the resource position corresponding to the third-party interface error in the database with the unique identifier of the pre-determined backup resource position, it further includes:
[0094] Determine the activity type displayed by the target resource position, find the resource positions with the same activity type as the activity type displayed by the target resource position, and use the found resource positions as the above-mentioned backup resource positions, where the above-mentioned target resource position is the resource position corresponding to the occurrence of the above-mentioned third-party interface error stored in the above-mentioned database.
[0095] Specifically, for each resource position that can be accessed on the front-end device, a venue with the same activity type as the activity type displayed by the resource position that can be accessed on the front-end device is pre-determined, and then the corresponding resource positions are determined according to the determined venue. These determined resource positions are used as the backup resource positions corresponding to the resource positions that can be accessed on the front-end device. For example, the resource positions to be displayed can be determined according to the activity type, and one or more venues of the same type are recorded. The resource positions corresponding to the recorded multiple venues can be used as the backup resource positions for the resource positions of the displayed activity type.
[0096] In the embodiments of the present application, the backup resource positions corresponding to the resource positions that can be accessed on the front-end device are determined according to one or more of the above-mentioned various methods. Since there are multiple methods for determining the backup resource positions, the flexibility of determining the backup resource positions is improved.
[0097] Optionally, the same above-mentioned activity types include the same or similar promotional activities. For example, assume there are two different resource positions, and the corresponding promotional activities for both are a direct price cut of 20%. Then the promotional activities for these two resource positions are the same. Assume there are two different resource positions, and the corresponding promotional activities are a direct price cut of 20% and a direct price cut of 10% respectively. Then the promotional activities for these two resource positions are similar. Promotional activities include products, venues, direct price cuts, giveaways, bonus points, more purchases with more benefits, full amount reduction, group buying / snapping up, premium for exchange, etc. Optionally, when determining the backup resource position, the priority of the same promotional activity is higher than that of the similar promotional activity. That is, in the case of resource positions with the same promotional activity, the resource position with the same promotional activity is preferentially used as the backup resource position. In the case of no resource positions with the same promotional activity, the resource position with the similar promotional activity is selected as the backup resource position.
[0098] Among them, the direct price cut here means directly discounting the product. For example, a 10% discount for buying one piece and a 20% discount for buying two pieces, etc.
[0099] Among them, the giveaway means that the consumer can get a giveaway when purchasing a product, or can get a giveaway when the amount of the purchased product reaches a certain quantity.
[0100] Among them, the bonus points means that the consumer can get bonus points when purchasing a product, and the points can be used to offset cash or exchange for products.
[0101] Among them, more purchases with more benefits means that after purchasing J pieces, K (K is less than J) pieces are exempted, or a L discount is given after purchasing J pieces, encouraging consumers to buy more products to enjoy the benefits.
[0102] Among them, full amount reduction means that after the amount of the product purchased by the consumer reaches a certain amount, the consumer can enjoy a reduction discount.
[0103] Among them, group buying / snapping up means a promotional activity carried out at a lower price, which usually has time and quantity limitations.
[0104] Among them, premium for exchange means that after the consumer meets certain shopping conditions, the consumer can exchange for a specific product at a lower preferential price.
[0105] It should be noted that in addition to the promotional activities listed above, there can be other promotional activities, such as exclusive for members, etc., which will not be elaborated here one by one.
[0106] Optionally, the same above activity types include the same or similar types of promotion targets, that is, when the types of promotion targets of different resource positions are the same or similar, the activity types of these two resource positions can be considered the same. For example, in resource position A, there is a promotion activity (such as a full reduction) for clothes of brand A, and in resource position B, there is a promotion activity (such as a direct price cut) for clothes of brand B. Since both resource position A and resource position B are promotions for clothes, that is, the types of promotion targets are exactly the same, when resource position A is the target resource position, resource position B can be used as the backup resource position for resource position A. Since resource positions with exactly the same type of promotion target are used as the backup resource positions for the target resource position, when the backup resource position is used for replacement, it is beneficial to reduce the sense of difference that users have for the replaced resource position.
[0107] In the embodiments of the present application, resource positions with the same promotion activity as the promotion activity of the target resource position can also be screened and then the screened resource positions can be used as backup resource positions. For example, in the case where the number of resource positions with the same activity type as the target resource position is less than a preset quantity threshold, these resource positions are used as backup resource positions, and in the case where the number of resource positions with an activity type different from the target resource position is not less than the preset quantity threshold, these resource positions are screened. Among them, the screening strategy can include screening out backup resource positions from these resource positions according to the activity type and the activity cycle. Or, select the resource positions to be used as backup resource positions according to the received selection instruction. When based on the activity type and the activity cycle, resource positions with a shorter activity cycle can be preferentially selected from multiple resource positions with the same activity type as the backup resource positions with the highest priority, so that the resource positions with a shorter activity cycle have a longer promotion cycle.
[0108] In addition to using resource positions with the same activity type as the activity type displayed by the target resource position as backup resource positions, resource positions of other activity types can also be used as backup resource positions. In some embodiments, the resource positions to be displayed can be determined according to the activity cycle, the venues of one or more activities with different cycles are recorded, and then the corresponding resource positions are selected from the venues of the activity cycle as the backup resource positions of the target resource position. For example, the resource position corresponding to the venue of the next activity cycle of the target resource position is used as the backup resource position of the target resource position. In this way, when an activity is taken off the shelves or ends, other replacement resource positions can also be directly used for replacement without affecting most users' participation in the activity.
[0109] Optionally, to improve disaster tolerance, the number of backup resource positions corresponding to the same resource position is greater than 1. Since the number of backup resource positions is greater than 1, when selecting a backup resource position to replace a resource position that can be accessed by the front-end device, if the third-party interface error also occurs in this backup resource position, another backup resource position can be continuously selected for replacement, thereby improving the timeliness of resolving the third-party interface error.
[0110] Optionally, to increase the probability that a user can access the resource position they actually want to access, after replacing the unique identifier of the resource position corresponding to the above-mentioned third-party interface error stored in the database with the unique identifier of the pre-determined backup resource position, it further includes:
[0111] Displaying candidate resource positions through a popped-up target window, where the target window is a window different from the window used to display backup resource positions, and the candidate resource positions are the resource positions corresponding to the products screened according to the target population of the product corresponding to the resource position where the third-party interface error occurs. For example, the resource positions corresponding to the products that the target population may purchase are used as candidate resource positions. Suppose the product of the resource position where the third-party interface error occurs is a floor, and floors are usually purchased by the decoration population. Therefore, the resource positions corresponding to the products that decorators may purchase (such as tiles, dining tables, curtains, etc.) can be used as candidate resource positions and displayed in the target window. By setting it like this, the exposure of the candidate resource positions is increased. Also, since the type of the product corresponding to the candidate resource position is not necessarily the same as the type of the product of the resource position where the third-party interface error occurs, it is beneficial to expand the breadth of the types of products that the user may access and increase the probability that the user can access the resource position they actually want to access. In addition, since the display window of the candidate resource position is different from the display window of the backup resource position, the candidate resource position will not interfere with the backup resource position.
[0112] The above introduced the user interface error and third-party interface error that occur in the resource position. In actual situations, internal interface errors may also occur in the resource position, such as Figure 4 shown, in Figure 4 a page schematic diagram when an internal interface error occurs is given. In Figure 4 when an internal interface error occurs, a prompt of "Data request is congested, please try again later" can be displayed on the page. To improve the timeliness of resolving internal interface errors, in some embodiments, the above-mentioned corresponding error correction processing of the resource position according to the error type corresponding to the above-mentioned specified information includes:
[0113] When the error type corresponding to the above-mentioned specified information is an internal interface error, sending a first reminder message to a first target person, and the first reminder message includes information about the internal interface error.
[0114] Specifically, considering that when an internal interface error occurs, the user cannot access the corresponding resource position. Therefore, when it is determined that the error occurring in the resource position is an internal interface error, a first reminder message including the information of the internal interface error is sent to the first target person, which is beneficial for the first target person to timely learn that an internal interface error has occurred in the resource position. That is, since the first reminder message is actively sent to the first target person instead of waiting passively for the user's feedback, the timeliness of resolving the internal interface error is improved.
[0115] In the embodiment of the present application, a receiving address at which the first target person can receive the first reminder message is determined in advance. The receiving address can be one or more of an account in an instant messaging application, an email address, a mobile phone number, etc. When the server determines that an internal interface error has occurred in the resource position, the first reminder message can be sent to the pre-determined receiving address so that the first target person can timely receive the first reminder message.
[0116] Optionally, corresponding priorities are set in advance for different resource positions. 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 the number of times of sending of the first reminder message) 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 more; and / or, it is determined whether to add words indicating the degree of urgency in 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; and for another example, the higher the priority of the resource position, the more times the corresponding first reminder message is sent, such as controlling the number of times of sending by controlling the interval duration between sending the first reminder messages. 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 degree between the determined first target person and / or the first reminder message and the resource position, thereby being beneficial to improving the efficiency of error resolution.
[0117] In some embodiments, in order to be able to timely learn the user interface error that occurs, when the error type corresponding to the specified information is a user interface error, hiding the unique identifier of the resource position corresponding to the resource position of the user interface error in the database includes:
[0118] When the error type corresponding to the specified information is a user interface error, hiding the unique identifier of the resource position corresponding to the resource position of the user interface error in the database, and sending a second reminder message to the second target person. The second reminder message includes: the information of the user interface error.
[0119] In the embodiments of the present application, the receiving address where the second target person can receive the second reminder message is determined in advance. The receiving address may be one or more of an account in an instant messaging application, an email address, a mobile phone number, etc. 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 a timely manner.
[0120] It should be noted that when the person maintaining the user interface is the same as the person maintaining the internal interface error, the above-mentioned first target person is the same as the second target person. When the person maintaining the user interface is different from the person maintaining the internal interface error, the above-mentioned first target person is different from the second target person.
[0121] In some embodiments, when the target log records the specific error corresponding to the user interface error, the above-mentioned second reminder message may further include the 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 the information corresponding to information overload. Another example is that when the target log records two types of user interface errors, information overload and size mismatch, the second reminder message may include the information corresponding to information overload and size mismatch.
[0122] Since the second reminder message includes the specific error corresponding to the user interface error, it is beneficial for the second target person to solve the user interface error more quickly.
[0123] The above introduction shows that when user interface errors and internal interface errors occur in the resource position, corresponding reminder messages can be sent. In actual situations, when a third-party interface error occurs, a reminder message can also be sent to the corresponding person. That is, in some embodiments, the above-mentioned page error correction method further includes:
[0124] When the error type corresponding to the above-mentioned specified information is a third-party interface error, a third reminder message is sent to the third target person, and the third reminder message includes the information of the third-party interface error.
[0125] In the embodiments of the present application, the receiving address where the third target person can receive the third reminder message is determined in advance. The receiving address may be one or more of an account in an instant messaging application, an email address, a mobile phone number, etc. 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 a timely manner.
[0126] It should be noted that when the person responsible for maintaining third - party interface errors is the same as the person responsible for maintaining the user interface and the person responsible for maintaining internal interface errors, the above - mentioned third target person is also the same as the first target person and the second target person. When the person responsible for maintaining third - party interface errors is different from the person responsible for maintaining the user interface and the person responsible for maintaining internal interface errors, the above - mentioned third target person is also different from the first target person and the second target person.
[0127] It should be understood that the magnitudes of the sequence numbers of the steps in the above - mentioned embodiments do not imply the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0128] Corresponding to the page error correction method described in the above - mentioned embodiments, Figure 5 The block diagram of a page error correction device provided by an embodiment of the present application is shown. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown.
[0129] Referring to 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:
[0130] The target log acquisition module 51 is used to acquire a target log, and the above - mentioned target log is a log recording relevant events of the resource positions of the page.
[0131] Among them, the above - mentioned relevant events include at least one of the following: click event, response event, mouse event (such as mouse hovering, pressing, etc.), loading event (such as page or element loading event, picture and sub - frame loading event), animation event (such as animation start, end, iteration, etc.), drag - and - drop event (such as window size change event, page about to be unloaded or already unloaded, etc.), media event (such as audio, video element start, end, etc.), touch event, form event (such as form submission, form reset, form element value change, etc.).
[0132] In the embodiments of the present application, the target log is used to record information about relevant events of the resource positions of the page. For example, when the relevant event includes a click event, the target log includes information corresponding to the click event of the resource position, such as the click time, click position, etc. Optionally, a target log can record information about relevant events of only one resource position, or can record information about relevant events of multiple resource positions, which is not limited here.
[0133] In the embodiments 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 elapsed time arrives. Optionally, when the number of resource positions is greater than 1, the acquisition times of different resource positions can be the same or different. Optionally, when obtaining the target log corresponding to the resource position at intervals, the elapsed time can be determined according to the promotion intensity of the resource position. For example, a positive correlation relationship can be set between the promotion intensity and the elapsed time, that is, the greater the promotion intensity of the resource position, the smaller the corresponding elapsed time. This is because, considering that the greater the promotion intensity, the greater the probability that the user accesses the resource position, and obtaining the target log at a smaller elapsed time can obtain the target log more timely, which is beneficial to improving the timeliness of solving the problems that occur.
[0134] The specified information analysis module 52 is used to analyze whether the specified information exists in the above target log. The specified information is the information preset for indicating the error type of the resource position, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error.
[0135] Specifically, the information for indicating the error type of the resource position is preset (that is, the above specified information is preset), and the number of the specified information is not less than the number of the error types of the resource position.
[0136] The error correction processing module 53 is used to perform corresponding error correction processing on the above resource position according to the error type corresponding to the above specified information when the above specified information exists in the above target log.
[0137] Among them, the error correction processing here refers to the processing of the errors existing in the resource position.
[0138] In the embodiments of the present application, when performing error correction processing, it is necessary to combine the error types existing in the resource position. For different error types, the corresponding error correction processing is usually different. Specifically, the target log includes the unique identifier of the resource position. According to the unique identifier of the resource position corresponding to the specified information and the error type, the error type corresponding to the resource position corresponding to the unique identifier of the resource position is determined, and then the corresponding error correction processing is performed on the corresponding resource position according to the error type.
[0139] In the embodiments of the present application, when it is analyzed that the target log has specified information indicating an error type preset for a resource position, corresponding error correction processing is performed on the above resource position according to the error type corresponding to the specified information. Since the target log is a log for recording events related to the resource positions of a page and this target log does not require user feedback, therefore, analyzing this target log is equivalent to analyzing events related to the resource positions of the page without user feedback, and the obtained analysis result can reflect whether there is an error in the resource position. Also, since the specified information is information preset for indicating the error type of the resource position, when the target log has the above specified information, it indicates that the resource position has an error of this error type. Thus, after performing error correction processing on the resource position, the error can be processed more promptly, improving the timeliness of solving problems occurring in the resource position.
[0140] In some embodiments, when the above error correction processing module 53 performs corresponding error correction processing on the above resource position according to the error type corresponding to the above specified information, it is specifically configured to:
[0141] When the error type corresponding to the above specified information is a user interface error, hide the unique identifier of the resource position corresponding to the resource position with the user interface error in the database. After the unique identifier of the resource position is hidden, the front-end device will take off the resource position corresponding to the hidden unique identifier of the resource position.
[0142] In the embodiments 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. Here, the front-end device is a device opposite to the back-end device. For example, when a user accesses the server through a mobile phone, the mobile phone is the above front-end device, and the server is the back-end device; when a user accesses the server through a personal computer, the personal computer is the above front-end device, and the server is the back-end device.
[0143] In some embodiments, when the above error correction processing module 53 performs corresponding error correction processing on the above resource position according to the error type corresponding to the above specified information, it is specifically configured to:
[0144] When the error type corresponding to the above specified information is a third-party interface error, replace the unique identifier of the resource position corresponding to the third-party interface error in the database with the unique identifier of a pre-determined backup resource position. After the unique identifier of the resource position is replaced, the front-end device will use the above backup resource position to replace the resource position corresponding to the replaced unique identifier of the resource position.
[0145] In some embodiments, when the above error correction processing module 53 performs corresponding error correction processing on the above resource position according to the error type corresponding to the above specified information, it is specifically configured to:
[0146] When the error type corresponding to the specified information above is an internal interface error, send a first reminder message to the first target person, where the first reminder message includes information about the internal interface error.
[0147] In some embodiments, the user interface error described above includes information overload, and the page error correction device 5 includes:
[0148] An information overload recording module, configured to, before obtaining the target log, count the time when the information of the resource position is displayed and the time when the resource position is clicked by the user, and when the duration corresponding to the time when the information of the resource position is displayed and the time when the resource position is clicked by the user is greater than a preset overload duration threshold, record in the target log that the resource position has a user interface error of information overload.
[0149] In some embodiments, the user interface error described above includes a too long loading time, and the page error correction device 5 includes:
[0150] A too long loading time recording module, configured to, before obtaining the target log, count 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, and when the duration 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 duration threshold, record in the target log that the resource position has a user interface error of a too long loading time.
[0151] In some embodiments, the user interface error described above includes a size mismatch, and the page error correction device 5 includes:
[0152] A size mismatch judgment module, configured to, before obtaining the target log, count the size of the resource position displayed and the screen size of the front-end device used to display the resource position, judge whether the resource position has a user interface error of size mismatch according to the size of the resource position displayed and the screen size, and record the judgment result in the target log.
[0153] In some embodiments, the user interface error described above includes poor accessibility, and the page error correction device 5 includes:
[0154] A poor accessibility recording module, configured to, before obtaining the target log, record in the target log that the resource position has a user interface error of poor accessibility when receiving a target feedback, where the target feedback includes information that the colors between different information of the resource position are similar.
[0155] In some embodiments, the page error correction device 5 includes:
[0156] A spare resource determination module, configured to determine the activity type displayed by a target resource location before replacing the unique identifier of the resource location corresponding to the third-party interface error in the database with the unique identifier of the pre-determined spare resource location, search for a resource location with the same activity type as the activity type displayed by the target resource location, and use the found resource location as the spare resource location, where the target resource location is the resource location corresponding to the third-party interface error in the database.
[0157] In some embodiments, when the error type corresponding to the specified information is a user interface error, hiding the unique identifier of the resource location corresponding to the resource location of the user interface error in the database includes:
[0158] When the error type corresponding to the specified information is a user interface error, hiding the unique identifier of the resource location corresponding to the resource location of the user interface error in the database, and sending a second reminder message to a second target person, where the second reminder message includes: information about the user interface error.
[0159] In some embodiments, the above page error correction device 5 further includes:
[0160] A third reminder message sending module, configured to send a third reminder message to a third target person when the error type corresponding to the specified information is a third-party interface error, where the third reminder message includes information about the third-party interface error.
[0161] It should be noted that the information interaction, execution process, etc. between the above devices / units, due to being based on the same concept as the method embodiments of the present application, for their specific functions and the technical effects brought, please refer to the method embodiment part specifically, and will not be elaborated here.
[0162] Figure 6 It is a schematic structural diagram of an electronic device provided in an embodiment of the present application. As Figure 3 shown, the electronic device 6 in 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 memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, it implements the steps in any of the above method embodiments.
[0163] The above electronic device 6 may be a computing device such as a desktop computer, a notebook, a palm computer, and 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 can understand, Figure 6This 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 those shown in the figure, or combine some components, or different components. For example, it may also include input / output devices, network access devices, etc.
[0164] The so-called processor 60 may be a central processing unit (CPU), and this processor 60 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.
[0165] In some embodiments, the above-mentioned memory 61 may be an internal storage unit of the above-mentioned electronic device 6, such as the hard disk or memory of the electronic device 6. In some other embodiments, the above-mentioned memory 61 may also be an external storage device of the above-mentioned 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 above-mentioned electronic device 6. Further, the above-mentioned memory 61 may also include both the internal storage unit and the external storage device of the above-mentioned electronic device 6. The above-mentioned memory 61 is used to store an operating system, application programs, a boot loader, data, and other programs, such as the program code of the above-mentioned computer program, etc. The above-mentioned memory 61 may also be used to temporarily store data that has been output or will be output.
[0166] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the above-mentioned device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, 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 a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.
[0167] An embodiment of this application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the above memory and executable on the above at least one processor. When the above processor executes the above computer program, the steps in any of the foregoing method embodiments are implemented.
[0168] An embodiment of this application also provides a computer-readable storage medium, which stores a computer program. When the above computer program is executed by a processor, the steps in each of the foregoing method embodiments can be implemented.
[0169] An embodiment of this application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can be made to execute the steps in each of the foregoing method embodiments when executed.
[0170] When the above 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, to implement all or part of the processes in the above method embodiments of this application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0171] In the above embodiments, the descriptions of each embodiment have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0172] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0173] In the embodiments provided in this application, it should be understood that the disclosed device / network device and method can be implemented in other ways. For example, the device / network device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, 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 displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in an electrical, mechanical or other forms.
[0174] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0175] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate 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, Including: Obtain a target log, where the target log is a log recording relevant events of a resource position on a page, and the resource position is an address for displaying an advertisement or an address for displaying promotional information; Analyze whether the target log contains specified information, where the specified information is information preset for indicating an error type of the resource position, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error. When there is a user interface error, a third-party interface error, or an internal interface error, the corresponding page cannot be opened after the resource position is clicked; In the case where the target log contains the specified information, perform corresponding error correction processing on the resource position according to the error type corresponding to the specified information.
2. The page error correction method according to claim 1, characterized in that The performing corresponding error correction processing on the resource position according to the error type corresponding to the specified information includes: When the error type corresponding to the specified information is a user interface error, hide the unique identifier of the resource position corresponding to the resource position with the user interface error in the database. After the unique identifier of the resource position is hidden, the front-end device will take down the resource position corresponding to the hidden unique identifier of the resource position.
3. The page error correction method according to claim 1, characterized in that The performing corresponding error correction processing on the resource position according to the error type corresponding to the specified information includes: When the error type corresponding to the specified information is a third-party interface error, replace the unique identifier of the resource position corresponding to the third-party interface error in the database with the unique identifier of a pre-determined alternative resource position. After the unique identifier of the resource position is replaced, the front-end device will use the alternative resource position to replace the resource position corresponding to the replaced unique identifier of the resource position.
4. The page error correction method according to claim 1, characterized in that, The performing corresponding error correction processing on the resource position according to the error type corresponding to the specified information includes: When the error type corresponding to the specified information is an internal interface error, send a first reminder message to a first target person, where the first reminder message includes information about the internal interface error.
5. The page error correction method according to claim 2, wherein The user interface error includes information overload. Before obtaining the target log, it further includes: Statistical the time when the information of the resource position is displayed and the time when the resource position is clicked by the user. In the case where the duration corresponding to the time when the information of the resource position is displayed and the time when the resource position is clicked by the user is greater than a preset overload duration threshold, record in the target log that the resource position has a user interface error of information overload.
6. The page error correction method according to claim 2, characterized in that, The user interface error includes too long loading time. Before obtaining the target log, it further includes: Statistical 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. In the case where the duration 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 duration threshold, record in the target log that the resource position has a user interface error of too long loading time.
7. The page error correction method according to claim 2, wherein The user interface error includes size mismatch. Before obtaining the target log, it further includes: Statistically analyze the size of the resource slot display and the screen size of the front-end device used to display the resource slot. Determine whether there is a user interface error of size mismatch for the resource slot based on the size of the resource slot display and the screen size, and record the judgment result in the target log.
8. The page error correction method according to claim 3, wherein Before replacing the unique identifier of the resource slot corresponding to the third-party interface error in the database with the unique identifier of the pre-determined alternative resource slot, it further includes: Determine the activity type displayed by the target resource slot, search for a resource slot with the same activity type as the activity type displayed by the target resource slot, and use the found resource slot as the alternative resource slot, where the target resource slot is the resource slot corresponding to the third-party interface error in the database.
9. A page error correction device, characterized in that, It includes: A target log acquisition module for acquiring a target log, where the target log is a log recording relevant events of the resource slots on a page, and the resource slot is an address for displaying an advertisement or a promotion message; A specified information analysis module for analyzing whether there is specified information in the target log, where the specified information is pre-set information for indicating the error type of the resource slot, and the error type includes at least one of the following: user interface error, third-party interface error, and internal interface error. When there is the user interface error, the third-party interface error, or the internal interface error, the corresponding page cannot be opened after the resource slot is clicked; An error correction processing module for, when the specified information exists in the target log, performing corresponding error correction processing on the resource slot according to the error type corresponding to 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, it implements the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
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
Component display method and device, equipment and medium
CN119025208A