Information processing method and apparatus for data detection

CN110532023BActive Publication Date: 2026-10-27BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910773248.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-21
Publication Date
2026-10-27
Estimated Expiration
2039-08-21

AI Technical Summary

Technical Problem

[0004]本公开提供用于数据检测的信息处理方法及装置,以至少解决相关技术中在对多产品线进行管理时出现的代码重复开发,导致产品线不易扩展的问题

Benefits of technology

[0024]在本实施例中,服务器在接收到外部设备发送的数据获取请求以后,可以根据该数据获取请求获取目标应用程序的配置信息,然后可以根据该配置信息中的数据库配置信息检测数据库集合中是否存在与该数据库配置信息相匹配的目标特征数据库,若存在则读取目标特征数据库的数据,并将该目标特征数据库的数据以及目标应用程序的配置信息组成检测数据返回至外部设备,使得外部设备可以根据该检测数据对目标应用程序中的目标业务对象进行目标数据检测。这样外部设备无需针对目标应用程序开发新的检测代码,节省开发成本,提高了外部设备的检测效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110532023B_ABST
    Figure CN110532023B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an information processing method and device for data detection, which is applied to a server, and the method comprises: receiving a data acquisition request sent by an external device, the data acquisition request being used to request to acquire detection data; acquiring configuration information of a target application program, the configuration information comprising database configuration information used to determine a target feature database; detecting whether the target feature database matching the database configuration information exists in a database set; if the target feature database matching the database configuration information is detected to exist in the database set, reading data in the target feature database; composing the data in the target feature database and the configuration information of the target application program into detection data, and returning the detection data to the external device. In this way, the external device does not need to develop new detection code for the target application program, development cost is saved, and detection efficiency of the external device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing technology, and in particular to information processing methods and apparatus for data detection. Background Technology

[0002] With the development of technology and the continuous expansion of internet companies' business scale, the number of incubated products is increasing. Faced with an ever-growing product line, effective management of different product lines becomes particularly important.

[0003] For example, when performing sensitive word detection on different product lines, the basic technology is to have one sensitive word management system for each product line. If there are multiple products, the sensitive word management code needs to be copied and redeveloped for each product line. Clearly, this management approach is prone to duplication and is difficult to scale when new product lines emerge. Summary of the Invention

[0004] This disclosure provides an information processing method and apparatus for data detection, to at least solve the problem in related technologies where redundant code development occurs when managing multiple product lines, leading to difficulties in product line expansion. The technical solution of this disclosure is as follows:

[0005] According to a first aspect of the present disclosure, an information processing method for data detection is provided, the method being applied in a server, the information processing method for data detection comprising:

[0006] Receive a data acquisition request sent by an external device, the data acquisition request being used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application;

[0007] Obtain the configuration information of the target application, the configuration information including database configuration information for determining the target feature database;

[0008] The database set is used to detect whether there is a target feature database that matches the database configuration information. The database set contains at least one feature database, and each feature database stores data for target data detection for target business objects of at least one application.

[0009] If a target feature database matching the database configuration information is detected in the database set, then the data in the target feature database is read.

[0010] The detection data is composed of the data read from the target feature database and the configuration information of the target application, and the detection data is returned to the external device.

[0011] According to a second aspect of the present disclosure, an information processing apparatus for data detection is provided, the apparatus being applied in a server, the information processing apparatus for data detection comprising:

[0012] The data acquisition request receiving module is configured to receive a data acquisition request sent by an external device. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0013] The configuration information acquisition module is configured to acquire the configuration information of the target application, the configuration information including database configuration information for determining the target feature database;

[0014] The target feature database detection module is configured to detect whether there is a target feature database in the database set that matches the database configuration information, wherein the database set contains at least one feature database, and each feature database stores data for target data detection for target business objects of at least one application.

[0015] The database reading module is configured to read data from the target feature database if it detects that there is a target feature database in the database set that matches the database configuration information.

[0016] The detection data sending module is configured to combine the data read from the target feature database and the configuration information of the target application into detection data, and return the detection data to the external device.

[0017] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0018] processor;

[0019] Memory used to store the processor's executable instructions;

[0020] The processor is configured to execute the instructions to implement the method described above.

[0021] According to a fourth aspect of the present disclosure, a storage medium is provided such that, when instructions in the storage medium are executed by a processor of the device, the electronic device is able to perform the method described above.

[0022] According to a fifth aspect of the present disclosure, a computer program product is provided, including executable program code, wherein the program code implements the method described above when executed by the aforementioned apparatus.

[0023] The technical solutions provided by the embodiments of this disclosure bring at least the following beneficial effects:

[0024] In this embodiment, after receiving a data acquisition request from an external device, the server can obtain the configuration information of the target application based on the request. Then, it can check whether a target feature database matching the database configuration information exists in the database set. If it does, the server reads the data from the target feature database and combines it with the target application's configuration information to form detection data, which is then returned to the external device. This allows the external device to perform target data detection on the target business objects in the target application based on the detection data. This eliminates the need for the external device to develop new detection code for the target application, saving development costs and improving the detection efficiency of the external device.

[0025] Furthermore, since the feature database stores data used for target data detection of target business objects for at least one application, the data in the target feature database can be shared by at least one application through database configuration of the application. This avoids the waste of storage space caused by storing two identical databases, saves database management costs, and makes it easy to quickly configure the application when a new application appears, with strong scalability.

[0026] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0027] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0028] Figure 1 This is a flowchart illustrating an information processing method for data detection according to a first exemplary embodiment.

[0029] Figure 2 This is a flowchart illustrating an information processing method for data detection according to a second exemplary embodiment.

[0030] Figure 3 This is a flowchart illustrating an information processing method for data detection according to a third exemplary embodiment.

[0031] Figure 4 This is a flowchart illustrating an information processing method for data detection according to a fourth exemplary embodiment.

[0032] Figure 5 This is a flowchart illustrating an information processing method for data detection according to a fifth exemplary embodiment.

[0033] Figure 6 This is a flowchart illustrating an information processing method for data detection according to a sixth exemplary embodiment.

[0034] Figure 7 This is a flowchart illustrating an information processing method for data detection according to a seventh exemplary embodiment.

[0035] Figure 8 This is a block diagram of an information processing apparatus for data detection according to an exemplary embodiment.

[0036] Figure 9 This is a block diagram illustrating an apparatus for performing the above-described method embodiments according to an exemplary embodiment. Detailed Implementation

[0037] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0038] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0039] Figure 1 This is a flowchart illustrating an information processing method for data detection according to a first exemplary embodiment. This embodiment can be applied to a server and may include the following steps.

[0040] In step 101, a data acquisition request sent by an external device is received. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0041] In one example, the external device can be a device with target data detection capabilities. For instance, the external device can be a device with a third-party detection program installed, through which the external device can perform target data detection.

[0042] In this embodiment, when an external device wants to perform target data detection on a target application, it can request the server to obtain the detection data of the target application. This detection data is used to perform target data detection on the target business objects within the target application. For example, the target application may include a newly launched application, and the target business objects of the target application may include objects such as titles, subtitles, comments, or bullet comments. In one example, performing target data detection on the target business objects in the target application may include detecting whether there are sensitive words in the target application's title, subtitles, comments, or bullet comments.

[0043] When an external device needs to obtain the detection data of a target application, it can send a data acquisition request to the server in this embodiment to request the acquisition of the detection data. For example, the data acquisition request may include the identifier of the target application.

[0044] In step 102, the configuration information of the target application is obtained, including database configuration information for determining the target feature database.

[0045] In one implementation, when the server receives a data retrieval request from an external device, it can retrieve the target application's identifier from a pre-configured configuration database based on the identifier carried in the request, thereby obtaining the target application's configuration information. For example, the configuration database stores the binding relationship between the identifiers of each application and their configuration information.

[0046] For example, the configuration information of the target application may include database configuration information for determining the target feature database, which may be configuration information for reading the target feature database. In one example, the target feature database refers to a pre-generated database containing feature data, which can distinguish different categories of feature data according to their importance. For example, the feature database may include different categories of sensitive words such as dangerous categories and sensitive categories.

[0047] For example, assuming the target data detection scenario is sensitive word detection, the database configuration information maintained in the server can be associated with the application's identifier. The configuration database can then be shown in Table 1 below:

[0048]

[0049]

[0050] Table 1

[0051] In Table 1 above, the "Product Line" column records the identifiers of different products (i.e., different applications), which can be represented by the application's Chinese name, English name, or code (such as number, code, etc.); the "Thesaurus" column records the thesaurus identifiers configured for different products, i.e., database configuration information. For example, if the identifier of the target application is product A, then its corresponding database configuration information is thesaurus A.

[0052] In step 103, it is detected whether there is a target feature database in the database set that matches the database configuration information.

[0053] For example, the database collection includes at least one feature database, wherein each feature database stores data for target data detection of target business objects of at least one application. In other words, the data stored in each feature database can be provided to the target business objects of at least one application for detection, thereby realizing the reuse of feature databases and avoiding the repeated creation of feature databases for different applications.

[0054] In one implementation, the database configuration information may include an identifier for the target feature database. If a database corresponding to the identifier of the target feature database is detected in the database set, it can be determined that a target feature database matching the database configuration information has been detected in the database set. Otherwise, if no database corresponding to the identifier of the target feature database is detected in the database set, it is determined that no target feature database matching the database configuration information has been detected in the database set.

[0055] In step 104, if a target feature database matching the database configuration information is detected in the database set, then the data in the target feature database is read.

[0056] In this step, when it is determined that a target feature database matching the database configuration information exists in the database set, data in the target feature database can be read according to that database configuration information. For example, in Table 1 of the above example, for product A, data in the thesaurus A can be read according to the thesaurus identifier "Thesaurus A".

[0057] In this embodiment, the target feature database can be a database shared by the target application and other applications, thereby enabling the reuse of the target feature database. For example, in Table 1 above, product A and product C can share the A terminology database.

[0058] In step 105, the data read from the target feature database and the configuration information of the target application are combined to form detection data, and the detection data is returned to the external device.

[0059] In this step, after reading the data in the target feature database, the data in the target feature database and the configuration information of the target application can be combined to form detection data, and the detection data can be sent to an external device. The external device can then use the data in the target feature database to perform target data detection on the target business objects of the target application based on the configuration information of the target application.

[0060] It should be noted that the target business object can be a default business object or a business object pre-configured by the user; this embodiment does not limit this.

[0061] For example, in the example in Table 1 above, after reading the words from the A thesaurus, the words from the A thesaurus and the configuration information with the sequence number 1 can be combined to form detection data and sent to an external device. The external device can then perform sensitive word detection on the default target business object in product A based on the words from the A thesaurus.

[0062] In this embodiment, after receiving a data acquisition request from an external device, the server can obtain the configuration information of the target application based on the request. Then, it can check whether a target feature database matching the database configuration information exists in the database set. If it does, the server reads the data from the target feature database and combines it with the target application's configuration information to form detection data, which is then returned to the external device. This allows the external device to perform target data detection on the target business objects in the target application based on the detection data. This eliminates the need for the external device to develop new detection code for the target application, saving development costs and improving the detection efficiency of the external device.

[0063] Furthermore, since the feature database stores data used for target data detection of target business objects for at least one application, the data in the target feature database can be shared by at least one application through database configuration of the application. This avoids the waste of storage space caused by storing two identical databases, saves database management costs, and makes it easy to quickly configure the application when a new application appears, with strong scalability.

[0064] Figure 2 This is a flowchart illustrating an information processing method for data detection according to a second exemplary embodiment. This embodiment can be applied to a server and may include the following steps.

[0065] In step 201, a data acquisition request sent by an external device is received. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0066] In step 202, the configuration information of the target application is obtained. The configuration information includes database configuration information for determining the target feature database and configuration information of the target business object.

[0067] In one implementation, when the server receives a data retrieval request from an external device, it can retrieve the target application's identifier from a pre-configured configuration database based on the identifier carried in the request, thereby obtaining the target application's configuration information. For example, this configuration database stores the binding relationship between the identifiers of each application and their configuration information.

[0068] For example, the configuration information of the target application may include database configuration information and configuration information of the target business object. The database configuration information can be used to determine the target feature database; the configuration information of the target business object can be used to instruct external devices to use the data of the target database to perform target data detection on the target business object. For example, the target business object may include objects such as titles, subtitles, comments, or bullet comments.

[0069] For example, assuming the target data detection scenario is sensitive word detection, the database configuration information maintained in the server and the configuration information of the target business object can be associated with the application's identifier. The configuration database maintained in the server can be shown in Table 2 below:

[0070] 1 Product A title A dictionary 2 Product A subtitle A dictionary 3 Product B Comment B-lexicon 4 Product C subtitle A dictionary

[0071] Table 2

[0072] In Table 2 above, the "Product Line" column records the identifiers of different products (i.e., different applications); the "Business Object" column records the identifiers of different business objects that need to be detected by different products. These identifiers can include the Chinese name, English name, or code of the business object; the "Thesaurus" column records the thesaurus identifiers configured for different products, i.e., the thesaurus configuration information. For example, if the target application is identified as Product A, then the target business objects that Product A needs to detect are the title and subtitle. The database configuration information is Thesaurus A, meaning that Thesaurus A can be used to detect sensitive words in the title and subtitle of Product A.

[0073] In step 203, it is detected whether there is a target feature database in the database set that matches the database configuration information.

[0074] The database set includes at least one feature database, and each feature database stores data for target data detection of target business objects for at least one application.

[0075] In step 204, if a target feature database matching the database configuration information is detected in the database set, then the data in the target feature database is read.

[0076] In step 205, the data read from the target feature database and the configuration information of the target application are combined to form detection data, and the detection data is returned to the external device.

[0077] In this step, after reading the data from the target feature database, the data from the target feature database and the configuration information of the target application can be combined to form detection data. This detection data is then sent to an external device, which uses the data from the target feature database to perform target data detection on the target business objects configured in the target application, based on the configuration information of the target application.

[0078] For example, in the example in Table 2 above, after reading the words from dictionary A, the words from dictionary A, along with the configuration information numbered 1 and 2, can be combined to form detection data and sent to an external device. The external device can then perform sensitive word detection on the title and subtitles of product A based on the data from dictionary A.

[0079] In this embodiment, the configuration information of the target application may include database configuration information and target business object configuration information. The target application is configured and managed through three dimensions: target application, business object and database, which can meet the user's personalized configuration needs without having to detect business objects in a uniform default way, thus avoiding waste of detection and further improving detection efficiency.

[0080] Figure 3 This is a flowchart illustrating an information processing method for data detection according to a third exemplary embodiment. This embodiment can be applied to a server and may include the following steps.

[0081] In step 301, a data acquisition request sent by an external device is received. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0082] In step 302, the configuration information of the target application is obtained, including database configuration information, configuration information of the target business object, and operation information.

[0083] In one implementation, when the server receives a data retrieval request from an external device, it can retrieve the target application's identifier from a pre-configured configuration database based on the identifier carried in the request, thereby obtaining the target application's configuration information. For example, this configuration database stores the binding relationship between the identifiers of each application and their configuration information.

[0084] For example, the configuration information of the target application may include database configuration information, target business object configuration information, and operation information. The database configuration information can be used to determine the target feature database; the target business object configuration information is used to instruct the external device to perform target data detection on the target business object using data from the target database; the operation information is used to instruct the external device to perform the operation corresponding to the operation information on the target business object when it detects the presence of target data. For example, the operation corresponding to the operation information may include full masking, range masking, ignoring, etc.

[0085] For example, assuming the target data detection scenario is sensitive word detection, the configuration database maintained in the server can be shown in Table 3 below:

[0086] 1 Product A title A dictionary Range shielding 2 Product A subtitle A dictionary shield 3 Product B Comment B-lexicon shield 4 Product C subtitle A dictionary neglect

[0087] Table 3

[0088] In Table 3 above, the product line column is used to record the identifiers of different products (i.e., different applications), the business object column is used to record the different business objects that different products need to detect, the thesaurus column is used to record the thesaurus identifiers configured for different products, i.e., thesaurus configuration information, and the operation information column is used to record the operations on the business objects when sensitive words are hit.

[0089] For example, if the target application is identified as product A, then the target business objects that need to be detected for product A are the title and subtitle. The database configuration information is A thesaurus. If the title contains sensitive words that match A thesaurus, then the sensitive words in the title are blocked (i.e., range blocking in Table 3, rather than blocking the entire title); if the subtitle contains sensitive words that match A thesaurus, then the subtitle is blocked.

[0090] In step 303, it is detected whether there is a target feature database in the database set that matches the database configuration information.

[0091] The database set includes at least one feature database, and each feature database stores data for target data detection of target business objects for at least one application.

[0092] In step 304, if a target feature database matching the database configuration information is detected in the database set, then the data in the target feature database is read.

[0093] In step 305, the data read from the target feature database and the configuration information of the target application are combined to form detection data, and the detection data is returned to the external device.

[0094] In this step, after reading the data from the target feature database, the data from the target feature database and the configuration information of the target application can be combined to form detection data. This detection data is then sent to an external device, which uses the data from the target feature database to perform target data detection on the target business objects configured in the target application based on the configuration information of the target application. When target data is detected, the device performs the operation corresponding to the operation information on the target business object.

[0095] For example, in the example in Table 3 above, after reading the data from dictionary A, the data from dictionary A, along with the configuration information with serial numbers 1 and 2, can be combined to form detection data and sent to an external device. The external device can then perform sensitive word detection on the title and subtitles of product A based on the data from dictionary A. If the title of product A contains a sensitive word that matches the dictionary A, the sensitive word in the title will be blocked; if the subtitle of product A contains a sensitive word that matches the dictionary A, the subtitle will be blocked.

[0096] In this embodiment, the configuration information of the target application may include database configuration information, configuration information of the target business object, and operation information. By configuring the operation information, corresponding operations can be performed on the target business object containing target data, so as to perform corresponding personalized operations for different target business objects and meet the personalized needs of users.

[0097] Figure 4 This is a flowchart illustrating an information processing method for data detection according to a fourth exemplary embodiment. This embodiment can be applied to a server and may include the following steps.

[0098] In step 401, a data acquisition request sent by an external device is received. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0099] In step 402, the configuration information of the target application is obtained, including database configuration information for determining the target feature database.

[0100] In step 403, it is detected whether there is a target feature database in the database set that matches the database configuration information.

[0101] The database set includes at least one feature database, and each feature database stores data for target data detection of target business objects for at least one application.

[0102] In step 404, if a target feature database matching the database configuration information is detected in the database set, it is determined whether the database configuration information contains incremental information, wherein the incremental information is used to record modification information of data in the target feature database.

[0103] In this embodiment, when configuring the database, the user can also set incremental information for the database; that is, the database configuration information can also include incremental information. For example, this incremental information is used to record modifications to data in the target feature database.

[0104] Of course, in addition to configuration information, database configuration information can also include other information, such as the number of records in the target feature database.

[0105] In one example, the target feature database corresponding to the database configuration information containing incremental information can be called the parent feature database. The identifier of the target database obtained after modifying the data of the parent feature database according to the incremental information can be the same as or different from the identifier of the parent feature database. This is not limited here.

[0106] For example, assuming the target data detection scenario is sensitive word detection, the target feature database is a lexicon. In Table 4 below, record number 1 has no parent lexicon, so the target lexicon is identified as lexicon A; record number 2 has a parent lexicon A, so the target lexicon is identified as lexicon A. After modifying lexicon A according to the incremental information, the modified target lexicon can be called lexicon B; record number 3 has a parent lexicon B, so the target lexicon is identified as lexicon B. After modifying lexicon B according to the incremental information, the modified target lexicon can be called lexicon C.

[0107]

[0108]

[0109] Table 4

[0110] For example, based on Table 4, regarding serial number 2, assuming that dictionary B wants dictionary A but does not want the words AA and CC, and wants to add the word DD, then the configuration method for incremental information of dictionary A can be as shown in Table 5:

[0111] A dictionary AA Remove A dictionary CC Remove A dictionary DD Increase …… …… ……

[0112] Table 5

[0113] In step 405, if the database configuration information includes incremental information, the data in the target feature database is read, and the data in the target feature database is modified according to the incremental information.

[0114] In this embodiment, when reading the target database, the data in the target feature database can be read first (i.e., the data in the target feature database can be copied to share the data). After obtaining the data in the target feature database, the obtained data is incrementally updated according to the incremental information, so that the modified data in the target feature database is used as the data to be sent. Therefore, the above modification is a modification of the data in the copied target feature database, while the original data in the target feature database will not change. This allows different applications and different business objects to reuse the same feature database, but the data used by each other in the database is independent. Modification of the data in one application's database will not affect the feature database used by other applications.

[0115] For example, in the above example, according to the configuration record of serial number 2 in Table 4, the target dictionary is dictionary A. Then, the data of dictionary A can be read. Then, according to the record in Table 5, the two words AA and CC are removed from the data of dictionary A, and the word DD is added. Finally, the modified data of dictionary A is obtained, which is the data of dictionary B.

[0116] In step 406, the modified target feature database and the configuration information of the target application are combined to form detection data, and the detection data is returned to the external device.

[0117] In this embodiment, the database configuration information may also include incremental information. After reading the data from the target feature database, the read data can be modified according to the incremental information, thereby enabling the reuse of the target feature database without having to rebuild the target feature database. This avoids the waste of storage space caused by storing two databases and saves the generation and management costs of the feature database.

[0118] Figure 5 This is a flowchart illustrating an information processing method for data detection according to a fifth exemplary embodiment. This embodiment can be applied to a server and may include the following steps.

[0119] In step 501, a data acquisition request sent by an external device is received. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0120] In step 502, the identifier of the target application is determined; the identifier of the target application is searched from a preset configuration database to obtain the configuration information of the target application.

[0121] The configuration information of the target application is generated by capturing information input in the configuration page and stored in the configuration database. The configuration information includes database configuration information for determining the target feature database.

[0122] In one example, the configuration page can be a configuration page displayed on the client side. When a user (such as an operations and maintenance personnel) needs to configure the target application, they can trigger access to the configuration page on the client side. For example, the configuration page can be a page in a backend management system, which can be a web page, a tab page, etc. In another example, the configuration page may include pre-set application configuration template statements, business object configuration template statements, or feature database configuration template statements, etc.

[0123] Users can fill in configuration information on the configuration page. After the client captures the configuration information of the target application entered by the user, it can send the configuration information of the target application to the server. After receiving the configuration information, the server can store the configuration information and the identifier of the target application in the configuration database.

[0124] After storing the configuration information, a query interface can be provided so that users can view the configuration information. This query interface can be set on the server side or in conjunction with client interaction on the client side. This embodiment does not impose any restrictions on this.

[0125] After receiving a data acquisition request from an external device, the server can obtain the identifier of the target application from the data acquisition request, and then look up the identifier of the target application in the preset configuration database to obtain the configuration information of the target application.

[0126] In step 503, it is detected whether there is a target feature database in the database set that matches the database configuration information.

[0127] The database set includes at least one feature database, and each feature database stores data for target data detection of target business objects for at least one application.

[0128] In step 504, if a target feature database matching the database configuration information is detected in the database set, then the data in the target feature database is read.

[0129] In step 505, the data read from the target feature database and the configuration information of the target application are combined to form detection data, and the detection data is returned to the external device.

[0130] In this embodiment, the configuration information of the target application is generated by capturing the information input on the configuration page and stored in the configuration database. The target application to be detected is configured through the configuration page, reducing the technical requirements for configuration. Furthermore, configuring the target application in advance reduces the server's processing workload and improves the server's efficiency in responding to external devices based on the configuration information.

[0131] Figure 6 This is a flowchart illustrating an information processing method for data detection according to a sixth exemplary embodiment. This embodiment can be applied to a server. Figure 5 Based on the embodiment, step 506 may also be included after step 501.

[0132] In step 506, an editing instruction is received, which instructs the user to edit the configuration information of the target application.

[0133] In step 507, in response to the edit instruction, the configuration information of the target application in the configuration database is edited.

[0134] In one example, after configuring the target application, the user can also edit the target application's configuration information. For instance, the user can trigger the edit function on the configuration page to enter changes corresponding to the target application. After detecting that the edit function has been triggered, the client generates an edit command based on the target application's identifier and the corresponding changes, and sends the edit command to the server.

[0135] After receiving the edit command, the server parses out the identifier of the target application and the corresponding edit content, searches the configuration database based on the identifier of the target application to obtain the configuration information of the target application, and modifies the configuration information of the target application accordingly according to the edit command.

[0136] As an example, editing instructions may include at least one of the following: modification instructions for modifying part or all of the configuration information of the target application; and deletion instructions for deleting the configuration information of the target application.

[0137] For example, the modification instruction may include modifying the identifier of the target business object, modifying the identifier of the target feature database used, and modifying the corresponding operation information.

[0138] In this embodiment, the configuration information of the target application is modified by modifying the instruction, so as to realize the dynamic management and timely update of the configuration information of the target application, thereby ensuring that the configuration information sent to the external device is up-to-date.

[0139] In addition, this embodiment uses a deletion command to delete the configuration information of the target application, and promptly deletes unnecessary configuration information to achieve dynamic management of the target application, thereby saving storage space in the configuration database.

[0140] Figure 7 This is a flowchart illustrating an information processing method for data detection according to an eighth exemplary embodiment. This embodiment can be applied to a server and may include the following steps.

[0141] In step 601, a data acquisition request sent by an external device is received. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0142] In step 602, the configuration information of the target application is obtained, including database configuration information for determining the target feature database.

[0143] In step 603, it is detected whether there is a target feature database in the database set that matches the database configuration information.

[0144] The database set includes at least one feature database, and each feature database stores data for target data detection of target business objects for at least one application.

[0145] In step 604, if a target feature database matching the database configuration information is detected in the database set, then the data in the target feature database is read.

[0146] In step 605, the data read from the target feature database and the configuration information of the target application are combined to form detection data.

[0147] In step 606, the identifier of the target application is obtained, an encryption key is generated based on the identifier of the target application, and the detection data is encrypted using the encryption key and then sent to the external device.

[0148] In this embodiment, an encryption key can be generated using a preset key generation algorithm based on the identifier of the target application. In other embodiments, the encryption key can also be a randomly generated key, as long as the encryption keys of different applications are different.

[0149] After generating the encryption key, it can be displayed in the client interface to notify the user of the encryption key.

[0150] After obtaining the encryption key, the detection data can be encrypted using the encryption key and then sent to an external device. The external device can also use the same key generation algorithm to generate a decryption key for decrypting the detection data.

[0151] It should be noted that the encryption key can be generated in real time when sending detection data, or it can be generated when receiving configuration information from the target application, and the encryption key is stored in association with the configuration information.

[0152] For example, the encryption key and the target application's configuration information can be stored together as follows:

[0153]

[0154] In this embodiment, the detection data is encrypted with an encryption key before being sent to an external device, which can improve the security of data transmission. Furthermore, the encryption key is generated based on the identifier of the target application, which increases the difficulty for other devices to crack the encryption key and ensures that the data is transmitted securely.

[0155] Figure 8 This is a block diagram of an information processing apparatus for data detection according to an exemplary embodiment. (Refer to...) Figure 9 The device includes a data acquisition request receiving module 701, a configuration information acquisition module 702, a target feature database detection module 703, a database reading module 704, and a detection data sending module 705.

[0156] The data acquisition request receiving module 701 is configured to receive a data acquisition request sent by an external device. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application.

[0157] The configuration information acquisition module 702 is configured to acquire the configuration information of the target application, the configuration information including database configuration information for determining the target feature database;

[0158] The target feature database detection module 703 is configured to detect whether there is a target feature database in the database set that matches the database configuration information, wherein the database set contains at least one feature database, and each feature database stores data for target data detection for target business objects of at least one application.

[0159] The database reading module 704 is configured to read data from the target feature database if it detects that there is a target feature database in the database set that matches the database configuration information.

[0160] The detection data sending module 705 is configured to combine the data read from the target feature database and the configuration information of the target application into detection data, and return the detection data to the external device.

[0161] In one possible implementation of this disclosure, the database configuration information includes an identifier of the target feature database;

[0162] The target feature database detection module 703 is specifically configured as follows:

[0163] If a database corresponding to the identifier of the target feature database is detected in the database set, it is determined that a target feature database matching the database configuration information is detected in the database set.

[0164] If no database corresponding to the identifier of the target feature database is detected in the database set, it is determined that no target feature database matching the database configuration information is detected in the database set.

[0165] In one possible implementation of this disclosure, the database reading module 704 is specifically configured as follows:

[0166] Determine whether the database configuration information contains incremental information, wherein the incremental information is used to record modification information of data in the target feature database;

[0167] If the database configuration information includes incremental information, the data in the target feature database is read, and the data in the target feature database is modified according to the incremental information.

[0168] In one possible implementation of this disclosure, the configuration information of the target application further includes configuration information and / or operation information of the target business object. The configuration information of the target business object is used to instruct the external device to perform target data detection on the target business object using data from the target database. The operation information is used to instruct the external device to perform an operation corresponding to the operation information on the target business object when it detects the existence of the target data.

[0169] In one possible implementation of this disclosure, the configuration information acquisition module 702 is specifically configured as follows:

[0170] Determine the identifier of the target application;

[0171] The identifier of the target application is retrieved from the preset configuration database to obtain the configuration information of the target application, wherein the configuration information of the target application is generated by capturing the information entered in the configuration page and stored in the configuration database.

[0172] In one possible embodiment of this disclosure, the information processing apparatus for data detection further includes:

[0173] An editing module is configured to receive editing instructions, which instruct the editing of configuration information of the target application; and in response to the editing instructions, to edit the configuration information of the target application in the configuration database.

[0174] In one possible implementation of this disclosure, the editing instructions include at least one of the following:

[0175] Modification instructions for modifying part or all of the configuration information of the target application;

[0176] A deletion command used to delete the configuration information of the target application.

[0177] In one possible implementation of this disclosure, the detection data sending module 705 is specifically configured as follows:

[0178] Obtain the identifier of the target application and generate an encryption key based on the identifier of the target application;

[0179] The detection data is encrypted using the encryption key and then sent to the external device.

[0180] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0181] Figure 9 This is a block diagram illustrating an apparatus for performing the above-described method embodiments according to an exemplary embodiment.

[0182] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, which can be executed by the processor of the device to perform the above-described tasks. Figures 1-7 The method embodiments are described below. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.

[0183] This disclosure also provides an electronic device, including: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to achieve the above-described... Figures 1-7 The method of the embodiment.

[0184] This disclosure also provides a storage medium that, when the instructions in the storage medium are executed by the processor of the device, enables the device to perform the above-described actions. Figures 1-7 The method of the embodiment.

[0185] This disclosure also provides a computer program product, including executable program code, wherein the program code, when executed by the aforementioned device, implements according to... Figures 1-7 The method of the embodiment.

[0186] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0187] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. An information processing method for data detection, characterized in that, The method is applied to a server, and the information processing method for data detection includes: Receive a data acquisition request sent by an external device, the data acquisition request being used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application; The system receives an editing instruction, which instructs the editing of the configuration information of the target application; in response to the editing instruction, it edits the configuration information of the target application in the configuration database; the editing instruction includes at least one of the following: a modification instruction for modifying part or all of the configuration information of the target application; a deletion instruction for deleting the configuration information of the target application. The configuration information of the target application is obtained, including database configuration information for determining the target feature database; the configuration information of the target application also includes configuration information and / or operation information of the target business object, wherein the configuration information of the target business object is used to instruct the external device to perform target data detection on the target business object using data from the target database; the operation information is used to instruct the external device to perform an operation corresponding to the operation information on the target business object when the target data is detected to exist in the target business object; The database set is used to detect whether there is a target feature database that matches the database configuration information. The database set contains at least one feature database, and each feature database stores data for target data detection for target business objects of at least one application. If a target feature database matching the database configuration information is detected in the database set, then the data in the target feature database is read. The data read from the target feature database and the configuration information of the target application are combined to form detection data, and the detection data is returned to the external device. The step of reading data from the target feature database includes: Determine whether the database configuration information contains incremental information, wherein the incremental information is used to record modification information of data in the target feature database; If the database configuration information includes incremental information, the data in the target feature database is read, and the data in the target feature database is modified according to the incremental information.

2. The information processing method for data detection according to claim 1, characterized in that, The database configuration information includes the identifier of the target feature database; The presence of a target feature database matching the database configuration information in the detection database set includes: If a database corresponding to the identifier of the target feature database is detected in the database set, it is determined that a target feature database matching the database configuration information is detected in the database set. If no database corresponding to the identifier of the target feature database is detected in the database set, it is determined that no target feature database matching the database configuration information is detected in the database set.

3. The information processing method for data detection according to claim 1 or 2, characterized in that, The process of obtaining the configuration information of the target application includes: Determine the identifier of the target application; The identifier of the target application is retrieved from the preset configuration database to obtain the configuration information of the target application, wherein the configuration information of the target application is generated by capturing the information entered in the configuration page and stored in the configuration database.

4. The information processing method for data detection according to claim 1, characterized in that, The step of returning the detection data to the external device includes: Obtain the identifier of the target application and generate an encryption key based on the identifier of the target application; The detection data is encrypted using the encryption key and then sent to the external device.

5. An information processing device for data detection, characterized in that, The device is used in a server, and the information processing device for data detection includes: The data acquisition request receiving module is configured to receive a data acquisition request sent by an external device. The data acquisition request is used to request the acquisition of detection data, wherein the detection data is used to perform target data detection on target business objects in the target application. An editing module is configured to receive an editing instruction, the editing instruction being used to instruct the editing of configuration information of the target application; and in response to the editing instruction, to edit the configuration information of the target application in a configuration database; the editing instruction includes at least one of the following: a modification instruction for modifying part or all of the configuration information of the target application; or a deletion instruction for deleting the configuration information of the target application. The configuration information acquisition module is configured to acquire configuration information of the target application, the configuration information including database configuration information for determining the target feature database; the configuration information of the target application also includes configuration information and / or operation information of the target business object, the configuration information of the target business object being used to instruct the external device to perform target data detection on the target business object using data from the target database; the operation information being used to instruct the external device to perform an operation corresponding to the operation information on the target business object when the target data is detected to exist in the target business object; The target feature database detection module is configured to detect whether there is a target feature database in the database set that matches the database configuration information, wherein the database set contains at least one feature database, and each feature database stores data for target data detection for target business objects of at least one application. The database reading module is configured to read data from the target feature database if it detects that there is a target feature database in the database set that matches the database configuration information. The detection data sending module is configured to combine the data read from the target feature database and the configuration information of the target application into detection data, and return the detection data to the external device; Specifically, the database reading module is configured as follows: Determine whether the database configuration information contains incremental information, wherein the incremental information is used to record modification information of data in the target feature database; If the database configuration information includes incremental information, the data in the target feature database is read, and the data in the target feature database is modified according to the incremental information.

6. The information processing apparatus for data detection according to claim 5, characterized in that, The database configuration information includes the identifier of the target feature database; The target feature database detection module is specifically configured as follows: If a database corresponding to the identifier of the target feature database is detected in the database set, it is determined that a target feature database matching the database configuration information is detected in the database set. If no database corresponding to the identifier of the target feature database is detected in the database set, it is determined that no target feature database matching the database configuration information is detected in the database set.

7. The information processing apparatus for data detection according to claim 5 or 6, characterized in that, The configuration information acquisition module is specifically configured as follows: Determine the identifier of the target application; The identifier of the target application is retrieved from the preset configuration database to obtain the configuration information of the target application, wherein the configuration information of the target application is generated by capturing the information entered in the configuration page and stored in the configuration database.

8. The information processing apparatus for data detection according to claim 5, characterized in that, The detection data sending module is specifically configured as follows: Obtain the identifier of the target application and generate an encryption key based on the identifier of the target application; The detection data is encrypted using the encryption key and then sent to the external device.

9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 1-4.

10. A storage medium, wherein instructions in the storage medium, when executed by a processor of the device, enable an electronic device to perform the method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Database verification method and device, computer device, and storage medium

    CN109032824A