A business export method and device

Through the collaborative work of the export task center and the business system, the problem of high repetitive code and maintenance costs in the existing technology is solved, and the efficiency and scalability of the business export method are achieved.

CN112905152BActive Publication Date: 2025-05-27BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911229141.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-04
Publication Date
2025-05-27
Estimated Expiration
2039-12-04

AI Technical Summary

Technical Problem

In the prior art, each department develops task management systems separately, resulting in a large number of repeated code writing, and the inability to decouple between exporting task management code and exporting business logic code, which increases maintenance costs and reduces scalability.

Method used

The export task center receives the user's export task request, determines the corresponding business system according to the type of the target export service in the export task request, filters and uploads the target export service to the storage device through the export logic code of the service system, and finally exports the target export service from the storage device by the export task center.

Benefits of technology

It effectively reduces the writing of duplicate code, reduces maintenance costs, and improves the scalability of business export methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112905152B_ABST
    Figure CN112905152B_ABST
Patent Text Reader

Abstract

The present invention discloses a service export method and apparatus, relating to the field of computer technology. A specific embodiment of the method includes: receiving, by an export task center, an export task request determined by a user according to export task information, and determining a corresponding business system according to the export business type corresponding to the target export service in the export task request; screening out the target export service respectively through the export logic code of the corresponding business system, and uploading the target export service to a storage device, and exporting the target export service from the storage device by the export task center. This embodiment effectively reduces duplicate code, lowers the maintenance cost, and improves the scalability of the service export method at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular, to a service export method and device. Background Art

[0002] With the development of e-commerce, various departments of e-commerce operators need to export various business data daily.

[0003] The existing export process is as follows: Each department develops its own export task management system, creates an export task according to the conditions of the business to be exported, and then performs corresponding export operations according to the export logic configured in the business management system.

[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the existing technology:

[0005] 1. Each department develops a task management system separately, and a large amount of duplicate code needs to be written;

[0006] 2. The export task management code and the export business logic code cannot be decoupled, which increases the maintenance cost and has poor scalability. Summary of the Invention

[0007] In view of this, embodiments of the present invention provide a service export method and device, which can effectively reduce duplicate code, reduce maintenance costs, and improve the scalability of the service export method at the same time.

[0008] To achieve the above object, according to the first aspect of the embodiments of the present invention, a service export method is provided, including:

[0009] Receiving, by an export task center, an export task request determined by a user according to export task information, and determining a corresponding business system according to the export business type corresponding to the target export business in the export task request;

[0010] Screening out the target export business respectively through the export logic code of the corresponding business system, uploading the target export business to a storage device, and exporting the target export business from the storage device through the export task center.

[0011] Further, the export logic code of the business system indicates the export business type and the corresponding export screening parameters.

[0012] Further, the export task information is configured by the export task center according to the export business type and the corresponding export screening parameters obtained from the business system.

[0013] Further, the export task information includes export task conditions and export task types.

[0014] Further, before determining the corresponding business system steps according to the export business type corresponding to the target export service in the export task request, the business export method further includes: controlling the export task center to send the export task request to each business system through a message queue, and the business system consumes the message queue to obtain the export task request.

[0015] Further, the steps of screening out the target export service through the export logic code of the corresponding business system respectively include: according to the export business type of the target export service, screening out the target export service from the business set through the export logic code.

[0016] Further, after the step of uploading the target export service to the storage device, the business export method further includes: updating the status of the target export service through the business system, and sending the update result to the export task center.

[0017] According to the second aspect of the embodiments of the present invention, a business export device is provided, including:

[0018] An export task request receiving module, configured to receive, through the export task center, an export task request determined by a user according to the export task information, and determine a corresponding business system according to the export business type corresponding to the target export service in the export task request;

[0019] An export module, configured to screen out the target export service through the export logic code of the corresponding business system respectively, upload the target export service to the storage device, and export the target export service from the storage device through the export task center.

[0020] According to the third aspect of the embodiments of the present invention, a terminal device is provided, including:

[0021] One or more processors;

[0022] A storage device, configured to store one or more programs,

[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned business export methods.

[0024] According to the fourth aspect of the embodiments of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, it implements any of the above-mentioned business export methods.

[0025] One embodiment of the above invention has the following advantages or beneficial effects: By receiving, through the export task center, the export task request determined by the user according to the export task information, and determining the corresponding business system according to the export business type corresponding to the target export business in the export task request; respectively screening out the target export business through the export logic code of the corresponding business system, and uploading the target export business to the storage device, and exporting the target export business from the storage device through the export task center, the technical problems in the prior art are overcome, such as a large amount of duplicate code writing due to the need to separately develop business management systems for each part; and the export task management code and the export business logic code cannot be decoupled, resulting in increased maintenance costs and poor scalability. Furthermore, the technical effects of effectively reducing duplicate code, lowering maintenance costs, and simultaneously improving the scalability of the business export method are achieved.

[0026] The further effects of the above non-conventional optional manner will be described in conjunction with specific embodiments hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings are used to better understand the present invention and do not constitute an improper limitation to the present invention. Among them:

[0028] Figure 1 is a schematic diagram of the main process of the business export method provided by the first embodiment of the present invention;

[0029] Figure 2a is a schematic diagram of the main process of the business export method provided by the second embodiment of the present invention;

[0030] Figure 2b is Figure 2a a schematic diagram of the business system in the business export method;

[0031] Figure 2c is Figure 2a a schematic diagram of the process of the business export system in the business export method;

[0032] Figure 2d is Figure 2a a schematic diagram of the framework of the business export system in the business export method;

[0033] Figure 3 is a schematic diagram of the main modules of the business export device provided by the embodiment of the present invention;

[0034] Figure 4 is an exemplary system architecture diagram to which the embodiment of the present invention can be applied;

[0035] Figure 5 is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing the embodiment of the present invention. Detailed implementation mode

[0036] The following describes exemplary embodiments of the present invention with reference to the accompanying drawings. Various details of the embodiments of the present invention are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize 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 the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0037] Figure 1 is a schematic diagram of the main process of the service export method provided according to the first embodiment of the present invention;

[0038] Step S101, receive the export service request determined by the user according to the export service information through the export task center, and determine the corresponding service system according to the export service type corresponding to the target export service in the export service request.

[0039] Specifically, according to the embodiments of the present invention, the export logic code of the above service system indicates the export service type and the corresponding export screening parameters.

[0040] Specifically, in the service export method provided by the embodiments of the present invention, at least one service system is provided. By configuring the corresponding export logic code for each service system, each service system is responsible for screening certain types or several types of service types, so as to facilitate subsequent export operations. Specifically, the export edit code can be adjusted according to actual needs, including adding new export logic codes to add new export service types; or deleting the corresponding export logic codes, etc.

[0041] According to the embodiments of the present invention, the above export task information is configured by the export task center according to the export service type and the corresponding export screening parameters obtained from the service system.

[0042] Since the corresponding export logic code for a corresponding type of service is pre-configured in the service system if an export operation is to be implemented, the export task center configures the metadata of the export task (i.e., the export task information) according to the export service type and the export screening parameters obtained from the service system, so that the user can subsequently initiate an export request for the corresponding service according to the range indicated by the export task information. Through the above settings, the interaction process between the user and the export task center is optimized, and the user experience is improved.

[0043] Specifically, according to the embodiments of the present invention, the above export task information includes export task conditions and export task types. The user can select an export task request that can implement the export operation according to the export task information displayed by the export task center. Among them, the export task request includes at least one target export service.

[0044] Specifically, according to an embodiment of the present invention, before the step of determining the corresponding business system according to the export business type corresponding to the target export service in the export task request, the above business export method further includes: controlling the export task center to send the export task request to each business system through a message queue, and the business system consumes the message queue to obtain the export task request.

[0045] With the above settings, after the export task center receives the export task request initiated by the user, it broadcasts to all business systems through the message queue, so that all business systems receive the user's export service request, and then each system consumes the message queue to check whether there is a target export service that needs to be executed in the export service request.

[0046] Step S102, respectively screen out the target export services through the export logic codes of the corresponding business systems, upload the target export services to the storage device, and the export task center exports the target export services from the storage device.

[0047] Specifically, according to an embodiment of the present invention, the above storage device may be a device with a storage function such as a database, a file server, or a cloud storage.

[0048] According to an embodiment of the present invention, the step of respectively screening out the target export services through the export logic codes of the corresponding business systems includes: screening the target export services from the business set through the export logic code according to the export business type of the target export service.

[0049] Specifically, after the business system determines the target export service that needs to be screened by it, it calls the export logic code to screen out the target export service. This is convenient for the subsequent export operation. The services in the business set can be distributed in the database or server cache.

[0050] Further, according to an embodiment of the present invention, the above business export method further includes: adjusting the export logic code of the task system.

[0051] When the export business type to be exported changes or a new export business type needs to be added, the export logic code on the business system can be directly jumped, achieving the technical effects of reducing the maintenance cost and improving the scalability of the business export method.

[0052] Further, according to an embodiment of the present invention, after the step of the business system uploading the target export service to the storage device, the above business export method further includes: updating the status of the target export service through the business system and sending the update result to the export task center.

[0053] After the business system uploads the filtered target export service to the storage device, it only needs to send the latest status of the corresponding target export service to the export task center to complete the work it is responsible for. Subsequently, only access the storage device through the export task center to export the corresponding target export service. Through the above settings, the decoupling of the export logic code of the business system and the export task management code of the export task center is achieved, simplifying the business export process and reducing the maintenance cost.

[0054] According to the technical solution of the embodiment of the present invention, by receiving, through the export task center, the export task request determined by the user according to the export task information, and determining the corresponding business system according to the export business type corresponding to the target export service in the export task request; screening out the target export service through the export logic code of the corresponding business system respectively, and uploading the target export service to the storage device, and exporting the target export service from the storage device through the export task center, the technical problem in the prior art that a large amount of duplicate code needs to be written because each part needs to develop a business management system separately; and the export task management code and the export business logic code cannot be decoupled, resulting in increased maintenance costs and poor scalability is overcome. Furthermore, the technical effects of effectively reducing duplicate code, reducing maintenance costs, and improving the scalability of the business export method are achieved.

[0055] Figure 2a It is a schematic diagram of the main process of the business export method provided by the second embodiment of the present invention; as Figure 2a shown, the business export method provided by the embodiment of the present invention mainly includes:

[0056] Step S201, configure the export logic code corresponding to each business system, and the export logic code indicates at least one export business type and the corresponding export screening parameters.

[0057] Specifically, according to the embodiment of the present invention, each business system downloads an SDK (Software Development Kit) from the export task center in the form of a Maven jar package. The SDK provides a core processing class ExportTaskClient and a spring container, and configures the corresponding export logic code through the bean of the spring container. When the business system receives the export task request broadcast by the export task center, as Figure 2b shown, ExportTaskClient will search for all Beans in the spring container that implement the corresponding interfaces. If the current business system can perform the screening of the corresponding target export service, it will call the export logic code in the corresponding bean to perform the corresponding screening on the target export service.

[0058] Step S202, control the export task center to obtain the export business types of the business systems and the corresponding export screening parameters to configure the export task information.

[0059] According to the embodiments of the present invention, by abstracting a general export task center and configuring the export task information according to the business export types corresponding to all business systems and the corresponding export screening parameters, users can initiate corresponding export task requests only through the export task center, simplifying the business export process.

[0060] Step S203, receive, through the export task center, the export task request determined by the user according to the export task information.

[0061] Based on the export task information provided by the export task center that can provide export business services, the user determines the business to be exported and initiates an export task request.

[0062] Step S204, control the export task center to send the export task request to each business system through the message queue. The business system consumes the message queue to obtain the export task request, and determines the business system corresponding to the target export business according to the export business type corresponding to the target export business in the export task request.

[0063] The business system configures xml (Extensible Markup Language) through spring (an open-source design-level framework that solves the loose coupling problem between the business logic layer and other layers, so it runs through the programming idea of programming to interfaces throughout the system application) provided in the SDK to subscribe to the messages sent by the export task center. When the export task center broadcasts the export task request initiated by the user through the message queue, each business system can receive the corresponding export task request. Then, the corresponding business system is determined according to the export business type corresponding to the target export business in the export business request.

[0064] Step S205, screen the target export business from the business set through the export logic code of the corresponding business system, and upload the target export business to the storage device.

[0065] Each business system screens the target export business through the export logic code in the corresponding bean (which plays the role of application program materials. In the Java model, the functions of Java programs can be infinitely expanded through JavaBeans, and new application programs can be quickly generated through the combination of JavaBeans), and uploads the screened target export business to the storage device. According to a specific implementation manner of an embodiment of the present invention, the above storage device may be a cloud database.

[0066] Step S206: Update the status of the target export service through the business system and send the update result to the export task center.

[0067] After the business system filters and uploads the corresponding target export service to the storage device, it only needs to send the latest status of the corresponding target export service to the export task center to complete its responsible work. Subsequently, only the export task center accesses the storage device to export the corresponding target export service. Through the above settings, the decoupling of the export logic code of the business system and the export task management code of the export task center is achieved, simplifying the business export process and reducing the maintenance cost.

[0068] Step S207: Export the target export service from the storage device through the export task center. The export task center can batch export all the target export services included in the export task request initiated by the user from the database after all the business systems filter and upload their corresponding target export services to the database.

[0069] Figure 2c Yes Figure 2a The process schematic diagram of the business export system in the business export method Figure 2d Yes Figure 2a The framework schematic diagram of the business export system in the business export method, as Figure 2c 、 2d shown:

[0070] The user terminal initiates an export task request to the export task center. The export task center sends the export task request to each business system through the message queue at that time. The business system filters out its corresponding target export service through the export logic code and uploads the target export service to the cloud storage. Then, the business system sends the updated status of the target export service to the export task center, and the export task center batch downloads all the target export services included in the export task request initiated by the user from the cloud storage.

[0071] According to the technical solution of the embodiment of the present invention, by receiving, through the export task center, an export task request determined by the user according to the export task information, and determining a corresponding business system according to the export business type corresponding to the target export business in the export task request; screening out the target export business respectively through the export logic code of the corresponding business system, and uploading the target export business to the database, and exporting the target export business from the database through the export task center, the technical problems in the prior art that a large amount of duplicate code needs to be written because each part needs to develop a business management system separately; and the export task management code and the export business logic code cannot be decoupled, resulting in increased maintenance costs and poor scalability are overcome. Furthermore, the technical effects of effectively reducing duplicate code, reducing maintenance costs, and improving the scalability of the business export method are achieved.

[0072] Figure 3 is a schematic diagram of the main modules of the business export device provided by the embodiment of the present invention; as Figure 3 shown, the business export device 300 provided by the embodiment of the present invention mainly includes:

[0073] An export task request receiving module 301, configured to receive, through the export task center, an export task request determined by the user according to the export task information, and determine a corresponding business system according to the export business type corresponding to the target export business in the export task request.

[0074] Specifically, according to the embodiment of the present invention, the export logic code of the above-mentioned business system indicates the configuration of the export business type and the corresponding export screening parameters.

[0075] Specifically, in the business export method provided by the embodiment of the present invention, at least one business system is provided. By configuring corresponding export logic code for each business system, each business system is respectively responsible for screening the business of a certain type or several types of business types, so as to facilitate subsequent export operations. Specifically, the export edit code can be adjusted according to actual needs, including adding new export logic code to implement the addition of new export business types; or deleting the corresponding export logic code, etc.

[0076] According to the embodiment of the present invention, the above-mentioned export task information is configured by the export task center according to the export business type and the corresponding export screening parameters obtained from the business system.

[0077] Since the corresponding export logic code for the corresponding type of business to implement the export operation is pre-configured in the business system, the export task center configures the metadata of the export task (i.e., the export task information) according to the export business type and the export screening parameters obtained from the business system, so that the user subsequently initiates an export request for the corresponding business according to the range indicated by the export task information.

[0078] Specifically, according to an embodiment of the present invention, the above export task information includes export task conditions and export task types. The user can select an export task request that can implement the export operation according to the export task information displayed in the export task center. Among them, the export task request includes at least one target export service.

[0079] Specifically, according to an embodiment of the present invention, the above export task request receiving module 301 is further configured to: control the export task center to send the export task request to each business system through a message queue, and the business system consumes the message queue to obtain the export task request, so as to subsequently determine the business system corresponding to the target export service according to the export service type corresponding to the target export service in the export task request.

[0080] Through the above settings, after the export task center receives the export task request initiated by the user, it broadcasts to all business systems in the form of a message queue, so that all business systems receive the user's export service request, and then each system consumes the message queue to check whether there is a target export service that needs to be executed in the export service request.

[0081] The export module 302 is configured to separately screen out the target export services through the export logic codes of the corresponding business systems, upload the target export services to the storage device, and export the target export services from the storage device through the export task center.

[0082] Specifically, according to an embodiment of the present invention, the above export module 302 is further configured to: screen out the target export services from the service set through the export logic code according to the export service type of the target export service.

[0083] Specifically, after the business system determines the target export service that needs to be screened by it, it screens out the target export service by calling the export logic code. Facilitate subsequent export operations. The service set can be distributed in the database or server cache.

[0084] Further, according to an embodiment of the present invention, the above business export device 300 further includes: an adjustment module for adjusting the export logic code of the task system.

[0085] When the export service type to be exported changes or a new export service type needs to be added, the export logic code on the business system can be directly jumped, achieving the technical effects of reducing the maintenance cost and improving the scalability of the business export method.

[0086] Further, according to an embodiment of the present invention, after the step of the service system uploading the target export service to the database, the service export device 300 further includes an update module, which is used to update the status of the target export service through the service system and send the update result to the export task center.

[0087] After the service system uploads the filtered target export service to the storage device, it only needs to send the latest status of the corresponding target export service to the export task center to complete its responsible work. Subsequently, only the export task center accesses the storage device to export the corresponding target export service. Through the above settings, the decoupling of the export logic code of the service system and the export task management code of the export task center is realized, the service export process is simplified, and the maintenance cost is reduced.

[0088] According to the technical solution of the embodiment of the present invention, by receiving the export task request determined by the user according to the export task information through the export task center, determining the corresponding service system according to the export service type corresponding to the target export service in the export task request; screening out the target export service through the export logic code of the corresponding service system respectively, and uploading the target export service to the storage device, and exporting the target export service from the storage device through the export task center, the technical problem in the prior art that a large number of duplicate codes need to be written because each part needs to develop a service management system separately; and the export task management code and the export service logic code cannot be decoupled, resulting in increased maintenance costs and poor scalability is overcome. Furthermore, the technical effect of effectively reducing duplicate codes, reducing maintenance costs, and improving the scalability of the service export method is achieved.

[0089] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part, and will not be elaborated here.

[0090] Figure 4 An exemplary system architecture 400 to which the service export method or the service export device according to the embodiment of the present invention can be applied is shown.

[0091] As Figure 4 shown, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405 (this architecture is only an example, and the components included in the specific architecture can be adjusted according to the specific situation of the application). The network 404 is used to provide a medium for communication links between the terminal devices 401, 402, 403 and the server 405. The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0092] Users can use terminal devices 401, 402, and 403 to interact with server 405 via network 404 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 401, 402, and 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (for example only).

[0093] Terminal devices 401, 402, and 403 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop computers, and desktop computers, etc.

[0094] Server 405 can be a server providing various services, such as a background management server that supports shopping websites browsed by users using terminal devices 401, 402, and 403 (for example only). The background management server can analyze and process data such as the received export logic code and export task requests, etc., and feedback the processing results (such as export task information, target export service - for example only) to the terminal device.

[0095] It should be noted that the service export method provided by the embodiments of the present invention is generally executed by server 405. Correspondingly, the service export device is generally set in server 405.

[0096] It should be understood that Figure 4 the numbers of terminal devices, networks, and servers in

[0097] are merely illustrative. According to actual needs, there can be any number of terminal devices, networks, and servers. Figure 5 Shown below is a schematic structural diagram of a computer system 500 of a terminal device suitable for implementing the embodiments of the present invention with reference to Figure 5 The shown terminal device is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention.

[0098] As Figure 5 shown, computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage section 508 into the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.

[0099] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as required. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 510 as required so that a computer program read therefrom is installed into the storage section 508 as required.

[0100] Specifically, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. 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 includes program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 509, and / or installed from the removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, the above-described functions defined in the system of the present invention are performed.

[0101] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can 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 can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can 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 a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram can represent a module, a program segment, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.

[0103] The modules involved in the embodiments of the present invention can be implemented in software or in hardware. The described modules can also be provided in a processor. For example, it can be described as: a processor includes an export task request receiving module and an export module. Among them, the names of these modules do not constitute a limitation to the module itself in some cases. For example, the export logic code module can also be described as "a module for receiving, through an export task center, an export task request determined by a user according to export task information, and determining a corresponding business system according to the export business type corresponding to the target export business in the export task request."

[0104] As another aspect, the present invention also provides a computer-readable medium, which can be included in the device described in the above embodiments; or it can exist separately without being assembled into the device. The above computer-readable medium carries one or more programs. When the one or more programs are executed by the device, the device includes: receiving, through an export task center, an export task request determined by a user according to export task information, and determining a corresponding business system according to the export business type corresponding to the target export business in the export task request; respectively screening out the target export business through the export logic code of the corresponding business system, and uploading the target export business to a storage device, and exporting the target export business from the storage device through the export task center.

[0105] According to the technical solution of the embodiments of the present invention, by adopting the technical means of receiving, through an export task center, an export task request determined by a user according to export task information, and determining a corresponding business system according to the export business type corresponding to the target export business in the export task request; respectively screening out the target export business through the export logic code of the corresponding business system, and uploading the target export business to a storage device, and exporting the target export business from the storage device through the export task center, the technical problems in the prior art that a large amount of duplicate code needs to be written because each part needs to develop a business management system separately; and the export task management code and the export business logic code cannot be decoupled, resulting in an increase in maintenance cost and poor scalability are overcome. Furthermore, the technical effects of effectively reducing duplicate code, reducing maintenance cost, and improving the scalability of the business export method are achieved.

[0106] The above specific embodiments do not limit the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur 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 within the protection scope of the present invention.

Claims

1. A business export method, characterized in that, comprising: Receiving, by an export task center, an export task request determined by a user according to export task information, and determining a corresponding business system according to the export business type corresponding to the target export business in the export task request; Respectively screening out the target export business through the export logic code of the corresponding business system, uploading the target export business to a storage device, and exporting the target export business from the storage device through the export task center; The export logic code of the business system indicates the export business type and corresponding export screening parameters; The export task information is configured by the export task center according to the export business type and corresponding export screening parameters obtained from the business system.

2. The business export method according to claim 1, characterized in that, The export task information includes export task conditions and export task types.

3. The business export method according to claim 1, characterized in that, Before the step of determining a corresponding business system according to the export business type corresponding to the target export business in the export task request, the business export method further includes: controlling the export task center to send the export task request to each business system through a message queue, and the business system consumes the message queue to obtain the export task request.

4. The business export method according to claim 1, characterized in that, The step of respectively screening out the target export business through the export logic code of the corresponding business system includes: screening the target export business from the business set through the export logic code according to the export business type of the target export business.

5. The business export method according to claim 1, characterized in that, After the step of uploading the target export business to the storage device, the business export method further includes: updating the status of the target export business through the business system, and sending the update result to the export task center.

6. A business export device, characterized in that, comprising: An export task request receiving module, configured to receive, by an export task center, an export task request determined by a user according to export task information, and determine a corresponding business system according to the export business type corresponding to the target export business in the export task request; An export module, configured to respectively screen out the target export business through the export logic code of the corresponding business system, upload the target export business to a storage device, and export the target export business from the storage device through the export task center; The export logic code of the business system indicates the export business type and corresponding export screening parameters; The export task information is configured by the export task center according to the export business type and corresponding export screening parameters obtained from the business system.

7. A terminal device, characterized in that, comprising: 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-5.

8. A computer-readable medium having a computer program stored thereon, wherein, when the program is executed by a processor, it implements the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Data processing system and method, client, and server

    CN107645508A

  • Data query method and device

    CN109561326A