CN116151607A - Data processing method, apparatus, device, storage medium and computer program product - Google Patents

Data processing method, apparatus, device, storage medium and computer program product Download PDF

Info

Publication number
CN116151607A
CN116151607A CN202211214941.6A CN202211214941A CN116151607A CN 116151607 A CN116151607 A CN 116151607A CN 202211214941 A CN202211214941 A CN 202211214941A CN 116151607 A CN116151607 A CN 116151607A
Authority
CN
China
Prior art keywords
enterprises
main body
external investment
enterprise
information acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211214941.6A
Other languages
Chinese (zh)
Inventor
赖光源
赖显鑫
林丹旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202211214941.6A priority Critical patent/CN116151607A/en
Publication of CN116151607A publication Critical patent/CN116151607A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a data processing method, a data processing device, a data processing equipment, a storage medium and a computer program product. The invention relates to the technical field of big data. The method comprises the following steps: acquiring asset-related information of a plurality of enterprises; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises; grading a plurality of enterprises according to the number of the external investment enterprises by the first main body to obtain a plurality of grades; for at least one enterprise in each level, sorting the number of external investment enterprises and the number of enterprise equity according to the second main body; and executing information acquisition tasks on the sorted enterprises in batches to obtain risk information corresponding to the enterprises. According to the technical scheme, the method and the device for classifying the enterprises can achieve the technical effects that the enterprises are classified and ordered, the enterprise risk information is obtained in batches through the classified and ordered, the efficiency of the information obtaining task is improved, and the task time is shortened.

Description

Data processing method, apparatus, device, storage medium and computer program product
Technical Field
Embodiments of the present invention relate to the field of internet technologies, and in particular, to a data processing method, apparatus, device, storage medium, and computer program product.
Background
The report file is slowly generated in batches by the easily-checked platform, and the problems of interrupted generation task, slow file generation and the like are easily caused by uneven resource allocation in the generation process. The prior art has no reasonable allocation to crawler resources, enterprises are used as dimensions when tasks are established, granularity is too small, and therefore, a user needs to log in again to acquire websites when the acquisition tasks are executed each time, and resource waste is caused.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a device, equipment, a storage medium and a computer program product, which are used for carrying out hierarchical sequencing processing on enterprises and acquiring enterprise risk information in batches through the hierarchical sequencing, so that the efficiency of information acquisition tasks is improved, and the task time is shortened.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
acquiring asset-related information of a plurality of enterprises; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises;
grading a plurality of enterprises according to the number of the external investment enterprises by the first main body to obtain a plurality of grades; wherein each level includes at least one enterprise therein;
for at least one enterprise in each level, sorting the number of external investment enterprises and the number of enterprise equity according to the second main body;
and executing information acquisition tasks on the sorted enterprises in batches to obtain risk information corresponding to the enterprises.
Optionally, acquiring asset-related information of a plurality of enterprises includes:
acquiring a first main body external investment map and a second main body external investment map which correspond to each enterprise respectively;
determining the number of first-subject external investment enterprises based on the first-subject external investment map;
and determining the number of the second main body external investment enterprises based on the second main body external investment map.
Optionally, grading the multiple enterprises according to the number of the first main body external investment enterprises to obtain multiple grades, including:
acquiring the corresponding relation between the quantity range and the grade of the external investment enterprises of the first main body;
and dividing the enterprises into corresponding grades according to the range of the first main body on which the number of the external investment enterprises is located.
Optionally, for at least one enterprise in each level, sorting the external investment enterprise number and the enterprise share right number according to the second main body includes:
the second main body performs reverse order sequencing on at least one enterprise in the same level according to the number of external investment enterprises;
and if at least two enterprises with the same external investment enterprises exist in the second main body, sequencing the at least two enterprises in a reverse order according to the enterprise equity number.
Optionally, performing the information obtaining task in batches on the plurality of ordered enterprises includes:
and executing information acquisition tasks on the plurality of ordered enterprises in batches according to a set grade order, wherein the set grade order is the order from high to low or the order from low to high.
Optionally, executing the information acquisition task in batches for the plurality of ordered enterprises according to the set level sequence includes:
determining the batch number according to the information of the current grade;
dividing the enterprises in the current grade into batches based on the batch quantity to obtain a plurality of batch enterprises;
and executing information acquisition tasks on the plurality of batches of enterprises in batches to obtain risk information corresponding to the current grade.
Optionally, performing the information obtaining task in batches on the plurality of batches includes:
after the information acquisition task corresponding to the current batch of enterprises is executed, the information acquisition task is executed for the next batch of enterprises.
Optionally, performing the information obtaining task in batches for the plurality of batch enterprises includes:
creating a plurality of information acquisition tasks;
and executing the information acquisition tasks in parallel to acquire risk information of a plurality of batches of enterprises in parallel.
Optionally, performing the information obtaining task in batches for the plurality of batch enterprises includes:
for each information acquisition task, executing the information acquisition task for the enterprises in the current batch in a multithreading mode; wherein each thread corresponds to a subtask.
Optionally, if all the subtasks corresponding to the information acquisition tasks corresponding to the current batch enterprises are executed, executing the information acquisition tasks corresponding to the current batch enterprises is completed.
In a second aspect, an embodiment of the present invention further provides a data processing apparatus, including:
the asset information acquisition module is used for acquiring asset related information of a plurality of enterprises; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises;
the enterprise grading module is used for grading a plurality of enterprises according to the number of the first main body external investment enterprises to obtain a plurality of grades; wherein each level includes at least one enterprise therein;
the quantity sequencing module is used for sequencing the quantity of the external investment enterprises and the number of the enterprise equity according to the second main body for at least one enterprise in each grade;
and the task execution module is used for executing information acquisition tasks on the plurality of ordered enterprises in batches to obtain risk information corresponding to the plurality of enterprises.
Optionally, the asset information obtaining module is configured to obtain a first main body external investment map and a second main body external investment map corresponding to each enterprise respectively;
determining the number of first-subject external investment enterprises based on the first-subject external investment map;
and determining the number of the second main body external investment enterprises based on the second main body external investment map.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements a data processing method according to any one of the embodiments of the present invention when the processor executes the program.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data processing method according to any of the embodiments of the present invention.
In a fifth aspect, embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements a data processing method according to any of the embodiments of the present invention.
In the embodiment of the invention, the asset related information of a plurality of enterprises is obtained; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises; grading a plurality of enterprises according to the number of the external investment enterprises by the first main body to obtain a plurality of grades; wherein each level includes at least one enterprise therein; for at least one enterprise in each level, sorting the number of external investment enterprises and the number of enterprise equity according to the second main body; and executing information acquisition tasks on the sorted enterprises in batches to obtain risk information corresponding to the enterprises. According to the technical scheme, the method and the device for classifying the enterprises can achieve the technical effects that the enterprises are classified and ordered, the enterprise risk information is obtained in batches through the classified and ordered, the efficiency of the information obtaining task is improved, and the task time is shortened.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a data processing method provided according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance. The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention, where the method may be performed by a data processing device, where the data processing device may be implemented in hardware and/or software, and the data processing device may be configured in an electronic device with data processing capabilities. As shown in fig. 1, the method includes:
s110, acquiring asset-related information of a plurality of enterprises.
Wherein an enterprise may comprise a plurality of enterprises. The asset-related information includes an enterprise equity number, a first subject external investment enterprise number, and a second subject external investment enterprise number. The number of corporate equity may be understood as the number of owning corporate equity, i.e. the number of corporate stakeholders. The first body may be an enterprise. The first body's number of external investment enterprises may be understood as the number of external investment enterprises. The second principal may be a corporate legal. The second body's external investment enterprise number may be understood as the enterprise legal external investment enterprise number. External investments may also be understood as funds injected into other businesses, and the number of businesses that invest externally may include the number of businesses that invest directly or indirectly.
In this embodiment, the number of the enterprise equity of a plurality of enterprises, the number of the first main body external investment enterprises, and the number of the second main body external investment enterprises may be obtained.
In this embodiment, optionally, acquiring asset related information of a plurality of enterprises includes: acquiring a first main body external investment map and a second main body external investment map which correspond to each enterprise respectively; determining the number of first-subject external investment enterprises based on the first-subject external investment map; and determining the number of the second main body external investment enterprises based on the second main body external investment map.
The first main body external investment map may include a map of relationship between the number of enterprises directly invested externally and the number of enterprises indirectly invested externally by the first main body. The second subject external investment profile may include a profile of a relationship between a number of businesses directly external invested by the second subject and a number of businesses indirectly external invested by the second subject. By way of example, the current body invests the a-business and the a-business invests the B-business, and then both the a-business and the B-business belong to the current body's amount of external investment business.
In this embodiment, a first main body external investment pattern and a second main body external investment pattern corresponding to each enterprise respectively may be obtained, and then the number of the first main body external investment enterprises may be determined based on the first main body external investment pattern; and determining the number of the second main body external investment enterprises based on the second main body external investment map.
Through the arrangement, the corresponding enterprise quantity of the external investment can be determined according to the map information corresponding to the main body, so that subsequent operations such as grading and the like can be conveniently performed according to the enterprise quantity.
And S120, grading a plurality of enterprises according to the number of the external investment enterprises by the first main body to obtain a plurality of grades.
Wherein each level may include at least one business therein. Multiple enterprises may also be included in each level. The first topic outer investment amount may be an enterprise outer investment amount. The ranking may be understood as being divided into different ranks, for example ranks 1, 2, 3, 4 and 5. The hierarchy may be a hierarchy of a plurality of enterprises based on the amount of external investment by the enterprises; the hierarchy may be divided into a plurality of classes. The specific division modes can be divided into different grades according to different investment amounts, and can be set according to actual demands.
In this embodiment, the plurality of enterprises may be classified according to the number of external investment enterprises by the first main body, so as to obtain a plurality of grades.
In this embodiment, optionally, grading the multiple enterprises according to the number of the first main body external investment enterprises to obtain multiple grades includes: acquiring the corresponding relation between the quantity range and the grade of the external investment enterprises of the first main body; and dividing the enterprises into corresponding grades according to the range of the first main body on which the number of the external investment enterprises is located.
The first body external investment enterprise quantity range may be a preset first body external investment enterprise quantity range. The corresponding relationship may be a relationship between the first body and the specific level and may be preset. Illustratively, the level corresponding to the range of the external investment amount less than 500 may be 1 level, the level corresponding to the range of the external investment amount 500 to 1000 may be 2 level, the level corresponding to the range of the external investment amount 1000 to 2000 may be 3 level, the level corresponding to the range of the external investment 2000 to 5000 may be 4 level, the level corresponding to the range of the external investment amount above 5000 may be 5 level, etc., and may be set according to actual demands. In this embodiment, a set correspondence may be set, and each enterprise is classified into a corresponding class according to a range where the first main body invests the number of enterprises to the outside.
In this embodiment, the corresponding relationship between the number range of the first main body external investment enterprises and the grades may be obtained, and each enterprise may be classified into the corresponding grade according to the range of the number of the first main body external investment enterprises. Through the arrangement, the plurality of enterprises can be classified into different grades according to the different amounts of the first main body external investment enterprises, and operations such as sequencing batch and the like are facilitated.
S130, for at least one enterprise in each level, sorting the number of external investment enterprises and the number of the enterprise equity according to the second main body.
Wherein each level may contain multiple enterprises. In this embodiment, at least one enterprise in each level may be ranked according to the number of external investment enterprises and the number of enterprise stakeholders by the second body, that is, the number of external investment enterprises and the number of enterprise stakeholders by the corporate legal person.
In this embodiment, optionally, for at least one enterprise in each level, sorting the external investment enterprise number and the enterprise share right number according to the second body includes: the second main body performs reverse order sequencing on at least one enterprise in the same level according to the number of external investment enterprises; and if at least two enterprises with the same external investment enterprises exist in the second main body, sequencing the at least two enterprises in a reverse order according to the enterprise equity number.
Wherein, the reverse order sorting can be understood as the reverse order sorting of enterprises according to the number of external investment enterprises by the second main body. The reverse order, i.e. the greater the number, the earlier the order. In this embodiment, at least one enterprise in the same level may be ranked in reverse order according to the number of external investment enterprises by the second body. Illustratively, the second subject in the enterprises in the same level has the largest amount of external investment enterprises, and is ranked as first. At least two enterprises may be understood as two and more enterprises. In this embodiment, if there are at least two enterprises with the same number of external investment enterprises by the second main body, the at least two enterprises may be ranked according to the number of the enterprise equity. In addition, if there are at least two enterprises with equal numbers of external investment enterprises and at least two enterprises with equal numbers of enterprise equity, at least two enterprises can be ordered according to a random ordering mode.
In this embodiment, at least one enterprise in the same level may be ordered in reverse order according to the number of external investment enterprises by the second main body; and if at least two enterprises with the same external investment enterprise quantity exist in the second main body, sequencing the at least two enterprises in a reverse order according to the enterprise share right quantity. Through the arrangement, the enterprises can be ordered in a reverse order according to the enterprise corporate and the enterprise stockholder number, so that an ordered enterprise list is obtained, the subsequent execution of the information acquisition task can be facilitated through the ordering, and the efficiency of the overall task can be improved.
And S140, performing information acquisition tasks on the plurality of ordered enterprises in batches to obtain risk information corresponding to the plurality of enterprises.
The batch execution may be understood as dividing the ordered multiple enterprises into different batches, and the number of enterprises contained in a specific batch may be preset, and for example, each batch may contain 10 enterprises or each batch may contain 100 enterprises, and may be set according to actual requirements. Different batches may be divided for different grades in this embodiment. An information acquisition task may be understood as a task of acquiring information. Specifically, the task of acquiring risk information of an enterprise can be performed by the task of acquiring information. The corresponding risk information of the plurality of enterprises may be obtained by performing information acquisition tasks on the plurality of enterprises in batches after sorting.
In this embodiment, the information acquisition task is executed in batches for the plurality of ordered enterprises to obtain risk information corresponding to the plurality of enterprises.
In this embodiment, optionally, the information obtaining task is performed on the sorted multiple enterprises in batches, including: and executing information acquisition tasks on the plurality of ordered enterprises in batches according to the set level sequence.
The order of the setting ranks may be a high-to-low order or a low-to-high order. The order of setting the ranks may be preset. By way of example, from high to low may be a sequence from level 5 to level 1; the low to high order may be from level 1 to level 5. In this embodiment, the information acquisition tasks may be performed in batches on the plurality of enterprises after being ordered according to the order of the ranks from high to low or from low to high. Through the arrangement, the information acquisition tasks can be flexibly executed for the plurality of ordered enterprises in batches according to the set level sequence, and the method is more convenient and quick.
In this embodiment, optionally, the information obtaining task is performed in batches on the plurality of ordered enterprises according to the set level order, including: determining the batch number according to the information of the current grade; dividing the enterprises in the current grade into batches based on the batch quantity to obtain a plurality of batch enterprises; and executing information acquisition tasks on the plurality of batches of enterprises in batches to obtain risk information corresponding to the current grade.
The information of the current level may be understood as the information of the number of enterprises included in the current level. The number of lots is understood to be the number of businesses that each lot may contain. The number of lots determined in different grades in this embodiment may be different, and the higher the grade in this embodiment, the smaller the number of lots in the grade may be. Multiple batch enterprises may divide the enterprises in the current level based on the number of batches. By way of example, the number of enterprises included in level 5 is 100, and the number of batches can be set to be 10, and then the enterprises can be divided into ten batches; the number of enterprises contained in the level 4 is 100, and the number of batches can be set to be 20, so that the enterprises can be divided into five batches; in this embodiment, the division may be performed according to actual requirements. The risk information corresponding to the current level may be obtained by executing the information acquisition task in batches for a plurality of batches of enterprises.
In this embodiment, the number of batches may be determined according to the information of the current level; dividing the enterprises in the current level into batches based on the batch number to obtain a plurality of batch enterprises; and carrying out information acquisition tasks on a plurality of batches of enterprises in batches, so as to obtain risk information corresponding to the current grade.
By the arrangement, the batch number can be determined according to the current grade information, so that different batches are divided for executing tasks for enterprises of the current grade, the efficiency of executing the whole tasks is improved, and the task time is shortened.
In this embodiment, optionally, performing the information obtaining task in batches on the plurality of batches includes: after the information acquisition task corresponding to the current batch of enterprises is executed, the information acquisition task is executed for the next batch of enterprises.
In this embodiment, each level may be divided into a plurality of batches, and after the information acquisition task corresponding to the current batch of enterprises in each level is executed, the information acquisition task may be executed for the next batch of enterprises. With such a setting in this embodiment, batch execution can be facilitated by executing information acquisition tasks in different batches for enterprises in different levels.
In this embodiment, optionally, performing the information obtaining task on the plurality of batch enterprises in batches includes: creating a plurality of information acquisition tasks; and executing the information acquisition tasks in parallel to acquire risk information of a plurality of batches of enterprises in parallel.
The plurality of information acquisition tasks can be set according to actual requirements. Specifically, in this embodiment, a specific number of information acquisition tasks may be set according to a system resource, and, for example, one server may correspond to one information acquisition task, and if there may be 10 servers in a certain server cluster, 10 information acquisition tasks may be created. Parallel execution may be understood as simultaneous execution.
In this embodiment, a plurality of information acquisition tasks may be created, and the plurality of information acquisition tasks may be executed in parallel to acquire risk information of a plurality of batches of enterprises in parallel. By the arrangement, a plurality of information acquisition tasks can be executed in parallel to acquire risk information of a plurality of batches of enterprises in parallel, and efficiency of executing the information acquisition tasks is further improved.
In this embodiment, optionally, performing the information obtaining task on the plurality of batch enterprises in batches includes: and for each information acquisition task, executing the information acquisition task for the enterprises in the current batch in a multithreading mode.
Wherein each thread corresponds to a subtask. A subtask may be performed for an enterprise. The multithreading method is understood to be a technology of implementing multiple threads to execute concurrently from software or hardware. Computers with multithreading capability are capable of executing more than one thread at a time due to hardware support, thereby improving overall processing performance. In this embodiment, the execution may be performed in a single thread manner, but the speed may be slow. In this embodiment, the task pressure can be obtained by dispersing information through the cluster, a plurality of information obtaining tasks can be executed simultaneously, the tasks are completed, the calling interface informs the subtasks that the subtasks can be completed, the completion is realized asynchronously, the resource utilization rate of the information obtaining tasks is improved, and the information obtaining tasks can use relatively limited resources to improve the efficiency for obtaining the information in a large batch.
In this embodiment, for each information acquisition task, the information acquisition task may be executed for the current batch enterprise in a multithreading manner. By such a setting in the present embodiment, the execution efficiency of each information acquisition task can be improved, thereby improving the efficiency of the overall task.
In this embodiment, optionally, if all the subtasks corresponding to the information acquisition tasks corresponding to the current batch of enterprises are executed, the execution of the information acquisition tasks corresponding to the current batch of enterprises is completed.
In this embodiment, if all the subtasks corresponding to the information acquisition tasks corresponding to the current lot of enterprises are executed, the information acquisition tasks corresponding to the current lot of enterprises are executed. In this embodiment, when all batch tasks are completed, the data can be integrated into a file compression package for output.
Through the arrangement, the information acquisition task stability is improved, the overall task efficiency is improved, and the task time is shortened by executing different levels in batches.
In the embodiment of the invention, the asset related information of a plurality of enterprises is obtained; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises; grading a plurality of enterprises according to the number of the external investment enterprises by the first main body to obtain a plurality of grades; wherein each level includes at least one enterprise therein; for at least one enterprise in each level, sorting the number of external investment enterprises and the number of enterprise equity according to the second main body; and executing information acquisition tasks on the sorted enterprises in batches to obtain risk information corresponding to the enterprises. According to the technical scheme, the method and the device for classifying the enterprises can achieve the technical effects that the enterprises are classified and ordered, the enterprise risk information is obtained in batches through the classified and ordered, the efficiency of the information obtaining task is improved, and the task time is shortened.
Fig. 2 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention. As shown in fig. 2, the apparatus includes:
an asset information obtaining module 210, configured to obtain asset related information of a plurality of enterprises; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises;
the enterprise grading module 220 is configured to grade a plurality of enterprises according to the number of the first main body external investment enterprises, so as to obtain a plurality of grades; wherein each level includes at least one enterprise therein;
a quantity ranking module 230, configured to rank, for at least one enterprise in each level, the external investment enterprise quantity and the enterprise equity quantity according to the second subject;
the task execution module 240 is configured to execute information acquisition tasks on the sorted multiple enterprises in batches, so as to obtain risk information corresponding to the multiple enterprises.
Optionally, the asset information obtaining module is configured to obtain a first main body external investment map and a second main body external investment map corresponding to each enterprise respectively;
determining the number of first-subject external investment enterprises based on the first-subject external investment map;
and determining the number of the second main body external investment enterprises based on the second main body external investment map.
Optionally, the enterprise-class classification module 220 is configured to:
acquiring the corresponding relation between the quantity range and the grade of the external investment enterprises of the first main body;
and dividing the enterprises into corresponding grades according to the range of the first main body on which the number of the external investment enterprises is located.
Optionally, the quantity ordering module 230 is configured to:
the second main body performs reverse order sequencing on at least one enterprise in the same level according to the number of external investment enterprises;
and if at least two enterprises with the same external investment enterprises exist in the second main body, sequencing the at least two enterprises in a reverse order according to the enterprise equity number.
Optionally, the task execution module 240 includes a task unit for sequentially executing:
and executing information acquisition tasks on the plurality of ordered enterprises in batches according to a set grade order, wherein the set grade order is the order from high to low or the order from low to high.
Optionally, the task unit is sequentially executed, including:
a batch number determining subunit, configured to determine a batch number according to the information of the current level;
a lot dividing subunit, configured to divide the lot for the enterprises in the current level based on the lot number, and obtain a plurality of lot enterprises;
and the batch execution subunit is used for executing information acquisition tasks on the plurality of batch enterprises in batches to obtain risk information corresponding to the current grade.
Optionally, the batch execution subunit is configured to:
after the information acquisition task corresponding to the current batch of enterprises is executed, the information acquisition task is executed for the next batch of enterprises.
Optionally, the batch execution subunit is configured to:
creating a plurality of information acquisition tasks;
and executing the information acquisition tasks in parallel to acquire risk information of a plurality of batches of enterprises in parallel.
Optionally, the batch execution subunit is configured to:
for each information acquisition task, executing the information acquisition task for the enterprises in the current batch in a multithreading mode; wherein each thread corresponds to a subtask.
Optionally, if all the subtasks corresponding to the information acquisition tasks corresponding to the current batch enterprises are executed, executing the information acquisition tasks corresponding to the current batch enterprises is completed.
The data processing device provided in the embodiment of the present application may be used to execute the technical scheme of the data processing method in the above embodiment, and its implementation principle and technical effect are similar, and are not described herein again.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as data processing methods.
In some embodiments, the data processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. One or more of the steps of the data processing method described above may be performed when the computer program is loaded into RAM 13 and executed by processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform the data processing method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
Embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements a data processing method as provided by any of the embodiments of the present application.
Computer program product in the implementation, the computer program code for carrying out operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (15)

1. A method of data processing, comprising:
acquiring asset-related information of a plurality of enterprises; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises;
grading a plurality of enterprises according to the number of the external investment enterprises by the first main body to obtain a plurality of grades; wherein each level includes at least one enterprise therein;
for at least one enterprise in each level, sorting the number of external investment enterprises and the number of enterprise equity according to the second main body;
and executing information acquisition tasks on the sorted enterprises in batches to obtain risk information corresponding to the enterprises.
2. The method of claim 1, wherein obtaining asset-related information for a plurality of enterprises comprises:
acquiring a first main body external investment map and a second main body external investment map which correspond to each enterprise respectively;
determining the number of first-subject external investment enterprises based on the first-subject external investment map;
and determining the number of the second main body external investment enterprises based on the second main body external investment map.
3. The method of claim 1, wherein grading a plurality of enterprises according to the first body's number of external investment enterprises to obtain a plurality of grades, comprises:
acquiring the corresponding relation between the quantity range and the grade of the external investment enterprises of the first main body;
and dividing the enterprises into corresponding grades according to the range of the first main body on which the number of the external investment enterprises is located.
4. The method of claim 1, wherein for at least one business in each tier, ranking the number of external investment businesses and the number of business equity according to the second principal comprises:
the second main body performs reverse order sequencing on at least one enterprise in the same level according to the number of external investment enterprises;
and if at least two enterprises with the same external investment enterprises exist in the second main body, sequencing the at least two enterprises in a reverse order according to the enterprise equity number.
5. The method of claim 1, wherein performing information acquisition tasks on the ordered plurality of businesses in batches comprises:
and executing information acquisition tasks on the plurality of ordered enterprises in batches according to a set grade order, wherein the set grade order is the order from high to low or the order from low to high.
6. The method of claim 5, wherein performing information acquisition tasks in batches for the plurality of businesses ordered in a set-level order comprises:
determining the batch number according to the information of the current grade;
dividing the enterprises in the current grade into batches based on the batch quantity to obtain a plurality of batch enterprises;
and executing information acquisition tasks on the plurality of batches of enterprises in batches to obtain risk information corresponding to the current grade.
7. The method of claim 6, wherein performing information retrieval tasks on the plurality of batches in batches comprises:
after the information acquisition task corresponding to the current batch of enterprises is executed, the information acquisition task is executed for the next batch of enterprises.
8. The method of claim 6, wherein performing information acquisition tasks on the plurality of batch enterprises in batches comprises:
creating a plurality of information acquisition tasks;
and executing the information acquisition tasks in parallel to acquire risk information of a plurality of batches of enterprises in parallel.
9. The method of claim 7, wherein performing information acquisition tasks on the plurality of batch enterprises in batches comprises:
for each information acquisition task, executing the information acquisition task for the enterprises in the current batch in a multithreading mode; wherein each thread corresponds to a subtask.
10. The method of claim 9, wherein the information acquisition task corresponding to the current lot of business is completed if all sub-tasks corresponding to the information acquisition task corresponding to the current lot of business are completed.
11. A data processing apparatus, comprising:
the asset information acquisition module is used for acquiring asset related information of a plurality of enterprises; the asset related information comprises the number of enterprise equity, the number of first main body external investment enterprises and the number of second main body external investment enterprises;
the enterprise grading module is used for grading a plurality of enterprises according to the number of the first main body external investment enterprises to obtain a plurality of grades; wherein each level includes at least one enterprise therein;
the quantity sequencing module is used for sequencing the quantity of the external investment enterprises and the number of the enterprise equity according to the second main body for at least one enterprise in each grade;
and the task execution module is used for executing information acquisition tasks on the plurality of ordered enterprises in batches to obtain risk information corresponding to the plurality of enterprises.
12. The apparatus of claim 11, wherein the asset information acquisition module is configured to acquire a first main-body external investment profile and a second main-body external investment profile corresponding to each enterprise, respectively;
determining the number of first-subject external investment enterprises based on the first-subject external investment map;
and determining the number of the second main body external investment enterprises based on the second main body external investment map.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, wherein the processor implements the data processing method according to any one of claims 1-10 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a data processing method as claimed in any one of claims 1-10.
15. A computer program product comprising a computer program, which, when executed by a processor, implements the data processing method according to any of claims 1-10.
CN202211214941.6A 2022-09-30 2022-09-30 Data processing method, apparatus, device, storage medium and computer program product Pending CN116151607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211214941.6A CN116151607A (en) 2022-09-30 2022-09-30 Data processing method, apparatus, device, storage medium and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211214941.6A CN116151607A (en) 2022-09-30 2022-09-30 Data processing method, apparatus, device, storage medium and computer program product

Publications (1)

Publication Number Publication Date
CN116151607A true CN116151607A (en) 2023-05-23

Family

ID=86349590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211214941.6A Pending CN116151607A (en) 2022-09-30 2022-09-30 Data processing method, apparatus, device, storage medium and computer program product

Country Status (1)

Country Link
CN (1) CN116151607A (en)

Similar Documents

Publication Publication Date Title
US20210248469A1 (en) Method and apparatus for scheduling deep learning reasoning engines, device, and medium
US20230020324A1 (en) Task Processing Method and Device, and Electronic Device
CN115438007A (en) File merging method and device, electronic equipment and medium
CN116151607A (en) Data processing method, apparatus, device, storage medium and computer program product
CN115168358A (en) Database access method and device, electronic equipment and storage medium
CN114676177A (en) Financial index determination method, device, equipment, medium and product
CN114862223A (en) Robot scheduling method, device, equipment and storage medium
CN114896075A (en) Image reconstruction method and device, electronic equipment and storage medium
CN117762637A (en) Cache resource cleaning method and device, electronic equipment and storage medium
CN117349016A (en) Resource allocation method, device, equipment and medium
CN115329999A (en) Operation and maintenance task processing method, device, platform and storage medium
CN115794555A (en) Service log processing method, device, equipment and storage medium
CN115168760A (en) Data query method, device and storage medium
CN116954922A (en) Distributed storage method, device, equipment and medium
CN115455060A (en) Data processing method, device, equipment and medium
CN115510140A (en) Data extraction method, device, equipment and storage medium
CN115510838A (en) Template generation method and device, electronic equipment and storage medium
CN116801001A (en) Video stream processing method and device, electronic equipment and storage medium
CN115202791A (en) Method and device for determining first screen loading resource, server and storage medium
CN116389499A (en) Task allocation method, device, equipment and medium based on electric power Internet of things
CN116069806A (en) Data processing method, device and equipment
CN117632431A (en) Scheduling method, device, equipment and storage medium for cloud computing task
CN117009000A (en) Component, method, device, apparatus and medium for operating open source buddha system
CN116595110A (en) Data storage method and device, electronic equipment and storage medium
CN114706578A (en) Data processing method, device, equipment and medium

Legal Events

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