CN115114244A - Method and device for processing uniqueness of service data - Google Patents

Method and device for processing uniqueness of service data Download PDF

Info

Publication number
CN115114244A
CN115114244A CN202210741401.7A CN202210741401A CN115114244A CN 115114244 A CN115114244 A CN 115114244A CN 202210741401 A CN202210741401 A CN 202210741401A CN 115114244 A CN115114244 A CN 115114244A
Authority
CN
China
Prior art keywords
attribute information
information
service
core
service registration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210741401.7A
Other languages
Chinese (zh)
Inventor
王超
王一甲
翁明俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210741401.7A priority Critical patent/CN115114244A/en
Publication of CN115114244A publication Critical patent/CN115114244A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing

Abstract

The invention provides a method and a device for processing uniqueness of service data, and particularly relates to the field of big data, wherein the method comprises the following steps: obtaining first core attribute information and first common attribute information according to the service processing information; judging whether service registration information matched with the first core attribute information exists or not, and if yes, obtaining second common attribute information according to the service registration information; and judging whether the first common attribute information is matched with the second common attribute information, and if so, deleting the service registration information. The invention can delete the service registration information to ensure that the same service only has one piece of service information in the service data system when accurately detecting that the service processing information and the service registration information with the same core attribute information and the same common attribute information exist in the service data system, thereby improving the data uniqueness of the service data system and being beneficial to the normal operation of the service data system.

Description

Method and device for processing uniqueness of service data
Technical Field
The present invention relates to the field of data system technologies, and in particular, to the field of big data technologies, and in particular, to a method and an apparatus for processing uniqueness of service data.
Background
Before a business processing system of a bank performs business processing, a worker or a user often needs to input business registration information in the business data system according to business requirements, and after the business processing system performs business processing based on relevant requests, actual business processing information generated based on business processing conditions is sent to the business data system. At this time, service registration information and service processing information with the same core attribute information and common attribute information consistent may exist in the service data system for the same service, which causes adverse effects on the uniqueness of the service data system and is not beneficial to the normal operation of the service data system, thereby being inconvenient for workers to perform related work based on the service data system.
Disclosure of Invention
The invention aims to provide a method for processing uniqueness of service data, which aims to solve the problems that service registration information and service processing information with consistent core attribute information and common attribute information may exist in a service data system for the same service after service processing, which causes adverse effects on the uniqueness of the service data system and is not beneficial to normal operation of the service data system. Another object of the present invention is to provide a device for processing uniqueness of service data. It is a further object of this invention to provide such a computer apparatus. It is a further object of this invention to provide such a readable medium. It is a further object of this invention to provide a computer program product.
In order to achieve the above object, an aspect of the present invention discloses a method for processing uniqueness of service data, where the method includes:
obtaining first core attribute information and first common attribute information according to the service processing information;
judging whether service registration information matched with the first core attribute information exists or not, and if yes, obtaining second common attribute information according to the service registration information;
and judging whether the first common attribute information is matched with the second common attribute information, and if so, deleting the service registration information.
Optionally, the obtaining the first core attribute information and the first common attribute information according to the service processing information includes:
according to the service processing information, obtaining service processing attribute information related to the service processing information;
and obtaining first core attribute information and first common attribute information according to the service processing attribute information.
Optionally, the obtaining the first core attribute information and the first common attribute information according to the service processing attribute information includes:
acquiring a service processing core attribute information set and a service processing common attribute information set according to the service processing attribute information;
selecting the first core attribute information from the service processing core attribute information set;
and selecting the first common attribute information from the service processing common attribute information set.
Optionally, the determining whether there is service registration information that matches the first core attribute information, and if yes, obtaining second common attribute information according to the service registration information, includes:
obtaining a first core attribute value of the first core attribute according to the first core attribute information;
obtaining second core attribute information of each service registration information according to all service registration information;
obtaining a second core attribute value of a second core attribute corresponding to each piece of second core attribute information according to each piece of second core attribute information;
and judging whether service registration information with a second core attribute value equal to the first core attribute value exists or not, and if so, obtaining second common attribute information according to the service registration information.
Optionally, the obtaining second common attribute information according to the service registration information includes:
obtaining service registration attribute information related to the service registration information according to the service registration information;
and obtaining second common attribute information according to the service registration attribute information.
Optionally, the obtaining second common attribute information according to the service registration attribute information includes:
acquiring a service registration common attribute information set according to the service registration attribute information;
and selecting the second common attribute information from the service registration common attribute information set.
Optionally, further comprising:
and when judging that the service registration information matched with the first core attribute information does not exist, sending a matching failure message to a worker according to the service processing information.
Optionally, the determining whether the first common attribute information and the second common attribute information are matched, and if yes, deleting the service registration information includes:
obtaining a first common attribute value of a first common attribute according to the first common attribute information;
obtaining a second common attribute value of a second common attribute according to the second common attribute information;
and judging whether the first common attribute value is equal to the second common attribute value, and if so, deleting the service registration information.
Optionally, further comprising:
and when the first common attribute information and the second common attribute information are judged not to be matched, sending a message of unmatched matching to the staff according to the first common attribute information and the second common attribute information.
Optionally, further comprising:
before second common attribute information is obtained according to the service registration information, whether the number of the service registration information matched with the first core attribute information is larger than 1 or not is judged, and if yes, an alarm is given to a worker.
In order to achieve the above object, another aspect of the present invention discloses a device for processing uniqueness of service data, the device comprising:
the service processing information analysis module is used for obtaining first core attribute information and first common attribute information according to the service processing information;
the service registration information matching module is used for judging whether service registration information matched with the first core attribute information exists or not, and if yes, second common attribute information is obtained according to the service registration information;
and the data uniqueness processing module is used for judging whether the first common attribute information and the second common attribute information are matched, and if so, deleting the service registration information.
The invention also discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the program.
The invention also discloses a computer-readable medium, on which a computer program is stored which, when executed by a processor, implements a method as described above.
The invention also discloses a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
According to the method and the device for processing the uniqueness of the service data, the first core attribute information and the first common attribute information are obtained according to the service processing information, the input granularity according to which the subsequent service registration information is matched can be refined, and therefore the speed and the accuracy of matching the service registration information consistent with the service processing information in the subsequent step are improved; whether the service registration information matched with the first core attribute information exists or not is judged, if yes, second common attribute information is obtained according to the service registration information, primary matching can be conducted on key core information in the service information preliminarily, so that the service registration information which is obviously inconsistent with service processing information can be filtered preliminarily, the amount of information which needs to be matched when the common information in the service information is matched in the subsequent steps is reduced, the time of integral matching is shortened, and the speed of integral matching is improved; by judging whether the first common attribute information and the second common attribute information are matched or not, if so, deleting the service registration information, and improving the accuracy and speed of matching the service registration information consistent with the service processing information by refining the basis information required by final matching to the common attribute information. In summary, the method and the device for processing uniqueness of service data according to the present invention can delete the service registration information to enable only one piece of service information to exist in the same service in the service data system when it is accurately detected that the service processing information and the service registration information, both of which have the same core attribute information and common attribute information, exist in the service data system, thereby improving the data uniqueness of the service data system and facilitating the normal operation of the service data system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for processing uniqueness of service data according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an optional step of obtaining first core attribute information and first general attribute information according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating an optional step of determining whether there is service registration information matching the first core attribute information according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an optional step of obtaining second generic attribute information according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an optional step of determining whether the first general attribute information and the second general attribute information are matched according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a service data uniqueness processing apparatus according to an embodiment of the present invention;
FIG. 7 illustrates a schematic diagram of a computer device suitable for use in implementing embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
As used herein, the terms "first," "second," … …, etc. do not denote any order or order, nor are they used to limit the invention, but rather are used to distinguish one element from another element or operation described by the same technical terms.
As used herein, the terms "comprising," "including," "having," "containing," and the like are open-ended terms that mean including, but not limited to.
As used herein, "and/or" includes any and all combinations of the described items.
It should be noted that, in the technical solution of the present invention, the acquisition, storage, use, processing, etc. of the data all conform to the relevant regulations of the national laws and regulations.
The embodiment of the invention discloses a method for processing uniqueness of service data, which specifically comprises the following steps as shown in figure 1:
s101: and obtaining first core attribute information and first common attribute information according to the service processing information.
S102: and judging whether service registration information matched with the first core attribute information exists or not, and if so, obtaining second common attribute information according to the service registration information.
S103: and judging whether the first common attribute information is matched with the second common attribute information, and if so, deleting the service registration information.
Illustratively, the business processing information is generated by the business processing system of the bank based on the specific situation of the business processing when the business processing is performed based on the related business request or after the business processing is performed, and is sent to the business data system of the bank by the business processing system. The service processing information includes, but is not limited to, time of service processing, service identifier, service processing requester information or service processing attribute information, etc. It should be noted that, the source, transmission process, format, content and the like of the service processing information may be determined by those skilled in the art according to practical situations, and the foregoing description is only an example and is not limiting.
Illustratively, the service registration information is input by a staff or a user in the service data system according to service requirements before the service processing is performed by the service system of the bank. The service registration information includes, but is not limited to, time of registered service processing, service identifier, service processing requester information or service processing attribute information, etc. It should be noted that the source, transmission process, format, content, etc. of the service registration information can be determined by those skilled in the art according to practical situations, and the above description is only an example, and is not limited thereto.
For example, the core attribute information may be, but is not limited to, attribute information closely related to the property in the banking business, such as, but not limited to, transaction ID information, account identification information, or amount information related to business processing, and the like, where in dividing the core attribute information, the division may be performed by, but is not limited to, a manual manner, or by a related program or software, and the like, based on a preset division rule, and the like. It should be noted that, the specific content of the core attribute information and the specific implementation manner of dividing the core attribute information may be determined by those skilled in the art according to actual situations, and the above description is only an example, and does not limit this.
Illustratively, the general attribute information may be, but is not limited to, attribute information that is not closely related to property in banking, for example, but is not limited to, bank identification information related to business processing, native place information of an account holder, or sex information of the account holder, and the like, wherein when the general attribute information is divided, the division may be performed by, but is not limited to, a manual manner, or by a related program or software, and the like, based on a preset division rule, and the like. It should be noted that, specific contents of the general attribute information and specific implementation manners of dividing the general attribute information may be determined by those skilled in the art according to actual situations, and the above description is only an example, and thus, the present invention is not limited thereto.
According to the method and the device for processing the uniqueness of the service data, the first core attribute information and the first common attribute information are obtained according to the service processing information, the input granularity according to which the subsequent service registration information is matched can be refined, and therefore the speed and the accuracy of matching the service registration information consistent with the service processing information in the subsequent step are improved; whether the service registration information matched with the first core attribute information exists or not is judged, if yes, second common attribute information is obtained according to the service registration information, primary matching can be conducted on key core information in the service information preliminarily, so that the service registration information which is obviously inconsistent with service processing information can be filtered out preliminarily, the amount of information which needs to be matched when the common information in the service information is matched in the subsequent steps is reduced, the time of integral matching is shortened, and the integral matching speed is improved; by judging whether the first common attribute information and the second common attribute information are matched or not, if so, deleting the service registration information, and improving the accuracy and speed of matching the service registration information consistent with the service processing information by refining the basis information required by final matching to the common attribute information. In summary, the method and the device for processing uniqueness of service data according to the present invention can delete the service registration information to enable only one service information to exist in the same service in the service data system when it is accurately detected that the service processing information and the service registration information, both of which have the same core attribute information and common attribute information, exist in the service data system, thereby improving the data uniqueness of the service data system and facilitating the normal operation of the service data system.
In an optional implementation manner, as shown in fig. 2, the obtaining the first core attribute information and the first general attribute information according to the service processing information includes the following steps:
s201: and obtaining the service processing attribute information related to the service processing information according to the service processing information.
S202: and obtaining first core attribute information and first common attribute information according to the service processing attribute information.
Illustratively, since the service processing information includes the service processing attribute information, the service processing attribute information related to the service processing information can be obtained directly according to the service processing information.
Illustratively, the business process information includes, but is not limited to, attribute information of the related data updated after the business process, and the updated attribute information of the related data includes, but is not limited to, first core attribute information and first general attribute information. It should be noted that, the nature and specific content of the service processing information can be determined by those skilled in the art according to practical situations, and the above description is only an example, and is not limited thereto.
For example, the first core attribute information may be, but is not limited to, core attribute information of target service data updated after actual service processing.
For example, the first common attribute information may be, but is not limited to, common attribute information of target service data updated after actual service processing.
Because the first core attribute information and the first common attribute information are obtained from the specific attribute information related to the service processing in the above steps, the obtained first core attribute information and the first common attribute information can have high correlation with the actual service processing situation, and other information which may not be the attribute information does not need to be searched when the first core attribute information and the first common attribute information are obtained, so that the speed of obtaining the first core attribute information and the first common attribute information can be improved. Furthermore, the accuracy and the speed of the whole data uniqueness processing method can be indirectly improved.
In an optional implementation manner, the obtaining, according to the service processing attribute information, first core attribute information and first common attribute information includes:
acquiring a service processing core attribute information set and a service processing common attribute information set according to the service processing attribute information;
selecting the first core attribute information from the service processing core attribute information set;
and selecting the first common attribute information from the service processing common attribute information set.
Illustratively, the service processing core attribute information set and the service processing common attribute information set are obtained according to the service processing attribute information, but may be obtained by dividing the service processing attribute information manually or by related programs or software or the like based on a preset attribute information division standard. In the dividing, a set of attribute information closely related to the property in the business process attribute information may be used as the core attribute information set, and a set of other attribute information in the business process attribute information may be used as the common attribute information set. It should be noted that, for the specific implementation manner of obtaining the service processing core attribute information set and the service processing common attribute information set according to the service processing attribute information, a person skilled in the art may determine the implementation manner according to the actual situation, and the above description is only an example, and does not limit this.
Illustratively, the first core attribute information set has the following examples:
transaction ID: 123 account identification: abc transfer amount: balance after 100 Yuan transfer: 200 yuan … …
Illustratively, the first common attribute information set includes the following examples:
bank identification is operated in the transfer: bank account holder native: first province
For example, the selecting the first core attribute information from the service processing core attribute information set may be, but is not limited to, manually selecting, by a worker or a user, attribute information of a part of attributes from the core attribute information set according to actual needs as the first core attribute information, or automatically selecting, by a related program or software, attribute information of a part of attributes from the core attribute information set as the first core attribute information. For example, based on the above example of the core attribute information set, a "transaction ID: 123 account identification: abc "as the first core attribute information. It should be noted that, for a specific implementation manner of selecting the first core attribute information from the service processing core attribute information set, the implementation manner may be determined by those skilled in the art according to actual situations, and the above description is only an example, and does not limit this.
For example, the selecting of the first common attribute information from the service processing common attribute information set may be, but is not limited to, manually selecting, by a worker or a user, attribute information of a part of attributes from a common attribute information set according to actual needs as the first common attribute information, or automatically selecting, by a related program or software, attribute information of a part of attributes from a common attribute information set as the first common attribute information. For example, based on the above example of a common set of attribute information, one can choose "account holder native: the first province "as the first general attribute information. It should be noted that, for a specific implementation manner of selecting the first common attribute information from the service processing common attribute information set, the specific implementation manner may be determined by a person skilled in the art according to an actual situation, and the above description is only an example, and does not limit this.
Through the steps, the range and the content of the first core attribute information and the first common attribute information can be freely selected based on the actual working condition and the actual requirement, the flexibility of extracting the first core attribute information and the first common attribute information is improved, and the requirements of related workers or users are better met. In addition, the input parameters during matching can be reduced, so that the time required by the matching process is reduced, the matching speed is improved, and the uniqueness processing speed of the whole service data is indirectly improved.
In an optional implementation, as shown in fig. 3, the determining whether there is service registration information matching the first core attribute information, and if so, obtaining second common attribute information according to the service registration information includes the following steps:
s301: and obtaining a first core attribute value of the first core attribute according to the first core attribute information.
S302: and obtaining second core attribute information of each service registration information according to all service registration information.
S303: and obtaining a second core attribute value of the second core attribute corresponding to each piece of second core attribute information according to each piece of second core attribute information.
S304: and judging whether service registration information with a second core attribute value equal to the first core attribute value exists or not, and if so, obtaining second common attribute information according to the service registration information.
For example, the first core attribute information includes a first core attribute value of the first core attribute, so that the first core attribute value of the first core attribute can be directly obtained according to the first core attribute information. For example, if the first core attribute information is "transaction ID: 123 account identification: abc ", the first core attribute is the transaction ID and the account identifier, and the first core attribute values are 123 and abc, respectively.
Illustratively, the service registration information includes, but is not limited to, attribute information of the data that is expected to be updated after the pre-service registration, and the attribute information of the data that is expected to be updated after the pre-service registration includes, but is not limited to, second core attribute information and second general attribute information. It should be noted that the nature and specific content of the service registration information can be determined by those skilled in the art according to practical situations, and the above description is only an example, and is not limited thereto. Therefore, the second core attribute information of each service registration information can be obtained according to all service registration information, but the specific steps and related principles for obtaining the second core attribute information of each service registration information according to all service registration information can refer to the description of the steps for obtaining the first core attribute information and the first common attribute information according to the service processing attribute information, and are not repeated here. The specific way of dividing the core attribute information and the common attribute information into the service registration information needs to be consistent with the dividing way into the service processing information.
For example, the second core attribute information includes a second core attribute value of the second core attribute, so that the second core attribute value of the second core attribute corresponding to each piece of second core attribute information can be directly obtained according to each piece of second core attribute information. For example, if the second core attribute information is "transaction ID: 123 account identification: abc ", the second core attribute is the transaction ID and the account identifier, and the second core attribute values are 123 and abc, respectively.
Through the steps S301 to S304, the data granularity according to the preliminary matching can be further refined to a specific core attribute value, so that the accuracy and speed of the preliminary matching can be further improved, and the accuracy and speed of the uniqueness processing of the whole service data can be further improved.
In an alternative embodiment, as shown in fig. 4, the obtaining the second generic attribute information according to the service registration information includes:
s401: and obtaining the service registration attribute information related to the service registration information according to the service registration information.
S402: and obtaining second common attribute information according to the service registration attribute information.
Illustratively, since the service registration information includes the service registration attribute information, the service registration attribute information related to the service registration information can be obtained directly from the service registration information.
Illustratively, the service registration information includes, but is not limited to, attribute information of the data that is expected to be updated after the pre-service registration, and the attribute information of the data that is expected to be updated after the pre-service registration includes, but is not limited to, second core attribute information and second general attribute information. It should be noted that the nature and specific content of the service registration information can be determined by those skilled in the art according to practical situations, and the above description is only an example, and is not limited thereto.
Since the second general attribute information is obtained from the specific attribute information related to the service registration in the above step, the obtained second general attribute information can have a high correlation with the actual registration situation, and it is not necessary to search for other information that may not be the attribute information when obtaining the second general attribute information, so that the speed of obtaining the second general attribute information can be increased. Furthermore, the accuracy and the speed of the whole data uniqueness processing method can be indirectly improved.
In an optional implementation manner, the obtaining second common attribute information according to the service registration attribute information includes:
acquiring a service registration common attribute information set according to the service registration attribute information;
and selecting the second common attribute information from the service registration common attribute information set.
For example, the service registration common attribute information set is obtained according to the service registration attribute information, and the service registration core attribute information set and the service registration common attribute information set may be obtained by, but not limited to, dividing the service registration attribute information by a human or a related program or software based on a preset attribute information dividing standard. In the case of the division, a set of attribute information closely related to the property in the service registration attribute information may be used as the core attribute information set, and a set of other attribute information in the service registration attribute information may be used as the common attribute information set. It should be noted that, for a specific implementation manner of selecting the second common attribute information from the service registration common attribute information set, the specific implementation manner may be determined by a person skilled in the art according to an actual situation, and the above description is only an example, and does not limit this.
Illustratively, the second common attribute information set includes the following examples:
bank identification is operated in the transfer: bank account holder native: first province
For example, the selecting of the second common attribute information from the service registration common attribute information set may be, but is not limited to, manually selecting, by a worker or a user, attribute information of a part of attributes from a common attribute information set according to actual needs as the second common attribute information, or automatically selecting, by a related program or software, attribute information of a part of attributes from a common attribute information set as the second common attribute information. For example, based on the above example of a common set of attribute information, one can choose "account holder native: the first province "as the second general attribute information. It should be noted that, for a specific implementation manner of selecting the second common attribute information from the service registration common attribute information set, the implementation manner may be determined by a person skilled in the art according to an actual situation, and the foregoing description is only an example, and does not limit this. However, the selection manner of selecting the second common attribute information from the service registration common attribute information set needs to be the same as the selection manner of selecting the first common attribute information from the service processing common attribute information set, for example, the attribute related to the selected second common attribute information is consistent with the attribute related to the first common attribute information.
Through the steps, the range and the content of the second common attribute information can be freely selected based on the actual working condition and the requirement, the flexibility of extracting the second common attribute information is improved, and the requirements of related workers or users are better met. In addition, the input parameters during matching can be reduced, so that the time required by the matching process is reduced, the matching speed is improved, and the uniqueness processing speed of the whole service data is indirectly improved.
In an optional embodiment, further comprising:
and when judging that the service registration information matched with the first core attribute information does not exist, sending a matching failure message to a worker according to the service processing information.
For example, the message of failed matching may include, but is not limited to, the service processing information and a message such as "the service processing information has no corresponding service registration information in the service data system, please check whether an error occurs in the service processing system in time".
When the service registration information matched with the first core attribute information does not exist, the service processing information is indicated as that the service processing system is mistakenly generated and actually does not perform any service processing, or the service processing information does not conform to the actual service processing condition, which means that the service processing system has a fault or an error and needs to be repaired by a worker, so that the above steps can inform the worker in time when the service system has the fault or the error so as to repair the worker, thereby being beneficial to the normal operation of the service processing system.
In an optional implementation manner, as shown in fig. 5, the determining whether the first general attribute information and the second general attribute information are matched, and if so, deleting the service registration information includes the following steps:
s501: and obtaining a first common attribute value of the first common attribute according to the first common attribute information.
S502: and obtaining a second common attribute value of the second common attribute according to the second common attribute information.
S503: and judging whether the first common attribute value is equal to the second common attribute value, and if so, deleting the service registration information.
Illustratively, the first general attribute information includes a first general attribute value of the first general attribute, so that the first general attribute value of the first general attribute can be directly obtained according to the first general attribute information. For example, if the first generic attribute information is "account holder native: first province ", the first common attribute is the account holder's native place, and the first common attribute value is first province.
Illustratively, the second general attribute information includes a second general attribute value of the second general attribute, so that the second general attribute value of the second general attribute can be directly obtained according to the second general attribute information. For example, if the second generic attribute information is "account holder native: and 'A province', the second common attribute is the native place of the account holder, and the value of the second common attribute is 'A province'.
For example, the determining whether the first normal attribute value is equal to the second normal attribute value may be, but is not limited to, determining whether a plurality of sub-values in the first normal attribute value are completely consistent with a plurality of sub-values in the second normal attribute value, if yes, the first normal attribute value is equal to the second normal attribute value, and if no, the first normal attribute value is not equal to the second normal attribute value.
Through the steps S501 to S504, the data granularity according to which the final matching is performed can be further refined to a specific common attribute value, so that the accuracy and speed of the final matching can be further improved, and the accuracy and speed of the uniqueness processing of the whole service data can be further improved.
In an optional embodiment, further comprising:
and when the first common attribute information and the second common attribute information are judged not to be matched, sending a message of unmatched matching to the staff according to the first common attribute information and the second common attribute information.
Illustratively, the messages that do not match may include, but are not limited to, the service processing information and a message such as "the service processing information may have corresponding service registration information in the service data system, but the general attribute information in the service processing information and the general attribute information in the service registration information are not completely consistent, and there may be a data error, please check and process in time".
When the first common attribute information and the second common attribute information are not matched, it is described that although the service processing information may have service registration information corresponding to the service processing information, specific contents of the service processing information and the service registration information are not completely consistent, which means that the service processing information or the service registration information may have an error and requires intervention of a worker for repair.
In an optional embodiment, further comprising:
before second common attribute information is obtained according to the service registration information, whether the number of the service registration information matched with the first core attribute information is larger than 1 or not is judged, and if yes, an alarm is given to a worker.
If the number of the matched service registration information is more than one, it indicates that the service data system has a fault or a misoperation exists when the service registration information is input, so that an alarm needs to be given to a worker to repair the service data system or further verify the input condition, thereby being beneficial to the normal operation of the service data system.
Based on the same principle, the embodiment of the present invention discloses a device 600 for processing uniqueness of service data, as shown in fig. 6, the device 600 for processing uniqueness of service data includes:
a service processing information analyzing module 601, configured to obtain first core attribute information and first common attribute information according to service processing information;
a service registration information matching module 602, configured to determine whether there is service registration information that matches the first core attribute information, and if yes, obtain second common attribute information according to the service registration information;
and a data uniqueness processing module 603, configured to determine whether the first common attribute information and the second common attribute information are matched, and if so, delete the service registration information.
In an optional implementation manner, the service processing information parsing module 601 is configured to:
according to the service processing information, obtaining service processing attribute information related to the service processing information;
and obtaining first core attribute information and first common attribute information according to the service processing attribute information.
In an optional implementation manner, the service processing information parsing module 601 is configured to:
acquiring a service processing core attribute information set and a service processing common attribute information set according to the service processing attribute information;
selecting the first core attribute information from the service processing core attribute information set;
and selecting the first common attribute information from the service processing common attribute information set.
In an optional implementation manner, the service registration information matching module 602 is configured to:
obtaining a first core attribute value of the first core attribute according to the first core attribute information;
obtaining second core attribute information of each service registration information according to all service registration information;
obtaining a second core attribute value of a second core attribute corresponding to each piece of second core attribute information according to each piece of second core attribute information;
and judging whether service registration information with a second core attribute value equal to the first core attribute value exists or not, and if so, obtaining second common attribute information according to the service registration information.
In an optional implementation manner, the service registration information matching module 602 is configured to:
obtaining service registration attribute information related to the service registration information according to the service registration information;
and obtaining second common attribute information according to the service registration attribute information.
In an optional implementation manner, the service registration information matching module 602 is configured to:
acquiring a service registration common attribute information set according to the service registration attribute information;
and selecting the second common attribute information from the service registration common attribute information set.
In an optional embodiment, the apparatus further comprises a matching failure processing module, configured to:
and when judging that the service registration information matched with the first core attribute information does not exist, sending a matching failure message to a worker according to the service processing information.
In an optional embodiment, the data uniqueness processing module 603 is configured to:
obtaining a first common attribute value of a first common attribute according to the first common attribute information;
obtaining a second common attribute value of a second common attribute according to the second common attribute information;
and judging whether the first common attribute value is equal to the second common attribute value, and if so, deleting the service registration information.
In an optional embodiment, the apparatus further comprises a match inconsistency handling module configured to:
and when the first common attribute information and the second common attribute information are judged not to be matched, sending a message of unmatched matching to the staff according to the first common attribute information and the second common attribute information.
In an optional embodiment, the system further includes a redundant information alarm module, configured to:
before second common attribute information is obtained according to the service registration information, whether the number of the service registration information matched with the first core attribute information is larger than 1 or not is judged, and if yes, an alarm is given to a worker.
Since the principle of the device 600 for processing uniqueness of service data to solve the problem is similar to the method described above, the implementation of the device 600 for processing uniqueness of service data may refer to the implementation of the method described above, and will not be described herein again.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
In a typical example, the computer device comprises in particular a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the method as described above.
Referring now to FIG. 7, shown is a schematic block diagram of a computer device 700 suitable for use in implementing embodiments of the present application.
As shown in fig. 7, the computer device 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate works and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM)) 703. In the RAM703, various programs and data necessary for the operation of the system 700 are also stored. The CPU701, the ROM702, and the RAM703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including components such as a Cathode Ray Tube (CRT), a liquid crystal feedback (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted as necessary in the storage section 708.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A method for processing uniqueness of service data is characterized by comprising the following steps:
obtaining first core attribute information and first common attribute information according to the service processing information;
judging whether service registration information matched with the first core attribute information exists or not, and if yes, obtaining second common attribute information according to the service registration information;
and judging whether the first common attribute information is matched with the second common attribute information, and if so, deleting the service registration information.
2. The method of claim 1, wherein obtaining the first core attribute information and the first generic attribute information according to the service processing information comprises:
according to the service processing information, obtaining service processing attribute information related to the service processing information;
and obtaining first core attribute information and first common attribute information according to the service processing attribute information.
3. The method of claim 2, wherein obtaining the first core attribute information and the first common attribute information according to the service processing attribute information comprises:
acquiring a service processing core attribute information set and a service processing common attribute information set according to the service processing attribute information;
selecting the first core attribute information from the service processing core attribute information set;
and selecting the first common attribute information from the service processing common attribute information set.
4. The method of claim 1, wherein the determining whether there is service registration information matching the first core attribute information, and if so, obtaining second common attribute information according to the service registration information comprises:
obtaining a first core attribute value of the first core attribute according to the first core attribute information;
obtaining second core attribute information of each service registration information according to all service registration information;
obtaining a second core attribute value of a second core attribute corresponding to each piece of second core attribute information according to each piece of second core attribute information;
and judging whether service registration information with a second core attribute value equal to the first core attribute value exists or not, and if so, obtaining second common attribute information according to the service registration information.
5. The method of claim 1, wherein the obtaining second generic attribute information according to the service registration information comprises:
obtaining service registration attribute information related to the service registration information according to the service registration information;
and obtaining second common attribute information according to the service registration attribute information.
6. The method according to claim 5, wherein said obtaining second generic attribute information according to the service registration attribute information comprises:
acquiring a service registration common attribute information set according to the service registration attribute information;
and selecting the second common attribute information from the service registration common attribute information set.
7. The method of claim 1, further comprising:
and when judging that the service registration information matched with the first core attribute information does not exist, sending a matching failure message to a worker according to the service processing information.
8. The method according to claim 1, wherein the determining whether the first generic attribute information and the second generic attribute information match, and if so, deleting the service registration information comprises:
obtaining a first common attribute value of a first common attribute according to the first common attribute information;
obtaining a second common attribute value of a second common attribute according to the second common attribute information;
and judging whether the first common attribute value is equal to the second common attribute value, and if so, deleting the service registration information.
9. The method of claim 1, further comprising:
and when the first common attribute information and the second common attribute information are judged not to be matched, sending a message of unmatched matching to the staff according to the first common attribute information and the second common attribute information.
10. The method of claim 1, further comprising:
before second common attribute information is obtained according to the service registration information, whether the number of the service registration information matched with the first core attribute information is larger than 1 or not is judged, and if yes, an alarm is given to a worker.
11. A device for processing uniqueness of service data, comprising:
the service processing information analysis module is used for obtaining first core attribute information and first common attribute information according to the service processing information;
the service registration information matching module is used for judging whether service registration information matched with the first core attribute information exists or not, and if yes, second common attribute information is obtained according to the service registration information;
and the data uniqueness processing module is used for judging whether the first common attribute information and the second common attribute information are matched, and if so, deleting the service registration information.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-10 when executing the program.
13. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.
14. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1-10.
CN202210741401.7A 2022-06-28 2022-06-28 Method and device for processing uniqueness of service data Pending CN115114244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210741401.7A CN115114244A (en) 2022-06-28 2022-06-28 Method and device for processing uniqueness of service data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210741401.7A CN115114244A (en) 2022-06-28 2022-06-28 Method and device for processing uniqueness of service data

Publications (1)

Publication Number Publication Date
CN115114244A true CN115114244A (en) 2022-09-27

Family

ID=83329692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210741401.7A Pending CN115114244A (en) 2022-06-28 2022-06-28 Method and device for processing uniqueness of service data

Country Status (1)

Country Link
CN (1) CN115114244A (en)

Similar Documents

Publication Publication Date Title
US20210117424A1 (en) Database query optimization methods, apparatuses, and computer devices
CN115795560A (en) Method, device, equipment and medium for checking integrity of file across systems
CN106708897B (en) Data warehouse quality guarantee method, device and system
CN113761565B (en) Data desensitization method and device
CN116775167A (en) Service processing method, device, electronic equipment and computer readable medium
CN116611411A (en) Business system report generation method, device, equipment and storage medium
CN115114244A (en) Method and device for processing uniqueness of service data
CN115658367A (en) Program error code-based exception prompting method and device
CN114372078A (en) Data security protection method and device
CN113674083A (en) Internet financial platform credit risk monitoring method, device and computer system
CN114900531B (en) Data synchronization method, device and system
CN117195204B (en) Abnormal data detection method, device, electronic equipment and computer readable medium
CN111966700B (en) Information processing method, system, device and electronic equipment
CN109918895B (en) Method, electronic device, and computer-readable medium for outputting data
CN115311079A (en) Test point service processing method, server, user side and system
CN117131071B (en) Data processing method, device, electronic equipment and computer readable medium
CN114722110A (en) Data management method and device
CN115525614A (en) Data access method, device, equipment, system and storage medium
CN115061716A (en) Automatic program script submitting method and device
CN115167998A (en) Batch task execution method and device
CN115617847A (en) Low-version MYSQL regular replacement method and device
CN114996243A (en) Database operation method and device, electronic equipment and storage medium
CN115834729A (en) Data transmission method, device, equipment and medium
CN113204541A (en) Heterogeneous database data migration automatic correction method and device
CN115481383A (en) Service processing method, server, service end and system based on digital certificate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination