Blacklist query method and device, computer device, and storage medium
Patent Information
- Application Number
- CN202310782872.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2043-06-29
AI Technical Summary
[0004]本申请实施例的目的在于提出一种黑名单查询方法、装置、计算机设备及存储介质,以解决查询速度缓慢,影响业务对黑名单的操作的问题
[0039]This application receives a blacklist query request triggered by a user, obtains the input parameter data corresponding to the blacklist query request, and, based on a preset list model data, obtains the first blacklist information corresponding to the input parameter data. The first blacklist information is then sorted according to preset rules and displayed in pages. In other words, this application can query and obtain all first blacklist information corresponding to the input parameter data using preset list model data. Furthermore, because the product data in the first blacklist information has undergone aggregation and classification operations, the operation of aggregating product data during querying is eliminated, thereby improving the speed and efficiency of blacklist querying and facilitating subsequent blacklist operations.
Smart Images

Figure CN116821210B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information processing technology, and in particular to a blacklist query method, apparatus, computer equipment, and storage medium. Background Technology
[0002] A blacklist management system is primarily a system that operates on blacklists. It retrieves the corresponding blacklisted entries by searching for keywords or other criteria, and then allows for leniency or removal from the blacklist. For example, in financial insurance, when upstream policyholders verify policies, the blacklist management system can determine whether to block the application before proceeding with subsequent policy issuance processes.
[0003] However, due to the large variety and volume of blacklists currently available—for example, financial data sets alone have exceeded 4 million records—the query speed is slow, impacting business operations related to the blacklists. Summary of the Invention
[0004] The purpose of this application is to provide a blacklist query method, apparatus, computer device, and storage medium to solve the problem of slow query speed, which affects business operations on the blacklist.
[0005] To address the aforementioned technical problems, this application provides a blacklist query method, employing the following technical solution:
[0006] Receive a blacklist query request triggered by a user, and obtain the input parameter data corresponding to the blacklist query request. The input parameter data includes the group identifier of the blacklist, the status information of the blacklist, and the verification type of the blacklist.
[0007] Based on preset list model data, obtain the first blacklist information corresponding to the input parameter data; and
[0008] The first blacklist information is sorted according to preset rules and displayed in pages.
[0009] Furthermore, before the step of obtaining the first blacklist information corresponding to the group identifier information based on the preset list model data, the method further includes:
[0010] Obtain blacklist information, which includes the customer name and associated group identifier information, identification number, reason for being blacklisted, status information, update information, and at least one product data; and
[0011] After sorting the blacklist information according to the update information, the preset list model data is obtained.
[0012] Furthermore, the step of sorting the blacklist information according to the update information to obtain the preset list model data includes:
[0013] Determine the quantity of the product data;
[0014] If the product data associated with the customer name is the same, the blacklist information is sorted according to the update information to obtain the preset list model data;
[0015] If there are two or more product data associated with the customer name, the two or more product data are aggregated, and the blacklist information is sorted according to the update information to obtain the preset list model data.
[0016] Furthermore, after the step of sorting the blacklist information according to the update information to obtain the preset list model data, the method further includes:
[0017] Get information on newly added blacklists;
[0018] Determine whether the group identifier information in the newly added blacklist information exists in the preset list model data;
[0019] If it does not exist, the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data;
[0020] If they exist, then determine whether the customer name and product data in the newly added blacklist information exist in the preset list model data;
[0021] If it does not exist, then determine the number of product data in the newly added blacklist information;
[0022] If the number of product data in the newly added blacklist information is one, the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data;
[0023] If the number of product data in the newly added blacklist information is two or more, the two or more product data are aggregated, and the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data.
[0024] Furthermore, after the step of sorting the blacklist information according to the update information to obtain the preset list model data, the method further includes:
[0025] Get information on removal from the blacklist;
[0026] Based on the blacklist removal information, determine the product data corresponding to the blacklist removal information; and
[0027] The product data corresponding to the blacklist information is removed to obtain the preset list model data.
[0028] Furthermore, the step of sorting the first blacklist information according to preset rules and displaying it in pages includes:
[0029] Obtain the update time corresponding to the first blacklist information;
[0030] Sort the results in reverse order based on the update time to obtain the first blacklist sorting form; and
[0031] Display the first blacklist sorting form in paginated format.
[0032] Furthermore, after the step of paginating the first blacklist sorting form, the method further includes:
[0033] Obtain the product information that the user needs to query;
[0034] Search the second blacklist information corresponding to the product information in the first blacklist sorting form; and
[0035] The second blacklist information is sorted to obtain a second blacklist sorting form, which is then displayed in pages.
[0036] To address the aforementioned technical problems, this application also provides a computer device, which includes a memory and a processor. The memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the blacklist query method described above.
[0037] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing computer-readable instructions, which, when executed by a processor, implement the steps of the blacklist query method described above.
[0038] Compared with the prior art, the embodiments of this application have the following main advantages:
[0039] This application receives a blacklist query request triggered by a user, obtains the input parameter data corresponding to the blacklist query request, and, based on a preset list model data, obtains the first blacklist information corresponding to the input parameter data. The first blacklist information is then sorted according to preset rules and displayed in pages. In other words, this application can query and obtain all first blacklist information corresponding to the input parameter data using preset list model data. Furthermore, because the product data in the first blacklist information has undergone aggregation and classification operations, the operation of aggregating product data during querying is eliminated, thereby improving the speed and efficiency of blacklist querying and facilitating subsequent blacklist operations. Attached Figure Description
[0040] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;
[0042] Figure 2 A flowchart of an embodiment of the blacklist query method according to this application;
[0043] Figure 3 This is a schematic diagram of the structure of one embodiment of the blacklist query device according to this application;
[0044] Figure 4 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation
[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.
[0046] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0047] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0048] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0049] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.
[0050] Terminal devices 101, 102, and 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 players (Moving Picture Experts Group Audio Layer IV), laptops, and desktop computers, etc.
[0051] Server 105 can be a server that provides various services, such as a backend server that supports the pages displayed on terminal devices 101, 102, and 103.
[0052] It should be noted that the blacklist query method provided in this application embodiment is generally executed by the server, and correspondingly, the blacklist query device is generally set in the server.
[0053] It should be understood that Figure 1The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0054] Continue to refer to Figure 2 A flowchart of an embodiment of the blacklist query method according to this application is shown. The blacklist query method includes the following steps:
[0055] Step S201: Receive a blacklist query request triggered by the user and obtain the input parameter data corresponding to the blacklist query request.
[0056] In this embodiment, the blacklist query method runs on an electronic device (e.g., Figure 1 The server shown can be connected via wired or wireless connection. It should be noted that the aforementioned wireless connection methods may include, but are not limited to, 3G / 4G / 5G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultrawideband) connections, and other currently known or future known wireless connection methods.
[0057] In this embodiment, the server receives a blacklist query request triggered by a user. The user-triggered blacklist query request can be sent from the user's terminal device to the server, or it can be a blacklist query request directly entered by the user into a business system connected to the server; the specific type is not limited here.
[0058] Furthermore, when the server receives a blacklist query request, it obtains the input parameter data corresponding to the blacklist query request. The input parameter data includes the group identifier of the blacklist, the status information of the blacklist, and the verification type of the blacklist. The group identifier of the blacklist can be a financial individual customer, a financial group customer, or a combination of both. The status information of the blacklist can be inactive, active, or a combination of both. The verification type of the blacklist can be policyholder, insured, or a combination of both. In this embodiment, the user can open the blacklist query interface on the terminal device and select the input parameter data to be queried. After selecting the input parameter data, the user can send a blacklist query request to the server by clicking the query control (or query button) in the blacklist query interface. The server responds to the blacklist query request and obtains the input parameter data selected by the user. For example, the user selects a combination of financial individual customers and financial group customers, an active status, and a combination of policyholder and insured in the blacklist query interface.
[0059] Step S202: Based on the preset list model data, obtain the first blacklist information corresponding to the input parameter data.
[0060] In this embodiment, after the server obtains the input parameter data, it obtains the first blacklist information corresponding to the input parameter data based on the preset list model data.
[0061] It's important to note that the ListModel is a simple container for ListElement definitions, where each ListElement represents an item in the list that will be displayed using list items. ListElements contain a collection of role definitions rather than attributes; roles define both how the data is accessed and the data itself. ListElements can be simple constants, strings, booleans, numbers, or enumerations. For example, in this embodiment, listElements could be customer names, identification numbers, update information, etc., from a blacklist of individual or group financial customers.
[0062] Specifically, prior to this step, a pre-defined list data model needs to be constructed. First, blacklist information needs to be obtained. Blacklist information includes the customer name, associated group identifier information, identification number, reason for being blacklisted, status information, update information, and at least one product data item. For example, if the customer name is "xxx", the associated group identifier information is "Financial Individual Customer", the identification number is "232321197602******", the reason for being blacklisted is "loss clearing", the status information is "effective", the update information is "2023-04-21", and the product data includes "TP0700005-Employer's Liability Insurance Version 94" and "TP1000005-Ping An Employer's Comprehensive Insurance B", etc. It should be noted that the blacklist information obtained by the server can be obtained through big data analysis, or it can be added through the blacklist query interface (for example, the blacklist query interface has an add button, clicking the add button will bring up the blacklist addition interface, and blacklist information can be added by user input or file import), or it can be obtained from other systems connected to the server (such as business systems, financial insurance policy systems, etc.), etc., and the specifics are not limited here.
[0063] In this embodiment, all types of blacklists can be uniformly consolidated into list model data, which facilitates the upstream system to efficiently access the risk control interface of the blacklist, and also makes it convenient to uniformly open and manage the corresponding functions.
[0064] After the server obtains the blacklist information, it sorts the information and displays the sorted blacklist to obtain a preset list model data. Each row in the list model data represents a piece of blacklist information, including customer name, group identifier, identification number, reason for being blacklisted, status information, update information, and at least one product data item. Each column in the list model data represents the fields of each piece of information in the blacklist; for example, the first column in the list model data might contain the group identifier field from the blacklist.
[0065] It should be noted that when sorting blacklist information, you can sort it by the update information. For example, you can sort it in descending order by update information, that is, the blacklist information with the latest update time is placed in the first row of the list model data, and so on, with the blacklist information with the latest update time placed in the last row of the list model data.
[0066] Further, the step of sorting the blacklist information according to the update information to obtain the preset list model data includes:
[0067] Determine the quantity of the product data;
[0068] If the product data associated with the customer name is the same, the blacklist information is sorted according to the update information to obtain the preset list model data;
[0069] If there are two or more product data associated with the customer name, the two or more product data are aggregated, and the blacklist information is sorted according to the update information to obtain the preset list model data.
[0070] Specifically, there can be one or more product data associated with a customer name. Therefore, it's necessary to first determine the number of product data associated with each customer name. When there is only one product data associated with a customer name, the step of sorting the blacklist information according to the update information is directly executed to obtain the preset list model data. When there are two or more product data associated with a customer name, the two or more product data are aggregated, and then the step of sorting the blacklist information according to the update information is executed to obtain the preset list model data. In this way, all blacklist information can be integrated and categorized, and then displayed after sorting. For example, if a financial group customer adds 10 product data items at once, the product data for the bank where the financial group customer is located will be aggregated into 10 product data items in the list model data.
[0071] Of course, in this embodiment, after obtaining the preset list model, you can continue to add blacklist information and remove blacklist information from the list model.
[0072] Specifically, the steps for adding blacklist information include:
[0073] Get information on newly added blacklists;
[0074] Determine whether the group identifier information in the newly added blacklist information exists in the preset list model data;
[0075] If it does not exist, the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data;
[0076] If it exists, then determine whether the product data in the newly added blacklist information exists in the preset list model data;
[0077] If it does not exist, then determine the number of product data in the newly added blacklist information;
[0078] If the number of product data in the newly added blacklist information is one, the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data;
[0079] If the number of product data in the newly added blacklist information is two or more, the two or more product data are aggregated, and the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data.
[0080] The server can obtain new blacklist information from big data analysis, user additions, or business systems. Once the new blacklist information is obtained, it first needs to determine if the group identifier information in the new blacklist exists in the preset list model data. If not, the new blacklist information and the existing blacklist information are reordered to obtain the preset list model data. For example, if the previous preset list model data only contained financial group customers, while the new blacklist information contains group identifiers for individual financial customers, then the new blacklist information and the existing blacklist information will be reordered to obtain the updated list model data, which will be used as the preset list model data.
[0081] If the group identifier information in the newly added blacklist exists in the preset list model data, then it is necessary to further determine whether the customer name and product data in the newly added blacklist exist in the preset list model data. If not, the number of product data in the newly added blacklist is determined. When the number of product data in the newly added blacklist is one, the newly added blacklist information and the existing blacklist information are reordered to obtain the preset list model data. When the number of product data in the newly added blacklist is two or more, the two or more product data are aggregated, and the newly added blacklist information and the existing blacklist information are reordered to obtain the preset list model data. Of course, if the customer name and product data in the newly added blacklist exist in the preset list model data, the server will indicate that the blacklist information already exists.
[0082] The steps to remove information from a blacklist include:
[0083] Get information on removal from the blacklist;
[0084] Based on the blacklist removal information, determine the product data corresponding to the blacklist removal information;
[0085] The product data corresponding to the blacklist information is removed to obtain the preset list model data.
[0086] Once the server receives the blacklist removal information, it directly removes the product data that needs to be removed from the blacklist, resulting in a pre-defined list model. It's important to note that if the blacklist information corresponds to 10 product data entries, but only 2 are actually removed, the status of these 2 entries is changed to "invalid," thus completing the removal operation. However, if 10 product data entries are removed, all 10 entries corresponding to the blacklist information will be in an "invalid" state, meaning users will be unable to interact with the blacklist information.
[0087] Step S203: Sort the first blacklist information according to preset rules and display it in pages.
[0088] In this step, after obtaining the first blacklist information, the server sorts the first blacklist according to a preset rule, which can be a reverse chronological order of the first blacklist information's update time. If the number of first blacklist entries exceeds the display threshold of the display interface, the sorted first blacklist information can be displayed in pages.
[0089] This application receives a blacklist query request triggered by a user, obtains the input parameter data corresponding to the blacklist query request, and obtains the first blacklist information corresponding to the input parameter data based on a preset list model data. The first blacklist information is then sorted according to preset rules and displayed in pages. In other words, this application can query and obtain all first blacklist information corresponding to the input parameter data through the preset list model data. Furthermore, because the product data in the first blacklist information has undergone aggregation and classification operations, the operation of aggregating product data during querying is eliminated, thereby improving the speed and efficiency of blacklist querying, facilitating subsequent blacklist operations. Moreover, the blacklist query method of this application significantly improves the query efficiency for blacklists in financial business scenarios, reducing it from approximately 8 seconds to approximately 800 ms, which is an improvement of approximately 10 times.
[0090] Further, step S203 may include:
[0091] Obtain the update time corresponding to the first blacklist information;
[0092] Sort the blacklist in reverse order based on the update time to obtain the first blacklist sorting form;
[0093] Display the first blacklist sorting form in paginated format.
[0094] Specifically, the update time associated with each customer name in the first blacklist is obtained, and the data is sorted in descending order based on the update time to obtain the first blacklist sorting form. This first blacklist sorting form is then displayed in paginated format. At this point, the first row of the list model data contains the blacklist information corresponding to the customer name with the latest update time.
[0095] Of course, in this embodiment, the data can also be sorted according to the update time. For example, the first row of the list model data can be the blacklist information corresponding to the customer name with the earliest update time. The specifics are not limited here.
[0096] Following the step of paginating the first blacklist sorting form, the process also includes:
[0097] Obtain the product information that the user needs to query;
[0098] Search the second blacklist information corresponding to the product information in the first blacklist sorting form; and
[0099] The second blacklist information is sorted to obtain a second blacklist sorting form, which is then displayed in pages.
[0100] Specifically, due to the needs of various financial business scenarios, for example, when a user wants to query blacklist information for product information "TP0700005-Employer's Liability Insurance 94 Edition", after obtaining the first blacklist sorting form, the system can search for all second blacklist information matching the product information the user wants to query in the first blacklist sorting form, and then sort the second blacklist information to obtain the second blacklist sorting form and display it in pages. The content displayed in the second blacklist sorting form is all the blacklist information for "TP0700005-Employer's Liability Insurance 94 Edition" that the user queried.
[0101] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When executed, the program can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).
[0102] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0103] Further reference Figure 3 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of a blacklist query device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.
[0104] like Figure 3 As shown, the blacklist query device 300 described in this embodiment includes: a receiving module 301, an acquiring module 302, and a sorting module 303, wherein:
[0105] The receiving module 301 is used to receive a blacklist query request triggered by a user, and obtain the input parameter data corresponding to the blacklist query request. The input parameter data includes the group identifier of the blacklist, the status information of the blacklist, and the verification type of the blacklist.
[0106] The acquisition module 302 is used to acquire the first blacklist information corresponding to the input parameter data based on preset list model data; and
[0107] The sorting module 303 is used to sort the first blacklist information according to preset rules and display it in pages.
[0108] This application receives a user-triggered blacklist query request via a receiving module 301, obtains the input parameter data corresponding to the blacklist query request, and, based on preset list model data, obtains the first blacklist information corresponding to the input parameter data via an acquisition module 302. The sorting module 303 sorts the first blacklist information according to preset rules and displays it in pages. In other words, this application can query and obtain all first blacklist information corresponding to the input parameter data using preset list model data. Furthermore, since the product data in the first blacklist information has undergone aggregation and classification operations, the operation of aggregating product data during querying is eliminated, thereby improving the speed and efficiency of blacklist querying and facilitating subsequent blacklist operations.
[0109] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed]. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.
[0110] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected via a system bus. It should be noted that only the computer device 4 with components 41-43 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0111] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.
[0112] The memory 41 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as the hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 4. Of course, the memory 41 may also include both the internal storage unit and its external storage device of the computer device 4. In this embodiment, the memory 41 is typically used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions for blacklist lookup methods. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
[0113] In some embodiments, the processor 42 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 42 is typically used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to execute computer-readable instructions stored in the memory 41 or to process data, for example, to execute computer-readable instructions for the blacklist query method.
[0114] The network interface 43 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 4 and other electronic devices.
[0115] The computer device provided in this embodiment can execute the blacklist query method described above. The blacklist query method here can be any of the blacklist query methods described in the various embodiments above.
[0116] This application receives a blacklist query request triggered by a user, obtains the input parameter data corresponding to the blacklist query request, and, based on a preset list model data, obtains the first blacklist information corresponding to the input parameter data. The first blacklist information is then sorted according to preset rules and displayed in pages. In other words, this application can query and obtain all first blacklist information corresponding to the input parameter data using preset list model data. Furthermore, because the product data in the first blacklist information has undergone aggregation and classification operations, the operation of aggregating product data during querying is eliminated, thereby improving the speed and efficiency of blacklist querying and facilitating subsequent blacklist operations.
[0117] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor to cause the at least one processor to perform the steps of the blacklist query method described above.
[0118] This application receives a blacklist query request triggered by a user, obtains the input parameter data corresponding to the blacklist query request, and, based on a preset list model data, obtains the first blacklist information corresponding to the input parameter data. The first blacklist information is then sorted according to preset rules and displayed in pages. In other words, this application can query and obtain all first blacklist information corresponding to the input parameter data using preset list model data. Furthermore, because the product data in the first blacklist information has undergone aggregation and classification operations, the operation of aggregating product data during querying is eliminated, thereby improving the speed and efficiency of blacklist querying and facilitating subsequent blacklist operations.
[0119] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0120] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.
Claims
1. A method for querying a blacklist, characterized in that, Includes the following steps: Receive a blacklist query request triggered by a user, and obtain the input parameter data corresponding to the blacklist query request. The input parameter data includes the group identifier of the blacklist, the status information of the blacklist, and the verification type of the blacklist. Based on the preset list model data, obtain the first blacklist information corresponding to the input parameter data; as well as The first blacklist information is sorted according to preset rules and displayed in pages; The list model is a simple container for defining list elements. Each list element represents an item in the list to be displayed. List elements include the customer name, ID number, and update information of the blacklist. Before the step of obtaining the first blacklist information corresponding to the group identifier information based on preset list model data, the method further includes: Obtain blacklist information, which includes the customer name and associated group identifier information, identification number, reason for being blacklisted, status information, update information, and at least one product data; and After sorting the blacklist information according to the update information, the preset list model data is obtained; The step of sorting the blacklist information according to the updated information to obtain the preset list model data includes: Determine the quantity of the product data; If the product data associated with the customer name is the same, the blacklist information is sorted according to the update information to obtain the preset list model data; If there are two or more product data associated with the customer name, the two or more product data are aggregated, and the blacklist information is sorted according to the update information to obtain the preset list model data. After the step of sorting the blacklist information according to the update information to obtain the preset list model data, the method further includes: Get information on newly added blacklists; Determine whether the group identifier information in the newly added blacklist information exists in the preset list model data; If it does not exist, the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data; If they exist, then determine whether the customer name and product data in the newly added blacklist information exist in the preset list model data; If it does not exist, then determine the number of product data in the newly added blacklist information; If the number of product data in the newly added blacklist information is one, the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data; If the number of product data in the newly added blacklist information is two or more, the two or more product data are aggregated, and the newly added blacklist information and the blacklist information are reordered to obtain the preset list model data. Furthermore, all types of blacklists are uniformly consolidated into the list model data.
2. The blacklist query method according to claim 1, characterized in that, After the step of sorting the blacklist information according to the update information to obtain the preset list model data, the method further includes: Get information on removal from the blacklist; Based on the blacklist removal information, determine the product data corresponding to the blacklist removal information; and The product data corresponding to the blacklist information is removed to obtain the preset list model data.
3. The blacklist query method according to claim 1, characterized in that, The step of sorting the first blacklist information according to preset rules and displaying it in pages includes: Obtain the update time corresponding to the first blacklist information; Sort the results in reverse order based on the update time to obtain the first blacklist sorting form; and Display the first blacklist sorting form in paginated format.
4. The blacklist query method according to claim 3, characterized in that, After the step of paginating the first blacklist sorting form, the method further includes: Obtain the product information that the user needs to query; Search the second blacklist information corresponding to the product information in the first blacklist sorting form; and The second blacklist information is sorted to obtain a second blacklist sorting form, which is then displayed in pages.
5. A blacklist query device, characterized in that, The blacklist query device implements the steps of the blacklist query method as described in any one of claims 1 to 4, and the blacklist query device includes: The receiving module is used to receive a blacklist query request triggered by a user, and obtain the input parameter data corresponding to the blacklist query request. The input parameter data includes the group identifier of the blacklist, the status information of the blacklist, and the verification type of the blacklist. The acquisition module is used to acquire the first blacklist information corresponding to the input parameter data based on preset list model data; and The sorting module is used to sort the first blacklist information according to preset rules and display it in pages.
6. A computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor, when executing the computer-readable instructions, implements the steps of the blacklist query method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the blacklist query method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Electronic device and management method and module for blacklist of linkman list of electronic device
CN104539779A
Blacklist data generating method and device
CN106776973A
Data processing method and device
CN115098029A