CN117938909A - Data transmission method, device, equipment and medium - Google Patents

Data transmission method, device, equipment and medium Download PDF

Info

Publication number
CN117938909A
CN117938909A CN202410114679.0A CN202410114679A CN117938909A CN 117938909 A CN117938909 A CN 117938909A CN 202410114679 A CN202410114679 A CN 202410114679A CN 117938909 A CN117938909 A CN 117938909A
Authority
CN
China
Prior art keywords
data
target service
database
target
service data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410114679.0A
Other languages
Chinese (zh)
Inventor
唐然
岳博洋
王淑静
陈思凝
国世佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202410114679.0A priority Critical patent/CN117938909A/en
Publication of CN117938909A publication Critical patent/CN117938909A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data transmission method, a device, equipment and a medium. The method comprises the following steps: after receiving a data transmission request corresponding to target service data, acquiring identification information of a target service system corresponding to the target service data; according to the identification information, acquiring database configuration information of the target service system from a configuration server; and determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database. According to the embodiment of the invention, the service data can be accurately transmitted to the sub-database corresponding to the type of the service data in other service systems needing to acquire the service data according to the data characteristics of the service data and the database configuration information of other service systems, so that the accuracy of the data transmission process is improved.

Description

Data transmission method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data transmission method, apparatus, device, and medium.
Background
Enterprises typically deploy multiple business systems. Each service system is used for realizing different service functions. Each business system of the enterprise can jointly complete business tasks of the enterprise. During execution of the service tasks, a large amount of service data will be transmitted between the respective service systems.
In the related art, the common data transmission scheme is: the service system determines other service systems needing to acquire the specified service data, and then sends the specified service data to a database of the other service systems needing to acquire the specified service data, so that the specified service data is transmitted to the other service systems needing to acquire the specified service data. After the transmission process of the specified service data is completed, other service systems needing to acquire the specified service data start to process the data of the specified service data. According to the data characteristics of each item of service data, each item of service data can be divided into different types of service data. The database of each business system typically contains sub-databases for storing different types of business data. In the data transmission scheme in the related art, the service system cannot accurately transmit the service data to the sub-database corresponding to the type of the service data in other service systems needing to acquire the service data.
Disclosure of Invention
The invention provides a data transmission method, a device, equipment and a medium, which are used for solving the problem that a service system cannot accurately transmit service data to a sub-database corresponding to the type of the service data in other service systems needing to acquire the service data in a data transmission scheme in the related technology.
According to an aspect of the present invention, there is provided a data transmission method including:
after receiving a data transmission request corresponding to target service data, acquiring identification information of a target service system corresponding to the target service data;
according to the identification information, acquiring database configuration information of the target service system from a configuration server;
And determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database.
According to another aspect of the present invention, there is provided a data transmission apparatus comprising:
the request receiving module is used for acquiring the identification information of the target service system corresponding to the target service data after receiving the data transmission request corresponding to the target service data;
The information acquisition module is used for acquiring database configuration information of the target service system from a configuration server according to the identification information;
and the data sending module is used for determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system and sending the target service data to the target sub-database.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor;
And a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program for execution by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the data transmission method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a data transmission method according to any one of the embodiments of the present invention.
According to the technical scheme, after a data transmission request corresponding to target service data is received, identification information of a target service system corresponding to the target service data is obtained; then according to the identification information, acquiring the database configuration information of the target service system from the configuration server; and finally, determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database, thereby solving the problem that the service system cannot accurately transmit the service data to the sub-database corresponding to the type of the service data in other service systems needing to acquire the service data in a data transmission scheme in the related technology, automatically acquiring the database configuration information of the other service systems needing to acquire the service data according to the identification information of the other service systems needing to acquire the service data from a configuration server, automatically determining the sub-database corresponding to the type of the service data in the other service systems needing to acquire the service data according to the data characteristics of the service data and the acquired database configuration information, and transmitting the service data to the sub-database corresponding to the type of the target service data in the other service systems needing to acquire the service data.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a data transmission method according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a data transmission method according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a data transmission device according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an electronic device implementing a data transmission method according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "object," "first," "second," and the like in the description and the claims of the present invention and the above drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a data transmission method according to a first embodiment of the present invention. The embodiment can be applied to the situation that the service system transmits the service data to other service systems needing to acquire the service data. The method may be performed by a data transmission device, which may be implemented in hardware and/or software, which may be configured in a business system. The business system may be a server provided in an enterprise for implementing specified business functions. Enterprises typically deploy multiple business systems. Different service systems are used to implement different service functions. As shown in fig. 1, the method includes:
Step 101, after receiving a data transmission request corresponding to target service data, acquiring identification information of a target service system corresponding to the target service data.
Optionally, the target service data is one item of service data in a service system. The data transmission request corresponding to the target service data is a request for requesting the service system to transmit the target service data to the destination service system corresponding to the target service data. The destination business system corresponding to the destination business data is one other business system that needs to acquire the destination business data. The target user can send a data transmission request corresponding to the target service data to the service system through the terminal device. The target user may be a technician responsible for managing the business system. The service system establishes communication connection with the target service system, and information interaction can be performed based on the established communication connection. The service system can send data to each sub-database of the target service system, and can also send various prompt messages to the target service system.
Optionally, obtaining the identification information of the destination service system corresponding to the target service data includes: and extracting the identification information of the target service system corresponding to the target service data from the data transmission request. The data transmission request corresponding to the target service data contains the identification information of the target service system corresponding to the target service data. The identification information of the service system is information for uniquely identifying the service system. The identification information of different service systems is not the same. The identification information of the service system may be a numerical number or a character string for uniquely identifying the service system. After receiving the data transmission request corresponding to the target service data, the service system can extract the identification information of the target service system corresponding to the target service data from the data transmission request, thereby determining the target service system corresponding to the target service data according to the identification information of the target service system corresponding to the target service data.
Step 102, according to the identification information, acquiring the database configuration information of the target service system from a configuration server.
Optionally, according to the data characteristics of each service data, each service data may be divided into different types of service data. The data characteristic of the business data may be the name of the geographic area associated with the business data, and may also be the personnel number of the business personnel associated with the business data. Each business data with the same data characteristic is the same type of business data. Each business data with different data characteristics is different types of business data.
Optionally, the configuration server is a server for storing database configuration information of each service system. Each service system uploads the identification information and the database configuration information of each service system to the configuration server. The configuration server acquires the identification information and the database configuration information of each service system uploaded by each service system, and then correspondingly stores the identification information and the database configuration information of each service system into the configuration server. For each service system, after the database configuration information of the service system is updated, the service system uploads the new database configuration information to the configuration server. After the configuration server acquires the new database configuration information uploaded by the service system, the configuration server replaces the old database configuration information of the service system with the new database configuration information of the service system.
Optionally, the database of the business system comprises a plurality of sub-databases for each business system. Each sub-database of the business system is used to store different types of business data. The service data stored in the sub-database are the same type of service data and have the same data characteristics. The types of service data stored in different sub-databases are different and have different data characteristics. The database configuration information of the service system comprises a preset corresponding relation between sub-database identification information and data characteristics. The corresponding relation between the preset sub-database identification information and the data characteristics comprises the sub-database identification information of each sub-database of the service system and the data characteristics corresponding to the sub-database identification information of each sub-database. The sub-database identification information of the sub-database may be a numeric number or a character string for uniquely identifying the sub-database. The sub-database identification information of different sub-databases is not identical. The data characteristics corresponding to the sub-database identification information are data characteristics which the service data stored in the sub-database to which the sub-database identification information belongs can have.
Optionally, according to the identification information, obtaining the database configuration information of the target service system from a configuration server includes: and acquiring the database configuration information of the target service system from the database configuration information of each service system stored in the configuration server according to the identification information of the target service system.
Optionally, according to the identification information of the destination service system, the obtaining the database configuration information of the destination service system from the database configuration information of each service system stored in the configuration server includes: inquiring target identification information which is the same as the identification information of the target service system in the identification information of each service system stored in the configuration server; and acquiring database configuration information corresponding to the target identification information from a configuration server, and determining the database configuration information corresponding to the target identification information as the database configuration information of the target service system. The target identification information is the same as the identification information of the target service system. And the database configuration information corresponding to the target identification information is the database configuration information of the target service system.
Optionally, the database configuration information of the target service system includes a preset correspondence between sub-database identification information and data features. The corresponding relation between the preset sub-database identification information and the data characteristics comprises the sub-database identification information of each sub-database of the target service system and the data characteristics corresponding to the sub-database identification information of each sub-database.
Optionally, if the target identification information identical to the identification information of the target service system is not queried, sending the identification information abnormality prompt information to the terminal equipment of the target user. The identification information abnormality prompting information is preset information for prompting that the same target identification information as the identification information of the target service system is not queried. The terminal device of the target user is a terminal device used by the target user.
And step 103, determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database.
Optionally, the target sub-database corresponding to the target service data is a sub-database for storing service data of the same type as the target service data. The service data stored in the target sub-database has the same data characteristics as the target service data.
Optionally, determining a target sub-database corresponding to the target service data according to the data feature of the target service data and the database configuration information of the target service system, including: determining the data characteristics of the target service data; determining sub-database identification information of a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the corresponding relation between preset sub-database identification information and the data characteristics; and determining a target sub-database corresponding to the target service data according to the sub-database identification information of the target sub-database.
Optionally, determining the data characteristic of the target service data includes: and determining the data characteristics of the target service data according to the attribute information of the target service data. The service system stores attribute information of target service data. The attribute information of the target service data may be information for describing the target service data. The attribute information of the target service data includes data characteristics of the target service data. The business system may extract data features of the target business data from attribute information of the target business data. Determining the data characteristics of the target service data according to the attribute information of the target service data, including: and extracting the data characteristics of the target service data from the attribute information of the target service data.
Optionally, determining the sub-database identification information of the target sub-database corresponding to the target service data according to the data feature of the target service data and the corresponding relation between the preset sub-database identification information and the data feature, including: inquiring target data characteristics identical to the data characteristics of the target service data in the data characteristics corresponding to the sub-database identification information of each sub-database of the target service system in the corresponding relation between the preset sub-database identification information and the data characteristics; sub-database identification information corresponding to the target data feature is obtained from the corresponding relation between the preset sub-database identification information and the data feature, and the sub-database identification information corresponding to the target data feature is determined to be the sub-database identification information of the target sub-database corresponding to the target service data. The target data characteristics are the same as the data characteristics of the target service data. The sub-database identification information corresponding to the target data features is the sub-database identification information of the sub-database for storing the service data with the same type as the target service data. The sub-database identification information of the sub-database is a numeric number or character string for uniquely identifying the sub-database. The sub-database identification information of different sub-databases is not identical. After determining the sub-database identification information of the target sub-database, determining the target sub-database corresponding to the target service data according to the sub-database identification information of the target sub-database.
Optionally, after determining the target sub-database corresponding to the target service data, the service system sends the target service data to the target sub-database, so that the target service data is transmitted to the sub-database corresponding to the type of the target service data in other service systems needing to acquire the target service data. The sub-database corresponding to the type of the target service data is a sub-database for storing service data of the same type as the target service data.
Optionally, after sending the target service data to the target sub-database, the method further includes: and after the target service data are all sent to the target sub-database, sending a data transmission completion prompt message to the target service system so that the target service system starts to process the target service data. The data transmission completion prompt information is preset information for prompting the completion of the data transmission process of the service data. The data transmission completion prompt information may be a preset character for prompting completion of the data transmission process of the service data. And the service system sends the data transmission completion prompt information to the target service system after sending all the target service data to the target sub-database. After receiving the prompt information of completing data transmission, the destination service system determines that the data transmission process of the target service data is completed, and the service system sends all the target service data to the target sub-database, and then starts to process the target service data.
Optionally, if the target data feature identical to the data feature of the target service data is not queried, sending the data feature abnormality prompt information to the terminal device of the target user. The data characteristic abnormality prompting information is preset information for prompting that the target data characteristic identical to the data characteristic of the target service data is not queried.
According to the technical scheme, after a data transmission request corresponding to target service data is received, identification information of a target service system corresponding to the target service data is obtained; then according to the identification information, acquiring the database configuration information of the target service system from the configuration server; and finally, determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database, thereby solving the problem that the service system cannot accurately transmit the service data to the sub-database corresponding to the type of the service data in other service systems needing to acquire the service data in a data transmission scheme in the related technology, automatically acquiring the database configuration information of the other service systems needing to acquire the service data according to the identification information of the other service systems needing to acquire the service data from a configuration server, automatically determining the sub-database corresponding to the type of the service data in the other service systems needing to acquire the service data according to the data characteristics of the service data and the acquired database configuration information, and transmitting the service data to the sub-database corresponding to the type of the target service data in the other service systems needing to acquire the service data.
Example two
Fig. 2 is a flowchart of a data transmission method according to a second embodiment of the present invention. Embodiments of the invention may be combined with various alternatives to one or more of the embodiments described above. As shown in fig. 2, the method includes:
Step 201, after receiving a data transmission request corresponding to target service data, acquiring identification information of a target service system corresponding to the target service data.
Step 202, obtaining the database configuration information of the target service system from a configuration server according to the identification information.
And 203, determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database.
And 204, after the target service data are all sent to the target sub-database, sending a data transmission completion prompt message to the target service system so that the target service system starts to process the target service data.
Optionally, the data transmission completion prompt information is preset information for prompting completion of a data transmission process of the service data. The data transmission completion prompt information may be a preset character for prompting completion of the data transmission process of the service data.
Optionally, after the service system sends all the target service data to the target sub-database, the service system sends a data transmission completion prompt message to the target service system. After receiving the prompt information of completing data transmission, the destination service system determines that the data transmission process of the target service data is completed, and the service system sends all the target service data to the target sub-database, and then starts to process the target service data.
According to the technical scheme, the identification information of other business systems needing to acquire business data can be automatically acquired according to the needs, the database configuration information of the other business systems needing to acquire the business data can be acquired from the configuration server, the sub-databases corresponding to the types of the business data in the other business systems needing to acquire the business data can be automatically determined according to the data characteristics of the business data and the acquired database configuration information, the business data is transmitted to the sub-databases corresponding to the types of the target business data in the other business systems needing to acquire the business data, the other business systems needing to acquire the business data can be prompted through the data transmission completion prompt information after the business data are all transmitted to the corresponding sub-databases, so that the other business systems needing to acquire the business data can determine that the business data are all transmitted, the business data can be processed, the business system can accurately transmit the business data to the sub-databases corresponding to the types of the business data in the other business systems needing to acquire the business data according to the data characteristics of the business data and the database configuration information of the other business systems, and the accuracy of the data transmission process is improved.
Example III
Fig. 3 is a schematic structural diagram of a data transmission device according to a third embodiment of the present invention. The apparatus may be configured in an electronic device. As shown in fig. 3, the apparatus includes: a request receiving module 301, an information acquiring module 302, and a data transmitting module 303.
The request receiving module 301 is configured to obtain, after receiving a data transmission request corresponding to target service data, identification information of a target service system corresponding to the target service data; an information obtaining module 302, configured to obtain, from a configuration server, database configuration information of the destination service system according to the identification information; and the data sending module 303 is configured to determine a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and send the target service data to the target sub-database.
According to the technical scheme, after a data transmission request corresponding to target service data is received, identification information of a target service system corresponding to the target service data is obtained; then according to the identification information, acquiring the database configuration information of the target service system from the configuration server; and finally, determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database, thereby solving the problem that the service system cannot accurately transmit the service data to the sub-database corresponding to the type of the service data in other service systems needing to acquire the service data in a data transmission scheme in the related technology, automatically acquiring the database configuration information of the other service systems needing to acquire the service data according to the identification information of the other service systems needing to acquire the service data from a configuration server, automatically determining the sub-database corresponding to the type of the service data in the other service systems needing to acquire the service data according to the data characteristics of the service data and the acquired database configuration information, and transmitting the service data to the sub-database corresponding to the type of the target service data in the other service systems needing to acquire the service data.
In an optional implementation manner of the embodiment of the present invention, optionally, the data transmission device further includes: and the prompt information sending module is used for sending data transmission completion prompt information to the target service system after all the target service data are sent to the target sub-database, so that the target service system starts to process the target service data.
In an optional implementation manner of the embodiment of the present invention, optionally, the information obtaining module 302 is specifically configured to: and acquiring the database configuration information of the target service system from the database configuration information of each service system stored in the configuration server according to the identification information of the target service system.
In an optional implementation manner of the embodiment of the present invention, optionally, the database configuration information of the destination service system includes a preset correspondence between sub-database identification information and data features.
In an optional implementation manner of the embodiment of the present invention, optionally, when executing the operation of determining the target sub-database corresponding to the target service data according to the data feature of the target service data and the database configuration information of the target service system, the data sending module 303 is specifically configured to: determining the data characteristics of the target service data; determining sub-database identification information of a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the corresponding relation between preset sub-database identification information and the data characteristics; and determining a target sub-database corresponding to the target service data according to the sub-database identification information of the target sub-database.
In an optional implementation manner of the embodiment of the present invention, optionally, the data sending module 303 is specifically configured to: and determining the data characteristics of the target service data according to the attribute information of the target service data.
In an optional implementation manner of the embodiment of the present invention, optionally, when performing an operation of acquiring identification information of a destination service system corresponding to the target service data, the request receiving module 301 is specifically configured to: and extracting the identification information of the target service system corresponding to the target service data from the data transmission request.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The data transmission device can execute the data transmission method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data transmission method.
Example IV
Fig. 4 shows a schematic diagram of an electronic device 10 that may be used to implement the data transmission method of an embodiment of the invention. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program to be executed by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program built into the Random Access Memory (RAM) 13 from the storage unit 18. In the Random Access Memory (RAM) 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, read Only Memory (ROM) 12 and Random Access Memory (RAM) 13 are connected to each other by a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
The various components in the electronic device 10 are connected to an input/output (I/O) interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the data transmission method.
In some embodiments, the data transmission method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via Read Only Memory (ROM) 12 and/or communication unit 19. One or more steps of the data transmission method described above may be performed when a computer program is built into Random Access Memory (RAM) 13 and executed by processor 11. Alternatively, in other embodiments, the processor 11 may be configured to perform the data transmission method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
The computer program for carrying out the data transmission method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A data transmission method, comprising:
after receiving a data transmission request corresponding to target service data, acquiring identification information of a target service system corresponding to the target service data;
according to the identification information, acquiring database configuration information of the target service system from a configuration server;
And determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, and sending the target service data to the target sub-database.
2. The data transmission method according to claim 1, further comprising, after transmitting the target service data to the target sub-database:
And after the target service data are all sent to the target sub-database, sending a data transmission completion prompt message to the target service system so that the target service system starts to process the target service data.
3. The data transmission method according to claim 1, wherein obtaining database configuration information of the destination service system from a configuration server according to the identification information comprises:
And acquiring the database configuration information of the target service system from the database configuration information of each service system stored in the configuration server according to the identification information of the target service system.
4. The data transmission method according to claim 1, wherein the database configuration information of the destination service system includes a correspondence between preset sub-database identification information and data characteristics.
5. The data transmission method according to claim 4, wherein determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system, comprises:
Determining the data characteristics of the target service data;
Determining sub-database identification information of a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the corresponding relation between preset sub-database identification information and the data characteristics;
And determining a target sub-database corresponding to the target service data according to the sub-database identification information of the target sub-database.
6. The data transmission method according to claim 5, wherein determining the data characteristics of the target service data comprises:
and determining the data characteristics of the target service data according to the attribute information of the target service data.
7. The data transmission method according to claim 1, wherein acquiring the identification information of the destination service system corresponding to the destination service data comprises:
and extracting the identification information of the target service system corresponding to the target service data from the data transmission request.
8. A data transmission apparatus, comprising:
the request receiving module is used for acquiring the identification information of the target service system corresponding to the target service data after receiving the data transmission request corresponding to the target service data;
The information acquisition module is used for acquiring database configuration information of the target service system from a configuration server according to the identification information;
and the data sending module is used for determining a target sub-database corresponding to the target service data according to the data characteristics of the target service data and the database configuration information of the target service system and sending the target service data to the target sub-database.
9. An electronic device, the electronic device comprising:
At least one processor;
And a memory communicatively coupled to the at least one processor;
Wherein the memory stores a computer program for execution by the at least one processor to enable the at least one processor to perform the data transmission method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the data transmission method of any one of claims 1-7.
CN202410114679.0A 2024-01-26 2024-01-26 Data transmission method, device, equipment and medium Pending CN117938909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410114679.0A CN117938909A (en) 2024-01-26 2024-01-26 Data transmission method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410114679.0A CN117938909A (en) 2024-01-26 2024-01-26 Data transmission method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117938909A true CN117938909A (en) 2024-04-26

Family

ID=90762565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410114679.0A Pending CN117938909A (en) 2024-01-26 2024-01-26 Data transmission method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117938909A (en)

Similar Documents

Publication Publication Date Title
CN116860751A (en) Data processing method and device, electronic equipment and storage medium
CN115860877A (en) Product marketing method, device, equipment and medium
CN117938909A (en) Data transmission method, device, equipment and medium
CN116628107A (en) Data comparison method, device, equipment and medium
CN116306400B (en) Integrated circuit verification method, system, device, equipment and medium
CN116991683B (en) Alarm information processing method, device, equipment and medium
CN115293096B (en) Line generation method, device, electronic equipment and storage medium
CN116991620B (en) Solution determining method, device, equipment and medium
CN117150215B (en) Assessment result determining method and device, electronic equipment and storage medium
CN117668114A (en) Data synchronization method, device, equipment and medium
CN117609150A (en) Data migration method, device, equipment and medium
CN117931155A (en) Code generation method, device, equipment and medium
CN116760734A (en) Network request detection method, device, equipment and medium
CN117076427A (en) Server data management method, device, equipment and storage medium
CN114756398A (en) Data processing method, device, equipment and medium
CN118012936A (en) Data extraction method, device, equipment and storage medium
CN118394323A (en) Visual control processing method, device, equipment and medium
CN116225568A (en) Management method, device and equipment of application system interface and storage medium
CN115033629A (en) Data processing method and device, electronic equipment and storage medium
CN115442252A (en) Call chain construction method and device, electronic equipment and readable storage medium
CN117668113A (en) Data synchronization method, device, equipment and medium
CN117651078A (en) Data transmission method and device, electronic equipment and storage medium
CN117493000A (en) Task processing method, device, equipment and medium
CN117221158A (en) Micro-service application monitoring method, device, equipment and medium
CN117609801A (en) Data comparison method, device, equipment and medium

Legal Events

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