CN109686415B - Data transmission method, management platform, electronic device and storage medium - Google Patents

Data transmission method, management platform, electronic device and storage medium Download PDF

Info

Publication number
CN109686415B
CN109686415B CN201811573579.5A CN201811573579A CN109686415B CN 109686415 B CN109686415 B CN 109686415B CN 201811573579 A CN201811573579 A CN 201811573579A CN 109686415 B CN109686415 B CN 109686415B
Authority
CN
China
Prior art keywords
functional module
module
downstream
data transmission
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.)
Active
Application number
CN201811573579.5A
Other languages
Chinese (zh)
Other versions
CN109686415A (en
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.)
Suzhou Aiist Intelligent Technology Co ltd
Original Assignee
Suzhou Aiist Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Aiist Intelligent Technology Co ltd filed Critical Suzhou Aiist Intelligent Technology Co ltd
Priority to CN201811573579.5A priority Critical patent/CN109686415B/en
Publication of CN109686415A publication Critical patent/CN109686415A/en
Application granted granted Critical
Publication of CN109686415B publication Critical patent/CN109686415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/20ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Radiology & Medical Imaging (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data transmission method, a management platform, electronic equipment and a storage medium, wherein the method is applied to functional modules of the data management platform, the platform comprises at least two functional modules, the functional modules are defined according to process nodes of data processing, each functional module is provided with at least one upstream functional module or downstream functional module according to a preset transmission path, data is transmitted between the upstream functional module and the downstream functional module, the upstream functional module in the embodiment transmits data with the downstream functional module according to a data transmission identifier and a downstream module identifier distributed by the downstream functional module, and the downstream functional module can determine the source and destination of the transmitted data by identifying the data transmission identifier, so that the data transmission between the modules and the processing and calling of subsequent data can be more convenient and flexible, and modular link management is applicable to a variety of operating systems.

Description

Data transmission method, management platform, electronic device and storage medium
Technical Field
Embodiments of the present invention relate to data processing technologies, and in particular, to a data transmission method, a management platform, an electronic device, and a storage medium.
Background
With the rapid development of the medical industry and the internet, hospitals begin to use electronic cases in general, so that a large number of electronic cases and related medical images, videos and the like also need to be stored and managed.
At present, a DirectShow framework protocol is mainly used for data processing and data transmission, and the method manages the processing process of the whole data stream by using a Filter Graph model, widely supports various media formats such as Mpeg and AVI, and performs multimedia stream capture and playback.
Each Filter represents a module of the data processing process, and the Filter has a plurality of interfaces, which may be outputs or inputs, connected to connection points on other filters, and is used for transmitting data between modules in a push-pull mode. When a plurality of processing flows exist, a plurality of Filter link branches need to be created, so that data copying cost among filters is caused, different Filter graphs need to be constructed according to different conditions, and the complexity of implementation is increased. Meanwhile, when data access between different plug-ins is performed in the framework, the interface specification is strictly adhered to, and data of another plug-in cannot be directly accessed, so that a large circle needs to be wound to obtain data in a certain plug-in, that is, the flexibility is poor.
Disclosure of Invention
Embodiments of the present invention provide a data transmission method, a management platform, an electronic device, and a storage medium, which solve the problems of poor flexibility and high complexity when data transmission or access is performed between different modules in the prior art.
In a first aspect, an embodiment of the present invention provides a data transmission method, which is applied to a functional module of a data management platform, where the platform includes at least two functional modules, each of the functional modules is defined according to a process node of data processing, each of the functional modules has at least one upstream functional module or one downstream functional module according to a preset transmission path, and data is transmitted between the upstream functional module and the downstream functional module;
wherein the method comprises the following steps:
any target upstream functional module sends a data transmission request to at least one downstream functional module corresponding to the target upstream functional module;
each downstream functional module responds to the data transmission request, respectively allocates a data transmission identifier to the target upstream functional module, and respectively sends the respective module identifier of the downstream functional module and the allocated data transmission identifier to the target upstream functional module;
and the target upstream functional module determines the address of a downstream functional module receiving the data to be transmitted according to the received module identifier, and transmits the data to be transmitted to at least one corresponding downstream functional module according to the address, wherein the data to be transmitted also carries the data transmission identifier distributed by each downstream functional module.
Further, each downstream functional module responds to the data transmission request, and allocates a data transmission identifier to the target upstream functional module, respectively, including:
and each downstream functional module allocates index data identification to the target upstream functional module sending the data transmission request by using a counter according to the time sequence of sending the data transmission request, and the index data identification is used as the data transmission identification.
Further, after each downstream functional module sends the respective module identifier of the downstream functional module and the allocated data transmission identifier to the target upstream functional module, the method further includes:
and each downstream functional module adds the corresponding target upstream functional module identification and the corresponding data transmission identification to the effective connection number array corresponding to each downstream functional module.
Further, after the target upstream functional module respectively transmits the data to be transmitted to the corresponding at least one downstream functional module according to the address, the method further includes:
and when the target upstream functional module is disconnected from the downstream functional module, the target upstream functional module deletes the stored corresponding downstream functional module identification and the corresponding data transmission identification.
Further, after the target upstream functional module respectively transmits the data to be transmitted to the corresponding at least one downstream functional module according to the address, the method further includes:
and when the target upstream function module is disconnected from the downstream function modules, deleting the target upstream module identification and the corresponding data transmission identification stored in the corresponding effective connection number array by each downstream function module.
Further, the module identification includes a module pointer.
In a second aspect, an embodiment of the present invention further provides a data management platform, where the platform includes: the system comprises at least two functional modules, a data processing module and a data processing module, wherein the functional modules are defined according to process nodes of data processing, each functional module is provided with at least one upstream functional module or one downstream functional module according to a preset transmission path, and data are transmitted between the upstream functional module and the downstream functional module;
the upstream functional module is used for sending a data transmission request to at least one downstream functional module corresponding to the upstream functional module;
the downstream functional module is configured to respond to the data transmission request, allocate a data transmission identifier to the upstream functional module, and send a module identifier of the downstream functional module and the allocated data transmission identifier to the upstream functional module, where the data to be transmitted also carries the data transmission identifier allocated to each downstream functional module;
the upstream functional module is further configured to determine, according to the received module identifier, an address of a downstream functional module that receives data to be transmitted, and transmit the data to be transmitted to the corresponding downstream functional module according to the address.
Further, the downstream functional module is specifically configured to allocate, by using a counter, an index data identifier to the upstream functional module that sends the data transmission request according to the time sequence of sending the data transmission request, where the index data identifier is used as the data transmission identifier.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a data transmission method as in any embodiment of the invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a data transmission method according to any of the embodiments of the present invention.
The embodiment of the invention provides a data transmission method, which is applied to a functional module of a data management platform, wherein the platform comprises at least two functional modules, the functional modules are defined according to a process node of data processing, each functional module is provided with at least one upstream functional module or downstream functional module according to a preset transmission path, data is transmitted between the upstream functional module and the downstream functional module, in the method, the upstream functional module performs data transmission with the downstream functional module according to a data transmission identifier and a downstream module identifier distributed by the downstream functional module, and the downstream functional module can determine the source and destination of the transmitted data by identifying the data transmission identifier, so that the data transmission between the modules and the processing and calling of subsequent data can be more convenient and flexible, and the modularized link management is suitable for various operating systems, such as a Windows/Linux/Mac platform, an Android and IOS mobile platform, etc., and a developer can customize the module functions and the connection relation according to the service processing requirements, the development complexity is low, and the period is short.
Drawings
Fig. 1 is a flowchart of a data transmission method according to a first embodiment of the present invention;
fig. 2 is a schematic view of a video data processing flow according to a first embodiment of the present invention;
fig. 3 is a flowchart of a data transmission method according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of data transmission between functional modules according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of data transmission between functional modules according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device in a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, where the method is applicable to a data transmission situation, and the method may be applied to a function module of a data management platform, where the data management platform includes at least two function modules, the function module is defined according to a process node of data processing, each function module has at least one upstream function module or at least one downstream function module according to a preset transmission path, data is transmitted between the upstream function module and the downstream function module, and the function module may be defined according to the process node of the data.
For example, the data process that data of a certain video type needs to go through includes: fig. 2 is a schematic view of a processing flow of video data provided in the second embodiment, and as shown in fig. 2, the processing flow of video-type data is as follows: video acquisition and audio acquisition, video rendering (audio rendering), video coding (audio coding), audio embedding, then with the data transmission that the embedding is good to the high in the clouds storage, further can carry out data acquisition from the high in the clouds, carry out video decoding (audio decoding), finally carry out operations such as rendering. Correspondingly, the functional modules involved in the data processing process may include: the device comprises an acquisition module, an encoding module, a storage module, an extraction module, a decoding module, a rendering module and the like. And the transmission path of the data in the processing process of the video type data is as follows in sequence: the device comprises an acquisition module, an encoding module, a storage module, an extraction module, a decoding module and a rendering module. Therefore, any functional module may be regarded as an upstream functional module and/or a downstream functional module of a certain functional module on the corresponding transmission path, for example, the acquisition module is an upstream functional module of the encoding module, the storage module is a downstream functional module of the encoding module, and the encoding module is a downstream functional module of the acquisition module. Data may be transferred from an upstream functional module to a downstream functional module corresponding thereto.
The data management platform may be implemented by software and/or hardware, and may be configured in an electronic device, the electronic device including a terminal or a server, as shown in fig. 1, and the method includes:
s110, any target upstream function module sends a data transmission request to at least one corresponding downstream function module.
The functional module can be specifically set according to the specifically processed service content, type and data transmission path condition. Any functional module in a certain data transmission path can be taken as any target upstream functional module, and there can be one or more corresponding downstream functional modules. And a plurality of corresponding downstream function modules can have the same attribute function or different attribute functions. Similarly, a certain downstream functional module may also correspond to one or more upstream functional modules.
The acquisition module is illustratively a target upstream functional module, and may have one or more acquisition modules, such as a video data acquisition module, an audio acquisition module, a picture acquisition module or a text acquisition module, and the like, and the corresponding downstream functional module may be one or more functional modules. In the case of a downstream functional module, the downstream functional module, such as the acquisition module, comprises only one coding module. For the case of multiple downstream functional modules, the multiple downstream functional modules may specifically have the same attribute function and/or different attribute functions, for example, multiple encoding modules may exist, and different encoding modules may inherit the same parent class, all have encoding attributes, and may encode different types of data or data at different times. And/or downstream functional blocks may have coding blocks and functional blocks for performing other types of data processing. That is, the relationship between the upstream functional module and the downstream functional module may be one-to-one, one-to-many, many-to-one, or many-to-many, and may be set according to specific service requirements.
Any target upstream functional module can send a data transmission request to one or more corresponding downstream functional modules, and the transmission request can include the module identification of the target upstream functional module, so that the downstream functional module can determine the module and the address for sending the data request.
S120, each downstream functional module responds to the data transmission request, allocates data transmission identifiers for the target upstream functional module respectively, and sends the respective module identifiers of the downstream functional modules and the allocated data transmission identifiers to the target upstream functional module respectively.
After receiving the data transmission request, the downstream functional module may allocate a data transmission identifier to a target upstream functional module that sends the data transmission request, where the data transmission identifier may be used to identify and determine whether the data is sent by the corresponding upstream functional module when data transmission is performed between the functional modules. And each downstream functional module sends the respective module identification and the distributed data transmission identification to the corresponding target upstream functional module. The module identifier of the downstream functional module can facilitate the upstream functional module to identify which module is assigned the data transmission identifier.
S130, the target upstream function module determines an address of a downstream function module receiving data to be transmitted according to the received module identifier, and transmits the data to be transmitted to at least one corresponding downstream function module according to the address, wherein the data to be transmitted also carries a data transmission identifier distributed by each downstream function module.
After receiving the sending module identifier and the data transmission identifier of each downstream functional module corresponding to each target upstream module, each target upstream module can determine the address of each downstream module according to each module identifier, and then send the data to be transmitted to the corresponding address, wherein the data to be transmitted can carry the data transmission identifier distributed by the corresponding downstream functional module besides specific service data, so that the downstream module can quickly and conveniently identify the transmission data sent by which functional module, and the subsequent calling and processing of the data.
Optionally, the module identifier includes a module pointer, and the module pointer may be a number of a certain memory unit in the platform, and is used to indicate an address of the module, so that identification and accurate data transmission between the functional modules are facilitated.
The technical scheme of the embodiment of the invention is applied to the functional modules of a data management platform, wherein the platform comprises at least two functional modules, the functional modules are defined according to the process nodes of data processing, each functional module is provided with at least one upstream functional module or at least one downstream functional module according to a preset transmission path, and data is transmitted between the upstream functional module and the downstream functional module. In this embodiment, the upstream functional module performs data transmission with the downstream functional module according to the data transmission identifier and the downstream module identifier allocated by the downstream functional module, and the downstream functional module can determine the source and destination of transmission data by identifying the data transmission identifier, so that data transmission between modules and processing and calling of subsequent data can be more convenient and flexible, and the modular link management is applicable to various operating systems, and developers can customize module functions and connection relationships according to business processing requirements, so that the development complexity is low, and the period is short.
Example two
Fig. 3 is a flowchart of a data transmission method provided in a second embodiment of the present invention, and based on the above embodiment, as shown in fig. 3, the data transmission method includes:
s210, any target upstream function module sends a data transmission request to at least one corresponding downstream function module.
S220, each downstream functional module uses a counter to allocate index data identification to the target upstream functional module sending the data transmission request according to the time sequence of sending the data transmission request, the index data identification is used as the data transmission identification, and the respective module identification of the downstream functional module and the allocated data transmission identification are respectively sent to the target upstream functional module.
In particular, the counter may be a hardware device or a software program for counting certain programs or tasks according to certain trigger instructions, for example, an instruction address may be counted to sequentially fetch a next instruction, and count down the number of additions, subtractions, and the like when performing multiplication and division operations in the arithmetic unit. The data transmission request sent by the upstream functional module to the downstream functional module corresponding to the upstream functional module may serve as a trigger condition for triggering the counter to work. The index data identifier is used as a data transmission identifier, and may be a protocol or a convention manner for data transmission between the upstream functional module and the downstream functional module corresponding to the upstream functional module. In this embodiment, the index data identifier may be an index value identifier assigned by a counter, for example, the index is 1,2 or another value, and for example, the counter may assign an index value identifier to a target upstream functional module corresponding to the counter as a data transmission identifier in a manner of increasing the value according to a time sequence of sending the data transmission request, and then send a module identifier of each downstream functional module and the assigned data transmission identifier to the target upstream functional module respectively.
S230, the target upstream function module determines an address of a downstream function module receiving data to be transmitted according to the received module identifier, and transmits the data to be transmitted to at least one corresponding downstream function module according to the address, wherein the data to be transmitted also carries a data transmission identifier distributed by each downstream function module.
Optionally, after each downstream functional module sends the respective module identifier of the downstream functional module and the allocated data transmission identifier to the target upstream functional module, the method further includes:
and each downstream functional module adds the corresponding target upstream functional module identification and the corresponding data transmission identification to the effective connection number array corresponding to each downstream functional module.
Specifically, each downstream functional module may have an effective connection number array corresponding thereto, where the effective connection number array is used to record module identifiers of all upstream functional modules that establish connection with the downstream functional module to perform data transmission and corresponding data transmission identifiers. The subsequent functional module can quickly determine the source of the data according to the effective connection number array, so that the subsequent data can be conveniently transmitted, processed or called. It will be appreciated that each functional module may be referred to in various instances as an upstream functional module or a downstream functional module, i.e., each functional module may have an array of valid connection numbers associated therewith.
For example, fig. 4 is a schematic diagram of data transmission between functional modules according to a second embodiment of the present invention. As shown in fig. 4, the target upstream functional module includes a module a, a module B, and a module C, the downstream functional modules corresponding to the three upstream functional modules are all a module D (i.e., a many-to-one relationship), and A, B, C in the figure sequentially sends a data transmission request to the module D, and then establishes an Index connection counter and an effective connection number array m _ pconectedindex for the module D, assuming that the initial value of the Index is 0, and every time the module D is connected by other modules, the Index is incremented by 1, and remains unchanged when the module D is disconnected by the previous module. For example, module a connects to module D first, and module D first returns its module pointer and index to 0 for module a to save, and adds the current index value and the module identifier of module a to the array m _ pConnectedIndex. Then index plus 1 equals 1, then module B connects to module D second, module D returns its module pointer and index equal to 1 to module B and adds the current index value and module identification of module B to the array m _ pConnectedIndex. And then adding 1 to the index to be equal to 2, namely, the index data identifier of the module C is 2, and so on. Of course, the module A, B, C may also be used as a downstream functional module of their respective upstream functional modules, or may have an array of valid connection numbers m _ pConnectedIndex corresponding thereto. In such a technical scheme, when the link connection between modules is completed, and a program data stream runs, and a previous module calls a Receive method of a next module or transmits data to the next module, the next module can distinguish which module the transmitted data comes from according to an index value as long as the index value (data transmission identifier) stored when the connection is established is transmitted as a parameter.
For example, fig. 5 is a schematic diagram of data transmission between other functional modules according to a second embodiment of the present invention. As shown in fig. 5, the output of the module D is sequentially connected to the input of the E, F, G modules, that is, a one-to-many relationship is formed, in an application, the module D may sequentially call Receive methods of the E, F, G modules to perform data transfer, when the module D is connected to the module E, the module D may store a module pointer and an assigned index value of the module E in an internally maintained downstream module array m _ pNextModules, after connection is respectively established with the module E, F, G, corresponding three records may be stored in the m _ pNextModules array, and when data needs to be transferred downstream, data transfer may be completed by sequentially calling Receive functions of each module in the array.
Optionally, after the target upstream functional module respectively transmits the data to be transmitted to the corresponding at least one downstream functional module according to the address, the method further includes:
and when the target upstream functional module is disconnected from the downstream functional module, the target upstream functional module deletes the stored corresponding downstream functional module identification and the corresponding data transmission identification.
Optionally, after the target upstream functional module respectively transmits the data to be transmitted to the corresponding at least one downstream functional module according to the address, the method further includes:
and when the target upstream function module is disconnected from the downstream function modules, deleting the target upstream module identification and the corresponding data transmission identification stored in the corresponding effective connection number array by each downstream function module.
Specifically, when the connection between the upstream functional module and the corresponding downstream functional module is disconnected, or when the previous module actively disconnects the next module, for example, when the module a disconnects the module D after the data transmission is completed, the module a may delete the module pointer and the data transmission identifier index value of the module D stored inside.
In addition, the module D can also delete the index value allocated when the modules a and D are connected and the corresponding identifier of the module a from the effective connection number array of the module D, so as to ensure that all the identifiers stored in the effective connection number array are the effectively connected module identifiers and data transmission identifiers, release the system memory, reduce the system resource occupation, and improve the platform data processing speed and efficiency.
In the technical scheme of the embodiment of the invention, the downstream function module utilizes the technology counter to distribute the data index numerical value identification for the upstream function module, the downstream function module can determine the source and the destination of transmission data by identifying the data transmission identification carried in the transmission data, so that the data transmission and calling among the modules can be more convenient and flexible, meanwhile, the modularized link management can be suitable for various operation platforms, such as a Windows/Linux/Mac platform, an Android and IOS mobile platform and the like, and a developer can customize the functions and the connection relation of the modules according to business processing requirements.
EXAMPLE III
A data management platform provided in the third embodiment of the present invention may be implemented in a form of hardware and/or software, and may be configured in an electronic device, where the platform includes: the system comprises at least two functional modules, a data processing module and a data processing module, wherein the functional modules are defined according to process nodes of data processing, each functional module is provided with at least one upstream functional module or one downstream functional module according to a preset transmission path, and data are transmitted between the upstream functional module and the downstream functional module;
the upstream functional module is used for sending a data transmission request to at least one downstream functional module corresponding to the upstream functional module;
the downstream functional module is configured to respond to the data transmission request, allocate a data transmission identifier to the upstream functional module, and send a module identifier of the downstream functional module and the allocated data transmission identifier to the upstream functional module, where the data to be transmitted also carries the data transmission identifier allocated to each downstream functional module;
the upstream functional module is further configured to determine, according to the received module identifier, an address of a downstream functional module that receives data to be transmitted, and transmit the data to be transmitted to the corresponding downstream functional module according to the address.
Optionally, the downstream functional module is specifically configured to allocate an index data identifier to the upstream functional module that sends the data transmission request by using a counter according to the time sequence of sending the data transmission request.
Optionally, the functional module further includes: and the effective connection number array corresponding to the effective connection number array is used for adding the corresponding target upstream function module identification and the corresponding data transmission identification to the effective connection number array corresponding to each downstream function module by each downstream function module after each downstream function module sends the respective module identification of the downstream function module and the distributed data transmission identification to the target upstream function module respectively.
Optionally, the functional module further includes: and the transmission identifier deleting unit is used for deleting the stored corresponding downstream function module identifier and the corresponding data transmission identifier by the upstream function module when the connection between the upstream function module and the downstream function module is disconnected after the upstream function module respectively transmits the data to be transmitted to the corresponding at least one downstream function module according to the address.
Optionally, the functional module further includes: and the connection array updating unit is used for deleting the target upstream module identifier and the corresponding data transmission identifier stored in the corresponding effective connection number array by each downstream functional module when the upstream functional module is disconnected from the downstream functional module after the upstream functional module transmits the data to be transmitted to the corresponding at least one downstream functional module according to the address.
Optionally, the module identifier includes a module pointer.
The data management platform provided by the embodiment of the invention can execute the data transmission method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For details of the technique not described in detail in this embodiment, reference may be made to a data transmission method provided in any embodiment of the present invention.
In a specific embodiment, the data management platform can be used for managing electronic cases, namely, can be a rich media electronic medical record management platform. The electronic medical record refers to the digitalized information such as characters, symbols, charts, graphs, numbers, images and the like generated by medical staff in the process of medical activities by using an information system, and can realize the medical record of storage, management, transmission and reproduction, and is a recording form of the medical record. The electronic case history management platform in the embodiment can provide electronic data copying services such as medical image examination images, operation videos and intervention operation videos, can realize electronic and information management of the perioperative rich-media electronic case history of a patient, and can create a cloud platform product of the perioperative rich-media electronic case history. The number management platform can process the patient operation rich media electronic medical record based on the cloud video technology, and has the characteristics of being lighter, more flexible and easy to expand compared with the existing DirectShow framework protocol.
Example four
Referring to fig. 6, the present embodiment provides an electronic device 600, which includes: one or more processors 620; the storage device 610 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 620, the one or more processors 620 are enabled to implement the data transmission method provided by the embodiment of the present invention, and the method is applied to a functional module of a data management platform, where the platform includes at least two functional modules, the functional module is defined according to a process node of data processing, each functional module has at least one upstream functional module or at least one downstream functional module according to a preset transmission path, and data is transmitted between the upstream functional module and the downstream functional module;
wherein the method comprises the following steps:
any target upstream functional module sends a data transmission request to at least one downstream functional module corresponding to the target upstream functional module;
each downstream functional module responds to the data transmission request, respectively allocates a data transmission identifier to the target upstream functional module, and respectively sends the respective module identifier of the downstream functional module and the allocated data transmission identifier to the target upstream functional module;
and the target upstream functional module determines the address of a downstream functional module receiving the data to be transmitted according to the received module identifier, and transmits the data to be transmitted to at least one corresponding downstream functional module according to the address, wherein the data to be transmitted also carries the data transmission identifier distributed by each downstream functional module.
Of course, those skilled in the art will understand that the processor 620 may also implement the technical solution of a data transmission method provided in any embodiment of the present invention.
The electronic device 600 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: one or more processors 620, a storage device 610, and a bus 650 that couples the various system components (including the storage device 610 and the processors 620).
Bus 650 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 600 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 600 and includes both volatile and nonvolatile media, removable and non-removable media.
The storage 610 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)611 and/or cache memory 612. The electronic device 600 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 613 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 650 by one or more data media interfaces. Storage 610 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 614 having a set (at least one) of program modules 615 may be stored, for example, in storage 610, such program modules 615 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 615 generally perform the functions and/or methodologies of any of the embodiments described herein.
The electronic device 600 may also communicate with one or more external devices 660 (e.g., keyboard, pointing device, display 670, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 630. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 640. As shown in FIG. 6, the network adapter 640 communicates with the other modules of the electronic device 600 via a bus 650. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 620 executes various functional applications and data processing by executing programs stored in the storage device 610, for example, to implement a data transmission method provided by an embodiment of the present invention.
EXAMPLE five
The embodiment provides a storage medium containing computer-executable instructions, which are used for executing a data transmission method when executed by a computer processor, and are applied to a functional module of a data management platform, wherein the platform comprises at least two functional modules, each functional module is defined according to a process node for data processing, each functional module is provided with at least one upstream functional module or at least one downstream functional module according to a preset transmission path, and data is transmitted between the upstream functional module and the downstream functional module;
wherein the method comprises the following steps:
any target upstream functional module sends a data transmission request to at least one downstream functional module corresponding to the target upstream functional module;
each downstream functional module responds to the data transmission request, respectively allocates a data transmission identifier to the target upstream functional module, and respectively sends the respective module identifier of the downstream functional module and the allocated data transmission identifier to the target upstream functional module;
and the target upstream functional module determines the address of a downstream functional module receiving the data to be transmitted according to the received module identifier, and transmits the data to be transmitted to at least one corresponding downstream functional module according to the address, wherein the data to be transmitted also carries the data transmission identifier distributed by each downstream functional module.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in a data transmission method provided by any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (5)

1. A data transmission method is characterized in that the method is applied to a functional module of a data management platform, wherein the platform comprises at least two functional modules, the functional modules are defined according to process nodes of data processing, each functional module is provided with at least one upstream functional module or at least one downstream functional module according to a preset transmission path, and data is transmitted between the upstream functional module and the downstream functional module;
wherein the method comprises the following steps:
any target upstream functional module sends a data transmission request to at least one downstream functional module corresponding to the target upstream functional module;
each downstream functional module responds to the data transmission request, respectively distributes data transmission identifiers for the target upstream functional module, and respectively sends the respective module identifiers of the downstream functional modules and the distributed data transmission identifiers to the target upstream functional module;
the target upstream functional module determines an address of a downstream functional module receiving data to be transmitted according to the received module identifier, and transmits the data to be transmitted to at least one corresponding downstream functional module according to the address, wherein the data to be transmitted also carries a data transmission identifier distributed by each downstream functional module;
after each downstream functional module sends the respective module identifier of the downstream functional module and the allocated data transmission identifier to the target upstream functional module, the method further comprises the following steps:
each downstream functional module adds a corresponding target upstream functional module identifier and a corresponding data transmission identifier to an effective connection number array corresponding to each downstream functional module; the effective connection number array is used for recording module identifications of all upstream function modules which are connected with the downstream function modules for data transmission and corresponding data transmission identifications;
after the target upstream functional module transmits the data to be transmitted to the corresponding at least one downstream functional module according to the address, the method further includes:
when the target upstream functional module is disconnected from the downstream functional module, the target upstream functional module deletes the stored corresponding downstream functional module identifier and the corresponding data transmission identifier;
when the target upstream function module is disconnected from the downstream function modules, deleting the target upstream module identifications and the corresponding data transmission identifications stored in the corresponding effective connection number arrays by each downstream function module;
wherein, each downstream functional module responds to the data transmission request and respectively allocates a data transmission identifier for the target upstream functional module, including:
and each downstream functional module allocates index data identification to the target upstream functional module sending the data transmission request by using a counter according to the time sequence of sending the data transmission request, and the index data identification is used as the data transmission identification.
2. The method of claim 1, wherein the module identification comprises a module pointer.
3. A data management platform, the platform comprising: the system comprises at least two functional modules, a data processing module and a data processing module, wherein the functional modules are defined according to process nodes of data processing, each functional module is provided with at least one upstream functional module or one downstream functional module according to a preset transmission path, and data are transmitted between the upstream functional module and the downstream functional module;
the upstream functional module is used for sending a data transmission request to at least one downstream functional module corresponding to the upstream functional module;
the downstream functional module is used for responding to the data transmission request, distributing a data transmission identifier for the upstream functional module, and sending the module identifier of the downstream functional module and the distributed data transmission identifier to the upstream functional module;
the upstream functional module is further configured to determine, according to the received module identifier, an address of a downstream functional module that receives data to be transmitted, and transmit the data to be transmitted to the corresponding downstream functional module according to the address; the data to be transmitted also carries data transmission identifiers distributed by each downstream functional module;
the functional module further includes: the effective connection number array corresponding to the effective connection number array is used for adding the corresponding target upstream function module identification and the corresponding data transmission identification to the effective connection number array corresponding to each downstream function module by each downstream function module after each downstream function module respectively sends the respective module identification of the downstream function module and the distributed data transmission identification to the target upstream function module; the effective connection number array is used for recording module identifications of all upstream function modules which are connected with the downstream function modules for data transmission and corresponding data transmission identifications;
the functional module further includes: a transmission identifier deleting unit, configured to delete, by the upstream functional module, the stored corresponding downstream functional module identifier and the stored corresponding data transmission identifier when the connection between the upstream functional module and the downstream functional module is disconnected after the upstream functional module transmits the data to be transmitted to the corresponding at least one downstream functional module according to the address;
the functional module further includes: a connection array updating unit, configured to, after the upstream function module transmits the data to be transmitted to the corresponding at least one downstream function module according to the address, delete, by each downstream function module, the target upstream module identifier and the corresponding data transmission identifier stored in the corresponding effective connection number array when the connection between the upstream function module and the downstream function module is disconnected;
the downstream functional module is specifically configured to allocate, by using a counter, an index data identifier to the upstream functional module that sends the data transmission request according to the time sequence of sending the data transmission request, where the index data identifier is used as the data transmission identifier.
4. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a data transmission method as claimed in any one of claims 1-2.
5. A storage medium containing computer-executable instructions for performing a data transmission method as claimed in any one of claims 1-2 when executed by a computer processor.
CN201811573579.5A 2018-12-21 2018-12-21 Data transmission method, management platform, electronic device and storage medium Active CN109686415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811573579.5A CN109686415B (en) 2018-12-21 2018-12-21 Data transmission method, management platform, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811573579.5A CN109686415B (en) 2018-12-21 2018-12-21 Data transmission method, management platform, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN109686415A CN109686415A (en) 2019-04-26
CN109686415B true CN109686415B (en) 2021-07-16

Family

ID=66188735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811573579.5A Active CN109686415B (en) 2018-12-21 2018-12-21 Data transmission method, management platform, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN109686415B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769264B (en) * 2019-09-27 2021-10-08 上海依图网络科技有限公司 Multimedia transmission method, apparatus, medium, and system thereof
CN115840655A (en) * 2023-02-22 2023-03-24 精奇(天津)科技股份有限公司 Cross-platform data processing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047610A (en) * 2007-04-30 2007-10-03 华为技术有限公司 Data storage, reading, transmission method and management server and network node
CN103309928A (en) * 2012-03-13 2013-09-18 株式会社理光 Method and system for storing and retrieving data
CN105429993A (en) * 2015-12-10 2016-03-23 黄信开 Smart phone privacy protection method based on cloud storage
CN106375404A (en) * 2016-08-30 2017-02-01 华为技术有限公司 Data storage control method and apparatus, data storage method and apparatus, and data acquisition method and apparatus
CN108255428A (en) * 2018-01-10 2018-07-06 联想(北京)有限公司 A kind of data processing method, device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8548859B2 (en) * 2010-01-22 2013-10-01 Spendgo, Inc. Point of sale network router
CN106921505B (en) * 2015-12-25 2019-10-18 中国移动通信集团吉林有限公司 A kind of data processing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047610A (en) * 2007-04-30 2007-10-03 华为技术有限公司 Data storage, reading, transmission method and management server and network node
CN103309928A (en) * 2012-03-13 2013-09-18 株式会社理光 Method and system for storing and retrieving data
CN105429993A (en) * 2015-12-10 2016-03-23 黄信开 Smart phone privacy protection method based on cloud storage
CN106375404A (en) * 2016-08-30 2017-02-01 华为技术有限公司 Data storage control method and apparatus, data storage method and apparatus, and data acquisition method and apparatus
CN108255428A (en) * 2018-01-10 2018-07-06 联想(北京)有限公司 A kind of data processing method, device and electronic equipment

Also Published As

Publication number Publication date
CN109686415A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109194736B (en) Message duplicate removal method and device, electronic equipment, medium and unmanned vehicle
CN110351572B (en) Method, device and equipment for updating live broadcast room information and storage medium
CN110874307B (en) Method and device for collecting and reporting event buried points
CN111367687A (en) Inter-process data communication method and device
CN113037529B (en) Reserved bandwidth allocation method, device, equipment and storage medium
CN109686415B (en) Data transmission method, management platform, electronic device and storage medium
CN111198859A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN112181542A (en) Function calling method and device, electronic equipment and storage medium
CN109446204B (en) Data storage method and device for instant messaging, electronic equipment and medium
CN111857720A (en) Method and device for generating user interface state information, electronic equipment and medium
CN114513552B (en) Data processing method, device, equipment and storage medium
CN109151033B (en) Communication method and device based on distributed system, electronic equipment and storage medium
CN112769876A (en) Method, device, equipment and medium for acquiring equipment channel information
CN111510499B (en) Communication method, device, equipment and storage medium
CN109669790A (en) Data sharing method, device, shared platform and storage medium based on cloud platform
CN109327726B (en) Barrage message processing method and device, terminal and storage medium
CN111930385A (en) Data acquisition method, device, equipment and storage medium
US11843569B2 (en) Filtering group messages
CN113779021B (en) Data processing method, device, computer system and readable storage medium
CN109309583B (en) Information acquisition method and device based on distributed system, electronic equipment and medium
CN113919310A (en) Short message content determination method and device, electronic equipment and storage medium
CN111241368B (en) Data processing method, device, medium and equipment
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN110083283B (en) Method, device and system for managing information
CN113485890A (en) Flight inquiry system service monitoring method, device, equipment and storage medium

Legal Events

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