Information processing method, device, electronic device and storage medium
By obtaining and modifying abnormal information on the snap-up interface, the problem of abnormal information display in online snap-ups is solved, which avoids transaction abnormalities and improves user experience.
Patent Information
- Application Number
- CN202010134531.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-29
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-02-29
AI Technical Summary
During the online shopping process, due to the limited time and number of shopping shopping, a large number of terminals access the same interface at the same time, and information display may occur, resulting in transaction abnormalities.
By obtaining the exception information displayed on the first interface, determining its corresponding attribute name, and obtaining the second information from the database based on the attribute name. When the information is different from the second information, the first information is modified into the second information, so as to Solve the problem of abnormal information display.
It effectively avoids transaction abnormalities, improves user experience, and ensures the accuracy and consistency of information display.
Smart Images

Figure CN111400077B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device, electronic device and storage medium. Background Art
[0002] At present, with the rise of online shopping, people are very keen on online shopping. At the same time, in order to attract users' attention, major online platforms will also frequently carry out various rush-buying activities. Generally speaking, users log in to major online platforms through their mobile phones and enter the rush-buying interface to rush-buy.
[0003] However, due to the limited purchase time and purchase quantity, a large number of terminals are likely to access the same interface at the same time. In this process, the interface may display abnormal information, resulting in abnormal transactions. Summary of the invention
[0004] The embodiments of the present application provide an information processing method, device, electronic device and storage medium. The implementation of the embodiments of the present application solves the problem of abnormal information display and avoids transaction abnormalities.
[0005] The first aspect of the present application provides an information processing method, comprising:
[0006] Acquire first information displayed on the first interface, where the first information is information that is abnormally displayed on the first interface;
[0007] Determine an attribute name corresponding to the first information;
[0008] Acquire second information from a database according to the attribute name corresponding to the first information;
[0009] When the first information is different from the second information, the first information is modified into the second information.
[0010] A second aspect of the present application provides an information processing device, including:
[0011] A first acquisition module, used to acquire first information displayed on a first interface, where the first information is information that is abnormally displayed on the first interface;
[0012] A determination module, used to determine an attribute name corresponding to the first information;
[0013] The second acquisition module is further used to acquire second information from the database according to the attribute name corresponding to the first information;
[0014] A modification module is used to modify the first information into the second information when the first information is different from the second information.
[0015] A third aspect of the present application provides an electronic device for information processing, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are generated to be executed by the processor to perform instructions for executing the steps in any one of the information processing methods.
[0016] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the stored computer program is executed by the processor to implement any method described in an information processing method.
[0017] It can be seen that in the above technical solution, the first information displayed on the first interface is obtained, and the first information is the information displayed abnormally in the first interface; the attribute name corresponding to the first information is determined; the second information is obtained from the database according to the attribute name corresponding to the first information; when the first information is different from the second information, the first information is modified to the second information, which solves the problem of abnormal information display, avoids transaction abnormalities, and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] in:
[0020] Figure 1A A schematic diagram of the architecture of an information processing method provided in an embodiment of the present application;
[0021] Figure 1B A flowchart of an information processing method provided in an embodiment of the present application;
[0022] Figure 1C A schematic diagram of an abnormal display of first information on a first interface provided by an embodiment of the present application;
[0023] Figure 2 A flowchart of another information processing method provided in an embodiment of the present application;
[0024] Figure 3 A flowchart of another information processing method provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of an information processing device provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of the server structure of the hardware operating environment involved in the embodiments of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] The following are detailed descriptions of each.
[0029] The terms "first" and "second" in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0030] First, the execution subject of the embodiment of the present application may be, for example, a server or a local information processing device. The server may be, for example, a tablet computer, a laptop computer, a PDA, a MID, a desktop computer or other server devices. This is not limited in the present application.
[0031] See also Figure 1A , Figure 1A The following is a schematic diagram of the architecture of an information processing method provided in an embodiment of the present application. Figure 1A As shown, a plurality of information is displayed on the first interface 10. When there is abnormal information displayed in the first interface 10, the server 11 will obtain the abnormal information displayed in the first interface. For example, the first information. The first information is the abnormal information displayed in the first interface 10. The server 11 will obtain the second information from the database 12 according to the attribute name corresponding to the first information. When the first information is different from the second information, the server 11 modifies the first information into the second information.
[0032] See also Figure 1B , Figure 1B A flowchart of an information processing method provided in an embodiment of the present application. Figure 1B As shown, the method includes:
[0033] 101. Acquire first information displayed on a first interface, where the first information is information that is abnormally displayed on the first interface;
[0034] The first information may be, for example, product quantity, product price, material, or product name. Figure 1C , Figure 1C A schematic diagram of an abnormal display of the first information on the first interface provided in an embodiment of the present application. It can be seen that the first information in 1 is the number of products, which is different from the first information in 2, which is the number of products, and the first information in 2 does not display the "quantity". That is, the first information in 2 is abnormally displayed on the first interface.
[0035] 102. Determine an attribute name corresponding to the first information;
[0036] The attribute name corresponding to the first information may be, for example, an attribute name in hypertext markup language (HTML). For example, Pronum=100, that is, Pronum is the attribute name corresponding to the first information, and 100 is the value corresponding to the first information. Further, Pronum represents the number of products. That is, the first information is the number of products.
[0037] 103. Acquire second information from a database according to an attribute name corresponding to the first information;
[0038] 104. When the first information is different from the second information, modify the first information into the second information.
[0039] It can be seen that in the above technical solution, the first information displayed on the first interface is obtained, and the first information is the information displayed abnormally in the first interface; the attribute name corresponding to the first information is determined; the second information is obtained from the database according to the attribute name corresponding to the first information; when the first information is different from the second information, the first information is modified to the second information, which solves the problem of abnormal information display, avoids transaction abnormalities, and improves user experience.
[0040] Optionally, in a possible implementation, when the first information is different from the second information, modifying the first information to the second information includes: when the first information is different from the second information, determining the type to which the first information belongs; when the type to which the first information belongs is a preset type, determining the position at which the first information is displayed in the first display area; and modifying the first information to the second information according to the position at which the first information is displayed in the first display area.
[0041] The preset type can be set by an administrator or configured in a configuration file.
[0042] It can be seen that in the above technical solution, when the first information is different from the second information, the type to which the first information belongs is determined; when the type to which the first information belongs is a preset type, the position at which the first information is displayed in the first display area is determined; based on the position at which the first information is displayed in the first display area, the first information is modified to the second information, which solves the problem of abnormal information display, avoids transaction abnormalities, and improves user experience.
[0043] See also Figure 2 , Figure 2 A flowchart of an information processing method provided by an embodiment of the present application is shown below. Figure 2 As shown, the first interface includes a first display area, and the first display area is used to display P information including the first information, where P is an integer greater than or equal to 1, including:
[0044] 201. Obtain P pieces of information displayed in the first display area in a first time period;
[0045] Here, P can be, for example, a value such as 10, 15, 25, 30, 40, or 50.
[0046] The P pieces of information may include, for example, product quantity, product price, material or product name.
[0047] 202. If the P information displayed by the first display area in the first time period is different from the P information displayed by the first display area in the second time period, determine L information, where the L information is the information displayed by the first display area in the first time period that is different from the information displayed by the first display area in the second time period, the first time period is different from the second time period, and L is an integer greater than or equal to 1;
[0048] Among them, the first time period is the time when N terminals simultaneously access the first interface, and N is an integer greater than or equal to a preset value; the second time period is the time when M terminals simultaneously access the first interface, and M is an integer less than the preset value.
[0049] Here, L can be, for example, a value such as 10, 15, 25, 30, 40, or 50.
[0050] Here, N can be, for example, 10, 15, 25, 30, 40, 50, etc.
[0051] Here, M can be, for example, a value such as 10, 15, 25, 30, 40, or 50.
[0052] 203. Determine the first information according to a matching relationship between the L pieces of information and a field library, where the field library is used to store fields.
[0053] It can be seen that in the above technical solution, P pieces of information displayed by the first display area in the first time period are obtained; if the P pieces of information displayed by the first display area in the first time period are different from the P pieces of information displayed by the first display area in the second time period, L pieces of information are determined, and the L pieces of information are the P pieces of information displayed by the first display area in the first time period that are different from the information displayed by the first display area in the second time period, the first time period is different from the second time period, and L is an integer greater than or equal to 1; according to the matching relationship between the L pieces of information and the field library, the first information displayed by the first display area in the first time period is determined, and the field library is used to store fields, thereby realizing the acquisition of abnormally displayed information and preparing for the subsequent solution to the problem of abnormal information display.
[0054] Optionally, in a possible implementation, the field library includes K fields, where K is an integer greater than or equal to 1, and determining the first information based on the matching relationship between the L information and the field library includes: determining the field with the largest field length among the K fields to obtain the first field; dividing the L information according to a preset order and the field length corresponding to the first field to obtain J fields, where J is an integer greater than or equal to L and is less than K; matching the J fields with the K fields to obtain Q fields, where Q is an integer greater than or equal to 1 and is less than or equal to J; obtaining the field corresponding to the first information from the Q fields; and determining the first information based on the field corresponding to the first information.
[0055] Here, K can be, for example, 10, 15, 25, 30, 40, 50, etc.
[0056] Here, J can be, for example, a value such as 10, 15, 25, 30, 40, or 50.
[0057] Here, Q can be, for example, 10, 15, 25, 30, 40, 50, etc.
[0058] The preset order may be from left to right or from right to left.
[0059] Furthermore, each of the L information corresponds to at least one field, and the at least one field corresponding to each of the L information is determined according to the preset order and the field length corresponding to the first field, and the at least one field corresponding to each of the L information is included in the J fields.
[0060] For example, the field library includes down jackets, all, 10% off, that is, the first field is down jackets. One of the L pieces of information is: all down jackets are 10% off. Assuming that the preset order is from left to right, then the information is divided into: down jackets, all 90% off, 10% off.
[0061] It can be seen that in the above technical solution, the field with the largest field length among the K fields is determined to obtain the first field; the L information is divided according to the preset order and the field length corresponding to the first field to obtain J fields, where J is an integer greater than or equal to L and less than K; the J fields are matched with the K fields to obtain Q fields, where Q is an integer greater than or equal to 1 and less than or equal to J; the field corresponding to the first information is obtained from the Q fields; the first information is determined according to the field corresponding to the first information, thereby achieving the acquisition of the first information. At the same time, the field corresponding to the first information is determined by field matching, which improves the efficiency of acquiring the first information.
[0062] Optionally, in a possible implementation manner, matching the J fields with the K fields to obtain Q fields includes:
[0063] S1: Set i to an integer with an initial value of 1;
[0064] S2: Obtain the i-th field among the J fields;
[0065] S3: Match the i-th field with each field in the K fields to determine whether there is a field in the K fields that matches the i-th field. If so, execute step S4; if not, execute step S5;
[0066] S4: storing the field matching the i-th field among the K fields in a field table;
[0067] S5: reducing one field unit from the i-th field in the reverse order of the preset order, so as to match the i-th field reduced by one field unit with each field of the K fields, so as to determine whether there is a field in the K fields that matches the i-th field reduced by one field unit, until only one field unit remains in the i-th field, wherein the field unit is a Chinese character, if so, executing step S6, if not, executing step S7;
[0068] S6: storing the field in the K fields that matches the i-th field reduced by one field unit in the field table;
[0069] S7: Assign (i+1) to i, and return to step S2;
[0070] S8: extracting all fields from the field table to obtain the Q fields;
[0071] S9: Finish matching the J fields with the K fields to obtain the Q fields.
[0072] For example, the field library includes down jackets, all discounts, and 10% off. Assume that the preset order is from left to right. The i-th field is all discounts. Then, all discounts cannot match any field in the field library, and then one field unit is reduced from the i-th field in the order from right to left, that is, the "nine" in "all discounts" is removed. The i-th field without "nine" becomes "all discounts", that is, the i-th field without "nine" can match "all discounts" in the field library.
[0073] It can be seen that in the above technical solution, the acquisition of Q fields is achieved, avoiding the situation of incomplete matching.
[0074] See also Figure 3 , Figure 3 A flowchart of another information processing method provided in an embodiment of the present application is shown below. Figure 3 As shown, the determining the attribute name corresponding to the first information includes:
[0075] 301. Obtain a first script file corresponding to the first interface;
[0076] 302. Determine a script program related to the first display area in the first script file to obtain a second script file;
[0077] Optionally, in a possible implementation, determining the script program related to the first display area in the first script file to obtain the second script file includes: when detecting that there is an annotation program related to the first display area in the first script file, determining the position of the annotation program in the first script file to obtain a first position; taking the first position as the center, acquiring multiple script programs along a preset direction in the first script file, the running results corresponding to the multiple script programs being the first display area; and setting the multiple script programs to be the second script file.
[0078] Wherein, the preset direction includes up and / or down.
[0079] It can be seen that in the above technical solution, when it is detected that there is an annotation program related to the first display area in the first script file, the position of the annotation program in the first script file is determined to obtain the first position; with the first position as the center, multiple script programs are obtained along a preset direction in the first script file, and the running results corresponding to the multiple script programs are the first display area; the multiple script programs are set as the second script file, and the determination of the second script file is realized based on the annotation program.
[0080] 303. Obtain all attribute names from the second script file to obtain at least one attribute name;
[0081] 304. Extract an attribute name corresponding to the first information from the at least one attribute name according to a first association relationship, where the first association relationship is an association relationship between the attribute name corresponding to the first information and the first information.
[0082] It can be seen that in the above technical solution, a first script file corresponding to the first interface is obtained; a script program related to the first display area in the first script file is determined to obtain a second script file; all attribute names are obtained from the second script file to obtain at least one attribute name; and according to a first association relationship, an attribute name corresponding to the first information is extracted from the at least one attribute name, wherein the first association relationship is an association relationship between the attribute name corresponding to the first information and the first information, and by determining the script program related to the first display area in the first script file, the attribute name corresponding to the first information is quickly determined.
[0083] See also Figure 4 , Figure 4 A schematic diagram of an information processing device provided in one embodiment of the present application. Figure 4 As shown, an information processing device 400 provided by an embodiment of the present application may include:
[0084] A first acquisition module 401 is used to acquire first information displayed on a first interface, where the first information is information displayed abnormally on the first interface;
[0085] Optionally, in a possible implementation, the first interface includes a first display area, and the first display area is used to display P information including the first information, where P is an integer greater than or equal to 1, and the first acquisition module 401 is specifically used to obtain the P information displayed by the first display area in a first time period; if the P information displayed by the first display area in the first time period is different from the P information displayed by the first display area in the second time period, then determine L information, and the L information is the information displayed by the first display area in the first time period that is different from the information displayed by the first display area in the second time period, the first time period is different from the second time period, and L is an integer greater than or equal to 1; according to the matching relationship between the L information and the field library, determine the first information, and the field library is used to store fields.
[0086] Optionally, in a possible implementation, the field library includes K fields, where K is an integer greater than or equal to 1, and the first acquisition module 401 is specifically used to determine the field with the largest field length among the K fields to obtain the first field; divide the L information into J fields according to a preset order and the field length corresponding to the first field, where J is an integer greater than or equal to L and is less than K; match the J fields with the K fields to obtain Q fields, where Q is an integer greater than or equal to 1 and is less than or equal to J; obtain the field corresponding to the first information from the Q fields; and determine the first information based on the field corresponding to the first information.
[0087] Optionally, in a possible implementation manner, the first acquisition module 401 is specifically configured to: S1: set i to an integer with an initial value of 1;
[0088] S2: Obtain the i-th field among the J fields;
[0089] S3: Match the i-th field with each field in the K fields to determine whether there is a field in the K fields that matches the i-th field. If so, execute step S4; if not, execute step S5;
[0090] S4: storing the field matching the i-th field among the K fields in a field table;
[0091] S5: reducing one field unit from the i-th field in the reverse order of the preset order, so as to match the i-th field reduced by one field unit with each field of the K fields, so as to determine whether there is a field in the K fields that matches the i-th field reduced by one field unit, until only one field unit remains in the i-th field, wherein the field unit is a Chinese character, if so, executing step S6, if not, executing step S7;
[0092] S6: storing the field in the K fields that matches the i-th field reduced by one field unit in the field table;
[0093] S7: Assign (i+1) to i, and return to step S2;
[0094] S8: extracting all fields from the field table to obtain the Q fields;
[0095] S9: Finish matching the J fields with the K fields to obtain the Q fields.
[0096] A determination module 402, configured to determine an attribute name corresponding to the first information;
[0097] Optionally, in a possible implementation, the determination module 402 is specifically used to obtain a first script file corresponding to the first interface; determine a script program related to the first display area in the first script file to obtain a second script file; obtain all attribute names from the second script file to obtain at least one attribute name; and extract the attribute name corresponding to the first information from the at least one attribute name according to a first association relationship, wherein the first association relationship is an association relationship between the attribute name corresponding to the first information and the first information.
[0098] Optionally, in a possible implementation, the determination module 402 is specifically used to determine the position of the annotation program in the first script file to obtain a first position when it is detected that there is an annotation program related to the first display area in the first script file; obtain multiple script programs along a preset direction in the first script file with the first position as the center, and the running results corresponding to the multiple script programs are the first display area; and set the multiple script programs as the second script file.
[0099] The second acquisition module 403 is further used to acquire second information from the database according to the attribute name corresponding to the first information;
[0100] The modification module 404 is configured to modify the first information into the second information when the first information is different from the second information.
[0101] Optionally, in a possible implementation, the modification module 404 is used to determine the type of the first information when the first information is different from the second information; when the type of the first information is a preset type, determine the position of the first information displayed in the first display area; and modify the first information to the second information according to the position of the first information displayed in the first display area.
[0102] See also Figure 5 , Figure 5 A schematic diagram of the server structure of the hardware operating environment involved in the embodiments of the present application.
[0103] The embodiment of the present application provides an electronic device for information processing, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor to execute instructions including steps in any one of the information processing methods. Figure 5 As shown, the server of the hardware operating environment involved in the embodiment of the present application may include:
[0104] Processor 501, such as CPU.
[0105] Memory 502, optionally, the memory may be a high-speed RAM memory, or a stable memory, such as a disk memory.
[0106] The communication interface 503 is used to realize the connection and communication between the processor 501 and the memory 502 .
[0107] Those skilled in the art will understand that Figure 5 The structure of the server shown in the figure does not constitute a limitation thereof, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0108] like Figure 5 As shown, the memory 502 may include an operating system, a network communication module, and an information processing program. The operating system is a program that manages and controls server hardware and software resources and supports the operation of one or more programs. The network communication module is used to realize communication between components inside the memory 502, and communication with other hardware and software inside the server.
[0109] exist Figure 5In the server shown, the processor 501 is used to execute the personnel management program stored in the memory 502 to implement the following steps: obtaining first information displayed on the first interface, where the first information is information that displays an abnormality in the first interface; determining the attribute name corresponding to the first information; obtaining second information from the database according to the attribute name corresponding to the first information; and when the first information is different from the second information, modifying the first information to the second information.
[0110] The specific implementation of the server involved in this application can be found in the various embodiments of the above-mentioned information processing method, which will not be described in detail here.
[0111] The present application also provides a computer-readable storage medium, which is used to store a computer program. The stored computer program is executed by the processor to implement the following steps: obtaining first information displayed on a first interface, wherein the first information is information that is abnormally displayed in the first interface; determining an attribute name corresponding to the first information; obtaining second information from a database according to the attribute name corresponding to the first information; and when the first information is different from the second information, modifying the first information to the second information.
[0112] The specific implementation of the computer-readable storage medium involved in the present application can be found in the various embodiments of the above-mentioned information processing method, which will not be described in detail here.
[0113] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0114] As described above, the above embodiments 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An information processing method, characterized in that: include: Acquire first information displayed on the first interface, where the first information is information that is abnormally displayed on the first interface; Determine an attribute name corresponding to the first information; Acquire second information from a database according to the attribute name corresponding to the first information; When the first information is different from the second information, modifying the first information into the second information; The first interface includes a first display area, the first display area is used to display P information including the first information, the P is an integer greater than or equal to 1, and the obtaining of the first information displayed on the first interface includes: obtaining the P information displayed by the first display area in a first time period; if the P information displayed by the first display area in the first time period is different from the P information displayed by the first display area in a second time period, determining L information, the L information being information displayed by the first display area in the first time period that is different from the information displayed by the first display area in the second time period among the P information displayed by the first display area in the first time period, the first time period is different from the second time period, and the L is an integer greater than or equal to 1; determining the first information according to a matching relationship between the L information and a field library, the field library being used to store fields; The field library includes K fields, where K is an integer greater than or equal to 1, and the determining the first information according to the matching relationship between the L information and the field library includes: determining a field with the largest field length among the K fields to obtain a first field; dividing the L information according to a preset order and a field length corresponding to the first field to obtain J fields, where J is an integer greater than or equal to L and is less than K; matching the J fields with the K fields to obtain Q fields, where Q is an integer greater than or equal to 1 and is less than or equal to J; acquiring a field corresponding to the first information from the Q fields; and determining the first information according to the field corresponding to the first information; The determining the attribute name corresponding to the first information includes: obtaining a first script file corresponding to the first interface; determining a script program related to the first display area in the first script file to obtain a second script file; obtaining all attribute names from the second script file to obtain at least one attribute name; extracting the attribute name corresponding to the first information from the at least one attribute name according to a first association relationship, wherein the first association relationship is an association relationship between the attribute name corresponding to the first information and the first information; The method of determining the script program related to the first display area in the first script file to obtain the second script file includes: when detecting that there is an annotation program related to the first display area in the first script file, determining the position of the annotation program in the first script file to obtain a first position; taking the first position as the center, acquiring multiple script programs along a preset direction in the first script file, the running results corresponding to the multiple script programs being the first display area; and setting the multiple script programs to be the second script file.
2. The method according to claim 1, characterized in that The matching the J fields with the K fields to obtain Q fields includes: S1: Set i to an integer with an initial value of 1; S2: Obtain the i-th field among the J fields; S3: Match the i-th field with each field in the K fields to determine whether there is a field in the K fields that matches the i-th field. If so, execute step S4; if not, execute step S5; S4: storing the field matching the i-th field among the K fields in a field table; S5: reducing one field unit from the i-th field in the reverse order of the preset order, so as to match the i-th field reduced by one field unit with each field of the K fields, so as to determine whether there is a field in the K fields that matches the i-th field reduced by one field unit, until only one field unit remains in the i-th field, wherein the field unit is a Chinese character, if so, executing step S6, if not, executing step S7; S6: storing the field in the K fields that matches the i-th field reduced by one field unit in the field table; S7: Assign (i+1) to i, and return to step S2; S8: extracting all fields from the field table to obtain the Q fields; S9: Finish matching the J fields with the K fields to obtain the Q fields.
3. The method according to claim 1 or 2, characterized in that: When the first information is different from the second information, modifying the first information to the second information includes: When the first information is different from the second information, determining the type to which the first information belongs; When the type of the first information is a preset type, determining a position where the first information is displayed in the first display area; The first information is modified into the second information according to the position where the first information is displayed in the first display area.
4. An information processing device, characterized in that: include: A first acquisition module, used to acquire first information displayed on a first interface, where the first information is information that is abnormally displayed on the first interface; A determination module, used to determine an attribute name corresponding to the first information; The second acquisition module is further used to acquire second information from the database according to the attribute name corresponding to the first information; a modification module, configured to modify the first information into the second information when the first information is different from the second information; The first interface includes a first display area, the first display area is used to display P information including the first information, the P is an integer greater than or equal to 1, the first acquisition module is specifically used to acquire the P information displayed by the first display area in a first time period; if the P information displayed by the first display area in the first time period is different from the P information displayed by the first display area in a second time period, then determine L information, the L information is the information displayed by the first display area in the first time period that is different from the information displayed by the first display area in the second time period, the first time period is different from the second time period, and L is an integer greater than or equal to 1; according to the matching relationship between the L information and a field library, determine the first information, the field library is used to store fields; The field library includes K fields, where K is an integer greater than or equal to 1, and the first acquisition module is specifically used to determine a field with the largest field length among the K fields to obtain a first field; divide the L information into J fields according to a preset order and a field length corresponding to the first field to obtain J fields, where J is an integer greater than or equal to L and is less than K; match the J fields with the K fields to obtain Q fields, where Q is an integer greater than or equal to 1 and is less than or equal to J; obtain a field corresponding to the first information from the Q fields; and determine the first information according to the field corresponding to the first information; The determining module is specifically used to obtain a first script file corresponding to the first interface; Determine a script program related to the first display area in the first script file to obtain a second script file; Obtain all attribute names from the second script file to obtain at least one attribute name; extracting an attribute name corresponding to the first information from the at least one attribute name according to a first association relationship, wherein the first association relationship is an association relationship between the attribute name corresponding to the first information and the first information; The determination module is specifically configured to, when detecting that there is an annotation program related to the first display area in the first script file, determine the position of the annotation program in the first script file to obtain a first position; taking the first position as the center, obtain multiple script programs along a preset direction in the first script file, and the running results corresponding to the multiple script programs are the first display area; The plurality of script programs are set as the second script file.
5. An electronic device for information processing, characterized in that: The method comprises a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are stored in the memory and are generated so that the processor executes the steps in the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 3.
