WO2020034532A1 - 数据采集方法、征信主体设备、计算机设备及存储介质 - Google Patents
数据采集方法、征信主体设备、计算机设备及存储介质 Download PDFInfo
- Publication number
- WO2020034532A1 WO2020034532A1 PCT/CN2018/122736 CN2018122736W WO2020034532A1 WO 2020034532 A1 WO2020034532 A1 WO 2020034532A1 CN 2018122736 W CN2018122736 W CN 2018122736W WO 2020034532 A1 WO2020034532 A1 WO 2020034532A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- credit information
- data collection
- data
- message
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/544—Remote
Definitions
- the present application belongs to the field of data processing, and more specifically, relates to a data collection method, a credit information main device, a computer device, and a storage medium.
- the reporting subject includes multiple subject products
- the subject product includes multiple product segments.
- the current credit information system uses a serial method to collect credit information. For example, in the collection of credit data of main products, the credit data of each main product is collected in sequence in a certain order. The total collection time is all Sum of main product collection time. With the increase of the complexity of the main product, the time taken to report the collection of the main body will be longer and longer. If the time taken to collect data from a certain report body is too long, the report main body will not be able to collect data on time, so that the credit report will be missed. At the same time, the efficiency of collecting credit data in a serial manner is relatively low, and the timeliness is not high.
- the embodiments of the present application provide a data collection method, a credit information main device, a computer device, and a storage medium to solve the problem of low efficiency of credit information collection.
- a data collection method is applied to a credit information subject device, the credit information subject device includes M main products, and the data collection method includes the following steps:
- the cyclic call instruction is used to call M data collection tasks, and the multi-threaded execution instruction is used to perform the M data collection tasks;
- the credit information is assembled into a message and returned to the collection center.
- a main body of credit information includes:
- a generation module configured to generate a multi-threaded execution instruction and a cyclic call instruction according to the timing trigger task, the cyclic call instruction is used to call M data collection tasks, and the multi-thread execution instruction is used to perform the M data collection task;
- a parallel operation module configured to run the M data collection tasks in parallel according to the multi-thread execution instruction and the loop call instruction to obtain credit data of M main products;
- a return module configured to assemble the credit information into a message and return the message to the collection center.
- a computer device includes a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor.
- the processor executes the computer-readable instructions, the following steps are implemented:
- the cyclic call instruction is used to call M data collection tasks, and the multi-threaded execution instruction is used to perform the M data collection tasks;
- the credit information is assembled into a message and returned to the collection center.
- One or more non-volatile readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the following steps:
- the cyclic call instruction is used to call M data collection tasks, and the multi-threaded execution instruction is used to perform the M data collection tasks;
- the credit information is assembled into a message and returned to the collection center.
- FIG. 1 is a schematic diagram of an application environment of a data collection method according to an embodiment of the present application
- FIG. 2 is a flowchart of a data collection method according to an embodiment of the present application.
- FIG. 3 is another flowchart of a data collection method according to an embodiment of the present application.
- FIG. 5 is a principle block diagram of a credit information main device according to an embodiment of the present application.
- FIG. 6 is a principle block diagram of a return module in a main body of credit information in an embodiment of the present application.
- FIG. 7 is a schematic diagram of a computer device according to an embodiment of the present application.
- the data collection method provided in this application can be applied to the main body of credit information as shown in FIG. 1.
- the main body of credit information includes M main products.
- the credit information subject device generates multi-threaded execution instructions and cyclic call instructions by periodically triggering tasks, and then runs M data collection tasks in parallel according to the multi-threaded execution instructions and cyclic call instructions to obtain the credit data of M main products.
- the credit information subject The device assembles the credit data into a message and returns it to the collection center.
- a data collection method is provided.
- the method is applied as an example to the main body of the credit information device shown in FIG. 1 and includes the following steps:
- the timing trigger task refers to a task that triggers the collection of credit data according to a preset collection time in the main body of the credit collection.
- the preset collection time can be, for example, 8:00 every day, and can be set according to actual conditions.
- This embodiment does not Be specific.
- the credit information main equipment is included in the credit information system. Since the credit information system includes N different credit information main equipments, the complexity of each credit information main equipment itself is different from the length of the credit data collection time. Therefore, each credit information subject device can set a different time to start collecting data.
- a scheduling framework may be used to set a timing trigger task.
- the scheduling framework can be Quartz. Quartz is an open source job scheduling framework written entirely in Java. By configuring trigger conditions, you can make it trigger a corresponding job to start work at a set time.
- the credit information system sets a timing trigger task through Quartz.
- the timing trigger task sends a trigger instruction to the credit information subject device, and when the trigger instruction is received, the credit information subject device obtains the timing trigger task.
- S20 Generate multi-threaded execution instructions and cyclic call instructions according to the timing trigger task.
- the cyclic call instructions are used to call M data collection tasks, and the multi-thread execution instructions are used to perform M data collection tasks.
- the data collection task refers to a task of collecting credit data of a main product by a credit information subject device. Since each credit information subject device includes M main products, the number of data collection tasks is also M. It should be understood that when the main equipment of the credit information is different, the number specifically represented by M may be different.
- a data collection task can be set to complete a data collection program.
- the multi-threaded execution instruction refers to an instruction used to create multiple threads in the main body of the credit information so that M data collection tasks are executed in parallel.
- the cyclic call instruction refers to an instruction for cyclically calling M data collection tasks in the main body of the credit reference device.
- the loop call instruction is generated through a loop call statement, and a thread-type method is used to generate a multi-threaded execution instruction.
- the loop calling statement is a for statement.
- the for statement is a loop statement in the java programming language. Its general format is for (expression for controlling variable initialization; conditional expression; incremental expression), which is repeatedly executed when the condition is satisfied.
- the data collection task is defined in the form of an array.
- a "ZED" array is used to represent one of the main products, and a for statement is used to call the data collection task defined by the array.
- the for statement satisfies "
- the calling condition of the "ZED" array is called
- the data collection task corresponding to the "ZED" array is called to collect the credit data of the main product of the "ZED" array.
- the for statement defines the conditions of the cyclic call, it can cyclically call all the predefined arrays, so as to achieve the cyclic call of M data collection tasks to collect the credit data of the corresponding M main products.
- the Thread class method is one of the methods for creating multiple threads in Java, including the start method, run method, sleep method, yield method, and join method, etc. to create and manage threads.
- the process of the start method is: start () is used to start a thread.
- start method is called, the system will start a new thread to execute the user-defined sub-task. In this process, the corresponding thread will be allocated needs resource of.
- the Thread class creates a thread accordingly, so that the credit data collection system allocates resources for this thread to execute the subtask.
- the Thread class can be used in combination to complete the operation of creating multiple threads.
- the loop calling instruction includes M task calling instructions, where the task calling instruction refers to an instruction to call a data collection task.
- step S30 may specifically include the following steps:
- the credit information main device includes M main products, accordingly, the credit information main device cyclically calls M data collection tasks corresponding to the M task call instructions through the M task call instructions.
- the task call instruction is to obtain the stored process code corresponding to the data collection task from the corresponding position of the database of the credit information system through the identification of the data collection task, thereby calling the stored process code of the data collection task to implement the credit data Of collection.
- the task call instruction calls the data collection task corresponding to the "ZED" array
- the stored data corresponding to the data collection task corresponding to the "ZED” array can be found according to the identification of the "ZED" array in the database of the credit information system first.
- Process code and call so as to collect the credit data of the main product corresponding to the "ZED" array.
- different data collection tasks can be called accordingly to collect the credit data of different main products.
- a multi-threaded execution instruction can be used to allocate system resources for each called data collection task, that is, whenever one of the M data collection tasks is called, the main device is credited
- a multi-threaded execution instruction is used to create a corresponding number of threads, so that the threads do not affect each other, so as to collect credit data in parallel.
- each data collection task of the M data collection tasks creates a corresponding number of threads
- the M data collection tasks are run simultaneously, that is, the M data collection tasks are called through a cyclic call instruction, and through multiple threads Executing instructions creates corresponding M threads, thereby allocating the corresponding system resources in the main credit device according to the number of M threads to run M data collection tasks at the same time, thereby achieving the purpose of collecting credit data in parallel for the M main products.
- a data collection task is called by a task calling instruction of a cyclic calling instruction, and a multi-threaded execution instruction is used to create a thread for the called data collection task and allocate system resources to achieve the purpose of collecting credit data in parallel.
- the collection efficiency of credit information has been improved.
- the collection center is connected to the credit information main equipment and is used to collect credit information.
- the credit information obtained by the credit information main equipment is finally returned to the collection center.
- step S40 may specifically include the following steps:
- the preset configuration file specifies an assembly format such as a character length, a data type, and a check code. It can be understood that the credit information obtained from the main product may include multiple fields, but some fields may not be necessary, and the order of the fields of each main product may be different. Therefore, in order to make the credit data more Order management, you can specify an assembly format through a preset configuration file, and then assemble it according to the assembly format.
- a preset configuration file is set in the credit information collection system, and the credit information subject device assembles the message of credit information by calling the preset configuration file. Accordingly, the preset configuration file specifies the report Text assembly format.
- the data segment refers to the content corresponding to the corresponding field in the credit data.
- the content of the field corresponding to the "name" field from the credit information is a data segment, which means that the name segment is extracted from the credit data.
- the credit information main device extracts a corresponding data segment from the credit information database according to an assembly format specified by the preset configuration file by calling a preset configuration file to form a message.
- the collection center is the center responsible for collecting credit information in the credit information collection system.
- the credit information main device extracts a corresponding data segment of each main product by calling a preset configuration file; then the data segments of each main product are stitched together to form a message of the credit main device; and finally, the assembled report The text returned to the collection center.
- the splicing may be performed in the order of completion of the data collection task, and the identification may be implemented between the data segments of adjacent main products by adding a logo. It is convenient for subsequent analysis and analysis of the assembled message.
- the credit information can be assembled into a message in the TXT file format as required, which facilitates the transmission, processing, and storage of the message.
- the credit information main device specifies an assembly format through a preset configuration file, and extracts data segments corresponding to the assembly format from the main product. Finally, the data segments extracted from all main products are assembled according to the assembly format. Form a message and return the message to the collection center, which can make the message format uniform and facilitate the management and analysis of credit data.
- the main product of the credit information main equipment can also include multiple product segments.
- the credit information main equipment is Ping An Inclusive Guarantee
- the main products are car dealer loans, life insurance loans, salary loans, landlord loans, Excellent housing loan, etc.
- the product segment is the basic data segment table that the main product needs to collect, such as the insurance contract information segment, the actual insurance liability information segment, the compensation profile information segment, and so on.
- the parallel collection of credit data is also performed through steps similar to steps S10-S40.
- the process is the same as the process of collecting credit data of the main product by the credit main device. This will not be repeated here.
- the main body of the credit reference device obtains a timing trigger task; and then generates a multi-thread execution instruction and a loop call instruction according to the timing trigger task, where the M data collection tasks are called by the loop call instruction and are executed by the multi-thread. Instructs the execution of M data collection tasks, so that the main credit device can run M data collection tasks in parallel to obtain the credit data of the M main products; finally, the main credit device assembles the credit data and sends the message back to the collection center.
- the cyclic call method is used to cyclically call multiple data collection tasks, and multiple data collection tasks are run in parallel through multi-threaded execution instructions to collect credit data, thereby improving the efficiency of credit data collection.
- the data collection method of this embodiment further includes:
- step S10 assembling the credit information into a message and returning it to the collection center includes: assembling the cleaned credit information into a message and returning it to the collection center.
- the credit data obtained by the credit information main equipment may have duplicate values, invalid values, missing values, etc., so the credit data needs to be cleaned to make the credit data more authentic and reliable.
- the cleaning condition is a condition for judging whether the data in the credit data meets the conditions of repeated values, invalid values, missing values, etc., and thus requires data cleaning.
- the credit information can be preset with some cleaning conditions for the characteristics of the credit data, and then the obtained credit data is judged. If the cleaning conditions are met, the credit data that meets the cleaning conditions are cleared to obtain the processing data. Credit information after cleaning. For example, you can remove duplicate values in a numerical manner. Among them, digitization refers to the format in which all data becomes numeric values. Because the underlying data has multiple data types, such as character, floating point, and object types, numeric values The transformation is to uniformly transform the data into numerical data by calling a conversion function, and then calculating the similarity between the data.
- the similarity between two data is greater than a preset threshold, it is identified as a duplicate field, that is, a cleaning condition, and then the duplicate The field (cleaning condition) is cleared to obtain the cleaned credit information, and finally the cleaned credit information is returned to the collection center.
- the credit information that meets the cleaning conditions is cleared, that is, the credit data is cleaned, so that the credit data is simplified, more authentic and reliable, and the transmission efficiency of credit data is also improved.
- a credit information subject device is provided, and the credit information subject device corresponds one-to-one with the data collection method in the above embodiment.
- the credit information main equipment includes an acquisition module 10, a generation module 20, a parallel operation module 30, and a return module 40.
- the detailed description of each function module is as follows:
- the obtaining module 10 is configured to obtain a timing trigger task.
- the generating module 20 is configured to generate a multi-threaded execution instruction and a cyclic call instruction according to the timing trigger task acquired by the acquisition module 10, the cyclic call instruction is used to call M data collection tasks, and the multi-threaded execution instruction is used to perform M data collection tasks.
- the parallel operation module 30 is configured to run the M data collection tasks in parallel according to the multi-threaded execution instruction and the loop call instruction generated by the generation module 20 to obtain the credit data of the M main products.
- the return module 40 is configured to assemble the credit information obtained by the parallel operation module 30 into a message and return the message to the collection center.
- the generating module 20 is further configured to generate a loop call instruction through a loop call statement when a timing trigger task is obtained, and generate a multi-threaded execution instruction by using a thread method.
- the loop calling instruction includes M task calling instructions
- the parallel running module 30 includes a calling unit, a creating unit, and a running unit.
- the calling unit is configured to cyclically call M data collection tasks corresponding to the M task calling instructions through the M task calling instructions.
- a creating unit is configured to create a number of threads by executing instructions in multiple threads whenever one of the M data collection tasks is called.
- the running unit is configured to run M data collection tasks when each data collection task of the M data collection tasks creates a corresponding number of threads.
- the return module 40 includes a determination unit 41, an acquisition unit 42, and a return unit 43.
- the determining unit 41 is configured to determine an assembly format of credit information according to a preset configuration file.
- the obtaining unit 42 is configured to obtain a data segment corresponding to the assembled format in the credit information.
- a return unit 43 is configured to assemble the data segments into a message according to an assembly format, and return the message to the collection center.
- the return module 40 is further configured to determine whether the credit information meets the preset cleaning conditions, and if yes, clear the credit information that meets the cleaning conditions.
- the return module 40 is also used to assemble the cleaned credit information into a message and return it to the collection center.
- Each module in the above credit information main device may be implemented in whole or in part by software, hardware, and a combination thereof.
- the above-mentioned modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor calls and performs the operations corresponding to the above modules.
- a computer device is provided.
- the computer device may be a server, and its internal structure diagram may be as shown in FIG. 7.
- the computer device includes a processor, a memory, a network interface, and a database connected through a system bus.
- the processor of the computer device is used to provide computing and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system, computer-readable instructions, and a database.
- the internal memory provides an environment for operating systems and computer-readable instructions in a non-volatile storage medium.
- the database of the computer equipment is used to store timing trigger tasks, multi-threaded execution instructions, cyclic call instructions, data collection tasks, and credit data.
- the network interface of the computer device is used to communicate with an external terminal through a network connection.
- the computer-readable instructions are executed by a processor to implement a data acquisition method.
- a computer device including a memory, a processor, and computer-readable instructions stored on the memory and executable on the processor.
- the processor executes the computer-readable instructions, the following steps are implemented:
- the loop call instructions are used to call M data collection tasks, and the multi-thread execution instructions are used to perform M data collection tasks;
- the credit information is assembled into a message and returned to the collection center.
- one or more non-volatile readable storage media storing computer-readable instructions are provided, and when the computer-readable instructions are executed by one or more processors, the one or more Each processor performs the following steps:
- the loop call instructions are used to call M data collection tasks, and the multi-thread execution instructions are used to perform M data collection tasks;
- the credit information is assembled into a message and returned to the collection center.
- Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
- Volatile memory can include random access memory (RAM) or external cache memory.
- RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDRSDRAM dual data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchronous chain Synchlink DRAM
- Rambus direct RAM
- DRAM direct memory bus dynamic RAM
- RDRAM memory bus dynamic RAM
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
Claims (20)
- 一种数据采集方法,其特征在于,应用于征信主体设备,所述征信主体设备包括M个主体产品,包括以下步骤:获取定时触发任务;根据所述定时触发任务生成多线程执行指令和循环调用指令,所述循环调用指令用于调用M个数据采集任务,所述多线程执行指令用于执行所述M个数据采集任务;根据所述多线程执行指令和所述循环调用指令并行运行所述M个数据采集任务,以获取所述M个主体产品的征信数据;将所述征信数据组装成报文返回至收集中心。
- 如权利要求1所述的数据采集方法,其特征在于,所述根据所述定时触发任务生成多线程执行指令和循环调用指令,包括:当获取到所述定时触发任务时,通过循环调用语句生成所述循环调用指令,并采用线程类方法生成所述多线程执行指令。
- 如权利要求2所述的数据采集方法,其特征在于,所述循环调用指令包括M个任务调用指令;所述根据所述多线程执行指令和所述循环调用指令并行运行所述M个数据采集任务,包括:通过所述M个任务调用指令循环调用与所述M个任务调用指令对应的所述M个数据采集任务;每当所述M个数据采集任务中的其中一个数据采集任务被调用时,通过所述多线程执行指令创建一线程数;当所述M个数据采集任务中的每一个数据采集任务均创建了一对应的线程数时,运行所述M个数据采集任务。
- 如权利要求3所述的数据采集方法,其特征在于,所述将所述征信数据 组装成报文返回至所述收集中心,包括:根据预设配置文件确定所述征信数据的组装格式;获取所述征信数据中与所述组装格式对应的数据段;将所述数据段按所述组装格式组装成报文,并将所述报文返回至所述收集中心。
- 如权利要求1-4任意一项所述的数据采集方法,其特征在于,在所述将所述征信数据组装成报文返回至所述收集中心的步骤之前,所述方法还包括:判断所述征信数据是否符合预设清洗条件,若是,则对符合所述清洗条件的所述征信数据进行清除;所述将所述征信数据组装成报文返回至所述收集中心,包括:将经过所述清洗的所述征信数据组装成报文返回至所述收集中心。
- 一种征信主体设备,其特征在于,包括:获取模块,用于获取定时触发任务;生成模块,用于根据所述获取模块获取的所述定时触发任务生成多线程执行指令和循环调用指令,所述循环调用指令用于调用M个数据采集任务,所述多线程执行指令用于执行所述M个数据采集任务;并行运行模块,用于根据所述生成模块生成的所述多线程执行指令和所述循环调用指令并行运行所述M个数据采集任务,以获取M个主体产品的征信数据;返回模块,用于将所述并行运行模块获取的所述征信数据组装成报文返回至收集中心。
- 如权利要求6所述的征信主体设备,其特征在于,所述生成模块还用于当获取到所述定时触发任务时,通过循环调用语句生成所述循环调用指令,并采用线程类方法生成所述多线程执行指令。
- 如权利要求7所述的征信主体设备,其特征在于,所述循环调用指令包括M个任务调用指令;所述并行运行模块包括调用单元、创建单元和运行单元;所述调用单元,用于通过所述M个任务调用指令循环调用与所述M个任务调用指令对应的所述M个数据采集任务;所述创建单元,用于每当所述M个数据采集任务中的其中一个数据采集任务被调用时,通过所述多线程执行指令创建一线程数;所述运行单元,用于当M个数据采集任务中的每一个数据采集任务均创建了一对应的线程数时,运行所述M个数据采集任务。
- 如权利要求8所述的征信主体设备,其特征在于,所述返回模块包括:确定单元、获取单元和返回单元;所述确定单元,用于根据预设配置文件确定所述征信数据的组装格式;所述获取单元,用于获取所述征信数据中与所述组装格式对应的数据段;所述返回单元,用于将所述数据段按所述组装格式组装成报文,并将所述报文返回至所述收集中心。
- 如权利要求6-9任一项所述的征信主体设备,其特征在于,所述返回模块还用于:判断所述征信数据是否符合预设清洗条件,若是,则对符合所述清洗条件的所述征信数据进行清除;将经过所述清洗的所述征信数据组装成报文返回至所述收集中心。
- 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:获取定时触发任务;根据所述定时触发任务生成多线程执行指令和循环调用指令,所述循环调用指令用于调用M个数据采集任务,所述多线程执行指令用于执行所述M个数据采集任务;根据所述多线程执行指令和所述循环调用指令并行运行所述M个数据采 集任务,以获取所述M个主体产品的征信数据;将所述征信数据组装成报文返回至收集中心。
- 如权利要求11所述的计算机设备,其特征在于,所述根据所述定时触发任务生成多线程执行指令和循环调用指令,包括:当获取到所述定时触发任务时,通过循环调用语句生成所述循环调用指令,并采用线程类方法生成所述多线程执行指令。
- 如权利要求12所述的计算机设备,其特征在于,所述循环调用指令包括M个任务调用指令;所述根据所述多线程执行指令和所述循环调用指令并行运行所述M个数据采集任务,包括:通过所述M个任务调用指令循环调用与所述M个任务调用指令对应的所述M个数据采集任务;每当所述M个数据采集任务中的其中一个数据采集任务被调用时,通过所述多线程执行指令创建一线程数;当所述M个数据采集任务中的每一个数据采集任务均创建了一对应的线程数时,运行所述M个数据采集任务。
- 如权利要求13所述的计算机设备,其特征在于,所述将所述征信数据组装成报文返回至所述收集中心,包括:根据预设配置文件确定所述征信数据的组装格式;获取所述征信数据中与所述组装格式对应的数据段;将所述数据段按所述组装格式组装成报文,并将所述报文返回至所述收集中心。
- 如权利要求11-14任一项所述的计算机设备,其特征在于,在所述将所述征信数据组装成报文返回至所述收集中心的步骤之前,所述处理器执行所述计算机可读指令时还实现如下步骤:判断所述征信数据是否符合预设清洗条件,若是,则对符合所述清洗条件 的所述征信数据进行清除;所述将所述征信数据组装成报文返回至所述收集中心,包括:将经过所述清洗的所述征信数据组装成报文返回至所述收集中心。
- 一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:获取定时触发任务;根据所述定时触发任务生成多线程执行指令和循环调用指令,所述循环调用指令用于调用M个数据采集任务,所述多线程执行指令用于执行所述M个数据采集任务;根据所述多线程执行指令和所述循环调用指令并行运行所述M个数据采集任务,以获取所述M个主体产品的征信数据;将所述征信数据组装成报文返回至收集中心。
- 如权利要求16所述的非易失性可读存储介质,其特征在于,所述根据所述定时触发任务生成多线程执行指令和循环调用指令,包括:当获取到所述定时触发任务时,通过循环调用语句生成所述循环调用指令,并采用线程类方法生成所述多线程执行指令。
- 如权利要求17所述的非易失性可读存储介质,其特征在于,所述循环调用指令包括M个任务调用指令;所述根据所述多线程执行指令和所述循环调用指令并行运行所述M个数据采集任务,包括:通过所述M个任务调用指令循环调用与所述M个任务调用指令对应的所述M个数据采集任务;每当所述M个数据采集任务中的其中一个数据采集任务被调用时,通过所述多线程执行指令创建一线程数;当所述M个数据采集任务中的每一个数据采集任务均创建了一对应的线 程数时,运行所述M个数据采集任务。
- 如权利要求18所述的非易失性可读存储介质,其特征在于,所述将所述征信数据组装成报文返回至所述收集中心,包括:根据预设配置文件确定所述征信数据的组装格式;获取所述征信数据中与所述组装格式对应的数据段;将所述数据段按所述组装格式组装成报文,并将所述报文返回至所述收集中心。
- 如权利要求16-19任一项所述的非易失性可读存储介质,其特征在于,在所述将所述征信数据组装成报文返回至所述收集中心的步骤之前,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:判断所述征信数据是否符合预设清洗条件,若是,则对符合所述清洗条件的所述征信数据进行清除;所述将所述征信数据组装成报文返回至所述收集中心,包括:将经过所述清洗的所述征信数据组装成报文返回至所述收集中心。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810935020.6 | 2018-08-16 | ||
| CN201810935020.6A CN109284194B (zh) | 2018-08-16 | 2018-08-16 | 数据采集方法、征信主体设备、计算机设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020034532A1 true WO2020034532A1 (zh) | 2020-02-20 |
Family
ID=65183100
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/122736 Ceased WO2020034532A1 (zh) | 2018-08-16 | 2018-12-21 | 数据采集方法、征信主体设备、计算机设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109284194B (zh) |
| WO (1) | WO2020034532A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114880099A (zh) * | 2022-05-23 | 2022-08-09 | 中国银行股份有限公司 | 一种数据采集方法及装置 |
| CN119704210A (zh) * | 2025-03-04 | 2025-03-28 | 北京通用人工智能研究院 | 数据采集方法和装置 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110084467B (zh) * | 2019-03-13 | 2023-07-14 | 中国平安财产保险股份有限公司 | 移动验标方法、装置、计算机设备及存储介质 |
| CN110147379B (zh) * | 2019-04-02 | 2023-06-30 | 平安科技(深圳)有限公司 | 基于数据锁的信息采集方法、装置、计算机设备 |
| CN110503544A (zh) * | 2019-07-05 | 2019-11-26 | 招联消费金融有限公司 | 征信数据报送方法、装置、系统、计算机设备和存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101719306A (zh) * | 2009-10-30 | 2010-06-02 | 深圳市科陆电子科技股份有限公司 | 并发式电量数据采集方法 |
| CN103188088A (zh) * | 2011-12-27 | 2013-07-03 | 北京新媒传信科技有限公司 | 设备信息采集系统及方法 |
| CN104111983A (zh) * | 2014-06-30 | 2014-10-22 | 中国科学院信息工程研究所 | 一种开放式的多源数据采集系统及方法 |
| CN104158699A (zh) * | 2014-08-08 | 2014-11-19 | 广州新科佳都科技有限公司 | 一种基于优先级和分段的数据采集方法 |
| CN106059792A (zh) * | 2016-05-13 | 2016-10-26 | 北京英诺威尔科技股份有限公司 | 一种低延迟的流量解析处理方法 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7657891B2 (en) * | 2005-02-04 | 2010-02-02 | Mips Technologies, Inc. | Multithreading microprocessor with optimized thread scheduler for increasing pipeline utilization efficiency |
| CN102446089A (zh) * | 2010-10-04 | 2012-05-09 | 王子影 | 一种地震前兆多仪器实时数据采集与波形浏览控件技术 |
| JP5218585B2 (ja) * | 2011-03-15 | 2013-06-26 | オムロン株式会社 | 制御装置およびシステムプログラム |
| CN102760086B (zh) * | 2012-07-06 | 2016-06-08 | 北京泛华恒兴科技有限公司 | 基于柔性测试技术的数据检测控制方法和装置 |
| CN104376063B (zh) * | 2014-11-11 | 2019-02-19 | 南京邮电大学 | 基于分类管理的多线程网络爬虫方法和信息实时更新系统 |
| CN107179942B (zh) * | 2017-05-16 | 2020-12-01 | 中国电子科技集团公司第四十一研究所 | 一种基于多线程的实时数据分析任务分发处理方法 |
-
2018
- 2018-08-16 CN CN201810935020.6A patent/CN109284194B/zh active Active
- 2018-12-21 WO PCT/CN2018/122736 patent/WO2020034532A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101719306A (zh) * | 2009-10-30 | 2010-06-02 | 深圳市科陆电子科技股份有限公司 | 并发式电量数据采集方法 |
| CN103188088A (zh) * | 2011-12-27 | 2013-07-03 | 北京新媒传信科技有限公司 | 设备信息采集系统及方法 |
| CN104111983A (zh) * | 2014-06-30 | 2014-10-22 | 中国科学院信息工程研究所 | 一种开放式的多源数据采集系统及方法 |
| CN104158699A (zh) * | 2014-08-08 | 2014-11-19 | 广州新科佳都科技有限公司 | 一种基于优先级和分段的数据采集方法 |
| CN106059792A (zh) * | 2016-05-13 | 2016-10-26 | 北京英诺威尔科技股份有限公司 | 一种低延迟的流量解析处理方法 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114880099A (zh) * | 2022-05-23 | 2022-08-09 | 中国银行股份有限公司 | 一种数据采集方法及装置 |
| CN119704210A (zh) * | 2025-03-04 | 2025-03-28 | 北京通用人工智能研究院 | 数据采集方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109284194A (zh) | 2019-01-29 |
| CN109284194B (zh) | 2024-05-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020034532A1 (zh) | 数据采集方法、征信主体设备、计算机设备及存储介质 | |
| CN110069572B (zh) | 基于大数据平台的hive任务调度方法、装置、设备及存储介质 | |
| US9904585B1 (en) | Error handling in executing workflow state machines | |
| CN110232087B (zh) | 大数据增量迭代方法、装置、计算机设备和存储介质 | |
| CN107016480B (zh) | 任务调度方法、装置及系统 | |
| US9766927B1 (en) | Data flow management in processing workflows | |
| CN109389299B (zh) | 工作流流程部署方法、装置、计算机设备和存储介质 | |
| CN104536819A (zh) | 基于web服务的任务调度方法 | |
| CN113656471B (zh) | 方案处理方法、装置、计算机设备和存储介质 | |
| US11327788B2 (en) | Methods for scheduling multiple batches of concurrent jobs | |
| CN104866378A (zh) | 一种协调执行任务的系统及方法 | |
| CN113377668A (zh) | 服务接口的自动化测试方法、装置和计算机设备 | |
| CN112748993A (zh) | 任务执行方法、装置、存储介质及电子设备 | |
| US8458136B2 (en) | Scheduling highly parallel jobs having global interdependencies | |
| CN108319538A (zh) | 大数据平台运行状态的监控方法和系统 | |
| CN118519750A (zh) | 任务处理方法、装置、计算机设备及存储介质 | |
| CN115481156A (zh) | 一种数据处理方法、装置、设备及介质 | |
| CN115480897A (zh) | 一种任务处理方法、装置、设备、存储介质及程序产品 | |
| CN115391009A (zh) | 一种批量业务的资源调度方法、系统、设备及存储介质 | |
| US10303558B2 (en) | Checkpointing higher order query operators | |
| CN105786626A (zh) | 基于K划分的Storm平台线程分配方法 | |
| CN113032118A (zh) | 用于计算机应用程序的异步操作处理方法和相应的系统 | |
| CN110245009B (zh) | 周期任务分配方法、装置、计算机设备和存储介质 | |
| CN111857984A (zh) | 银行系统中的作业调用处理方法、装置和计算机设备 | |
| CN116185869A (zh) | 一种软件测试方法、系统、计算机设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18930403 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18930403 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18930403 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18930403 Country of ref document: EP Kind code of ref document: A1 |