CN115118676B - Heterogeneous system data communication interaction method, system and terminal based on central platform - Google Patents

Heterogeneous system data communication interaction method, system and terminal based on central platform Download PDF

Info

Publication number
CN115118676B
CN115118676B CN202211036614.6A CN202211036614A CN115118676B CN 115118676 B CN115118676 B CN 115118676B CN 202211036614 A CN202211036614 A CN 202211036614A CN 115118676 B CN115118676 B CN 115118676B
Authority
CN
China
Prior art keywords
queue
target data
access
write
actions
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
CN202211036614.6A
Other languages
Chinese (zh)
Other versions
CN115118676A (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.)
Kelai Network Technology Co ltd
Original Assignee
Kelai Network 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 Kelai Network Technology Co ltd filed Critical Kelai Network Technology Co ltd
Priority to CN202211036614.6A priority Critical patent/CN115118676B/en
Publication of CN115118676A publication Critical patent/CN115118676A/en
Application granted granted Critical
Publication of CN115118676B publication Critical patent/CN115118676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • H04L47/6225Fixed service order, e.g. Round Robin
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6245Modifications to standard FIFO or LIFO
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a heterogeneous system data communication interaction method, a heterogeneous system data communication interaction system and a heterogeneous system data communication interaction terminal based on a central platform, which relate to the technical field of network communication and have the technical scheme key points that: dividing the circular queue into a write queue and a read queue; receiving target data uploaded by a heterogeneous system in a multiplexing method through a selector; initializing an event instance written into an empty queue in the queue to convert the event instance into a public action; writing target data into an empty queue, establishing corresponding actual event actions by combining the public actions and the target data, and updating a write queue and a read queue; and processing the actual event actions in the idle thread reading queue in the calling thread pool, and restoring the corresponding actual event actions into public actions after the actual event actions are processed. The invention reduces the resource occupation of the receiving end under the condition of reducing the request failure probability, quickly processes the received target data by using the limited and controllable memory size and improves the data processing speed.

Description

Heterogeneous system data communication interaction method, system and terminal based on central platform
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a data communication interaction method, system and terminal for a heterogeneous system based on a central platform.
Background
When a large number of heterogeneous systems are managed by the central platform in a butt joint mode, communication modes such as a hypertext transfer protocol (http), a two-way communication port (socket), a remote invocation service (webservice), a message service (jms) and the like are generally adopted, states among the systems are detected in a mode of polling heartbeats at intervals, and data interaction is carried out in a response mode of request and response.
However, in the request and response short connection response mode, when the number of interaction interfaces between systems is large and frequent, the consumption of the receiving end for processing the request thread and the memory is increased linearly; when a limited queue is adopted, the number of requests reaches the upper limit of the queue, the subsequent requests are refused to be received, and the subsequent service failure without priority difference can be caused; when an infinite queue is adopted, when the number of requests exceeds the thread processing speed, the queue continuously writes in the requests to be processed, and finally, the memory overflow is caused, so that other service modules of the system are unavailable.
Therefore, how to research and design a data communication interaction method, system and terminal of a heterogeneous system based on a central platform, which can overcome the above defects, is a problem that needs to be solved urgently at present.
Disclosure of Invention
In order to solve the defects in the prior art, the invention aims to provide a heterogeneous system data communication interaction method, a heterogeneous system data communication interaction system and a heterogeneous system data communication interaction terminal based on a central platform, so that a write-in queue and a read-out queue perform cyclic operation, the request requirement of a sending end and the resource consumption condition of a receiving end are balanced, and the resource occupation of the receiving end is reduced under the condition of reducing the request failure probability; when the system is started, the circular queue is initialized, the default event instance is filled, the instantiation process of the subsequent data receiving event is reduced, the time is changed by space, the hardware resource is fully utilized, the received target data is quickly processed by the limited and controllable memory size, and the data processing speed is improved.
The technical purpose of the invention is realized by the following technical scheme:
in a first aspect, a data communication interaction method for a heterogeneous system based on a central platform is provided, which includes the following steps:
establishing a ring queue, and dividing the ring queue into a write queue and a read queue;
receiving target data uploaded by a heterogeneous system in a multiplexing method through a selector;
initializing an event instance written into an empty queue in the queue to convert the event instance into a public action;
writing target data into an empty queue, establishing corresponding actual event actions by combining the public actions and the target data, and updating a write queue and a read queue;
and reading the actual event action in the queue by calling the idle thread in the thread pool, controlling the event processor to process the actual event action, and restoring the corresponding actual event action into a public action after the actual event action is processed.
Further, the update process of the write queue and the read queue specifically includes:
embedding head identifiers and tail identifiers which are arranged at intervals in a circular queue;
and adjusting the positions of the head identifier and the tail identifier, and updating the write queue and the read queue in a circular rotation mode.
Further, the process of writing the target data into the empty queue specifically includes:
acquiring estimated processing time of target data;
sequencing the target data of the same writing batch according to the estimated processing time;
and sequentially writing the sorted target data into an empty queue, keeping the target data with long estimated processing time written into one side close to the head identifier, and writing the target data with short estimated processing time into one side close to the tail identifier.
Further, the adjusting process of the head identifier and the tail identifier specifically includes:
detecting whether a queue close to the head identifier in the read queue is an empty queue or not in real time; if so, shifting the head identifier towards the read queue to place the empty queue in the write queue;
detecting whether the queue close to the tail identifier in the write queue has written target data or not in real time; if so, the tail identifier is shifted toward the write queue to place the queue into which the target data has been written in the read queue.
Further, the process of establishing the circular queue specifically includes: and connecting the data structures in the FIFO storage structure end to obtain a circular queue.
Further, the receiving process of the target data specifically includes:
comprehensively analyzing according to the access times, the first access time and the access priority to obtain an access priority value of the target data;
performing descending order on the target data uploaded by all heterogeneous systems according to the access priority value to obtain an access sequence table;
and selecting the target data in the front of the sequence in the access sequence list according to the number of the empty queues in the write queue to receive in a single batch, and updating the access sequence list after each reception.
Further, the process of obtaining the access priority value specifically includes:
Figure 117445DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 794283DEST_PATH_IMAGE002
represents an access priority value;
Figure 324621DEST_PATH_IMAGE003
representing the number of accesses;
Figure 77814DEST_PATH_IMAGE004
representing a base access frequency;
Figure 959182DEST_PATH_IMAGE005
representing a real time;
Figure 705290DEST_PATH_IMAGE006
represents a first access time;
Figure 621293DEST_PATH_IMAGE007
indicating access priorityThe higher the access priority, the larger the value.
Further, the process of obtaining the access priority value specifically includes:
Figure 545387DEST_PATH_IMAGE008
wherein, the first and the second end of the pipe are connected with each other,
Figure 914052DEST_PATH_IMAGE002
represents an access priority value;
Figure 214583DEST_PATH_IMAGE003
representing the number of accesses;
Figure 234360DEST_PATH_IMAGE009
representing a base number of accesses;
Figure 329355DEST_PATH_IMAGE005
representing a real time;
Figure 185316DEST_PATH_IMAGE006
represents a first access time;
Figure 289538DEST_PATH_IMAGE010
represents the standard total access duration;
Figure 914555DEST_PATH_IMAGE007
and the higher the access priority is, the larger the value is.
In a second aspect, a data communication interaction system for heterogeneous systems based on a central platform is provided, which includes:
the queue building module is used for building a circular queue and dividing the circular queue into a write queue and a read queue;
the data selection module is used for receiving target data uploaded by the heterogeneous system through the selector in a multiplexing method;
the initialization module is used for initializing the event instances of the idle queue in the write queue so as to convert the event instances into public actions;
the write-in processing module is used for writing the target data into the vacant queue, establishing corresponding actual event actions by combining the public actions and the target data, and updating the write-in queue and the read queue at the same time;
and the reading processing module is used for reading the actual event action in the queue by calling the idle thread in the thread pool, controlling the event processor to process the actual event action, and restoring the corresponding actual event action into a public action after the actual event action is processed.
In a third aspect, a computer terminal is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the method for data communication interaction of heterogeneous systems based on a central platform according to any one of the first aspect is implemented.
Compared with the prior art, the invention has the following beneficial effects:
1. the heterogeneous system data communication interaction method based on the central platform processes received target data in a mode of combining a circular queue and a thread pool, initializes the circular queue when the system is started, fills default event examples, reduces the instantiation process of subsequent received data events, changes time by space, fully utilizes hardware resources, rapidly processes the received target data by limited and controllable memory size, and improves the data processing speed;
2. according to the method, the target data uploaded by the heterogeneous system are calculated according to the access times, the first access time and the access priority, the number of the target data received in a single batch is selected according to the number of the empty queues in the write-in queue, the target data which are not selected can be continuously sequenced in the next batch, response does not need to be carried out on each request, and the resource overhead is effectively reduced;
3. the invention embeds the head identifiers and the tail identifiers which are arranged at intervals in the annular queue, updates the writing queue and the reading queue in a circulating rotation mode, can quickly know whether the queue is full or empty, and improves the writing and reading efficiency of data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a flow chart in an embodiment of the invention;
FIG. 2 is a schematic diagram of a circular queue in an embodiment of the present invention;
fig. 3 is a block diagram of a system in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and the accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not used as limiting the present invention.
Example 1: the heterogeneous system data communication interaction method based on the central platform, as shown in fig. 1 and fig. 2, includes the following steps:
s1: establishing a ring queue, and dividing the ring queue into a write queue and a read queue;
s2: receiving target data uploaded by a heterogeneous system in a multiplexing method through a selector;
s3: initializing an event instance written into an empty queue in the queue to convert the event instance into a public action;
s4: writing target data into an empty queue, establishing corresponding actual event actions by combining the public actions and the target data, and updating a write queue and a read queue;
s5: and reading the actual event action in the queue by calling the idle thread in the thread pool, controlling the event processor to process the actual event action, and restoring the corresponding actual event action into a public action after the actual event action is processed.
The invention processes the received target data in a mode of combining the annular queue and the thread pool, initializes the annular queue when the system is started, fills the default event example, reduces the instantiation process of the subsequent received data event, changes the time by space, fully utilizes the hardware resource, rapidly processes the received target data by the limited and controllable memory size, and improves the data processing speed. In addition, the invention balances the data request demand degree of the sending end and the data handling capacity of the receiving end in a mode of alternately processing the write-in queue and the read-out queue in the circular queue, namely reduces the data amount of response processing of the data upload request, and also avoids the condition that the receiving end calls a large number of threads to process the uploaded target data, thereby causing abnormal other services of the receiving end.
As shown in fig. 2, the update process of the write queue and the read queue specifically includes: head identifiers and tail identifiers which are arranged at intervals are embedded in the circular queue, A in the figure 2 is the head identifier, B is the tail identifier, and the queues corresponding to 1-7 in the figure are reading queues; the positions of the head identifier and the tail identifier are adjusted, the write-in queue and the read queue are updated in a circulating rotation mode, whether the queues are full or not can be quickly known, and the data write-in and read efficiency is improved
The process of writing the target data into the vacant queue specifically comprises the following steps: acquiring estimated processing time of target data; sequencing the target data of the same write-in batch according to the estimated processing time; and sequentially writing the sorted target data into an empty queue, keeping the target data with long estimated processing time written into one side close to the head identifier, and writing the target data with short estimated processing time into one side close to the tail identifier.
The adjustment process of the head identifier and the tail identifier specifically comprises the following steps: detecting whether a queue close to the head identifier in the read queue is an empty queue or not in real time; if so, shifting the head identifier towards the read queue to place the empty queue in the write queue; detecting whether the queue close to the tail identifier in the write queue has written target data or not in real time; if so, the tail identifier is shifted toward the write queue to place the queue into which the target data has been written in the read queue.
In this embodiment, the process of establishing the ring queue specifically includes: and connecting the data structures in the FIFO storage structure end to obtain a circular queue.
In the prior art, a polling mode is generally adopted at intervals to monitor the system state, so as to judge whether the system is available, and if the intervals are set to be too short, a large number of invalid request responses are caused, and the system overhead is increased; if the interval time is set too long, the delay performance of system state monitoring is too large; regardless of how the interval time is set, it is difficult to achieve both timeliness and request response overhead saving, because these two aspects are contradictory in this interval polling approach. In addition, there is generally a lack of balancing mechanism intervention at the receiver and sender. The sending end does not have priority, and can not obtain the busy degree of the receiving end, and the sending end only manages to send data indiscriminately; the receiving end usually processes data in an FIFO manner, and as the number of docking systems increases and the number of interactive interfaces increases, the receiving end is difficult to completely process and the performance gradually decreases.
Therefore, the receiving process of the target data in the invention specifically comprises the following steps: comprehensively analyzing according to the access times, the first access time and the access priority to obtain an access priority value of the target data; performing descending order arrangement on the target data uploaded by all heterogeneous systems according to the access priority value to obtain an access sequence table; and selecting the target data in the front of the sequence in the access sequence list according to the number of the empty queues in the write queue to receive in a single batch, and updating the access sequence list after each reception.
According to the method, the target data uploaded by the heterogeneous system is calculated according to the access times, the first access time and the access priority, the number of the target data received in a single batch is selected according to the number of the empty queues in the write-in queue, the target data which are not selected can be continuously sequenced in the next batch, response does not need to be carried out on each request, and the resource overhead is effectively reduced.
As an optional implementation manner, the process of obtaining the access priority value specifically includes:
Figure 180451DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 510325DEST_PATH_IMAGE002
represents an access priority value;
Figure 418239DEST_PATH_IMAGE003
representing the number of accesses;
Figure 897762DEST_PATH_IMAGE004
representing a base access frequency;
Figure 600138DEST_PATH_IMAGE005
representing a real time;
Figure 165112DEST_PATH_IMAGE006
represents a first access time;
Figure 860404DEST_PATH_IMAGE007
and the higher the access priority is, the larger the value is.
As another optional implementation, the process of obtaining the access priority value specifically includes:
Figure 194434DEST_PATH_IMAGE008
wherein, the first and the second end of the pipe are connected with each other,
Figure 67712DEST_PATH_IMAGE002
represents an access priority value;
Figure 119981DEST_PATH_IMAGE003
representing the number of accesses;
Figure 104118DEST_PATH_IMAGE009
representing a base number of accesses;
Figure 807501DEST_PATH_IMAGE005
representing a real time;
Figure 586101DEST_PATH_IMAGE006
represents a first access time;
Figure 125666DEST_PATH_IMAGE010
represents a standard access total duration;
Figure 647915DEST_PATH_IMAGE007
and the higher the access priority is, the larger the value is.
Example 2: the data communication interaction system of the heterogeneous system based on the central platform is used for implementing the data communication interaction method of the heterogeneous system based on the central platform, which is described in embodiment 1, and as shown in fig. 3, the data communication interaction system includes a queue building module, a data selection module, an initialization module, a write-in processing module, and a read processing module.
The queue building module is used for building a circular queue and dividing the circular queue into a write queue and a read queue; the data selection module is used for receiving target data uploaded by the heterogeneous system through the selector in a multiplexing method; the initialization module is used for initializing the event instances of the empty queue in the write queue so as to convert the event instances into public actions; the write-in processing module is used for writing the target data into the vacant queue, establishing corresponding actual event actions by combining the public actions and the target data, and updating the write-in queue and the read queue at the same time; and the reading processing module is used for reading the actual event action in the queue by calling the idle thread in the thread pool, controlling the event processor to process the actual event action, and restoring the corresponding actual event action into a public action after the actual event action is processed.
The working principle is as follows: the invention processes the received target data in a mode of combining the circular queue and the thread pool, initializes the circular queue when the system is started, fills the default event example, reduces the instantiation process of the subsequent received data event, changes the time by space, fully utilizes the hardware resource, rapidly processes the received target data by the limited and controllable memory size, and improves the data processing speed.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above embodiments are merely exemplary embodiments of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. The heterogeneous system data communication interaction method based on the central platform is characterized by comprising the following steps:
establishing a ring queue, and dividing the ring queue into a write queue and a read queue;
receiving target data uploaded by a heterogeneous system in a multiplexing method through a selector;
initializing an event instance written into an empty queue in the queue to convert the event instance into a public action;
writing target data into an empty queue, establishing corresponding actual event actions by combining the public actions and the target data, and updating a write queue and a read queue;
reading the actual event action in the queue by calling the idle thread in the thread pool, controlling an event processor to process the actual event action, and restoring the corresponding actual event action into a public action after the actual event action is processed;
the receiving process of the target data specifically comprises the following steps:
comprehensively analyzing according to the access times, the first access time and the access priority to obtain an access priority value of the target data;
performing descending order arrangement on the target data uploaded by all heterogeneous systems according to the access priority value to obtain an access sequence table;
and selecting the target data in the front of the sequence in the access sequence list according to the number of the empty queues in the write queue to receive in a single batch, and updating the access sequence list after each reception.
2. The heterogeneous system data communication interaction method based on the central platform as claimed in claim 1, wherein the update process of the write queue and the read queue specifically comprises:
embedding head identifiers and tail identifiers which are arranged at intervals in a circular queue;
and adjusting the positions of the head identifier and the tail identifier, and updating the write queue and the read queue in a circular rotation mode.
3. The data communication interaction method for the heterogeneous system based on the central platform as claimed in claim 2, wherein the process of writing the target data into the empty queue specifically comprises:
acquiring estimated processing time of target data;
sequencing the target data of the same writing batch according to the estimated processing time;
and sequentially writing the sorted target data into an empty queue, keeping the target data with long estimated processing time written into one side close to the head identifier, and writing the target data with short estimated processing time into one side close to the tail identifier.
4. The data communication interaction method for the heterogeneous system based on the central platform as claimed in claim 3, wherein the adjustment process of the head identifier and the tail identifier is specifically as follows:
detecting whether a queue close to the head identifier in the read queue is an empty queue or not in real time; if so, shifting the head identifier towards the read queue to place the empty queue in the write queue;
detecting whether the queue close to the tail identifier in the write queue has written target data or not in real time; if so, the tail identifier is shifted toward the write queue to place the queue into which the target data has been written in the read queue.
5. The data communication interaction method for the heterogeneous systems based on the central platform as claimed in claim 1, wherein the process of establishing the circular queue specifically comprises: and connecting the data structures in the FIFO storage structure end to obtain a circular queue.
6. The data communication interaction method for the heterogeneous system based on the central platform as claimed in claim 1, wherein the access priority value is obtained by:
Figure 73010DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE002
represents an access priority value;
Figure 52467DEST_PATH_IMAGE003
representing the number of accesses;
Figure DEST_PATH_IMAGE004
representing a base access frequency;
Figure 900380DEST_PATH_IMAGE005
representing a real time;
Figure DEST_PATH_IMAGE006
represents a first access time;
Figure 154644DEST_PATH_IMAGE007
and the higher the access priority is, the larger the value is.
7. The data communication interaction method for the heterogeneous system based on the central platform as claimed in claim 1, wherein the access priority value is obtained by:
Figure DEST_PATH_IMAGE008
wherein the content of the first and second substances,
Figure 31333DEST_PATH_IMAGE002
represents an access priority value;
Figure 384954DEST_PATH_IMAGE003
representing the number of accesses;
Figure 183146DEST_PATH_IMAGE009
representing a base number of accesses;
Figure 913205DEST_PATH_IMAGE005
representing a real time;
Figure 113242DEST_PATH_IMAGE006
represents a first access time;
Figure DEST_PATH_IMAGE010
represents the standard total access duration;
Figure 903343DEST_PATH_IMAGE007
and the higher the access priority is, the larger the value is.
8. Heterogeneous system data communication interactive system based on central platform, characterized by comprising:
the queue building module is used for building a circular queue and dividing the circular queue into a write queue and a read queue;
the data selection module is used for receiving target data uploaded by the heterogeneous system through the selector in a multiplexing method;
the initialization module is used for initializing the event instances of the empty queue in the write queue so as to convert the event instances into public actions;
the write-in processing module is used for writing the target data into the vacant queue, establishing corresponding actual event actions by combining the public actions and the target data, and updating the write-in queue and the read queue at the same time;
the reading processing module is used for reading the actual event actions in the queue by calling the idle threads in the thread pool, controlling the event processor to process the actual event actions, and restoring the corresponding actual event actions into public actions after the actual event actions are processed;
the receiving process of the target data specifically comprises the following steps:
comprehensively analyzing according to the access times, the first access time and the access priority to obtain an access priority value of the target data;
performing descending order arrangement on the target data uploaded by all heterogeneous systems according to the access priority value to obtain an access sequence table;
and selecting the target data in the front row in the access sequence list for single batch receiving according to the number of the vacant queues in the write queue, and updating the access sequence list after each receiving.
9. A computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for data communication interaction between heterogeneous systems based on a central platform according to any one of claims 1 to 7.
CN202211036614.6A 2022-08-29 2022-08-29 Heterogeneous system data communication interaction method, system and terminal based on central platform Active CN115118676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211036614.6A CN115118676B (en) 2022-08-29 2022-08-29 Heterogeneous system data communication interaction method, system and terminal based on central platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211036614.6A CN115118676B (en) 2022-08-29 2022-08-29 Heterogeneous system data communication interaction method, system and terminal based on central platform

Publications (2)

Publication Number Publication Date
CN115118676A CN115118676A (en) 2022-09-27
CN115118676B true CN115118676B (en) 2022-11-11

Family

ID=83335864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211036614.6A Active CN115118676B (en) 2022-08-29 2022-08-29 Heterogeneous system data communication interaction method, system and terminal based on central platform

Country Status (1)

Country Link
CN (1) CN115118676B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116821046B (en) * 2023-08-28 2023-11-24 上海燧原智能科技有限公司 Automatic synchronization method, device, equipment and medium for data among heterogeneous units

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087210A (en) * 2007-05-22 2007-12-12 网御神州科技(北京)有限公司 High-performance Syslog processing and storage method
CN101304380A (en) * 2008-06-30 2008-11-12 杭州华三通信技术有限公司 Traffic transmission method of elastic packet loop and elastic packet loop node
CN103514261A (en) * 2013-08-13 2014-01-15 江苏华大天益电力科技有限公司 Data asynchronization storage and access mechanism applied to industrial control system
WO2014106201A1 (en) * 2012-12-31 2014-07-03 Elwha Llc Cost-effective mobile connectivity protocols
CN106201443A (en) * 2016-07-27 2016-12-07 福建富士通信息软件有限公司 A kind of method and system based on the Storm how concurrent written document of streaming Computational frame
CN108459915A (en) * 2018-01-31 2018-08-28 中电福富信息科技有限公司 A kind of TCP channel suitable for high concurrent scene manages system and method
CN110457162A (en) * 2019-06-20 2019-11-15 广州南方卫星导航仪器有限公司 A kind of backup method of data, terminal device, storage medium
CN112506683A (en) * 2021-01-29 2021-03-16 腾讯科技(深圳)有限公司 Data processing method, related device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7017162B2 (en) * 2001-07-10 2006-03-21 Microsoft Corporation Application program interface for network software platform
US7567975B2 (en) * 2005-03-16 2009-07-28 Oracle International Corporation Incremental evaluation of complex event-condition-action rules in a database system
CN104679596A (en) * 2013-12-02 2015-06-03 航天信息股份有限公司 Message processing method and system for improving concurrence performance of server-side
CN104378409A (en) * 2014-08-29 2015-02-25 武汉钢铁(集团)公司 File synchronization system
CN109145397B (en) * 2018-07-30 2023-04-28 长沙景美集成电路设计有限公司 External memory arbitration system supporting parallel running water access
CN114036119A (en) * 2021-09-30 2022-02-11 河海大学 Data synchronization method based on button and database log

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087210A (en) * 2007-05-22 2007-12-12 网御神州科技(北京)有限公司 High-performance Syslog processing and storage method
CN101304380A (en) * 2008-06-30 2008-11-12 杭州华三通信技术有限公司 Traffic transmission method of elastic packet loop and elastic packet loop node
WO2014106201A1 (en) * 2012-12-31 2014-07-03 Elwha Llc Cost-effective mobile connectivity protocols
CN103514261A (en) * 2013-08-13 2014-01-15 江苏华大天益电力科技有限公司 Data asynchronization storage and access mechanism applied to industrial control system
CN106201443A (en) * 2016-07-27 2016-12-07 福建富士通信息软件有限公司 A kind of method and system based on the Storm how concurrent written document of streaming Computational frame
CN108459915A (en) * 2018-01-31 2018-08-28 中电福富信息科技有限公司 A kind of TCP channel suitable for high concurrent scene manages system and method
CN110457162A (en) * 2019-06-20 2019-11-15 广州南方卫星导航仪器有限公司 A kind of backup method of data, terminal device, storage medium
CN112506683A (en) * 2021-01-29 2021-03-16 腾讯科技(深圳)有限公司 Data processing method, related device, equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Event-Triggered Output Synchronization in Master-Slave Lur"e Systems with Heterogeneous Dimensions;T Li;《百度学术》;20171231;全文 *
Peformance Analysis and Optimization for Wireless Caching in 5G Networks;MUTANGANA EUGENE;《中国知网CNKI》;20170715;全文 *
一种使用环形缓存和环形队列实现UDP高效并发的方法;孙明刚;《百度学术》;20161231;全文 *
异构多核平台下数电类远程虚拟实验系统的研究与实现;罗继明;《中国知网CNKI》;20170315;正文第3.3.1-5.2.2节 *

Also Published As

Publication number Publication date
CN115118676A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN108696374B (en) Method and device for updating client configuration
US10592298B2 (en) Method for distributing load in a multi-core system
US6360279B1 (en) True parallel client server system and method
CN110134534B (en) System and method for optimizing message processing for big data distributed system based on NIO
CN115118676B (en) Heterogeneous system data communication interaction method, system and terminal based on central platform
JPH04215158A (en) Data transfer control method and interface system
CN109766172B (en) Asynchronous task scheduling method and device
WO2012080257A1 (en) Behavior based client selection for disparate treatment
US10986172B2 (en) Configurable connection reset for customized load balancing
CN107977269B (en) Method, device and equipment for processing timeout event in message forwarding system
US7853713B2 (en) Communication interface device and communication method
CN111831408A (en) Asynchronous task processing method and device, electronic equipment and medium
CN115023919A (en) Firewall rule updating method and device, server and storage medium
CN111475315A (en) Server and subscription notification push control and execution method
CN109257280B (en) Micro-engine and message processing method thereof
CN113992609B (en) Method and system for processing multilink service data disorder
CN111427673B (en) Load balancing method, device and equipment
CN114500544A (en) Method, system, equipment and medium for load balancing among nodes
CN114598662A (en) Message queue cluster federal management system and method
WO2012126212A1 (en) Communication apparatus and method for interface layer of radio frequency identification device
CN113347430A (en) Distributed scheduling device of hardware transcoding acceleration equipment and use method thereof
US6542942B1 (en) Method and apparatus for processing calls on a multiprocessor communication system
TWI828433B (en) Processing apparatus and processing method for data stream and computer program product excuting the processing method
CN116755905B (en) Data interaction method, device, equipment and storage medium based on message queue
CN113873036B (en) Communication method, device, server 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