Data processing method and device, electronic equipment and storage medium

CN119311445APending Publication Date: 2025-01-14FUTU NETWORK TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411128575.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

[0004]本公开实施例提供一种方案,以解决相关技术中,用户若需查看竞态冲突的问题信息,需要通过设备从服务器中读取该总信息,并人工从总信息挑选出竞态冲突的问题信息,花费时间比较多,查看竞态冲突的问题信息的效率较低的问题

Benefits of technology

[0018] The technical solution provided by the present disclosure collects original inspection information about competing conflicts in business application services; determines target inspection information that conforms to a preset information format from the original inspection information, and the preset information format is the The format corresponding to the race conflict, the target check information is the problem information of the race conflict; the target check information is sent to the client through the information reporting center service, so that the client displays the target check information . The technical solution provided by each embodiment of the present disclosure eliminates the need to manually select the problem information of competing conflicts from the original inspection information, but sets the format corresponding to the competing conflicts, and then determines the problem information from the original inspection information. The target check information that conforms to the format corresponding to the competition conflict is then sent to the client through the information reporting center service, so that the client displays the target check information so that the user can quickly and easily view it This target checks information, which greatly saves time and improves the efficiency of checking race conflict problem information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311445A_ABST
    Figure CN119311445A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, electronic equipment and a storage medium, and the method comprises the steps: enabling the method to be suitable for a server cluster, enabling the server cluster to deploy a business application service and an information reporting center service, and collecting the original inspection information about race state conflicts in the business application service; target inspection information conforming to a preset information format is determined from the original inspection information, the preset information format is a format corresponding to the race conflict, and the target inspection information is question information of the race conflict; and sending the target inspection information to a client through an information reporting center service, so that the client displays the target inspection information. According to the technical scheme provided by the embodiment of the invention, the problem information of race condition conflicts does not need to be manually selected from the original check information, so that the time is greatly saved, and the efficiency of checking the problem information of race condition conflicts is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of information processing technology, and in particular, relates to a data processing method, device, electronic device and storage medium. Background Art

[0002] In the cluster server, various business applications are installed. When multiple coroutines in a business application concurrently access a non-coroutine variable, it will seriously affect the entire business application service and even cause the business application to crash. This phenomenon is called a race condition conflict.

[0003] In the related art, in order to timely discover the problem of race conflict, an inspection device will be set in the server cluster. The inspection device will check the race conflict in the server cluster and store the inspection results in the form of a file in the server cluster. However, the inspection results obtained in this way include the total information of the race conflict problem information and other related information. If the user needs to view the race conflict problem information, it is necessary to read the total information from the server cluster through the device and manually select the race conflict problem information from the total information, which takes a lot of time and the efficiency of viewing the race conflict problem information is low. Summary of the invention

[0004] The disclosed embodiments provide a solution to solve the problem in the related art that if a user needs to view the problem information of the race condition conflict, the user needs to read the total information from the server through the device and manually select the problem information of the race condition conflict from the total information, which takes a lot of time and has low efficiency in viewing the problem information of the race condition conflict.

[0005] In a first aspect, the present disclosure provides a data processing method, which is applicable to a server cluster, wherein the server cluster is deployed with a business application service and an information reporting center service. The method comprises:

[0006] Collect original inspection information about race conditions and conflicts in business application services;

[0007] Determine target inspection information that complies with a preset information format from the original inspection information, wherein the preset information format is a format corresponding to the race condition conflict, and the target inspection information is problem information of the race condition conflict;

[0008] The target inspection information is sent to the client through the information reporting center service, so that the client displays the target inspection information.

[0009] In a second aspect, the present disclosure provides a data processing device, which is applicable to a server cluster, wherein the server cluster is deployed with a business application service and an information reporting center service, and the device includes:

[0010] A collection unit, used to collect original inspection information about race conditions and conflicts in business application services;

[0011] A determination unit, configured to determine target inspection information that complies with a preset information format from the original inspection information, wherein the preset information format is a format corresponding to the race condition conflict, and the target inspection information is problem information of the race condition conflict;

[0012] The sending unit is used to send the target inspection information to the client through the information reporting center service, so that the client displays the target inspection information.

[0013] In a third aspect, the present disclosure provides an electronic device, including:

[0014] Processor; and

[0015] A memory, configured to store executable instructions of the processor;

[0016] The processor is configured to execute any method in the first aspect or any possible implementation of the first aspect by executing the executable instructions.

[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements any method in the first aspect or any possible implementation of the first aspect.

[0018] The technical solution provided by the present disclosure collects original inspection information about race conditions conflicts in business application services; determines target inspection information that conforms to a preset information format from the original inspection information, the preset information format is a format corresponding to the race condition conflict, and the target inspection information is the problem information of the race condition conflict; and sends the target inspection information to the client through an information reporting center service, so that the client displays the target inspection information. The technical solution provided by each embodiment of the present disclosure does not require manual selection of the problem information of the race condition conflict from the original inspection information, but sets the format corresponding to the race condition conflict, and then determines the target inspection information that conforms to the format corresponding to the race condition conflict from the original inspection information, and then sends the target inspection information to the client through an information reporting center service, so that the client displays the target inspection information, so that the user can quickly and easily view the target inspection information, which greatly saves time and improves the efficiency of viewing the problem information of the race condition conflict. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0020] Figure 1 A flowchart of a data processing method provided by an embodiment of the present disclosure;

[0021] Figure 2 A schematic diagram of the structure of a first data processing device provided in an embodiment of the present disclosure;

[0022] Figure 3 A schematic diagram of the structure of a second data processing device provided in an embodiment of the present disclosure;

[0023] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, but should not be understood as limiting the present disclosure.

[0025] The terms "first" and "second" and the like in the specification, claims, and drawings of the disclosed embodiments are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the disclosed embodiments described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0026] The data processing method provided in the embodiments of the present disclosure may be run on a terminal device or a server. The terminal device may be a local terminal device. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0027] In the cluster server, various business applications are installed. When multiple coroutines in a business application concurrently access a non-coroutine variable, it will seriously affect the entire business application service and even cause the business application to crash. This phenomenon is called a race condition conflict.

[0028] In the related art, in order to timely discover the problem of race conflict, an inspection device will be set in the server cluster. The inspection device will check the race conflict in the server cluster and store the inspection results in the form of a file in the server cluster. However, the inspection results obtained in this way include the total information of the race conflict problem information and other related information. If the user needs to view the race conflict problem information, it is necessary to read the total information from the server cluster through the device and manually select the race conflict problem information from the total information, which takes a lot of time and the efficiency of viewing the race conflict problem information is low.

[0029] Taking the application of the data processing method to the server as an example, when a user views the problem information about a race state conflict in a certain business application service, the original inspection information about the race state conflict in the business application service can be collected first, and then the problem information of the race state conflict in the format corresponding to the race state conflict can be determined from the original inspection information, and the problem information can be sent to the client through the information reporting center service, so that the user can view the problem information of the race state conflict through the client. This process does not require manual selection of the problem information of the race state conflict from the original inspection information, which greatly saves time and improves the efficiency of viewing the problem information of the race state conflict.

[0030] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0031] Figure 1 A flow chart of a data processing method provided by an exemplary embodiment of the present disclosure is provided. The method can be applied to various devices with data processing functions. Taking the method applied to a server cluster as an example, the server cluster is deployed with a business application service and an information reporting center service. The scheme includes at least the following steps S101-S103:

[0032] S101, collecting original inspection information about race conditions and conflicts in business application services.

[0033] In some embodiments, the raw inspection information is stored in a file.

[0034] In some embodiments, the original check information includes at least race condition conflict check information and other check information.

[0035] In some embodiments, the server cluster includes multiple servers, each server has a corresponding business service application, and only one information reporting center service is deployed in the server cluster. In order to better understand this solution, a specific embodiment is provided below. Figure 2 As shown, the server cluster includes server 1 and server 2, each server is deployed with corresponding business application services, and the information reporting center is deployed in server 1.

[0036] In some embodiments, the collecting original inspection information of the business application service about the race condition conflict includes: collecting the original inspection information of the business application service about the race condition conflict by using a preset tool.

[0037] Specifically, the business application service is implemented by using the go language. Therefore, when multiple coroutines concurrently access a non-coroutine-safe variable during use, the entire go process will directly crash and affect the business application service. Each server in the service cluster can use the race conflict check tool to detect the business application service and obtain the original check information. Among them, the race conflict check tool is a preset tool.

[0038] In another embodiment, the preset tool is deployed in each server in the server cluster (each server can provide a business application function), for example Figure 2 As shown, preset tools are deployed in both Server 2 and Server 1.

[0039] S102, determining target inspection information that complies with a preset information format from the original inspection information.

[0040] In some embodiments, the preset information format is a format corresponding to the race condition conflict.

[0041] In some embodiments, the target inspection information is problem information of the race condition conflict.

[0042] In some embodiments, determining target inspection information that conforms to a preset information format from the original inspection information includes: traversing multiple sub-information in the original inspection information, and determining sub-information that conforms to a preset information format among the multiple sub-information as the target inspection information.

[0043] Specifically, the preset information format may be started with "WARNING: DATA RACE" and ended with "=====". Specifically, each server in the service cluster may respectively determine the sub-information starting with "WARNING: DATA RACE" and ending with "=====" in its corresponding original inspection information as the target inspection information.

[0044] Further, in one embodiment, the preset information format includes a preset start identifier and a preset end identifier, traversing multiple sub-information in the original inspection information, and determining the sub-information in the multiple sub-information that conforms to the preset information format as the target inspection information, specifically including: dividing the original inspection information into multiple sub-information according to the separator in the original inspection information; and then comparing each sub-information with the preset start identifier and the preset end identifier, so as to determine the first sub-information corresponding to the preset start identifier and the second sub-information corresponding to the preset end identifier from the sub-information, and then, extracting the target inspection information from the original inspection information with the first sub-information as the start sub-information and the second sub-information as the end sub-information.

[0045] The preset start mark may be "WARNING: DATA RACE", the preset end mark may be "====", and the Figure 2 Taking Server 2 in the example, Server 2 detects the business application service through the race conflict check tool. After obtaining the original inspection information, the original inspection information can be divided into multiple sub-information, and then each sub-information is compared with the preset start identifier and the preset end identifier respectively, so as to determine the first sub-information corresponding to the preset start identifier and the second sub-information corresponding to the preset end identifier from the sub-information, and then, starting from the first sub-information, extract sub-information from the original inspection information until the extracted sub-information is the second sub-information, and finally, determine the extracted sub-information as the target inspection information corresponding to Server 2.

[0046] In the above embodiment, the target inspection information related to the race conflict is extracted from the original inspection information by scanning the file where the original inspection information of the race conflict is located. Since the main program corresponding to the application service in the server will continuously generate new inspection information related to the race conflict during operation, that is, the content of the original inspection information will also be continuously updated, the extraction of the inspection information related to the race conflict can be performed periodically, that is, from the file where the original inspection information is located, scan according to the line information to determine the target inspection information that conforms to the preset information format, and after each extraction of the inspection information related to the race conflict is completed, the line number read by the extraction of the inspection information related to the race conflict can be recorded, and the next time the inspection information related to the race conflict is extracted, it will be started from the recorded line number.

[0047] S103: Send the target inspection information to the client through the information reporting center service, so that the client displays the target inspection information.

[0048] In some embodiments, after acquiring the target inspection information, each server in the service cluster may directly upload the target inspection information to the information reporting center service, and the information reporting center service sends all the target inspection information in the service cluster to the client.

[0049] like Figure 2 As shown, the server cluster includes server 1 and server 2. After server 1 and server 2 collect target detection information, server 1 and server 2 can send their target detection information to the information reporting center service deployed in server 1, and the information reporting center service will send the target detection information to the client.

[0050] It can be understood that one target inspection information corresponds to one race conflict, and the target inspection information includes at least code location information, thread task information and race type, wherein the code location information is used to indicate the code location of resources (such as variables, structures or files, etc.) accessed by multiple threads when sending a race conflict, including but not limited to file name, line number, code snippet information, etc. The thread task information is used to indicate the goroutine or thread where the race occurs, which can specifically be the identification information of the goroutine or thread, and the race types include read race, write race and read-write race.

[0051] After the information reporting center service obtains all the target inspection information, it can classify all the target inspection information according to the code location information in the target inspection information to determine the inspection information group including the same code location information, each inspection information group including at least one target inspection information; after determining the inspection information group, for any thread task information (which can be recorded as the target thread task information), obtain the first frequency of the target inspection information with the target thread task information in each inspection information group; at the same time, for any inspection information group (which can be recorded as the target inspection information group), determine the second frequency of the target thread task information in the target inspection information group, and finally obtain the correlation degree of the target thread task information with the code location information corresponding to the target inspection information group based on the first frequency and the second frequency. It can be understood that the correlation degree can represent the probability value of the target thread task information having a race condition conflict on the resource of the code location information corresponding to the target inspection information group. The greater the correlation degree, the greater the probability of the target thread task information having a race condition conflict on the resource of the code location information corresponding to the target inspection information group.

[0052] If the probability value is greater than a preset probability threshold, it can be determined that the code location information corresponding to the target thread task information and the target inspection information group is strongly associated exception information, and a priority identifier is generated based on the target thread task information and the code location information corresponding to the target; when all target inspection information is sent to the client through the information reporting center service, the priority identifier can be sent to the client together with the target inspection information, so that when the client displays the target inspection information, it can highlight the target inspection information with the strongly associated target thread task and the code location information corresponding to the target inspection information group according to the priority identifier. For example, when displaying the target inspection information, the target inspection information with the code location information corresponding to the target thread task and the target inspection information group is highlighted to prompt the developer that the probability value of the race condition conflict of the target inspection information pair is high and can be processed with priority, thereby improving the efficiency of processing the race condition conflict.

[0053] Furthermore, in one embodiment, the correlation between different thread tasks and the code location information corresponding to different check information groups can be obtained by the following formula (1):

[0054]

[0055] Among them, corr x,y Indicates the correlation between the thread task information x and the code location information corresponding to the check information group y, which can indicate the probability of a race condition conflict occurring on the code location information corresponding to the thread task information x and the check information group y (or the resources corresponding to the code location information); tf x,y represents the occurrence frequency (i.e., the second frequency) of thread task information x in the check information group y; N represents the total number of check information groups; n x represents the number of inspection information groups including specific inspection information, where the specific inspection information refers to target inspection information having thread task information x, that is, the number of inspection information groups including target inspection information having thread task information x; It can represent the frequency (ie, the first frequency) at which the target inspection information having the thread task information x appears in each inspection information group.

[0056] In some embodiments, the target inspection information may be displayed in the client in the form of text, or in the form of pictures or sounds. The specific display form may be set according to actual conditions.

[0057] In some embodiments, the target inspection information is sent to the client via the information reporting center, including steps S11-S14:

[0058] S11, obtaining the information shielding list served by the information reporting center.

[0059] In some embodiments, the information shielding list includes a plurality of second hash values.

[0060] In some embodiments, different target inspection information corresponds to different hash values.

[0061] S12, performing hash serialization on the target inspection information through an information reporting center service to obtain a first hash value.

[0062] S13: Compare the first Hash value with the second Hash value in the information shielding list.

[0063] S14, when the second hash value in the information shielding list does not match the target hash value identical to the first hash value, use the first hash value and the target inspection information as new target inspection information, and send the new target inspection information to the client.

[0064] In some embodiments, the first hash value corresponding to the target inspection information does not match the second hash value in the information blocking list, indicating that the target inspection information is required by the user, so the first hash value and the target inspection information are sent to the client as new target inspection information.

[0065] In some embodiments, when the first hash value is a hash value in the information shielding list, it indicates that there is no need to send the target inspection information to the client.

[0066] In this embodiment, the first hash value corresponding to the target inspection information matches the second hash value in the information shielding list, indicating that the target inspection information is not needed by the user, that is, the user has previously received the target inspection information and shielded it.

[0067] In some embodiments, the information shielding list further includes shielding time period information corresponding one-to-one to a plurality of second hash values.

[0068] In some embodiments, the information shielding list further includes shielding time period information corresponding to a plurality of second hash values ​​one by one; after comparing the first hash value with the second hash value in the information shielding list, steps S141-S142 are further included:

[0069] S141, when a target hash value identical to the first hash value is matched in the second hash value in the information shielding list, obtaining shielding time period information corresponding to the target hash value.

[0070] S142, obtaining the current moment, and when the current moment is not in the shielding time period information corresponding to the target hash value, using the first hash value and the target inspection information as new target inspection information, and sending the new target inspection information to the client.

[0071] In some embodiments, when the second hash value in the information shielding list matches the target hash value that is the same as the first hash value, the current moment is not in the shielding time period information corresponding to the target hash value, which means that the user can currently receive the target inspection information, so the target inspection information is sent to the client through the information reporting center service. If the current moment is in the shielding time period information corresponding to the target hash value, it means that the user cannot receive the target inspection information, and thus the target inspection information cannot be sent to the client through the information reporting center service.

[0072] In other embodiments, when the second hash value in the information shielding list matches the target hash value that is the same as the first hash value, and the current moment is not in the shielding time period information corresponding to the target hash value, it means that the user can accept the target inspection information, and then the target inspection information is sent to the client through the information reporting center service. If the current moment is in the shielding time period information corresponding to the target hash value, it means that the user cannot currently accept the target inspection information, so the target inspection information cannot be sent to the client through the information reporting center service.

[0073] In some embodiments, after the target inspection information is sent to the client through the information reporting center service, a step of collecting original inspection information about race conditions conflicts in the business application service is performed within a preset time period.

[0074] In some embodiments, before the target inspection information is hashed and serialized by the information reporting center service to obtain the first hash value, steps S121-S122 are also included:

[0075] S121, receiving an information shielding request sent by the client.

[0076] In some embodiments, the information masking request includes a third hash value and masking time period information.

[0077] The masking time period information refers to the time during which the target inspection information corresponding to the third hash value is masked, and the third hash value is a value obtained by hash serialization of the inspection information to be masked.

[0078] S122: Save the third hash value and the shielding time period information into the information shielding list.

[0079] Specifically, in the actual operation process, after obtaining the target inspection information, the target inspection information is hashed and serialized through the information reporting center service to obtain a third hash value, and the third hash value and the target inspection information are used as new target inspection information, and the new target inspection information is sent to the client. At the same time, the user can block the new target inspection information. If the user chooses to block, the third hash value will be fed back to the information reporting center service and saved in the information blocking list.

[0080] In this embodiment, the user can independently set the shielding time period information, and then feed back the shielding time period information and the third hash value to the information reporting center service.

[0081] In some embodiments, the step of saving the third hash value and the shielding time period information to the information shielding list includes steps S1221-S1223:

[0082] S1221: Compare the third Hash value with the second Hash value in the information shielding list.

[0083] S1222: When no second hash value in the information shielding list matches the second hash value that is the same as the third hash value, save the third hash value and the shielding time period information to the information shielding list.

[0084] In some embodiments, in order to ensure the accuracy of the information blocking list obtained from the information reporting center service, it is necessary to compare the third hash value and the second hash value in the information blocking list. If they do not match, it means that the third hash value is new blocking information, and then the third hash value and the blocking time period information are saved to the information blocking list to update the information blocking list.

[0085] S1223: when a second hash value identical to the third hash value is matched among the second hash values ​​in the information shielding list, the shielding time period information of the second hash value identical to the third hash value is updated according to the shielding time period information.

[0086] In some embodiments, during the actual operation process, the user modifies the shielding time period information corresponding to certain target inspection information. Therefore, in order to ensure the accuracy of the information shielding list of the information reporting center service obtained, the shielding event segment information in the information shielding list needs to be updated. Then, when the second hash value in the information shielding list matches the second hash value that is the same as the third hash value, the shielding time period information of the second hash value that is the same as the third hash value is updated according to the shielding time period information.

[0087] The technical solution provided by the present disclosure collects original inspection information about race conditions conflicts in business application services; determines target inspection information that conforms to a preset information format from the original inspection information, the preset information format is a format corresponding to the race condition conflict, and the target inspection information is the problem information of the race condition conflict; and sends the target inspection information to the client through an information reporting center service, so that the client displays the target inspection information. The technical solution provided by each embodiment of the present disclosure does not require manual selection of the problem information of the race condition conflict from the original inspection information, but sets the format corresponding to the race condition conflict, and then determines the target inspection information that conforms to the format corresponding to the race condition conflict from the original inspection information, and then sends the target inspection information to the client through an information reporting center service, so that the client displays the target inspection information, so that the user can quickly and easily view the target inspection information, which greatly saves time and improves the efficiency of viewing the problem information of the race condition conflict.

[0088] Figure 3 A schematic diagram of the structure of a data processing device provided by an exemplary embodiment of the present disclosure;

[0089] The device is applicable to a server cluster, and the server cluster is deployed with a business application service and an information reporting center service. The device includes: a collecting unit 201, a determining unit 202, and a sending unit 203;

[0090] The collecting unit 201 is used to collect original inspection information about race conditions and conflicts in business application services;

[0091] A determination unit 202 is used to determine target inspection information that conforms to a preset information format from the original inspection information, wherein the preset information format is a format corresponding to the race condition conflict, and the target inspection information is problem information of the race condition conflict;

[0092] The sending unit 203 is used to send the target inspection information to the client through the information reporting center service, so that the client displays the target inspection information.

[0093] In some embodiments, when the apparatus is used to determine the target inspection information conforming to a preset information format from the original inspection information, it is specifically used to:

[0094] The plurality of sub-information in the original inspection information is traversed, and the sub-information in the plurality of sub-information that conforms to a preset information format is determined as the target inspection information.

[0095] In some embodiments, when the device is used to send the target inspection information to the client through the information reporting center, it is specifically used to:

[0096] Obtaining an information shielding list served by the information reporting center, wherein the information shielding list includes a plurality of second hash values;

[0097] Hash serialization is performed on the target inspection information through an information reporting center service to obtain a first hash value;

[0098] comparing the first Hash value with a second Hash value in the information shielding list;

[0099] When the second hash value in the information shielding list does not match the target hash value identical to the first hash value, the first hash value and the target inspection information are used as new target inspection information, and the new target inspection information is sent to the client.

[0100] In some embodiments, when the first hash value is a hash value in the information shielding list, it indicates that there is no need to send the target inspection information to the client.

[0101] In some embodiments, the information shielding list further includes shielding time period information corresponding to a plurality of second hash values ​​one by one;

[0102] The device is specifically used for:

[0103] When a target hash value identical to the first hash value is matched in the second hash value in the information shielding list, obtaining shielding time period information corresponding to the target hash value;

[0104] The current moment is obtained. When the current moment is not in the shielding time period information corresponding to the target hash value, the first hash value and the target inspection information are used as new target inspection information, and the new target inspection information is sent to the client.

[0105] In some embodiments, the device is used to perform hash serialization on the target inspection information through the information reporting center service, and before obtaining the first hash value, the device is also used to:

[0106] receiving an information shielding request sent by the client, wherein the information shielding request includes a third hash value and shielding time period information, wherein the third hash value is a value obtained by hashing the inspection information to be shielded;

[0107] The third hash value and the shielding time period information are saved in the information shielding list.

[0108] In some embodiments, when the device is used to save the third hash value and the shielding time period information to the information shielding list, it is specifically used to:

[0109] Comparing the third Hash value with the second Hash value in the information shielding list;

[0110] When the second hash value in the information shielding list does not match the second hash value that is the same as the third hash value, saving the third hash value and the shielding time period information to the information shielding list;

[0111] When a second hash value identical to the third hash value is matched among the second hash values ​​in the information shielding list, the shielding time period information of the second hash value identical to the third hash value is updated according to the shielding time period information.

[0112] The technical solution provided by the present disclosure collects original inspection information about race conditions conflicts in business application services; determines target inspection information that conforms to a preset information format from the original inspection information, the preset information format is a format corresponding to the race condition conflict, and the target inspection information is the problem information of the race condition conflict; and sends the target inspection information to the client through an information reporting center service, so that the client displays the target inspection information. The technical solution provided by each embodiment of the present disclosure does not require manual selection of the problem information of the race condition conflict from the original inspection information, but sets the format corresponding to the race condition conflict, and then determines the target inspection information that conforms to the format corresponding to the race condition conflict from the original inspection information, and then sends the target inspection information to the client through an information reporting center service, so that the client displays the target inspection information, so that the user can quickly and easily view the target inspection information, which greatly saves time and improves the efficiency of viewing the problem information of the race condition conflict.

[0113] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, no further description is given here. Specifically, the device may perform the above method embodiment, and the above and other operations and / or functions of each module in the device are the corresponding processes in each method in the above method embodiment, respectively, and no further description is given here for the sake of brevity.

[0114] The above describes the device of the embodiment of the present disclosure from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present disclosure can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in conjunction with the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to execute, or a combination of hardware and software modules in the decoding processor to execute. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above method embodiment in conjunction with its hardware.

[0115] Figure 4 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure, and the electronic device may include:

[0116] The memory 301 and the processor 302, the memory 301 is used to store the computer program and transmit the program code to the processor 302. In other words, the processor 302 can call and run the computer program from the memory 301 to implement the method in the embodiment of the present disclosure.

[0117] For example, the processor 302 may be configured to execute the above method embodiments according to instructions in the computer program.

[0118] In some embodiments of the present disclosure, the processor 302 may include but is not limited to:

[0119] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0120] In some embodiments of the present disclosure, the memory 301 includes but is not limited to:

[0121] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).

[0122] In some embodiments of the present disclosure, the computer program may be divided into one or more modules, which are stored in the memory 301 and executed by the processor 302 to complete the method provided by the present disclosure. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0123] like Figure 4 As shown, the electronic device may also include:

[0124] The transceiver 303 may be connected to the processor 302 or the memory 301 .

[0125] The processor 302 may control the transceiver 303 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 303 may include a transmitter and a receiver. The transceiver 303 may further include an antenna, and the number of antennas may be one or more.

[0126] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0127] The present disclosure also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present disclosure embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.

[0128] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state disk (solid state disk, SSD)), etc.

[0129] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0130] In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0131] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present disclosure may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0132] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A data processing method, characterized in that: Applicable to a server cluster, the server cluster is deployed with business application services and information reporting center services, the method includes: Collect original inspection information about race conditions and conflicts in business application services; Determine target inspection information that complies with a preset information format from the original inspection information, wherein the preset information format is a format corresponding to the race condition conflict, and the target inspection information is problem information of the race condition conflict; The target inspection information is sent to the client through the information reporting center service, so that the client displays the target inspection information.

2. The method according to claim 1, characterized in that Determining target inspection information that conforms to a preset information format from the original inspection information includes: The plurality of sub-information in the original inspection information is traversed, and the sub-information in the plurality of sub-information that conforms to a preset information format is determined as the target inspection information.

3. The method according to claim 1, characterized in that: The step of sending the target inspection information to the client via an information reporting center includes: Obtaining an information shielding list served by the information reporting center, wherein the information shielding list includes a plurality of second hash values; Hash serialization is performed on the target inspection information through an information reporting center service to obtain a first hash value; comparing the first Hash value with a second Hash value in the information shielding list; When the second hash value in the information shielding list does not match the target hash value identical to the first hash value, the first hash value and the target inspection information are used as new target inspection information, and the new target inspection information is sent to the client.

4. The method according to claim 3, characterized in that When the first Hash value is a Hash value in the information shielding list, it indicates that there is no need to send the target inspection information to the client.

5. The method according to claim 3, characterized in that: The information shielding list also includes shielding time period information corresponding to the plurality of second hash values ​​one by one; the method further includes: When a target hash value identical to the first hash value is matched in the second hash value in the information shielding list, obtaining shielding time period information corresponding to the target hash value; The current moment is obtained. When the current moment is not in the shielding time period information corresponding to the target hash value, the first hash value and the target inspection information are used as new target inspection information, and the new target inspection information is sent to the client.

6. The method according to claim 5, characterized in that Before the target inspection information is hashed and serialized by the information reporting center service to obtain the first hash value, the method further includes: receiving an information shielding request sent by the client, wherein the information shielding request includes a third hash value and shielding time period information; the third hash value is a value obtained by hashing the inspection information to be shielded; The third hash value and the shielding time period information are saved in the information shielding list.

7. The method according to claim 6, characterized in that The step of saving the third hash value and the shielding time period information to the information shielding list includes: Comparing the third Hash value with the second Hash value in the information shielding list; When the second hash value in the information shielding list does not match the second hash value that is the same as the third hash value, saving the third hash value and the shielding time period information to the information shielding list; When a second hash value identical to the third hash value is matched among the second hash values ​​in the information shielding list, the shielding time period information of the second hash value identical to the third hash value is updated according to the shielding time period information.

8. A data processing device, characterized in that: Applicable to a server cluster, the server cluster is deployed with business application services and information reporting center services, the device includes: A collection unit, used to collect original inspection information about race conditions and conflicts in business application services; A determination unit, configured to determine target inspection information that complies with a preset information format from the original inspection information, wherein the preset information format is a format corresponding to the race condition conflict, and the target inspection information is problem information of the race condition conflict; The sending unit is used to send the target inspection information to the client through the information reporting center service, so that the client displays the target inspection information.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.