Method, device and equipment for processing business data and computer readable medium
By generating business data tasks and scheduling scanner processing, the problem of slow business data processing speed in the existing technology is solved, and more efficient data processing and deployment task efficiency are achieved.
Patent Information
- Application Number
- CN202410834521.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-08-23
AI Technical Summary
The speed of processing business data in the existing technology is slow, resulting in low efficiency of deployment tasks.
Receive business project data packages and business project information through the front-end page, generate business data tasks, and store them in the task table in the database. Poll the working status of the scanner based on the business data task information in the task table, and schedule the scanner to filter Idle scanners and push business project data packets to successfully scheduled scanners for data detection.
By selecting suitable scanners to match business data tasks, the speed of processing business data is significantly accelerated and the efficiency of deployment tasks is improved.
Smart Images

Figure CN118535633A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud computing technology, and in particular to a method, device, equipment and computer-readable medium for processing business data. Background Art
[0002] The launch of a business project involves the delivery of a business project version. One of the important tasks is the deployment task before the business project goes online. The bottom line of the security of the deployment task before the project goes online is the security of the business project data package. The business project data package is a collection of data involved in executing the deployment task.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: using a designated scanner to process business item data packets results in a slow speed of processing business data. Summary of the invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, device and computer-readable medium for processing business data, which can improve the speed of processing business data.
[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for processing business data is provided, comprising: Using a front-end page to receive a business project data packet and business project information of the business project data packet, and generating a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and storing the task in a task table in a database; Polling a scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner; The business item information of the business item data packet is pushed to the successfully scheduled scanner, and the successfully scheduled scanner acquires and scans the business item data packet based on the business item information to detect the business data in the business item data packet.
[0006] The method of receiving a business project data packet and business project information of the business project data packet by using a front-end page, generating a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and storing the task in a task table in a database includes: Receive the business project data packet in the front-end page, and construct the business project information of the business project data packet by using the business project operation time, business project identifier and business project version identifier in the front-end page; The business project data packet is updated to a preset format data packet through the back end, and the preset format data packet generates a business data task of the business project according to the business project information of the business project data packet and stores it in a task table in the database.
[0007] The step of polling the scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner, comprises: Polling scanners according to the business item operation time in the business item information in the task table to filter out scanners whose working status for the business data task is idle; In a scanner in an idle working state, based on the business project identifier and the business project version identifier in the business project information, the scanner related to the business data task is acquired to schedule the scanner related to the business project.
[0008] The method of acquiring, from among the scanners in an idle working state, a scanner related to the business data task based on the business project identifier and the business project version identifier in the business project information, so as to schedule the scanner related to the business project, includes: Among the scanners in an idle working state, determining a scanner related to the business project based on the business project identifier in the business project information; In the business item related scanner, a business item version scanner is obtained according to the business item version identifier in the business item information, and the business item version scanner is called.
[0009] The step of pushing the business item information of the business item data packet to the successfully scheduled scanner, wherein the successfully scheduled scanner acquires and scans the business item data packet based on the business item information to detect the business data in the business item data packet, comprises: Push the business item information of the business item data packet to the scanner that is successfully scheduled; The successfully scheduled scanner obtains the business item data packet and the business database of the business item data packet based on the business item information, and scans the business item data packet according to the business database of the business item data packet to detect the business data in the business item data packet.
[0010] The successfully scheduled scanner acquires the business item data packet and the business database of the business item data packet based on the business item information, and scans the business item data packet according to the business database of the business item data packet to detect the business data in the business item data packet, including: Acquiring the service item data packet based on the service item information by the successfully scheduled scanner; The successfully scheduled scanner is related to the business item identifier, then a business database of the business item version is obtained according to the business item version in the business item information, and the business database of the business item version is used as the business database of the business item data packet; The successfully scheduled scanner is related to the service item version, then an updated service database of the service item version is obtained according to the service item version in the service item information, and the updated service database of the service item version is used as the service database of the service item data packet; The service item data packet is scanned according to the service database of the service item data packet to detect the service data in the service item data packet.
[0011] The receiving of the business project data packet and the business project information of the business project data packet by using the front-end page includes: Receiving the business project data package and the business project information pushed by the business project software, or responding to an upload information instruction; The front-end page is used to receive the business item data package and the business item information of the business item data package.
[0012] According to a second aspect of an embodiment of the present invention, there is provided a device for processing service data, including: A storage module, used to receive a business project data packet and business project information of the business project data packet by using a front-end page, generate a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and store the task in a task table in a database; A scheduling module, used for polling a scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner; The detection module is used to push the business project information of the business project data packet to the successfully scheduled scanner, and the successfully scheduled scanner obtains and scans the business project data packet based on the business project information to detect the business data in the business project data packet.
[0013] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for processing service data, including: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.
[0014] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described above is implemented.
[0015] According to a fifth aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the program is executed by a processor, the method as described above provided by an embodiment of the present invention is implemented.
[0016] One embodiment of the above invention has the following advantages or beneficial effects: using the front-end page to receive the business project data packet and the business project information of the business project data packet, generating the business data task of the business project based on the business project data packet and the business project information of the business project data packet through the back-end, and storing it in the task table in the database; polling the scanner according to the business project information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner; pushing the business project information of the business project data packet to the successfully scheduled scanner, and the successfully scheduled scanner acquires and scans the business project data packet based on the business project information to detect the business data in the business project data packet. By filtering the scanner by the business project information, the selected scanner can scan the business project data packet according to the business project information, thereby speeding up the processing of business data.
[0017] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention. Figure 1 is a schematic diagram of the main flow of a method for processing business data according to an embodiment of the present invention; Figure 2 is a schematic diagram of a process of receiving a service item data packet and service item information of the service item data packet according to an embodiment of the present invention; Figure 3 is a schematic diagram of a process for generating business data of a business project according to an embodiment of the present invention; Figure 4 is a schematic diagram of a process of scheduling a scanner according to a working state of the scanner according to an embodiment of the present invention; Figure 5 is a schematic diagram of a process of scheduling a scanner related to a business project according to an embodiment of the present invention; Figure 6 is a schematic diagram of a process flow of a scanner that is successfully scheduled to scan a service item data packet according to an embodiment of the present invention; Figure 7 is a schematic diagram of a process of scanning a service item data packet according to a service database by a scanner according to an embodiment of the present invention; Figure 8 is a schematic diagram of the main structure of a device for processing business data according to an embodiment of the present invention; Fig. 9 is an exemplary system architecture diagram to which embodiments of the present invention may be applied; Fig.10 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description. The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0020] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0021] In order to solve the slow processing speed of business data, the following technical solution in the embodiment of the present invention can be adopted.
[0022] See also Figure 1 , Figure 1 1 is a schematic diagram of the main flow of a method for processing business data according to an embodiment of the present invention, wherein scanners are screened based on business item information of business data tasks to improve the matching degree between scanners and business data tasks. Figure 1 As shown in 100, the process specifically includes the following steps.
[0023] S101. Receive a business project data package and business project information of the business project data package by using a front-end page, generate a business data task of the business project based on the business project data package and the business project information of the business project data package by using a back-end, and store the task in a task table in a database.
[0024] In an embodiment of the present invention, data is received through a front-end page. Specifically, a business project data packet and business project information of the business project data packet are received by the front-end page. After receiving data through the front-end page, a business data task is generated through the back-end. That is, based on the business project data packet and the business project information of the business project data packet, a business data task of the business project is generated through the back-end and stored in a task table in a database.
[0025] See also Figure 2 That is 200, Figure 2 The flowchart of receiving a service item data packet and service item information of the service item data packet according to an embodiment of the present invention is shown in FIG.
[0026] S201: receiving a business project data package and business project information pushed by a business project software, or responding to an upload information instruction.
[0027] In the embodiment of the present invention, there are two ways to obtain the service item data package and the service item information: one is push; the other is upload.
[0028] As an example, a business project data package and business project information pushed by a business project software are received. The business project software constructs the business project data package and business project information. After completing the construction of the business project data package and business project information, the constructed business project data package and business project information are pushed to the front end.
[0029] As another example, the construction of the business project data package and the business project information is completed, and in response to an upload information instruction, uploading of the business project data package and the business project information on the front-end page is triggered.
[0030] S202: Receive a business project data package and business project information of the business project data package using a front-end page.
[0031] In the embodiment of the present invention, the front page is a page for interaction with the user. An input box for business item information is provided in the front page, and the business item information is received through the input box.
[0032] In addition, the business project data package can also be received through the front-end page. As an example, the business project data package is uploaded on the front-end page.
[0033] exist Figure 2 In the embodiment, the business item data packet and the business item information of the business item data packet are received through the front-end page.
[0034] In an embodiment of the present invention, the business project data packet is a data packet for executing a business project. As an example, the business project data packet includes an installation package corresponding to the business project software. The business project information is information related to the business project by the business project data. As an example, the business project information includes the business project operation time, the business project identifier, and the business project version identifier.
[0035] See also Figure 3 That is 300, Figure 3 The flowchart of the task of generating business data of a business project according to an embodiment of the present invention is shown in FIG.
[0036] S301, receiving a business project data packet from a front-end page, and constructing business project information of the business project data packet using the business project operation time, business project identifier and business project version identifier in the front-end page.
[0037] In an embodiment of the present invention, a business project data packet is received in a front-end page. At the same time, the business project operation time, business project identification and business project version identification in the front-end page are used to construct the business project information of the business project data packet. The business project information corresponds to the business project data packet. Each business project data packet has corresponding business project information.
[0038] S302: updating the business project data package to a preset format data package through the back end; generating a business data task for the business project according to the business project information in the business project data package, and storing the task task in a task table in a database.
[0039] In the backend, the business project data package needs to be updated to a preset format data package. As an example, business project data packages of different formats are updated to a unified preset format data package. As an example, the different formats include txt, docx, and jar.
[0040] While updating the service item data packet to a unified preset format data packet, decompression and deduplication operations can also be performed. As an example, the MD5 information digest algorithm is used to implement the deduplication operation. The deduplication operation can improve the effectiveness of scanning the service item data packet.
[0041] For a data package in a preset format, a business data task for a business project can be generated according to the business project information in the business project data package and stored in a task table in the database. Multiple business data tasks are stored in the task table in the database. Each business data task corresponds to a business project data table, and the business data task is identified using the business project information.
[0042] exist Figure 3In the embodiment, the business project data packet is recorded through the task table to process the business project data packet according to the business project information.
[0043] S102 . Poll the scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and schedule the scanner according to the working status of the scanner.
[0044] In an embodiment of the present invention, the business data task is executed by a scanner. There are multiple scanners at the back end, and each scanner can execute a business data task. There are two working states for the scanner, namely: idle and busy. At the same time, the scanner executes a business data task.
[0045] Specifically, the scanner is polled according to the business item information of the business data task in the task table to determine the working state of the scanner for the business data task, and the scanner is scheduled according to the working state of the scanner. That is, if the working state for the business data task is: idle, the scanner can be scheduled to execute the business data task.
[0046] The thread is used to continuously scan the task table to determine whether the business data task meets the trigger time. If it meets the trigger time, the business data task is scheduled to the successfully scheduled scanner for execution; if it does not meet the trigger time, it continues to wait.
[0047] See also Figure 4 That is 400, Figure 4 The flowchart of scheduling a scanner according to the working status of the scanner according to an embodiment of the present invention specifically includes the following steps.
[0048] S401 . Poll scanners according to the business item operation time in the business item information in the task table to filter out scanners whose working status for the business data task is idle.
[0049] The business data task in the task table is executed by the scanner. The scanner can be polled according to the business item operation time in the business item information in the task table. Among them, the business item information corresponds to the business data task. Each business data task has corresponding business item information.
[0050] The scanners are polled at the business project operation time to determine the scanners that are idle during the business project operation time. The idle scanners can process business data tasks.
[0051] As an example, the business project operation time in the business project information of business data task a is: 8:00 am on January 2. The above business project operation time is used to poll the scanners to filter out scanners with idle working status for the business data task: scanner 1, scanner 2, scanner 3 and scanner 4.
[0052] S402: From a scanner in an idle state, based on a business project identifier and a business project version identifier in the business project information, obtain a scanner related to the business data task to schedule the scanner related to the business project.
[0053] In the embodiment of the present invention, it is considered that the scanning business data task needs to use the data in the business database. Specifically, the scanner downloads the business database of the business data task and scans the business data task according to the data in the business database. If the business data task has data that is consistent with the data in the business database, the consistent data is identified in the business data task. For example, the business database includes a virus database.
[0054] Then, for the scanner that has executed the business data task, the data in the business database is stored. Therefore, in the scanner whose working state is idle, based on the business project identifier and the business project version identifier in the business project information, the scanner related to the business data task can be known to realize the calling of the scanner related to the business project. Among them, the scanner related to the business data task is a scanner that has executed the same business project and / or the same project version as the business data task. In this way, the download of data in the business database is reduced.
[0055] See also Figure 5 That is 500, Figure 5 The flowchart of scheduling a scanner related to a business project according to an embodiment of the present invention is shown in FIG.
[0056] S501. Among scanners in an idle working state, determine a scanner related to a business project based on a business project identifier in business project information.
[0057] Among the scanners in idle working state, the scanners are searched with the business project identifier in the business project information to determine the business project related scanners. The business project related scanners include scanners that have executed the same business project identifier.
[0058] As an example, the business project identifiers executed by scanner 1 include: business project 123; the business project identifiers executed by scanner 2 include: business project 123; the business project identifiers executed by scanner 3 include: business project 345; and the business project identifiers executed by scanner 4 include: business project 789. Among them, the scanners related to business project 123 include scanner 1 and scanner 2.
[0059] S502: In a scanner related to the business project, obtain a business project version scanner according to the business project version identifier in the business project information, and call the business project version scanner.
[0060] For a business project, there is a corresponding business project version. For example, the business project versions corresponding to business project 123 include 1.1, 1.2 and 1.3. Different business project versions have different business databases.
[0061] In the scanner related to the business project, the business project version scanner is obtained according to the business project version identifier in the business project information, and the business project version scanner is called.
[0062] As an example, the scanners related to business project 123 include scanner 1 and scanner 2. The business project version in scanner 1 is 1.1, and the business project version in scanner 2 is 1.2. If the business project version in the business project information is identified as 1.2, scanner 2 can be used as the business project version scanner, and scanner 2 can be called to execute the business data task.
[0063] exist Figure 5 In the embodiment, a scanner related to a business data task is called based on the business project identifier and the business project version identifier in the business project information, thereby reducing the amount of data acquired from the business database and speeding up the processing of business data.
[0064] S103: Push the business item information of the business item data packet to the successfully scheduled scanner, and the successfully scheduled scanner acquires and scans the business item data packet based on the business item information to detect the business data in the business item data packet.
[0065] In an embodiment of the present invention, a thread is used to continuously scan the task table to determine whether the business data task meets the trigger time. If it meets the trigger time, the business project information of the business project data packet is pushed to the scanner that is successfully scheduled. The scanner that is successfully scheduled obtains and scans the business project data packet based on the business project information to detect the business data in the business project data packet.
[0066] See also Figure 6 That is 600, Figure 6 The flowchart of a scanning machine scanning a service item data packet after scheduling successfully according to an embodiment of the present invention is shown in FIG.
[0067] S601, push the business project information of the business project data packet to the scanner that is successfully scheduled.
[0068] The task table determines that the business data task meets the trigger time, and pushes the business project information of the business project data package to the successfully scheduled scanner. The successfully scheduled scanner is the scanner that is successfully called according to the working status of the scanner.
[0069] S602: The successfully scheduled scanner obtains a business item data packet and a business database of the business item data packet based on the business item information, and scans the business item data packet according to the business database of the business item data packet to detect business data in the business item data packet.
[0070] The scanner that is successfully scheduled obtains the business project data package and the business database of the business project data package based on the business project information. The business project data package is scanned using the corresponding business database to improve pertinence and accuracy.
[0071] Specifically, the business item data packet is scanned according to the business database of the business item data packet to detect the business data in the business item data packet.
[0072] See also Figure 7 That is 700, Figure 7 The flowchart of the scanning machine according to the embodiment of the present invention scanning the service item data package according to the service database includes the following steps.
[0073] S701. Acquire a business item data packet based on business item information through a successfully scheduled scanner.
[0074] The successfully scheduled scanner obtains the business project data packet from the database according to the business project information, and then scans the business project data packet.
[0075] S702: If the scanner that is successfully scheduled is related to the business project identifier, a business database of the business project version is obtained according to the business project version in the business project information, and the business database of the business project version is used as the business database of the business project data packet.
[0076] If the scanner that is successfully scheduled is related to the business project identifier, it means that the scanner is a business project related scanner, and the business database of the business project version can be obtained according to the business project version in the business project information. The business database of the business project version is used as the business database of the business project data package.
[0077] S703: If the scanner that is successfully scheduled is related to the business project version, an updated business database of the business project version is obtained according to the business project version in the business project information, and the updated business database of the business project version is used as the business database of the business project data package.
[0078] If the scanner that is successfully scheduled is related to the business project version, it means that the scanner is a business project version related scanner. In order to increase the comprehensiveness of the business database, the updated business database of the business project version can be obtained according to the business project version in the business project information. If the business database of the business project version is not updated within a preset time period, the updated business database of the business project version is the updated business database of the original business project version.
[0079] The updated business database of the business project version is used as the business database of the business project data package.
[0080] S704: Scan the business item data packet according to the business database of the business item data packet to detect the business data in the business item data packet.
[0081] The business project data package is scanned according to the business database of the business project data package to detect whether the business data in the business project data package is the same as the business database of the business project data package. In the case where the data is the same, the same data is recorded and reported, and an early warning message is sent. As an example, the early warning message is sent through a timely communication tool.
[0082] exist Figure 7 In the embodiment, the amount of data in the business database acquired by the scanner decreases as the relevance of the business item data packets processed by the scanner increases.
[0083] The business project-related scanner already has a business database of the business project, which has less data different from the business database of the business project version. The business database of the business project version can be obtained by obtaining the difference data between the two business databases.
[0084] The business project version-related scanner has a business database of the business project version, which is almost the same as the updated business database of the business project version. The updated business database of the business project version can be obtained by obtaining the difference data of the two business databases.
[0085] use Figure 7 In the embodiment, the speed of processing business data is accelerated by obtaining a method that reduces the amount of data obtained from the business database.
[0086] In the above-mentioned embodiment of the present invention, a business project data packet and the business project information of the business project data packet are received by a front-end page, and a business data task of the business project is generated by a back-end based on the business project data packet and the business project information of the business project data packet, and stored in a task table in a database; a scanner is polled according to the business project information of the business data task in the task table to determine the working status of the scanner for the business data task, and the scanner is scheduled according to the working status of the scanner; the business project information of the business project data packet is pushed to the scanner that is successfully scheduled, and the scanner that is successfully scheduled obtains and scans the business project data packet based on the business project information to detect the business data in the business project data packet. By filtering the scanner by the business project information, the selected scanner can scan the business project data packet according to the business project information, thereby speeding up the processing of business data.
[0087] See also Figure 8 , Figure 8 is a schematic diagram of the main structure of a device for processing business data according to an embodiment of the present invention. The device for processing business data can implement a method for processing business data, such as Figure 8 As shown in 800, the device for processing business data specifically includes: The storage module 801 is used to receive a business project data packet and business project information of the business project data packet by using a front-end page, generate a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and store the task in a task table in a database; The scheduling module 802 is used to poll the scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and schedule the scanner according to the working status of the scanner; The detection module 803 is used to push the business project information of the business project data packet to the successfully scheduled scanner, and the successfully scheduled scanner obtains and scans the business project data packet based on the business project information to detect the business data in the business project data packet.
[0088] In one embodiment of the present invention, the storage module 801 is specifically used to receive a business project data packet from a front-end page, and construct business project information of the business project data packet using the business project operation time, business project identifier and business project version identifier in the front-end page; The business project data packet is updated to a preset format data packet through the back end, and the preset format data packet generates a business data task of the business project according to the business project information of the business project data packet and stores it in a task table in the database.
[0089] In one embodiment of the present invention, the scheduling module 802 is specifically used to poll the scanner according to the business item operation time in the business item information in the task table to filter out the scanner whose working state is idle for the business data task; In a scanner in an idle working state, based on the business project identifier and the business project version identifier in the business project information, the scanner related to the business data task is acquired to schedule the scanner related to the business project.
[0090] In one embodiment of the present invention, the scheduling module 802 is specifically configured to determine, among scanners in an idle working state, a scanner related to a business project based on a business project identifier in the business project information; In the business item related scanner, a business item version scanner is obtained according to the business item version identifier in the business item information, and the business item version scanner is called.
[0091] In one embodiment of the present invention, the detection module 803 is specifically used to push the business item information of the business item data packet to the scanner that has been successfully scheduled; The successfully scheduled scanner obtains the business item data packet and the business database of the business item data packet based on the business item information, and scans the business item data packet according to the business database of the business item data packet to detect the business data in the business item data packet.
[0092] In one embodiment of the present invention, the detection module 803 is specifically configured to obtain the service item data packet based on the service item information through the successfully scheduled scanner; The successfully scheduled scanner is related to the business item identifier, then a business database of the business item version is obtained according to the business item version in the business item information, and the business database of the business item version is used as the business database of the business item data packet; The successfully scheduled scanner is related to the service item version, then an updated service database of the service item version is obtained according to the service item version in the service item information, and the updated service database of the service item version is used as the service database of the service item data packet; The service item data packet is scanned according to the service database of the service item data packet to detect the service data in the service item data packet.
[0093] In one embodiment of the present invention, the storage module 801 is specifically used to receive the business project data packet and the business project information pushed by the business project software, or, in response to an upload information indication; The front-end page is used to receive the business item data package and the business item information of the business item data package.
[0094] Fig. 9 An exemplary system architecture 900 is shown to which the method for processing business data or the apparatus for processing business data according to the embodiments of the present invention can be applied.
[0095] like Fig. 9 As shown, system architecture 900 may include terminal devices 901, 902, 903, network 904 and server 905. Network 904 is used to provide a medium for communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0096] The user can use the terminal devices 901, 902, 903 to interact with the server 905 through the network 904 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 901, 902, 903, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0097] The terminal devices 901 , 902 , and 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0098] The server 905 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 901, 902, and 903. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0099] It should be noted that the method for processing business data provided in the embodiment of the present invention is generally executed by the server 905 , and accordingly, the device for processing business data is generally set in the server 905 .
[0100] It should be understood that Fig. 9 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0101] A computer program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, the method for processing business data provided by the embodiment of the present invention is implemented.
[0102] Reference below Fig.10 , which shows a schematic diagram of the structure of a computer system 1000 of a terminal device suitable for implementing an embodiment of the present invention. Fig.10 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0103] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0104] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0105] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, the above-mentioned functions defined in the system of the present invention are executed.
[0106] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0107] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0108] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be arranged in a processor, for example, may be described as: a processor includes a storage module, a scheduling module and a detection module. Wherein, the names of these modules do not constitute a limitation on the modules themselves under certain circumstances, for example, the storage module may also be described as "for receiving a business project data packet and business project information of the business project data packet using a front-end page, generating a business data task of a business project based on the business project data packet and the business project information of the business project data packet through a back-end, and storing it in a task table in a database".
[0109] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: Using a front-end page to receive a business project data packet and business project information of the business project data packet, and generating a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and storing the task in a task table in a database; Polling a scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner; The business item information of the business item data packet is pushed to the successfully scheduled scanner, and the successfully scheduled scanner acquires and scans the business item data packet based on the business item information to detect the business data in the business item data packet.
[0110] According to the technical solution of the embodiment of the present invention, a business project data packet and the business project information of the business project data packet are received by a front-end page, and a business data task of the business project is generated based on the business project data packet and the business project information of the business project data packet through the back-end, and stored in a task table in a database; a scanner is polled according to the business project information of the business data task in the task table to determine the working status of the scanner for the business data task, and the scanner is scheduled according to the working status of the scanner; the business project information of the business project data packet is pushed to the scanner that is successfully scheduled, and the scanner that is successfully scheduled obtains and scans the business project data packet based on the business project information to detect the business data in the business project data packet. By filtering the scanner by the business project information, the selected scanner can scan the business project data packet according to the business project information, thereby speeding up the processing of business data.
[0111] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0112] It should be noted that in the technical solution of the present invention, the collection, analysis, use, transmission, storage and other aspects of user personal information involved are in compliance with the provisions of relevant laws and regulations, are used for legal and reasonable purposes, are not shared, leaked or sold outside of these legal uses, and are subject to supervision and management by regulatory authorities. Necessary measures should be taken for user personal information to prevent illegal access to such personal information data, ensure that persons who have access to personal information data comply with the provisions of relevant laws and regulations, and ensure the security of user personal information. Once these user personal information data are no longer needed, the risks should be minimized by limiting or even prohibiting data collection and / or deleting data.
[0113] When applicable, including in certain relevant applications, protect user privacy by de-identifying data, such as by removing specific identifiers (e.g., date of birth, etc.) when applicable, controlling the amount or specificity of data stored (e.g., collecting location data at a city level rather than at a specific address level), controlling how data is stored, and / or other de-identification methods.
Claims
1. A method for processing business data, characterized in that: include: Using a front-end page to receive a business project data packet and business project information of the business project data packet, and generating a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and storing the task in a task table in a database; Polling a scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner; The business item information of the business item data packet is pushed to the successfully scheduled scanner, and the successfully scheduled scanner acquires and scans the business item data packet based on the business item information to detect the business data in the business item data packet.
2. The method for processing business data according to claim 1, characterized in that: The method of receiving a business project data packet and business project information of the business project data packet by using a front-end page, generating a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and storing the task in a task table in a database includes: Receive the business project data packet in the front-end page, and construct the business project information of the business project data packet by using the business project operation time, business project identifier and business project version identifier in the front-end page; The business project data packet is updated to a preset format data packet through the back end, and the preset format data packet generates a business data task of the business project according to the business project information of the business project data packet and stores it in a task table in the database.
3. The method for processing business data according to claim 1, characterized in that: The step of polling the scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner, comprises: Polling scanners according to the business item operation time in the business item information in the task table to filter out scanners whose working status for the business data task is idle; In a scanner in an idle working state, based on the business project identifier and the business project version identifier in the business project information, the scanner related to the business data task is acquired to schedule the scanner related to the business project.
4. The method for processing business data according to claim 3, characterized in that: The method of acquiring, from among the scanners in an idle working state, a scanner related to the business data task based on the business project identifier and the business project version identifier in the business project information, so as to schedule the scanner related to the business project, includes: Among the scanners in an idle working state, determining a scanner related to the business project based on the business project identifier in the business project information; In the business item related scanner, a business item version scanner is obtained according to the business item version identifier in the business item information, and the business item version scanner is called.
5. The method for processing business data according to claim 1, characterized in that: The step of pushing the business item information of the business item data packet to the successfully scheduled scanner, wherein the successfully scheduled scanner acquires and scans the business item data packet based on the business item information to detect the business data in the business item data packet, comprises: Push the business item information of the business item data packet to the scanner that is successfully scheduled; The successfully scheduled scanner obtains the business item data packet and the business database of the business item data packet based on the business item information, and scans the business item data packet according to the business database of the business item data packet to detect the business data in the business item data packet.
6. The method for processing business data according to claim 5, characterized in that: The successfully scheduled scanner acquires the business item data packet and the business database of the business item data packet based on the business item information, and scans the business item data packet according to the business database of the business item data packet to detect the business data in the business item data packet, including: Acquiring the service item data packet based on the service item information by the successfully scheduled scanner; The successfully scheduled scanner is related to the business item identifier, then a business database of the business item version is obtained according to the business item version in the business item information, and the business database of the business item version is used as the business database of the business item data packet; If the scanner that is successfully scheduled is related to the service item version, an updated service database of the service item version is obtained according to the service item version in the service item information, and the updated service database of the service item version is used as the service database of the service item data packet; The service item data packet is scanned according to the service database of the service item data packet to detect the service data in the service item data packet.
7. The method for processing business data according to claim 1, characterized in that: The receiving of the business project data packet and the business project information of the business project data packet by using the front-end page includes: Receiving the business project data package and the business project information pushed by the business project software, or responding to an upload information instruction; The front-end page is used to receive the business item data package and the business item information of the business item data package.
8. A device for processing business data, characterized in that: include: A storage module, used to receive a business project data packet and business project information of the business project data packet by using a front-end page, generate a business data task of the business project based on the business project data packet and the business project information of the business project data packet through a back-end, and store the task in a task table in a database; A scheduling module, used for polling a scanner according to the business item information of the business data task in the task table to determine the working status of the scanner for the business data task, and scheduling the scanner according to the working status of the scanner; The detection module is used to push the business project information of the business project data packet to the successfully scheduled scanner, and the successfully scheduled scanner obtains and scans the business project data packet based on the business project information to detect the business data in the business project data packet.
9. An electronic device for processing business data, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
General loophole scanner realization method based on SaaS architecture
CN107204962A
Task scheduling method and device, computer equipment and computer readable storage medium
CN113986534A
Virus scanning method and system, scanner and storage medium
CN118036007A
