CN117709903A - Library separation method and device, electronic equipment and storage medium - Google Patents

Library separation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117709903A
CN117709903A CN202410009148.5A CN202410009148A CN117709903A CN 117709903 A CN117709903 A CN 117709903A CN 202410009148 A CN202410009148 A CN 202410009148A CN 117709903 A CN117709903 A CN 117709903A
Authority
CN
China
Prior art keywords
item
library
sub
business data
project
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
CN202410009148.5A
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.)
Shanghai Puhua Science And Technology Development Co ltd
Original Assignee
Shanghai Puhua Science And Technology Development 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 Shanghai Puhua Science And Technology Development Co ltd filed Critical Shanghai Puhua Science And Technology Development Co ltd
Priority to CN202410009148.5A priority Critical patent/CN117709903A/en
Publication of CN117709903A publication Critical patent/CN117709903A/en
Pending legal-status Critical Current

Links

Classifications

    • 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 library separation method, a library separation device, electronic equipment and a storage medium. The method comprises the following steps: determining item characteristics corresponding to an item under an enterprise item structure EPS, wherein the item characteristics are characteristics associated with the item data; based on the project characteristics, classifying the project according to a classifying rule of project management software to obtain a preset classifying library of the project and a classifying library identification corresponding to the preset classifying library; mapping EPS and the database identification to obtain a database separation result. According to the technical scheme, the preset sub-library and sub-library identification of the item are determined based on the item characteristics corresponding to the item under the EPS, and then the EPS and the sub-library identification are mapped to obtain the sub-library result, so that more reasonable item sub-library is realized, the independent integrity of single sub-library data of one item is ensured, the problem that the traditional sub-library method cannot well process massive item type service data is solved, and the performance of item management software is improved.

Description

Library separation method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of project management, in particular to a library separation method, a library separation device, electronic equipment and a storage medium.
Background
With the wide popularization of informatization in group enterprises, the project management software is used as special field software, has strong project management related characteristics, and the core business data of the project management software mainly flows by taking projects as dimensions. Project management business data of large project-type group enterprises are massive and are inevitably required to consider the application of sub-databases when the databases store the business data.
At present, most of the database of the traditional project management software adopts a method for matching database rules by taking a module of service data occurrence date or a method for matching database rules by attribution of service data. However, the time span of the project has uncertainty, the independent integrity of single-database data of one project cannot be guaranteed by adopting a date modulo matching database dividing rule method, the database dividing is unreasonable, and when complex associated business is processed, the problem of cross-database processing of business data can be related, and the software performance is affected; the location of the new project of the enterprise also has uncertainty, so that the database rule is difficult to set in advance by adopting a method of matching the database rule with the attribution of the business data, and the performance of the software is also affected.
Disclosure of Invention
The invention provides a method, a device, electronic equipment and a storage medium for separating libraries, which are used for more reasonably separating the projects and business data in the projects.
In a first aspect, an embodiment of the present invention provides a library separation method, including:
determining item characteristics corresponding to an item under an enterprise item structure EPS, wherein the item characteristics are characteristics associated with the item data;
based on the project characteristics, classifying the project according to a classifying rule of project management software to obtain a preset classifying library of the project and a classifying library identification corresponding to the preset classifying library;
mapping EPS and the database identification to obtain a database separation result.
In a second aspect, an embodiment of the present invention provides a library separation device, including:
the feature determining module is used for determining the feature of the item corresponding to the item under the EPS of the enterprise item structure, wherein the feature of the item is the feature associated with the item data;
the database dividing determining module is used for dividing the project according to the database dividing rule of the project management software based on the project characteristics to obtain a preset database of the project and a database dividing identifier corresponding to the preset database;
and the result determining module is used for mapping the EPS and the database dividing identifier to obtain a database dividing result.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the banking method as described in the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing computer instructions for causing a processor to implement a banking method according to the first aspect when executed.
The embodiment of the invention provides a library separation method, a library separation device, electronic equipment and a storage medium. The method comprises the following steps: determining item characteristics corresponding to an item under an enterprise item structure EPS, wherein the item characteristics are characteristics associated with the item data; based on the project characteristics, classifying the project according to a classifying rule of project management software to obtain a preset classifying library of the project and a classifying library identification corresponding to the preset classifying library; mapping EPS and the database identification to obtain a database separation result. According to the technical scheme, based on the item characteristics corresponding to the items under the EPS, the preset sub-libraries of the items and the sub-library identifications corresponding to the preset sub-libraries are determined, and then the EPS and the sub-library identifications are mapped to obtain the sub-library result, so that more reasonable item sub-libraries are realized, the independent integrity of single sub-library data of one item is ensured, the problem that the traditional sub-library method cannot well process massive item service data is solved, and the performance of item management software is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flowchart of a method for sorting libraries according to a first embodiment of the present invention;
FIG. 2 is a flowchart of another method for sorting libraries according to the first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a library separation device according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third 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. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict. 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.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts steps as a sequential process, many of the steps may be implemented in parallel, concurrently, or with other steps. Furthermore, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
It should be noted that the concepts of "first," "second," and the like in the embodiments of the present invention are merely used to distinguish between different devices, modules, units, or other objects, and are not intended to limit the order or interdependence of functions performed by the devices, modules, units, or other objects.
Example 1
Fig. 1 is a flowchart of a library separation method according to a first embodiment of the present invention, where the present embodiment is applicable to more reasonable library separation of items and business data in the items. Specifically, the method may be performed by a library splitting device, which may be implemented in software and/or hardware and integrated in an electronic device. Further, the electronic device includes, but is not limited to: desktop computers, notebook computers, smart phones, servers, and other electronic devices.
As shown in fig. 1, the method specifically includes the following steps:
s110, determining item characteristics corresponding to the items under the EPS of the enterprise item structure, wherein the item characteristics are characteristics associated with the item data.
In this embodiment, an item may be understood as an activity and task that has a specific goal, a specific start and end date, and consumes resources, such as a design class item, a construction class item, and an investment class item. The enterprise project organization (Enterprise Project Structure, EPS) may reflect a hierarchical structure of all projects within the enterprise, which may be an organization of all projects within the enterprise. The EPS is a tree structure, and can be decomposed into different layers according to the needs of enterprises or companies so as to meet the requirements of the enterprises on reporting the project execution conditions and work coordination. The EPS may include an EPS number and an EPS name, wherein the EPS number and the EPS name are in one-to-one correspondence. The item features may be features associated with the item data, and the item features may be, for example, the number of items and/or the number of business data corresponding to the items. The business data corresponding to the project can be understood as the general name of various data related to a specific business and used for supporting the business in the project, such as business data of contracts, orders, plans, purchasing material details and the like.
The electronic equipment can firstly divide the enterprise EPS, determine the project decomposition structure of the enterprise EPS, and further determine project characteristics corresponding to the project under the EPS, such as the project quantity corresponding to the project under the EPS, the service data average quantity corresponding to the single project and the project quantity increment.
The operation is convenient for follow-up operation based on project characteristics.
S120, classifying the project according to the classifying rules of project management software based on the project characteristics to obtain a preset classifying library of the project and a classifying library identification corresponding to the preset classifying library.
In this embodiment, the project management software may be understood as a management tool for planning and reconciling projects. The database dividing rule of the project management software can be set based on project characteristics and/or service requirements, and the project characteristics can correspond to specific database dividing rules when certain conditions are met. The preset sub-library can be obtained according to a sub-library rule based on the project characteristics. The sub-library identifier may be understood as an identifier for distinguishing a preset sub-library, and a sub-library identifier corresponding to a sub-library may be represented by a number or an english letter, for example, which is not limited in the present invention.
The electronic device performs the database separation on the items according to the database separation rule based on the item characteristics, so as to obtain 3 preset database separation, and marks the 3 preset database separation respectively, that is, the database separation marks corresponding to the 3 preset database separation are 01, 02 and 03 respectively.
S130, mapping the EPS and the database identification to obtain a database separation result.
The electronic equipment can map the EPS and the sub-library identification in the project management software, for example, the EPS number and the sub-library identification are matched one by one, and a sub-library result is obtained.
Exemplary, the enterprise EPS is divided, the enterprise EPS is determined, such as the EPS number and the EPS name, further, the item feature of the item under the EPS is determined, the item is classified according to the classification rule of the item management software based on the item feature, the preset classification of the item is determined to be classification 1, classification 2 and classification 3, the classification identifiers corresponding to the preset classification are 01, 02 and 03 respectively, the EPS and the classification identifiers are mapped, that is, the classification identifier 01 corresponds to the EPS number 1.1.1, the classification identifier 02 corresponds to the EPS number 1.1.2, the classification identifier corresponds to the EPS number 1.2, and the final classification result is obtained, as shown in table 1.
TABLE 1 library separation results
Specifically, an enterprise is subjected to EPS division to obtain EPS, then item characteristics corresponding to items under the EPS are determined, the item characteristics are characteristics associated with item data, then the items are subjected to library division according to a certain rule based on the item characteristics to obtain a preset library and a library division identifier corresponding to the preset library, and finally the EPS and the library division identifier are mapped to obtain a library division result. The method has the advantages that the method can more reasonably divide the project and business data in the project based on project characteristics, can ensure the independent integrity of single-division database data of one project, can overcome the problem that the traditional method for dividing the database cannot well process massive project type business data, and can improve the performance of project management software.
The first embodiment of the invention provides a library separation method, which comprises the following steps: determining item characteristics corresponding to an item under an enterprise item structure EPS, wherein the item characteristics are characteristics associated with the item data; based on the project characteristics, classifying the project according to a classifying rule of project management software to obtain a preset classifying library of the project and a classifying library identification corresponding to the preset classifying library; mapping EPS and the database identification to obtain a database separation result. According to the technical scheme, based on the item characteristics corresponding to the items under the EPS, the preset sub-libraries of the items and the sub-library identifications corresponding to the preset sub-libraries are determined, and then the EPS and the sub-library identifications are mapped to obtain the sub-library result, so that more reasonable item sub-libraries are realized, the independent integrity of single sub-library data of one item is ensured, the problem that the traditional sub-library method cannot well process massive item service data is solved, and the performance of item management software is improved.
Optionally, the item features include: the number of the projects, the average number of business data corresponding to single projects and the increment of the number of the projects.
In one embodiment, the number of items may be understood as the number of items existing in a company, such as 1 thousand. The average number of service data corresponding to a single item may be understood as the average number of service data corresponding to a single item existing in a company, for example, 10 ten thousand service data are included in one item. An increment in the number of items may be understood as an increasing number of items, such as 2 hundred, in a given time (e.g., one year).
If a certain company is a newly established company, the number of items is 0.
Optionally, the classifying the item according to the classifying rule of the item management software based on the item feature to obtain a preset classifying library of the item and a classifying library identifier corresponding to the preset classifying library, including:
determining the quantity of business data corresponding to the project and the increment of business data corresponding to the project according to the project characteristics;
storing the business data corresponding to the items of which the business data quantity meets the quantity threshold value and/or the business data corresponding to the items of which the business data increment meets the increment threshold value to a first sub-library independently, and determining the sub-library identification of the first sub-library;
and storing the business data corresponding to the items of which the business data quantity does not meet the quantity threshold value and the business data corresponding to the items of which the business data increment does not meet the increment threshold value to a second sub-library together, and determining the sub-library identification of the second sub-library.
In one embodiment, the number of business data corresponding to an item may be understood as the number of all business data in all existing items of a company. The business data increment corresponding to an item can be understood as the increment of all business data in all newly added items of a company. The number threshold may be set according to practical situations, such as 1 hundred million. The increment threshold may be set according to practical situations, such as 1 million. The second sub-library may be a sub-library with capacity, for example, 2 hundred million business data may be stored, and after full storage, the next sub-library may be stored in order.
The method comprises the steps of analyzing project characteristics through electronic equipment, determining the quantity of business data corresponding to a project and the increment of business data corresponding to the project, comparing the quantity of business data corresponding to the project with a quantity threshold value, comparing the increment of business data with an increment threshold value, judging whether the quantity threshold value and/or the increment threshold value are larger than or equal to each other, if the quantity threshold value and/or the increment threshold value are larger than or equal to each other, independently storing the business data corresponding to the project meeting the quantity threshold value and/or the increment threshold value into a first sub-library, determining a sub-library identification of the first sub-library, namely, independently sub-storing the business data corresponding to the project with large data scale and the business data corresponding to the project, otherwise, jointly storing the business data corresponding to the project which does not meet the quantity threshold value and the increment threshold value into a second sub-library, and determining the sub-library identification of the second sub-library, namely, sharing the business data corresponding to the project with small data scale and the project.
Exemplary, table 2 is a schematic table of another library division result provided in the first embodiment of the present invention. As shown in table 2, performing EPS division on a certain group, such as EPS number and EPS name, further determining and analyzing item characteristics of the item under EPS, and performing database separation on the item according to database separation rules of item management software based on the item characteristics to obtain a preset database of the item and a database separation identifier corresponding to the preset database; mapping EPS and the database identification to obtain a database separation result.
If the number of the projects is 1000, the average number of the business data corresponding to a single project is 10 ten thousand, the number of the business data corresponding to the projects is 1 hundred million, the increment of the number of the projects is about 200, and the increment of the business data corresponding to the projects is 2000 ten thousand; the method comprises the steps of A, constructing a company, wherein the number of projects is 100, the average number of business data corresponding to single projects is 10 ten thousand, the number of business data corresponding to projects is 1000 ten thousand, the increment of the number of the projects is about 100, and the increment of the business data corresponding to the projects is 1000 ten thousand;
the investment class of the company B, the number of the projects is 40, the average number of the business data corresponding to the projects is 10 ten thousand, the number of the business data corresponding to the projects is 400 ten thousand, the increment of the number of the projects is about 20, and the increment of the business data corresponding to the projects is 200 ten thousand; the number of the projects is 10, the average number of the business data corresponding to the projects is 10 ten thousand, the number of the business data corresponding to the projects is 100 ten thousand, the increment of the number of the projects is about 30, and the increment of the business data corresponding to the projects is 300 ten thousand;
and C, the new establishment of the company is realized, the number of the projects is 0, the average number of the business data corresponding to the projects is 10 ten thousand, the increment of the number of the projects is about 50, and the increment of the business data corresponding to the projects is 500 ten thousand. The database dividing rule of the project management software is that business data is divided into separate databases according to the quantity to quantity threshold (for example, 1 hundred million) and/or business data increment to increment threshold (for example, 1000 ten thousand), namely, a company design class is stored into a 01 database, a company construction class is stored into a 02 database, a company B and a company C can share one database, and 03 databases are shared.
TABLE 2 alternative library separation results
The operation can divide the business data of the same project into the same sub-database, and ensures the independent integrity of the single sub-database data of one project.
Optionally, the determining, according to the item feature, the number of service data corresponding to the item and the increment of service data corresponding to the item includes:
determining the product of the number of the items and the average number of the business data corresponding to the single item as the number of the business data corresponding to the item;
and determining the product of the average quantity of the business data corresponding to the single item and the increment of the quantity of the item as the increment of the business data corresponding to the item.
For example, the company a designs the class, the number of the projects is 1000, the average number of the business data corresponding to a single project is 10 ten thousand, the increment of the projects is about 200, the number of the business data corresponding to the projects is 1 hundred million, and the increment of the business data corresponding to the projects is 2000 ten thousand.
Optionally, the method for separating libraries further includes:
performing recursion analysis on the new item to determine the EPS to which the new item belongs;
and determining a database identification corresponding to the EPS of the newly added item in the database separation result.
In one embodiment, the recursive analysis may be understood as an analysis that solves the problem with the recursive theory as a tool, that is, searching the EPS to which the new item belongs step by step under the EPS.
The new item is subjected to recursion analysis to determine the EPS to which the new item belongs, and further determine the sub-libraries and the sub-library identifications corresponding to the EPS to which the new item belongs, that is, the new item is subjected to recursion analysis to determine which sub-library the new item belongs to.
According to the operation, the affiliated sub-library of the newly added item can be determined through recursion analysis, and the sub-library of the newly added item is performed.
Optionally, the method for separating libraries further includes:
determining an item corresponding to the newly added item-level business data;
determining a sub-library identification of a sub-library to which the item belongs;
and storing the newly added item level business data to a sub-library corresponding to the sub-library identification.
In one embodiment, the newly added project-level service data may be understood as newly added service data having a project attribute.
Firstly determining items to which newly added item-level service data belong, then carrying out recursion analysis on the items to find EPS to which the items belong, and then determining the sub-base identification of EPS to which the corresponding items belong in the sub-base results, namely determining the sub-base to which the items belong and the sub-base identification of the sub-base to which the items belong, and finally storing the newly added item-level service data into the sub-base corresponding to the sub-base identification, thereby realizing that service data related to the same item are stored into the same sub-base, and ensuring the independent integrity of single sub-base data of one item.
Optionally, the items are items with the number of items being greater than a set threshold.
In an embodiment, the setting threshold may be preset according to the actual situation.
The method for classifying the database is applicable to large-scale project group enterprises, and can provide more convenience for the type of enterprises.
Fig. 2 is a flowchart of another method for separating libraries according to the first embodiment of the present invention. As shown in fig. 2, the step of library division setting includes: firstly, enterprise EPS division is carried out, EPS is determined, then project characteristics corresponding to projects under the EPS are determined and analyzed, a preset sub-library and sub-library identifications corresponding to the preset sub-library are determined according to the sub-library rules of project management software based on the project characteristics, and finally the EPS and the sub-library identifications are mapped to obtain a sub-library result. The determining steps of the item sub-library are as follows: firstly, newly added items stand, then recursively analyzing the newly added items, determining the EPS to which the newly added items belong, then matching with a sub-library result, if the EPS to which the newly added items belong does not match, re-determining a preset sub-library and/or a sub-library identifier, wherein if the EPS to which the newly added items belong is not matched, determining the sub-library identifier of the EPS to which the newly added items correspond in the sub-library result, namely determining the sub-library to which the newly added items belong and the sub-library identifier corresponding to the sub-library to which the newly added items belong. The business data database comprises the following steps: firstly, determining an item corresponding to newly added item-level business data, namely determining an item to which the newly added item-level business data belongs, further determining a sub-base to which the item belongs and a sub-base identification of the sub-base to which the item belongs, and finally storing the newly added item-level business data into the sub-base corresponding to the sub-base identification.
Example two
Fig. 3 is a schematic structural diagram of a library separation device according to a second embodiment of the present invention, where the library separation device may execute the library separation method according to the embodiment of the present invention. The library separation device provided in this embodiment includes:
a feature determining module 210, configured to determine a feature of a project corresponding to the project under the enterprise project structure EPS, where the feature of the project is a feature associated with the project data;
the database determining module 220 is configured to perform database separation on the item according to a database separation rule of item management software based on the item feature, so as to obtain a preset database of the item and a database separation identifier corresponding to the preset database;
and a result determining module 230, configured to map the EPS with the database identifier, to obtain a database separation result.
Optionally, on the basis of the foregoing embodiment, the item features include: the number of the projects, the average number of business data corresponding to single projects and the increment of the number of the projects.
Optionally, based on the above embodiment, the database determining module 220 includes:
the data determining unit is used for determining the quantity of the business data corresponding to the project and the increment of the business data corresponding to the project according to the project characteristics;
the first sub-library determining unit is used for independently storing the business data corresponding to the items of which the business data quantity meets the quantity threshold and/or the business data corresponding to the items of which the business data increment meets the increment threshold into a first sub-library, and determining the sub-library identification of the first sub-library;
and the second sub-library determining unit is used for jointly storing the business data corresponding to the items of which the business data quantity does not meet the quantity threshold value and the business data corresponding to the items of which the business data increment does not meet the increment threshold value into a second sub-library, and determining the sub-library identification of the second sub-library.
Optionally, on the basis of the above embodiment, the data determining unit includes:
a service data quantity determining subunit, configured to determine, as a service data quantity corresponding to a single item, a product of the item quantity and an average quantity of service data corresponding to the single item;
and the business data increment determining subunit is used for determining the product of the average business data quantity corresponding to the single project and the project quantity increment as the business data increment corresponding to the project.
Optionally, on the basis of the foregoing embodiment, the apparatus further includes:
the EPS determining module is used for recursively analyzing the new items and determining the EPS to which the new items belong;
the first identification determining module is used for determining the database identification of the EPS corresponding to the newly added item in the database dividing result.
Optionally, on the basis of the foregoing embodiment, the apparatus further includes:
the project determining module is used for determining a project corresponding to the newly added project-level business data;
the identification second determining module is used for determining a sub-library identification of the sub-library to which the item belongs;
and the data storage module is used for storing the newly added item-level business data to the sub-library corresponding to the sub-library identification.
Optionally, on the basis of the foregoing embodiment, the items are items whose number of items is greater than a set threshold.
The library separation device provided by the second embodiment of the invention can be used for executing the library separation method provided by any embodiment, and has corresponding functions and beneficial effects.
Example III
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device 10 may also represent various forms of mobile equipment, such as personal digital assistants, cellular telephones, smartphones, user equipment, wearable devices (e.g., helmets, eyeglasses, watches, etc.), and other similar computing equipment. 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. 4, 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, wireless 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 the banking method.
In some embodiments, the banking 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 steps of the methods 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 banking 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 10, the electronic device 10 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 pointing device (e.g., a mouse or trackball) by which a user can provide input to the electronic device 10. 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.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of sorting libraries, comprising:
determining item characteristics corresponding to an item under an enterprise item structure EPS, wherein the item characteristics are characteristics associated with the item data;
based on the project characteristics, classifying the project according to a classifying rule of project management software to obtain a preset classifying library of the project and a classifying library identification corresponding to the preset classifying library;
mapping EPS and the database identification to obtain a database separation result.
2. The method of claim 1, wherein the project feature comprises: the number of the projects, the average number of business data corresponding to single projects and the increment of the number of the projects.
3. The method according to claim 2, wherein the step of classifying the item according to the classification rule of the item management software based on the item feature to obtain a preset classification of the item and a classification identifier corresponding to the preset classification comprises:
determining the quantity of business data corresponding to the project and the increment of business data corresponding to the project according to the project characteristics;
storing the business data corresponding to the items of which the business data quantity meets the quantity threshold value and/or the business data corresponding to the items of which the business data increment meets the increment threshold value to a first sub-library independently, and determining the sub-library identification of the first sub-library;
and storing the business data corresponding to the items of which the business data quantity does not meet the quantity threshold value and the business data corresponding to the items of which the business data increment does not meet the increment threshold value to a second sub-library together, and determining the sub-library identification of the second sub-library.
4. The method of claim 3, wherein determining the amount of business data corresponding to the item and the increment of business data corresponding to the item according to the item characteristics comprises:
determining the product of the number of the items and the average number of the business data corresponding to the single item as the number of the business data corresponding to the item;
and determining the product of the average quantity of the business data corresponding to the single item and the increment of the quantity of the item as the increment of the business data corresponding to the item.
5. The method as recited in claim 1, further comprising:
performing recursion analysis on the new item to determine the EPS to which the new item belongs;
and determining a database identification corresponding to the EPS of the newly added item in the database separation result.
6. The method as recited in claim 1, further comprising:
determining an item corresponding to the newly added item-level business data;
determining a sub-library identification of a sub-library to which the item belongs;
and storing the newly added item level business data to a sub-library corresponding to the sub-library identification.
7. The method of claim 1, wherein the items are items having a number of items greater than a set threshold.
8. A library-sorting apparatus, comprising:
the feature determining module is used for determining the feature of the item corresponding to the item under the EPS of the enterprise item structure, wherein the feature of the item is the feature associated with the item data;
the database dividing determining module is used for dividing the project according to the database dividing rule of the project management software based on the project characteristics to obtain a preset database of the project and a database dividing identifier corresponding to the preset database;
and the result determining module is used for mapping the EPS and the database dividing identifier to obtain a database dividing result.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the banking method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the banking method of any one of claims 1-7 when executed.
CN202410009148.5A 2024-01-03 2024-01-03 Library separation method and device, electronic equipment and storage medium Pending CN117709903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410009148.5A CN117709903A (en) 2024-01-03 2024-01-03 Library separation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410009148.5A CN117709903A (en) 2024-01-03 2024-01-03 Library separation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117709903A true CN117709903A (en) 2024-03-15

Family

ID=90153423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410009148.5A Pending CN117709903A (en) 2024-01-03 2024-01-03 Library separation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117709903A (en)

Similar Documents

Publication Publication Date Title
CN112528067A (en) Graph database storage method, graph database reading method, graph database storage device, graph database reading device and graph database reading equipment
CN114021156A (en) Method, device and equipment for organizing vulnerability automatic aggregation and storage medium
CN114461644A (en) Data acquisition method and device, electronic equipment and storage medium
CN112818230A (en) Content recommendation method and device, electronic equipment and storage medium
CN115145924A (en) Data processing method, device, equipment and storage medium
CN114064925A (en) Knowledge graph construction method, data query method, device, equipment and medium
CN113722600A (en) Data query method, device, equipment and product applied to big data
CN116955856A (en) Information display method, device, electronic equipment and storage medium
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN112507098B (en) Question processing method, question processing device, electronic equipment, storage medium and program product
CN115328898A (en) Data processing method and device, electronic equipment and medium
CN112989190B (en) Commodity mounting method and device, electronic equipment and storage medium
CN112887426B (en) Information stream pushing method and device, electronic equipment and storage medium
CN117709903A (en) Library separation method and device, electronic equipment and storage medium
CN115328917A (en) Query method, device, equipment and storage medium
CN115422275A (en) Data processing method, device, equipment and storage medium
CN113722593A (en) Event data processing method and device, electronic equipment and medium
CN113515504B (en) Data management method, device, electronic equipment and storage medium
EP4123999A2 (en) Method and apparatus for pushing a resource, and storage medium
CN115525659A (en) Data query method and device, electronic equipment and storage medium
CN115828572A (en) Production system data processing method, device, equipment and storage medium
CN115033823A (en) Method, apparatus, device, medium and product for processing data
CN117216398A (en) Enterprise recommendation method, device, equipment and medium
CN113535968A (en) Method and device for extracting key attributes of data
CN116342280A (en) Data determination method and device, electronic equipment and storage 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