US-20260127009-A1 - METHOD FOR DATA PROCESSING, COMPUTER DEVICE, AND STORAGE MEDIUM
Abstract
The present disclosure provides a method for data processing, a computer device and a storage medium. And the method includes: acquiring configuration change information of configuration information of a target service; parsing the configuration change information to obtain information to be verified of the configuration change information, where the information to be verified is determined based on a target configuration item in the configuration change information and/or service running data of the target service for the configuration change information; determining a verification rule matched with the information to be verified, and performing verification processing on the information to be verified according to the verification rule to obtain a verification result; and determining an information review result of the configuration change information based on the verification result.
Inventors
- Linglong YU
- Ziyan LIN
- Ke YAN
Assignees
- Douyin Vision Co., Ltd.
Dates
- Publication Date
- 20260507
- Application Date
- 20240202
- Priority Date
- 20230213
Claims (20)
- 1 . A method for data processing, comprising: acquiring configuration change information of configuration information of a target service; parsing the configuration change information to obtain information to be verified of the configuration change information, wherein the information to be verified is determined based on a target configuration item in the configuration change information and/or service running data of the target service for the configuration change information; determining a verification rule matched with the information to be verified, and performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result; and determining an information review result of the configuration change information based on the verification result.
- 2 . The method according to claim 1 , wherein the parsing the configuration change information to obtain information to be verified of the configuration change information comprises: determining a target verification indicator of each target configuration item in the configuration change information based on the service running data of the target service for the configuration change information; and determining the target verification indicator as the information to be verified.
- 3 . The method according to claim 2 , wherein the performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result comprises: determining a preset verification template associated with the target verification indicator, wherein the preset verification template comprises a verification rule of a verification indicator, and the verification indicator is a verification indicator of at least one configuration item; determining a target verification rule associated with the target verification indicator in the preset verification template; and performing verification processing on the target verification indicator according to the target verification rule to obtain the verification result.
- 4 . The method according to claim 3 , wherein the performing verification processing on the target verification indicator according to the target verification rule to obtain the verification result comprises: determining a verification threshold of the target verification indicator according to the target verification rule; and comparing the target verification indicator with the verification threshold, and determining the verification result according to a comparison result.
- 5 . The method according to claim 1 , wherein the performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result comprises: determining at least one target table comprising each target configuration item in a plurality of tables of a database; detecting whether configuration information of the target configuration item in the at least one target table is identical to configuration information of the target configuration item in the configuration change information; and obtaining a verification result indicating that the verification fails when the configuration information of the target configuration item in the at least one target table and the configuration information of the target configuration item in the configuration change information are detected to be different.
- 6 . The method according to claim 1 , wherein the performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result comprises: determining a data determination mode of the service running data; obtaining standard running data of the target service for the configuration change information based on the configuration change information and the data determination mode; and comparing the standard running data with the service running data, and determining the verification result according to a comparison result.
- 7 . The method according to claim 1 , further comprising: when it is determined, based on the verification result, that there is abnormal information in the configuration change information, generating target alarm information; determining alarm accuracy information of the target alarm information based on historical alarm information; and when it is determined that the alarm accuracy information satisfies an alarm requirement, sending the target alarm information to an alarm verification party for verification processing.
- 8 . The method according to claim 1 , further comprising: determining a change state of the configuration change information; and when it is determined that the change state of the configuration change information is in a preset state, parsing the configuration change information to obtain the information to be verified of the configuration change information.
- 9 . (canceled)
- 10 . A computer device, comprising: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory communicate through the bus when the computer device is running, and the machine-readable instructions, when executed by the processor, cause the processor to perform a method for data processing, wherein the method comprises: acquiring configuration change information of configuration information of a target service; parsing the configuration change information to obtain information to be verified of the configuration change information, wherein the information to be verified is determined based on a target configuration item in the configuration change information and/or service running data of the target service for the configuration change information; determining a verification rule matched with the information to be verified, and performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result; and determining an information review result of the configuration change information based on the verification result.
- 11 . A non-transitory computer-readable storage medium, wherein the computer-readable storage medium has a computer program stored thereon, and the computer program, when run by a processor, causes the processor to perform a method for data processing, wherein the method comprises: acquiring configuration change information of configuration information of a target service; parsing the configuration change information to obtain information to be verified of the configuration change information, wherein the information to be verified is determined based on a target configuration item in the configuration change information and/or service running data of the target service for the configuration change information; determining a verification rule matched with the information to be verified, and performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result; and determining an information review result of the configuration change information based on the verification result.
- 12 . The computer device according to claim 10 , wherein the parsing the configuration change information to obtain information to be verified of the configuration change information comprises: determining a target verification indicator of each target configuration item in the configuration change information based on the service running data of the target service for the configuration change information; and determining the target verification indicator as the information to be verified.
- 13 . The computer device according to claim 12 , wherein the performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result comprises: determining a preset verification template associated with the target verification indicator, wherein the preset verification template comprises a verification rule of a verification indicator, and the verification indicator is a verification indicator of at least one configuration item; determining a target verification rule associated with the target verification indicator in the preset verification template; and performing verification processing on the target verification indicator according to the target verification rule to obtain the verification result.
- 14 . The computer device according to claim 13 , wherein the performing verification processing on the target verification indicator according to the target verification rule to obtain the verification result comprises: determining a verification threshold of the target verification indicator according to the target verification rule; and comparing the target verification indicator with the verification threshold, and determining the verification result according to a comparison result.
- 15 . The computer device according to claim 10 , wherein the performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result comprises: determining at least one target table comprising each target configuration item in a plurality of tables of a database; detecting whether configuration information of the target configuration item in the at least one target table is identical to configuration information of the target configuration item in the configuration change information; and obtaining a verification result indicating that the verification fails when the configuration information of the target configuration item in the at least one target table and the configuration information of the target configuration item in the configuration change information are detected to be different.
- 16 . The computer device according to claim 10 , wherein the performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result comprises: determining a data determination mode of the service running data; obtaining standard running data of the target service for the configuration change information based on the configuration change information and the data determination mode; and comparing the standard running data with the service running data, and determining the verification result according to a comparison result.
- 17 . The computer device according to claim 10 , wherein the method further comprises: when it is determined, based on the verification result, that there is abnormal information in the configuration change information, generating target alarm information; determining alarm accuracy information of the target alarm information based on historical alarm information; and when it is determined that the alarm accuracy information satisfies an alarm requirement, sending the target alarm information to an alarm verification party for verification processing.
- 18 . The computer device according to claim 10 , wherein the method further comprises: determining a change state of the configuration change information; and when it is determined that the change state of the configuration change information is in a preset state, parsing the configuration change information to obtain the information to be verified of the configuration change information.
- 19 . The non-transitory computer-readable storage medium according to claim 11 wherein the parsing the configuration change information to obtain information to be verified of the configuration change information comprises: determining a target verification indicator of each target configuration item in the configuration change information based on the service running data of the target service for the configuration change information; and determining the target verification indicator as the information to be verified.
- 20 . The non-transitory computer-readable storage medium according to claim 19 , wherein the performing verification processing on the information to be verified according to the verification rule matched with the information to be verified to obtain a verification result comprises: determining a preset verification template associated with the target verification indicator, wherein the preset verification template comprises a verification rule of a verification indicator, and the verification indicator is a verification indicator of at least one configuration item; determining a target verification rule associated with the target verification indicator in the preset verification template; and performing verification processing on the target verification indicator according to the target verification rule to obtain the verification result.
Description
The present application claims priority to Chinese Patent Application No. 202310151619.1, filed on Feb. 13, 2023, the disclosure of which is incorporated herein by reference in its entirety as part of the present application. TECHNICAL FIELD Embodiments of the present disclosure relate to a method for data processing, an apparatus, a computer device, and a storage medium. BACKGROUND At present, after configuration change information is published, the configuration change information that is published may be monitored, and an alarm is given in a timely manner when there is an abnormality in the configuration change information that is published, thereby ensuring the accuracy of the configuration change information that is published. However, a monitoring mode of monitoring all service links of a service system where the configuration change information is located corresponds to a relatively large abnormality trigger threshold, so that it is impossible to give an alarm in a timely manner when there is an abnormality in the configuration change information that is published, thereby affecting the timeliness, effectiveness, and accuracy of monitoring the configuration change information that is published, and further affecting the quality of the configuration change information that is published. SUMMARY Embodiments of the present disclosure provide at least a method for data processing, an apparatus, a computer device, and a storage medium. In a first aspect, an embodiment of the present disclosure provides a method for data processing, including: acquiring configuration change information of configuration information of a target service; parsing the configuration change information to obtain information to be verified of the configuration change information, where the information to be verified is determined based on a target configuration item in the configuration change information and/or service running data of the target service for the configuration change information; determining a verification rule matched with the information to be verified, and performing verification processing on the information to be verified according to the verification rule to obtain a verification result; and determining an information review result of the configuration change information based on the verification result. In an optional implementation, parsing the configuration change information to obtain the information to be verified of the configuration change information includes: determining a target verification indicator of each target configuration item in the configuration change information based on the service running data of the target service for the configuration change information; and determining the target verification indicator as the information to be verified. In an optional implementation, performing verification processing on the information to be verified according to the verification rule to obtain the verification result includes: determining a preset verification template associated with the target verification indicator, where the preset verification template includes a verification rule of a verification indicator, and the verification indicator is a verification indicator of at least one configuration item; determining a target verification rule associated with the target verification indicator in the preset verification template; and performing verification processing on the target verification indicator according to the target verification rule to obtain the verification result. In an optional implementation, performing verification processing on the target verification indicator according to the target verification rule to obtain the verification result includes: determining a verification threshold of the target verification indicator according to the target verification rule; and comparing the target verification indicator with the verification threshold, and determining the verification result according to a comparison result. In an optional implementation, performing verification processing on the information to be verified according to the verification rule to obtain the verification result includes: determining at least one target table including each target configuration item in a plurality of tables of a database; detecting whether configuration information of a target configuration item in the at least one target table is the identical to configuration information of a target configuration item in the configuration change information; and obtaining a verification result indicating that the verification fails when they are detected to be different. In an optional implementation, performing verification processing on the information to be verified according to the verification rule to obtain the verification result includes: determining a data determination mode of the service running data; obtaining standard running data of the target service for the configuration change information bas