Activity configuration information verification method and device, electronic equipment and storage medium
By using an automated method to verify activity configuration information, and by comparing the expected and actual information of activity modules with visual large models and inference models, the problem of low review efficiency and error-proneness in existing technologies is solved, and efficient and accurate configuration information verification is achieved.
Patent Information
- Application Number
- CN202511134625.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-13
- Publication Date
- 2025-12-16
AI Technical Summary
Existing technologies suffer from low efficiency, error-proneness, and inconsistent standards in the review of activity configuration information, and relying on manual comparison presents numerous problems.
By using an automated method to verify activity configuration information, a visual big data model and an inference model are employed to obtain the expected configuration information and the actual display information of the activity module, and then compare them to identify configuration differences and achieve automated verification.
This improved the efficiency and accuracy of activity configuration information verification, reduced the error rate of manual review, and ensured the consistency and standardization of configuration information.
Smart Images

Figure CN121146830A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and more specifically, to an activity configuration information verification method, apparatus, electronic device, and storage medium. Background Technology
[0002] Activity configuration refers to a series of parameters and rules set in the enterprise operations management backend to achieve business goals. These include: benefits settings, task definitions, lottery rules, leaderboards, etc. This configuration information directly determines the activity's operational logic and user experience. Typically, users can configure the pages for each activity module (such as tasks, lotteries, and leaderboards) using the pre-defined configuration information in the enterprise backend configuration system. However, configuration errors can occur in practice. Therefore, it is necessary to review the actual information displayed on the activity pages.
[0003] In related technologies, the actual information displayed on the event page is usually reviewed manually. Specifically, the information displayed on the event page is compared with the expected configuration information defined by the system in order to discover potential configuration errors.
[0004] However, manual review methods suffer from problems such as low efficiency, susceptibility to errors, and inconsistent standards. Summary of the Invention
[0005] The purpose of this invention is to address the shortcomings of the prior art by providing an activity configuration information verification method, apparatus, electronic device, and storage medium, so as to at least partially solve the technical problems existing in the prior art.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide an activity configuration information verification method, the method comprising: Respond to the triggered operation of the activity configuration verification event to obtain the expected configuration information of each activity module in the target business; Obtain the activity page of each activity module, and parse the activity page of each activity module to obtain the actual display information of each activity module; The expected configuration information of each activity module is compared with the actual display information to identify at least one activity module with configuration differences.
[0007] Secondly, embodiments of this application also provide an activity configuration information verification device, the device comprising: The acquisition module is used to respond to the triggering operation of the activity configuration verification event, acquire the expected configuration information of each activity module in the target business, and acquire the activity page of each activity module; The parsing module is used to parse the activity pages of each activity module to obtain the actual display information of each activity module; The comparison module is used to compare the expected configuration information of each activity module with the actual display information to obtain at least one activity module with configuration differences.
[0008] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the active configuration information verification method as described in the first aspect.
[0009] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the activity configuration information verification method as described in the first aspect.
[0010] The beneficial effects of this application are: This application provides a method, apparatus, electronic device, and storage medium for verifying activity configuration information. In response to a user's triggering operation for an activity configuration verification event, the method automatically obtains the expected configuration information of each activity module in the target business configured in the background, as well as the activity page of each activity module. The method then parses the activity page of each activity module to obtain the actual display information of each activity module. Next, the expected configuration information and the actual display information of each activity module are compared one by one to identify at least one activity module with configuration discrepancies. This achieves automatic verification of the activity configuration of each activity module, improving verification efficiency and accuracy, and solving the problems of low review efficiency, error susceptibility, and inconsistent standards in existing technologies. Attached Figure Description
[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 A flowchart illustrating an activity configuration information verification method provided in this application embodiment; Figure 2 The activity page of the task module provided in the embodiments of this application; Figure 3A flowchart illustrating another activity configuration information verification method provided in this application embodiment; Figure 4 Structured configuration data for the lottery module provided in the embodiments of this application; Figure 5 A flowchart illustrating another activity configuration information verification method provided in this application embodiment; Figure 6 A flowchart illustrating another activity configuration information verification method provided in this application embodiment; Figure 7 A flowchart illustrating another activity configuration information verification method provided in this application embodiment; Figure 8 A schematic diagram of the difference report for the lottery module provided in the embodiments of this application. Figure 1 ; Figure 9 A flowchart illustrating another activity configuration information verification method provided in this application embodiment; Figure 10 A schematic diagram of the difference report for the lottery module provided in the embodiments of this application. Figure 2 ; Figure 11 This is a schematic diagram of the structure of an activity configuration information verification device provided in an embodiment of this application; Figure 12 This is a schematic diagram of the structure of an electronic device method provided in an embodiment of this application. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0014] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0015] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0016] First, the technical terms used in this application will be explained.
[0017] 1. Activity Configuration (AC) refers to a series of parameters and rules set in the enterprise operations management backend to achieve business goals. These include: benefits settings, task definitions, lottery rules, leaderboards, etc. This configuration information directly determines the operation logic and user experience of the activity.
[0018] 2. The Vision model is a deep learning-based visual recognition model capable of processing and parsing image data to identify objects, text, and other visual elements within images. In this application, the Vision model is used to parse images or documents on an activity page and extract key information, such as task descriptions and lottery rules.
[0019] 3. An inference model is a machine learning or deep learning-based model used for reasoning and comparison based on preset rules and logic. In this application, the inference model is used to compare the expected configuration information obtained from the activity backend with the actual display information extracted from the Vision model, determine whether the two are consistent, and generate a discrepancy report.
[0020] The following embodiments will be used to explain in detail the specific implementation process and technical effects of the activity configuration information verification method provided in this application.
[0021] Figure 1 This application provides a flowchart illustrating an activity configuration information verification method. The method can be executed by a terminal device, such as a computer, mobile phone, tablet computer, or other device with data processing and display capabilities. Figure 1 As shown, the method includes: S101. Respond to the trigger operation of the activity configuration verification event and obtain the expected configuration information of each activity module in the target business.
[0022] For example, the activity module can be a task module, a lottery module, a leaderboard module, etc. Taking the lottery module as an example, the expected configuration information of the lottery module includes: multiple fields and the expected values of each field. For example, the fields include: lottery start time, lottery end time, at least one prize name, and the winning rate of each prize. The field value of the lottery start time is July 1, 2025, the field value of the lottery end time is July 31, 2025, the prize name is kite, and the winning rate of kite is 6%.
[0023] The expected configuration information for each activity module refers to the configuration of the activity module (such as tasks) by the operations staff in the operations backend, and the configuration of the rules page for the activity. These configurations are part of the normal business launch configuration process.
[0024] Optionally, the triggering operation can be performed before the target business is officially launched, either during the activity configuration process or after the activity configuration is completed. In other words, users can trigger the activity configuration verification event according to their actual operational needs, so that problems can be discovered without waiting for the launch, potential problems can be discovered in advance, and losses can be avoided after the launch, thus improving the flexibility of activity configuration verification.
[0025] The triggering operation can include two methods: automatic triggering and manual triggering.
[0026] The use case for manual triggering is as follows: After completing the configuration editing, the operations staff can actively click the "Verify" button or execute a command to initiate configuration verification.
[0027] The use case for automatic triggering is: when the operation staff is editing the activity configuration, the system will automatically initiate a verification request whenever the configuration changes.
[0028] Therefore, in this embodiment, two triggering methods are designed to ensure the flexibility and practicality of the system in different usage scenarios.
[0029] In one feasible approach, an enterprise backend configuration system is deployed on the terminal device, and the enterprise backend configuration system provides an activity configuration verification control. Users can trigger the activity configuration verification control (such as by clicking) during the configuration process of each activity module page (or after the configuration is completed) to automatically obtain the expected configuration information of each activity module in the target business, thereby realizing the automation process of activity configuration verification and improving the efficiency of activity configuration verification.
[0030] Optionally, the configuration verification in this application is embedded in the enterprise operations backend, which automatically triggers verification when operations personnel edit activities in the enterprise backend. If any problems are encountered, the user will be prompted to make corrections during the activity editing process.
[0031] S102. Obtain the activity page of each activity module, and parse the activity page of each activity module to obtain the actual display information of each activity module.
[0032] In this context, an activity page refers to a webpage, application interface, or document used to display specific marketing activities, promotional rules, task content, or user interaction information for a target business. For example, an activity page could be a lottery page, a points redemption page, a check-in page, a gamified task page, or an embedded page within an app. (See reference...) Figure 2 The image shown is a schematic diagram of the activity page of the task module.
[0033] In one feasible approach, if the activity page is a mobile-friendly page, an automatic screenshot tool can be used to capture the activity pages of each activity module. Then, an image recognition model can be used to perform OCR recognition on the activity pages of each module to obtain the actual display information of each activity module, as shown in the reference. Figure 2 As shown, the actual display information of the task module includes key fields such as at least one task, task rewards for each task, and participation conditions for each task. Furthermore, the structured configuration data of the first activity module can be parsed, for example, by calling the API interface provided by the enterprise's internal system to obtain the internal data corresponding to each field. For instance, the field value corresponding to "Task 1" is "Share the activity page," the field value corresponding to "Task 2" is "Invite friends to vote," and the field value corresponding to "Task 1's task reward" is "Votes automatically increase by one for each share." Therefore, the actual display information of each activity module is an important basis for automated compliance verification.
[0034] S103. Compare the expected configuration information of each activity module with the actual display information to identify at least one activity module with configuration differences.
[0035] In this embodiment, the expected field value of each field in the expected configuration information of each activity module can be compared one by one with the actual field value of the corresponding field in the actual display information. Alternatively, based on a predefined verification strategy, only the expected field value of the key field in the expected configuration information of each activity module can be compared with the actual field value of the corresponding field in the actual display information to obtain the configuration difference between the expected configuration information and the actual display information. This achieves consistency verification of the expected configuration data between the activity page and the backend configuration, and realizes the verification purpose of automatic identification and compliance verification of the actual display information in the activity page, thereby improving the accuracy and efficiency of activity configuration verification.
[0036] Optionally, the scope of the activity configuration review in this application is not limited, meaning that the activity configuration can be verified for any activity module containing any content, thus improving the practicality of this application.
[0037] In summary, this application provides a method for verifying activity configuration information. In this application, a method is proposed that responds to a user's triggering operation for an activity configuration verification event, automatically obtains the expected configuration information of each activity module in the target business configured in the background, as well as the activity page of each activity module, and parses the activity page of each activity module to obtain the actual display information of each activity module. Then, the expected configuration information and the actual display information of each activity module are compared one by one to screen out at least one activity module with configuration differences. This achieves activity configuration verification for each activity module, improves verification efficiency and accuracy, and solves the problems of low review efficiency, error susceptibility, and inconsistent standards in existing technologies.
[0038] The following examples will explain in detail how to perform activity configuration verification.
[0039] Optionally, refer to Figure 3 As shown, step S101 above includes: S301. Call the configuration query interface of the first activity module to obtain the structured configuration data of the first activity module.
[0040] Optionally, the configuration verification system provides configuration query interfaces for each active module, which allows the structured configuration data of each active module to be obtained, thereby improving the efficiency of obtaining structured configuration data for each active module.
[0041] For example, refer to Figure 4 The image shows the structured configuration data for the lottery module, which returns the winning probability of each prize in JSON format. Figure 4 As shown, the structured configuration data of the lottery module includes the fields "probability" and "awardName". The value of the "awardName" field is "sandwich", and the value of the corresponding "probability" field is "20%".
[0042] S302. Based on the pre-built domain knowledge base, parse each field in the structured configuration data of the first activity module to obtain the business information of each field.
[0043] The domain knowledge base stores the mapping relationship between the field name and business meaning of at least one field within the business domain, as well as enumeration information for each field. For example, taking the task module, the domain knowledge base can be used to query the "rewardSendWay" field as the method of distributing task rewards. When the value of the "rewardSendWay" field is 0, it means the reward is automatically distributed; when the value of the "rewardSendWay" field is 1, it means the user needs to manually claim the task reward.
[0044] Optionally, considering that the JSON structured configuration data provided by each activity module includes field names in English, the large model can utilize a pre-built domain knowledge base to automatically infer the business meaning represented by these English fields, as described above. Figure 4 In the model, the "probability" field can be automatically interpreted as the "lottery probability" field by the domain knowledge base.
[0045] Optionally, different activity modules (tasks, lotteries, leaderboards) can be configured with different domain knowledge bases to achieve flexible expansion and support adaptation to multiple business scenarios.
[0046] S303. Based on the business information of each field, determine the expected configuration information of the first activity module.
[0047] Optionally, the business information of each field can be structured to obtain the expected configuration information of the first activity module, that is, the expected configuration information is also JSON structured data.
[0048] Therefore, in this embodiment, the AI big model can use a pre-built domain knowledge base to automatically infer the business meaning represented by special fields in the structured configuration data of the activity module, improve the efficiency of understanding the business meaning of special fields, solve the problem of semantic ambiguity of special fields, and enable the AI big model to accurately understand the actual business meaning behind special fields.
[0049] Optionally, refer to Figure 5 As shown, step S102 above includes: S501. Based on the target prompt, call the preset visual big model to identify at least one key text information in the activity page of the first activity module.
[0050] The target prompts can be generated based on the business scenario or automatically generated by the system.
[0051] For example, a visual big model refers to an artificial intelligence model with image recognition and understanding capabilities, such as an OCR model (e.g., Google Vision API, Tesseract, PaddleOCR), a multimodal big model (e.g., GPT-4V, Qwen-VL, CLIP, etc.), or an image classification and object detection model (e.g., YOLO, ResNet, etc.). In one feasible approach, at least two visual big models can be invoked in parallel to parse the activity page, and the consistency of the parsing results from multiple visual big models can be verified to determine the final actual displayed information.
[0052] In one feasible approach, to improve the recognition accuracy and target orientation of the visual big data model, the visual big data model can parse the activity page of the lottery module based on the target prompt words input by the user. For example, if the target prompt words are: "Please identify and extract the names of the prizes on the page and the winning probability of each prize", at least one key text information obtained includes: the prize names are sandwiches, iced drinks, fruit baskets, kites, etc., and the winning probability of sandwiches is 20%, the winning probability of iced drinks is 15%, and the winning probability of kites is 8%.
[0053] Optionally, to improve the accuracy and robustness of the recognition results, multiple different Vision models (such as those with different architectures and training data sources) can be called simultaneously for cross-validation. For example, the OCR recognition results can be fused and compared with the results of multimodal vision models, and the information with high consistency can be selected as the final output.
[0054] S502. Based on the target prompts, convert each key text information into text data to obtain the actual display information corresponding to the first activity module.
[0055] In one feasible approach, key text information can be converted into readable text data based on target prompts to obtain the actual display information corresponding to the first activity module. For example, output text data: { "Lottery Period": "July 1, 2025 - July 31, 2025" Prize Names: ["Sandwiches", "Iced Drinks", "Kite"] "Probability of winning": "Sandwich: 20%, Iced drink: 15%, Kite: 8%", } Optionally, step S501 above includes: The visual big data model matches multiple candidate text information with the target prompt word to obtain at least one key text information associated with the target prompt word.
[0056] In one feasible approach, for example, the visual big data model identifies multiple candidate text information, including: the lottery period is "July 1, 2025 - July 31, 2025", the prize names are sandwiches, iced drinks, fruit baskets, kites, etc., the winning rate of sandwiches is 20%, the winning rate of iced drinks is 15%, and the winning rate of kites is 8%; the target prompt is: "Please identify and extract the prize names and winning probabilities of each prize on the page", that is, the candidate text information "the lottery period is "July 1, 2025 - July 31, 2025" can be eliminated, and only the key text information matching the target prompt can be retained, that is, only specific key information needs to be extracted.
[0057] Optionally, refer to Figure 6 As shown, step S502 above includes: S601. Determine the structured order of each key textual information based on the target prompt words.
[0058] S602. According to the structured order of each key text information, perform structured processing on each key text information to generate structured text data.
[0059] For example, to improve the efficiency of activity configuration verification, it is proposed to determine the structured order of each key text information based on the word segmentation order in the target prompt. For instance, if the target prompt is "Please identify and extract the prize names and winning probabilities of each prize on the page," then the word segmentation in the target prompt is "prize name" and "winning probability of each prize." Therefore, the structured order of each key text information can be determined as: prize name, winning probability of each prize, rather than the structured order of "draw time, winning probability of each prize, prize name." Thus, by processing each key text information according to its structured order, structured text data can be obtained, allowing for direct comparison based on this structured order in subsequent activity configuration verification, thereby improving comparison efficiency.
[0060] Optionally, refer to Figure 7 As shown, before step S501 above, the following steps are also included: S701. Determine the target prompt words based on the expected configuration information of each activity module.
[0061] S702, Push target prompts to users.
[0062] In one feasible approach, the system can also push target prompts to users. For example, taking a lottery module as an example, the activity configuration of a lottery module typically focuses on comparing the winning rates of each prize in the expected configuration information with the actual winning rates of each prize displayed on the activity page. Therefore, the target prompt can be generated as: "Please focus on identifying and extracting the prize names and winning probabilities of each prize on the page," and then pushed to the user for their reference.
[0063] Optionally, step S103 above includes: The preset inference model is invoked, and a predefined verification strategy template is loaded. The expected configuration information and the actual display information of the first activity module are compared field by field to obtain the configuration difference information of the first activity module. The verification strategy template records the comparison method, field name mapping, and data conversion format strategy for each field.
[0064] In one feasible approach, for example, taking a lottery module, the validation strategy template records validation rules for prize names, prize winning rates, and prize inventory. For instance, when validating prize winning rates, the validation strategy tells the inference model how to obtain the winning rate of each prize from predefined structured JSON configuration data. Then, the inference model compares the winning rates of each prize obtained from the structured JSON configuration data with the winning rates of each prize parsed by the Vision model on the activity page. If inconsistencies are found, the inference model records the specific configuration differences. For example, if the winning rate of the kite is 6% in the structured JSON configuration data, but 8% in the actual display information parsed on the activity page, the validation result is inconsistent.
[0065] Optionally, the expected configuration information and the actual display information of the first activity module are compared field by field to obtain the configuration difference information of the first activity module, including: Iterate through each field in the expected configuration information of the first activity module, obtain the target field corresponding to the current field in the actual display information, compare the expected field value of the current field with the actual field value in the target field, and if the comparison result is inconsistent, generate the configuration difference information of the current field, until all fields in the first activity module have been traversed, and obtain the configuration difference information of the first activity module.
[0066] In one feasible approach, using predefined structured JSON configuration data for the lottery module as a comparison benchmark, each field in the structured JSON configuration data of the lottery module is traversed. For example, if the currently traversed field name is "Barbecue Stand," and the expected winning rate of "Barbecue Stand" is obtained from the JSON configuration data as 8%, while the actual display information on the activity page shows the same field name and an actual winning rate of 6%, then it can be determined that the two comparison results are inconsistent, i.e., configuration difference information for "Barbecue Stand" is generated. This process continues until all fields in the structured JSON configuration data of the lottery module have been traversed, thus obtaining the configuration difference information for the lottery module. (See reference...) Figure 8 As shown.
[0067] Optionally, refer to Figure 9 As shown, the method also includes: S901. Obtain at least one difference field in the first activity module where there is a configuration difference.
[0068] S902. Summarize the expected field values and actual field values in at least one difference field where there are configuration differences, and generate a difference report for the first active module.
[0069] The difference report includes: the difference field name, the expected configuration value, and the actual displayed value.
[0070] In one feasible approach, to visualize the activity configuration verification results, it is proposed to obtain at least one field with configuration differences in the lottery module, such as kite or barbecue stand, and to summarize the expected and actual field values for the kite and the barbecue stand to obtain the difference report results for the lottery module. Figure 8 As shown in the image. This allows operations staff to quickly locate and fix configuration errors based on the discrepancy report, improving the accuracy and efficiency of activity configuration management.
[0071] Optionally, refer to Figure 10 As shown, if there are no fields with configuration differences in the lottery module, the expected field values and actual field values of each field can be displayed in the difference report, thus realizing a visual display of the activity configuration verification results.
[0072] Based on the same inventive concept, this application also provides an activity configuration information verification device corresponding to the activity configuration information verification method. Since the principle of the device in this application is similar to the activity configuration information verification method described above in this application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0073] Optionally, refer to Figure 11As shown, this application provides an activity configuration information verification device, the device comprising: The acquisition module 1101 is used to respond to the trigger operation of the activity configuration verification event, acquire the expected configuration information of each activity module in the target business, and acquire the activity page of each activity module; The parsing module 1102 is used to parse the activity pages of each activity module to obtain the actual display information of each activity module; The comparison module 1103 is used to compare the expected configuration information of each of the activity modules with the actual display information to obtain at least one activity module with configuration differences.
[0074] Optionally, the acquisition module 1101 is specifically used for: Call the configuration query interface of the first activity module to obtain the structured configuration data of the first activity module; Based on the pre-built domain knowledge base, each field in the structured configuration data of the first activity module is parsed to obtain the business information of each field. The domain knowledge base stores the mapping relationship between the field name and business meaning of at least one field in the business domain, as well as the enumeration information of each field. Based on the business information of each field, determine the expected configuration information of the first activity module.
[0075] Optionally, the parsing module 1102 is specifically used for: Based on the target prompt words, a preset visual big model is invoked to identify at least one key text information in the activity page of the first activity module; Based on the target prompts, the key text information is converted into text data to obtain the actual display information corresponding to the first activity module.
[0076] Optionally, the parsing module 1102 is specifically used for: The visual big data model identifies multiple candidate text information and matches them with the target prompt word to obtain at least one key text information associated with the target prompt word.
[0077] Optionally, the parsing module 1102 is specifically used for: Based on the target prompts, determine the structured order of each key textual piece of information; According to the structured order of each key text information, the key text information is processed in a structured manner to generate structured text data.
[0078] Optionally, the device further includes: The determining module is used to determine the target prompt word based on the expected configuration information of each of the activity modules; The push module is used to push the target prompt words to the user.
[0079] Optionally, the comparison module 1103 is specifically used for: The system calls a preset inference model and loads a predefined verification strategy template. It then compares the expected configuration information of the first activity module with the actual display information field by field to obtain the configuration difference information of the first activity module. The verification strategy template records the comparison method, field name mapping, and data conversion format strategy for each field.
[0080] Optionally, the comparison module 1103 is specifically used for: Iterate through each field in the expected configuration information of the first activity module, obtain the target field corresponding to the current field in the actual display information, compare the expected field value of the current field with the actual field value in the target field, and if the comparison result is inconsistent, generate the configuration difference information of the current field, until all fields in the first activity module have been traversed, and obtain the configuration difference information of the first activity module.
[0081] Optionally, the acquisition module 1101 is further configured to acquire at least one difference field in the first activity module where there are configuration differences; The device further includes: The generation module is used to summarize the expected field values and actual field values in at least one difference field where there are configuration differences, and generate a difference report for the first activity module, wherein the difference report includes: difference field name, expected configuration value, and actual display value.
[0082] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0083] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0084] Please see Figure 12 This application also provides an electronic device, which includes a processor 1201, a storage medium 1202, and a bus 1203. The storage medium 1202 stores machine-readable instructions executable by the processor 1201. When the electronic device runs a game control method as described in the embodiment, the processor 1201 communicates with the storage medium 1202 via the bus 1203. The processor 1201 executes the machine-readable instructions, and the preamble of the method item of the processor 1201 performs the following steps: Respond to the triggered operation of the activity configuration verification event to obtain the expected configuration information of each activity module in the target business; Obtain the activity page of each activity module, and parse the activity page of each activity module to obtain the actual display information of each activity module; The expected configuration information of each activity module is compared with the actual display information to identify at least one activity module with configuration differences.
[0085] In one feasible implementation, the processor 1201, when executing the process of obtaining the expected configuration information of each activity module in the target service, is specifically used for: Call the configuration query interface of the first activity module to obtain the structured configuration data of the first activity module; Based on the pre-built domain knowledge base, each field in the structured configuration data of the first activity module is parsed to obtain the business information of each field. The domain knowledge base stores the mapping relationship between the field name and business meaning of at least one field in the business domain, as well as the enumeration information of each field. Based on the business information of each field, determine the expected configuration information of the first activity module.
[0086] In one feasible implementation, the processor 1201, when performing the parsing of the activity pages of each activity module to obtain the actual display information of each activity module, specifically uses the following: Based on the target prompt words, a preset visual big model is invoked to identify at least one key text information in the activity page of the first activity module; Based on the target prompts, the key text information is converted into text data to obtain the actual display information corresponding to the first activity module.
[0087] In one feasible implementation, the processor 1201, when executing the process of calling a preset visual big model based on the target prompt word to identify at least one key text information in the activity page of the first activity module, specifically uses the following methods: The visual big data model identifies multiple candidate text information and matches them with the target prompt word to obtain at least one key text information associated with the target prompt word.
[0088] In one feasible implementation, the processor 1201, when performing the step of converting the key text information into text data based on the target prompt words to obtain the actual display information corresponding to the first activity module, is specifically used for: Based on the target prompts, determine the structured order of each key textual piece of information; According to the structured order of each key text information, the key text information is processed in a structured manner to generate structured text data.
[0089] In one feasible implementation, before executing the process of calling a preset large visual model based on the target prompt word, the processor 1201 is further specifically used for: The target prompt words are determined based on the expected configuration information of each activity module; The target prompts are pushed to the user.
[0090] In one feasible implementation, the processor 1201, when performing the comparison of the expected configuration information of each of the active modules with the actual display information to obtain at least one active module with configuration differences, specifically uses the following: The system calls a preset inference model and loads a predefined verification strategy template. It then compares the expected configuration information of the first activity module with the actual display information field by field to obtain the configuration difference information of the first activity module. The verification strategy template records the comparison method, field name mapping, and data conversion format strategy for each field.
[0091] In one feasible implementation, the processor 1201 compares the expected configuration information and the actual display information of the first active module field by field to obtain the configuration difference information of the first active module, specifically for: Iterate through each field in the expected configuration information of the first activity module, obtain the target field corresponding to the current field in the actual display information, compare the expected field value of the current field with the actual field value in the target field, and if the comparison result is inconsistent, generate the configuration difference information of the current field, until all fields in the first activity module have been traversed, and obtain the configuration difference information of the first activity module.
[0092] In one feasible implementation, processor 1201 also performs: Obtain at least one difference field in the first activity module where there are configuration differences; The expected field values and actual field values in at least one of the difference fields with configuration differences are summarized to generate a difference report for the first activity module. The difference report includes: the name of the difference field, the expected configuration value, and the actual displayed value.
[0093] Optionally, embodiments of this application also provide a computer-readable storage medium storing a computer program, which is executed by a processor, wherein the processor performs the following steps: Respond to the triggered operation of the activity configuration verification event to obtain the expected configuration information of each activity module in the target business; Obtain the activity page of each activity module, and parse the activity page of each activity module to obtain the actual display information of each activity module; The expected configuration information of each activity module is compared with the actual display information to identify at least one activity module with configuration differences.
[0094] In one feasible implementation, the processor, when performing the process of obtaining the expected configuration information of each active module in the target service, specifically uses the following methods: Call the configuration query interface of the first activity module to obtain the structured configuration data of the first activity module; Based on the pre-built domain knowledge base, each field in the structured configuration data of the first activity module is parsed to obtain the business information of each field. The domain knowledge base stores the mapping relationship between the field name and business meaning of at least one field in the business domain, as well as the enumeration information of each field. Based on the business information of each field, determine the expected configuration information of the first activity module.
[0095] In one feasible implementation, the processor, when performing the parsing of the activity pages of each activity module to obtain the actual display information of each activity module, specifically uses the following: Based on the target prompt words, a preset visual big model is invoked to identify at least one key text information in the activity page of the first activity module; Based on the target prompts, the key text information is converted into text data to obtain the actual display information corresponding to the first activity module.
[0096] In one feasible implementation, the processor, when executing the process of calling a preset visual big model based on the target prompt word, identifies at least one key text information in the activity page of the first activity module, specifically for: The visual big data model identifies multiple candidate text information and matches them with the target prompt word to obtain at least one key text information associated with the target prompt word.
[0097] In one feasible implementation, the processor, when performing the step of converting the key text information into text data based on the target prompt words to obtain the actual display information corresponding to the first activity module, specifically uses the following: Based on the target prompts, determine the structured order of each key textual piece of information; According to the structured order of each key text information, the key text information is processed in a structured manner to generate structured text data.
[0098] In one feasible implementation, before executing the process of invoking a preset large visual model based on the target prompt word, the processor is further specifically used for: The target prompt words are determined based on the expected configuration information of each activity module; The target prompts are pushed to the user.
[0099] In one feasible implementation, the processor, when performing the comparison of the expected configuration information of each of the active modules with the actual display information to identify at least one active module with configuration differences, specifically uses the following: The system calls a preset inference model and loads a predefined verification strategy template. It then compares the expected configuration information of the first activity module with the actual display information field by field to obtain the configuration difference information of the first activity module. The verification strategy template records the comparison method, field name mapping, and data conversion format strategy for each field.
[0100] In one feasible implementation, the processor compares the expected configuration information and the actual display information of the first active module field by field to obtain the configuration difference information of the first active module, specifically for: Iterate through each field in the expected configuration information of the first activity module, obtain the target field corresponding to the current field in the actual display information, compare the expected field value of the current field with the actual field value in the target field, and if the comparison result is inconsistent, generate the configuration difference information of the current field, until all fields in the first activity module have been traversed, and obtain the configuration difference information of the first activity module.
[0101] In one feasible implementation, the processor also performs: Obtain at least one difference field in the first activity module where there are configuration differences; The expected field values and actual field values in at least one of the difference fields with configuration differences are summarized to generate a difference report for the first activity module. The difference report includes: the name of the difference field, the expected configuration value, and the actual displayed value.
[0102] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0103] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0104] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0105] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
Claims
1. A method for verifying activity configuration information, characterized in that, The method includes: Respond to the triggered operation of the activity configuration verification event to obtain the expected configuration information of each activity module in the target business; Obtain the activity page of each activity module, and parse the activity page of each activity module to obtain the actual display information of each activity module; The expected configuration information of each activity module is compared with the actual display information to identify at least one activity module with configuration differences.
2. The method according to claim 1, characterized in that, The step of obtaining the expected configuration information of each activity module in the target service includes: Call the configuration query interface of the first activity module to obtain the structured configuration data of the first activity module; Based on the pre-built domain knowledge base, each field in the structured configuration data of the first activity module is parsed to obtain the business information of each field. The domain knowledge base stores the mapping relationship between the field name and business meaning of at least one field in the business domain, as well as the enumeration information of each field. Based on the business information of each field, determine the expected configuration information of the first activity module.
3. The method according to claim 1, characterized in that, The step of parsing the activity pages of each activity module to obtain the actual display information of each activity module includes: Based on the target prompt words, a preset visual big model is invoked to identify at least one key text information in the activity page of the first activity module; Based on the target prompts, the key text information is converted into text data to obtain the actual display information corresponding to the first activity module.
4. The method according to claim 3, characterized in that, The step of identifying at least one key text information in the activity page of the first activity module based on the target prompt words and calling a preset visual model includes: The visual big data model identifies multiple candidate text information and matches them with the target prompt word to obtain at least one key text information associated with the target prompt word.
5. The method according to claim 3, characterized in that, The step of converting each key text information into text data based on the target prompt words to obtain the actual display information corresponding to the first activity module includes: Based on the target prompts, determine the structured order of each key textual piece of information; According to the structured order of each key text information, the key text information is processed in a structured manner to generate structured text data.
6. The method according to claim 3, characterized in that, Before calling the preset visual large model based on the target prompt words, the process also includes: The target prompt words are determined based on the expected configuration information of each activity module; The target prompts are pushed to the user.
7. The method according to claim 1, characterized in that, The step of comparing the expected configuration information of each activity module with the actual display information to obtain at least one activity module with configuration differences includes: The system calls a preset inference model and loads a predefined verification strategy template. It then compares the expected configuration information of the first activity module with the actual display information field by field to obtain the configuration difference information of the first activity module. The verification strategy template records the comparison method, field name mapping, and data conversion format strategy for each field.
8. The method according to any one of claims 1-7, characterized in that, Also includes: Obtain at least one difference field in the first activity module where there are configuration differences; The expected field values and actual field values in at least one of the difference fields with configuration differences are summarized to generate a difference report for the first activity module. The difference report includes: the name of the difference field, the expected configuration value, and the actual displayed value.
9. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which is executed by a processor to perform the method as described in any one of claims 1-8.