High-frequency information transmission method and device, electronic equipment and storage medium

By building cache partitions and using dual pointer strategies in surgical robots, the coverage problem in high-frequency information transmission is solved, efficient and orderly information transmission is achieved, and data loss and redundant storage is avoided.

CN118972451APending Publication Date: 2024-11-15HARBIN SIZHERUI INTELLIGENT MEDICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410979498.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the prior art, when high-frequency information transmission in surgical robots, it is impossible to effectively deal with the high-frequency information coverage problem caused by interactions between different information sources in complex situations, resulting in data loss and poor transmission effect.

Method used

Build at least two cache partitions, confirm the information source type according to the serial number of the high-frequency information, cache the high-frequency information to the corresponding partition and mark the timing, and then use a double-pointer strategy to transmit it to the target area to ensure the orderliness and real-time information. sex.

Benefits of technology

Through the classification cache and dual pointer strategy, data coverage and loss are avoided, the accurate transmission of high-frequency information is ensured, the transmission efficiency and real-timeness are improved, and data redundant storage is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972451A_ABST
    Figure CN118972451A_ABST
Patent Text Reader

Abstract

The invention provides a high-frequency information transmission method and device, electronic equipment and a storage medium, and relates to the technical field of information processing.The method comprises the steps that S1, at least two cache partitions are constructed; s2, confirming the information source type of the high-frequency information according to the acquired serial number of the high-frequency information; s3, caching the high-frequency information to the corresponding cache partition according to the information source type, and marking a corresponding cache time sequence; s4, according to the cache time sequence, transmitting the high-frequency information in the cache partition to a gathering group for gathering; s5, judging whether all the high-frequency information is transmitted to a gathering group for gathering or not, if so, executing the step S6, and if not, executing the step S4; and S6, transmitting the high-frequency information in the gathering group to a target area by adopting a double-pointer strategy. According to the invention, the high-frequency information transmission effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a high-frequency information transmission method, device, electronic device and storage medium. Background Art

[0002] At the forefront of modern medical technology, the application of surgical robots is becoming increasingly popular. The accuracy and efficiency they demonstrate in complex surgical operations have greatly promoted the advancement of surgical technology. The surgical robot system integrates high-resolution imaging, precision robotic arm operation, and advanced sensor technology to achieve seamless human-machine interaction in the operating room. During the operation, the surgical robot system needs to process the high-frequency information generated by the interaction of various information sources during the operation to ensure the accuracy and safety of the operation.

[0003] In order to transmit the high-frequency information generated by the interaction of various information sources during the operation to facilitate subsequent data analysis, the method of the prior art is to transmit the high-frequency information directly to the target area. Although this method can transmit high-frequency information to a certain extent, it is too simple and cannot handle complex situations. For example, at the same time point, different information sources interact frequently and generate a large amount of high-frequency information. If in this case, the method of transmitting the high-frequency information directly to the target area is adopted, part of the high-frequency information is easily covered by the high-frequency information of other information sources, causing data loss problems and affecting the effect of high-frequency information transmission. Summary of the invention

[0004] The problem solved by the present invention is how to improve the effect of high-frequency information transmission.

[0005] To solve the above problems, in a first aspect, the present invention provides a high-frequency information transmission method, comprising:

[0006] S1, build at least two cache partitions;

[0007] S2, confirming the information source type of the high-frequency information according to the serial number of the acquired high-frequency information;

[0008] S3, according to the information source type, cache the high-frequency information to the corresponding cache partition, and mark the corresponding cache timing;

[0009] S4, according to the cache timing, transmitting the high-frequency information in the cache partition to a summary array for summary;

[0010] S5, determining whether all the high-frequency information is transmitted to the summary array for summary, if yes, executing step S6, if no, executing step S4;

[0011] S6, adopting a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

[0012] Optionally, the step S4, transmitting the high-frequency information in the cache partition to a summary array for summary according to the cache timing, includes:

[0013] Determine whether the summary array has free storage space;

[0014] When the summary array has the free storage space, the high-frequency information in the cache partition is transmitted to the summary array for summarization according to the cache timing;

[0015] When the summary array does not have the free storage space, respectively obtaining the first priority of the high-frequency information to be summarized and the second priority of each summarized high-frequency information in the summary array;

[0016] According to the first priority and the second priority, the high-frequency information to be summarized is transmitted to the summary array for summary.

[0017] Optionally, the transmitting the high-frequency information to be aggregated to the aggregation array for aggregation according to the first priority and the second priority includes:

[0018] If all of the second priorities are greater than the first priority, the high-frequency information to be aggregated is not transmitted;

[0019] If the second priority is equal to the first priority, then according to the cache timing, the high-frequency information that has been summarized in the summary array is replaced with the high-frequency information to be summarized;

[0020] If the second priority level is lower than the first priority level, the aggregated high-frequency information corresponding to the second priority level lower than the first priority level is replaced by the high-frequency information to be aggregated.

[0021] Optionally, the adopting of a double pointer strategy to transmit the high-frequency information in the summary array to the target area includes:

[0022] Constructing a first pointer and a second pointer respectively, wherein the first pointer is used to point to the high-frequency information to be transmitted, and the second pointer is used to point to the summary position of the high-frequency information to be summarized;

[0023] The high-frequency information in the summary array is transmitted to the target area according to the first pointer and the second pointer.

[0024] Optionally, the determining whether the summary array has free storage space includes:

[0025] Constructing a first pointer and a second pointer respectively, wherein the first pointer is used to point to the high-frequency information to be transmitted, and the second pointer is used to point to the summary position of the high-frequency information to be summarized;

[0026] When the first pointer and the second pointer coincide with each other, it is determined that there is no free storage space in the summary array;

[0027] When the first pointer and the second pointer do not overlap, it is determined that the summary array has free storage space.

[0028] Optionally, the cache timing corresponding to the mark includes:

[0029] Determine the acquisition time and cache order of the high-frequency information;

[0030] The cache timing is generated according to the acquisition time and the cache sequence, and the high-frequency information is matched with the cache timing.

[0031] Optionally, in S6, after adopting a double pointer strategy to transmit the high-frequency information in the summary array to the target area, the method further includes:

[0032] Clear the storage location in the summary array corresponding to the high-frequency information transmitted to the target area.

[0033] In a second aspect, the present invention provides a high-frequency information transmission device, comprising:

[0034] A partition module, used to construct at least two cache partitions;

[0035] A type module, used to confirm the information source type of the high-frequency information according to the serial number of the acquired high-frequency information;

[0036] A cache module, used for caching the high-frequency information to the corresponding cache partition according to the type of the information source, and marking the corresponding cache timing;

[0037] A summarizing module, used for transmitting the high-frequency information in the cache partition to a summarizing array for summarization according to the cache timing;

[0038] A judgment module, used for judging whether all the high-frequency information are transmitted to the summary array for aggregation, if yes, transfer to the aggregation module, if no, transfer to the transmission module;

[0039] The transmission module is used to adopt a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

[0040] In a third aspect, the present invention provides an electronic device, including a memory and a processor;

[0041] The memory is used to store computer programs;

[0042] The processor is used to implement the high-frequency information transmission method as described in the first aspect when executing the computer program.

[0043] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the high-frequency information transmission method as described in the first aspect is implemented.

[0044] The high-frequency information transmission method, device, electronic device and storage medium of the present invention have the following beneficial effects:

[0045] By constructing at least two cache partitions, the high-frequency information generated by the interaction of different information sources during the operation of the surgical robot can be cached in corresponding different cache partitions according to the information source type. This can achieve classified caching of high-frequency information according to different information source types, so that high-frequency information from different information sources is temporarily cached in different cache partitions, avoiding data overwrite and loss, facilitating subsequent transmission and processing, and improving the effect of high-frequency information transmission. At the same time, the information source type is confirmed by the serial number to ensure that the high-frequency information of different information source types is correctly classified and cached, reducing the possibility of data confusion, thereby improving the effect of high-frequency information transmission; then the cache timing is marked for the high-frequency information, and the time order of the information is maintained. Even in complex situations, the transmission order of the high-frequency information can be guaranteed, which is convenient for subsequent orderly processing. The high-frequency information in all cache partitions is summarized in sequence, and it is determined cyclically whether all high-frequency information is stored in the summary array. The next step is performed according to the summary situation, ensuring that all high-frequency information is accurately summarized to facilitate transmission in the next step, avoiding omission or loss of data, and improving the effect of high-frequency information transmission; finally, a double-pointer strategy is adopted to transmit all high-frequency information in the summary array to the target area, which can orderly transmit all high-frequency information to the target area, avoiding the situation where high-frequency information is covered by high-frequency information of other information sources at the same time point, so that each high-frequency information can be effectively transmitted, and the double-pointer strategy can dynamically adjust the writing and reading positions of data, avoiding redundant storage of data, and also ensuring real-time and space efficiency, thereby improving the efficiency of high-frequency information transmission and improving the effect of high-frequency information transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A schematic diagram of a flow chart of a high-frequency information transmission method provided by an embodiment of the present invention;

[0047] Figure 2 A schematic diagram of a cache partition provided by an embodiment of the present invention;

[0048] Figure 3A schematic diagram of marking cache partitions provided in an embodiment of the present invention;

[0049] Figure 4 A schematic diagram of a summary array with no free storage space provided by an embodiment of the present invention;

[0050] Figure 5 A schematic diagram of replacing high-frequency information of an array provided by an embodiment of the present invention

[0051] Figure 6 A schematic diagram of the structure of a high-frequency information transmission device provided by an embodiment of the present invention;

[0052] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0054] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0055] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0056] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0057] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

[0058] In view of the problems existing in the above-mentioned related technologies, this embodiment provides a high-frequency information transmission method, device, electronic device and storage medium.

[0059] like Figure 1 As shown, an embodiment of the present invention provides a high-frequency information transmission method, including:

[0060] S1, build at least two cache partitions.

[0061] Specifically, the number of cache partitions is set according to actual needs, such as Figure 2 As shown, two cache partitions are set to cache high-frequency information from two different information sources at the same time. By caching high-frequency information from different information sources into different cache partitions, it is possible to avoid the problem of data loss caused by the method of directly transmitting high-frequency information to the target area at the same time point, where some high-frequency information is easily overwritten by high-frequency information from other information sources. Exemplarily, high-frequency information refers to information generated by frequent interactions of various surgical devices in a short period of time during surgery.

[0062] S2, confirming the information source type of the high-frequency information according to the serial number of the acquired high-frequency information.

[0063] Specifically, extract the ID serial number of the task where the high-frequency information is located, so as to confirm the information source type of the high-frequency information. For example, this step can be performed under the conditions of Beckhoff PLC programming software (The Windows Control and Automation Technology, TWINCAT). In TWINCAT, different information sources or tasks correspond to different ID serial numbers. When an information request is sent, it will be accompanied by the ID serial number of the information source or task. You only need to use the extraction function given by TWINCAT to extract the ID serial number.

[0064] S3, according to the information source type, cache the high-frequency information to the corresponding cache partition, and mark the corresponding cache timing.

[0065] Specifically, Figure 2 and Figure 3As shown, different information source types correspond to different cache partitions. First, the mapping corresponding to the high-frequency information is retrieved to ensure the correctness of the classified cache. The mapping of the high-frequency information of the same information source type is cached in the corresponding cache partition, and the corresponding cache time and cache sequence, that is, the cache timing, are marked to distinguish the cache order of the high-frequency information, improve the orderliness, and concatenate the sequence number of the cache time and cache sequence with the corresponding high-frequency information to facilitate subsequent transmission and processing. By caching the high-frequency information to the corresponding cache partition according to the information source type and marking the corresponding cache timing, the high-frequency information can be classified and cached according to different information source types, so that the high-frequency information of different information sources is temporarily cached in different cache partitions, avoiding data overwriting and loss, facilitating subsequent transmission and processing, and improving the effect of high-frequency information transmission.

[0066] S4, according to the cache timing, transmitting the high-frequency information in the cache partition to a summary array for summary.

[0067] Specifically, before the high-frequency information is transmitted to the summary array, a notification is made, and the number of high-frequency information transmitted is recorded, and the sequence number or cache timing of the cache order of the high-frequency information in the cache partition is retrieved one by one. If the sequence number or cache timing is retrieved, the high-frequency information is transmitted to the summary array for summary to ensure readiness. According to the cache timing, the high-frequency information scattered in each cache partition is summarized according to the cache timing to form an orderly information flow, which ensures the time sequence and integrity of the information and facilitates subsequent data analysis and processing.

[0068] S5, determining whether all the high-frequency information is transmitted to the summary array for summary, if so, executing step S6, if not, executing step S4.

[0069] Specifically, it is continuously checked whether all high-frequency information read from the cache partition has been successfully transmitted to the summary array. If it is found that there is still information that has not been transmitted, S4 is continued to be executed until all information is transmitted, ensuring that no information is missed and all information can be correctly summarized in chronological order.

[0070] S6, adopting a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

[0071] Specifically, the high-frequency information in the summary array is transmitted to the target area, including writing and storing the high-frequency information in the summary array to the target storage area, and sending the high-frequency information in the summary array to the target sending area, so as to realize traceability management and analysis. The existing write local function and send function can be used to complete writing, storage and sending. Since the writing, storage and sending of high-frequency information in the summary array are dynamic, a double pointer strategy is used in the summary array to ensure the real-time storage and retrieval of information.

[0072] In this embodiment, by constructing at least two cache partitions, the high-frequency information generated by the interaction of different information sources during the operation of the surgical robot is cached to corresponding different cache partitions according to the information source type, so that the high-frequency information can be classified and cached according to different information source types, so that the high-frequency information of different information sources is temporarily cached in different cache partitions, avoiding data overwriting and loss, facilitating subsequent transmission processing, and improving the effect of high-frequency information transmission. At the same time, the serial number is extracted through the extraction function given by TWINCAT to confirm the information source type, ensuring that the high-frequency information of different information source types is correctly classified and cached, reducing the possibility of data confusion, thereby improving the effect of high-frequency information transmission; then the cache timing is marked for the high-frequency information, and the time sequence of the information is maintained. Even in complex situations, the transmission order of the high-frequency information can be guaranteed, which is convenient for subsequent The high-frequency information in all cache partitions is processed in a continuous and orderly manner, and then the high-frequency information in all cache partitions is summarized according to the cache timing. It is cyclically determined whether all the high-frequency information is stored in the summary array, and the next step is performed according to the summary situation, ensuring that all the high-frequency information is accurately summarized to facilitate the transmission in the next step, avoiding the omission or loss of data, and improving the effect of high-frequency information transmission; finally, a double-pointer strategy is adopted to transmit all the high-frequency information in the summary array to the target area, which can orderly transmit all the high-frequency information to the target area, avoiding the situation where the high-frequency information is covered by the high-frequency information of other information sources at the same time point, so that each high-frequency information can be effectively transmitted, and the double-pointer strategy can dynamically adjust the writing and reading positions of the data, avoiding redundant storage of data, and also ensuring real-time and space efficiency, thereby improving the efficiency of high-frequency information transmission and improving the effect of high-frequency information transmission.

[0073] Optionally, the step S4, transmitting the high-frequency information in the cache partition to a summary array for summary according to the cache timing, includes:

[0074] Determine whether the summary array has free storage space;

[0075] When the summary array has the free storage space, the high-frequency information in the cache partition is transmitted to the summary array for summarization according to the cache timing;

[0076] When the summary array does not have the free storage space, respectively obtaining the first priority of the high-frequency information to be summarized and the second priority of each summarized high-frequency information in the summary array;

[0077] According to the first priority and the second priority, the high-frequency information to be summarized is transmitted to the summary array for summary.

[0078] Specifically, frequent interaction between different information sources will generate a large amount of high-frequency information, which may easily cause the summary array to be full of data. Therefore, in order to avoid the loss of important data due to full data, it is necessary to determine in advance whether the summary array has free storage space. If there is free storage space, the high-frequency information in the cache partition is directly transferred to the summary array for aggregation according to the cache timing; if there is no free storage space, it is necessary to compare the first priority of the high-frequency information to be aggregated with the second priority of each aggregated high-frequency information, and determine the aggregation method of the high-frequency information to be aggregated according to the comparison result to ensure that the high-frequency information in the summary array is always the latest and has the highest priority, that is, the latest and most important.

[0079] Optionally, the transmitting the high-frequency information to be aggregated to the aggregation array for aggregation according to the first priority and the second priority includes:

[0080] If all of the second priorities are greater than the first priority, the high-frequency information to be aggregated is not transmitted;

[0081] If the second priority is equal to the first priority, then according to the cache timing, the high-frequency information that has been summarized in the summary array is replaced with the high-frequency information to be summarized;

[0082] If the second priority level is lower than the first priority level, the aggregated high-frequency information corresponding to the second priority level lower than the first priority level is replaced by the high-frequency information to be aggregated.

[0083] Specifically, if the second priority of all summarized high-frequency information is greater than the first priority, the high-frequency information to be summarized will not be processed, that is, the high-frequency information to be summarized will not be transmitted; if the second priority of the summarized high-frequency information is equal to the first priority, then according to the cache timing, the first summarized high-frequency information among the summarized high-frequency information whose second priority is equal to the first priority will be replaced with the high-frequency information to be summarized; if the second priority of the summarized high-frequency information is less than the first priority, then the summarized high-frequency information with the lowest priority among the summarized high-frequency information whose second priority is less than the first priority will be replaced with the high-frequency information to be summarized. For example, warning information is more valuable and has a higher priority than ordinary log information. Through the above steps, it is ensured that the high-frequency information in the summary array is always the latest and has the highest priority, that is, the latest and most important. Exemplarily, a double pointer strategy is used to determine whether to replace, such as Figure 4 As shown in , if the first priority of the high-frequency information to be summarized is lower than the currently pointed to summarized high-frequency information LOG, the status quo will be maintained. Figure 5As shown, the high-frequency information NEW_LOG to be summarized will replace the summarized high-frequency information LOG and point the first pointer to the next LOG.

[0084] Optionally, the adopting of a double pointer strategy to transmit the high-frequency information in the summary array to the target area includes:

[0085] Constructing a first pointer and a second pointer respectively, wherein the first pointer is used to point to the high-frequency information to be transmitted, and the second pointer is used to point to the summary position of the high-frequency information to be summarized;

[0086] The high-frequency information in the summary array is transmitted to the target area according to the first pointer and the second pointer.

[0087] Specifically, the high-frequency information to be summarized refers to the high-frequency information cached in the cache partition, which is to be summarized in the summary array, and the high-frequency information to be transmitted refers to the high-frequency information that has been summarized in the summary array and is to be transmitted to the target area. The double pointer strategy is used for the final transmission of information. The first pointer is responsible for pointing to the high-frequency information to be transmitted in the summary array, and the second pointer points to the space in the target area where new information can be written, that is, the summary location of the high-frequency information to be summarized. In this way, information can be transmitted from the summary array to the target area in real time while ensuring the effective use of space.

[0088] Optionally, the determining whether the summary array has free storage space includes:

[0089] Constructing a first pointer and a second pointer respectively, wherein the first pointer is used to point to the high-frequency information to be transmitted, and the second pointer is used to point to the summary position of the high-frequency information to be summarized;

[0090] When the first pointer and the second pointer coincide with each other, it is determined that there is no free storage space in the summary array;

[0091] When the first pointer and the second pointer do not overlap, it is determined that the summary array has free storage space.

[0092] Specifically, Figure 4As shown, first, two pointers are defined: a first pointer and a second pointer. The first pointer points to the high-frequency information in the summary array waiting to be transmitted or sent, that is, it points to the information that has been collected and marked but has not yet been removed from the summary array or further processed. This can be understood as the "read" pointer in the summary array. The second pointer points to the position in the summary array that will or can be used to store the newly arrived high-frequency information. This is equivalent to the "write" pointer in the summary array, which indicates the next available storage space. Then, the status of the two pointers is checked regularly to determine whether the storage space of the summary array is sufficient: when the first pointer and the second pointer coincide, it means that all the information in the summary array has been read or sent out, and it also indicates that there is no more space to store new information. At this time, it is determined that there is no free storage space in the summary array. On the contrary, if the first pointer and the second pointer do not coincide, that is, there is at least one information bit that has not been read or sent, or there is at least one free storage location, then it is determined that there is still free storage space in the summary array, and new high-frequency information can continue to be received and stored. This method ensures the efficient use of the summary array, avoids the loss and duplication of information, and also ensures the real-time and priority of information. This mechanism is particularly important when a large amount of information generated during the operation of the surgical robot needs to be processed and saved quickly and orderly. By precisely controlling the position of the two pointers, the system can monitor the storage status of the summary array in real time, thereby realizing the instant storage and transmission of information and improving the efficiency and accuracy of data processing.

[0093] Optionally, the cache timing corresponding to the mark includes:

[0094] Determine the acquisition time and cache order of the high-frequency information;

[0095] The cache timing is generated according to the acquisition time and the cache sequence, and the high-frequency information is matched with the cache timing.

[0096] Specifically, first, determine the acquisition time and cache order of high-frequency information. The acquisition time refers to the specific moment when the information is captured or generated, and the cache order refers to the arrangement of the information in the cache partition based on the acquisition time, ensuring that the information can be stored in chronological order for subsequent retrieval and analysis. Then, generate the cache sequence according to the acquisition time and cache order. The cache sequence is a mapping relationship between a timestamp and an information sequence, which associates each piece of information with the specific time when it is acquired. The process of generating the cache sequence is to establish a structured data table or queue, in which each element carries its corresponding acquisition time information. Finally, match the high-frequency information with the cache sequence. This step ensures that each piece of information is accurately marked at its appropriate time position, and maintains the integrity and coherence of the information even in a high-concurrency environment. In this way, even if the surgical robot generates a large amount of information exchange when performing multiple tasks, it can ensure that the data will not be lost or repeated, while ensuring the orderliness and real-time nature of the information.

[0097] Optionally, in S6, after adopting a double pointer strategy to transmit the high-frequency information in the summary array to the target area, the method further includes:

[0098] Clear the storage location in the summary array corresponding to the high-frequency information transmitted to the target area.

[0099] Specifically, when the high-frequency information in the summary array is transmitted to the target area, a pointer is used to point to the old data to be sent or written. After the data is sent, the pointer moves to the new old data, and the corresponding storage position in the summary array is cleared. That is, when the information is transmitted to the target area, the original space will be released for subsequent information use, which not only improves the real-time performance of information storage, but also optimizes the management of storage space.

[0100] like Figure 6 As shown, a high-frequency information transmission device 600 provided in an embodiment of the present invention includes:

[0101] A partition module 610, configured to construct at least two cache partitions;

[0102] A type module 620, configured to confirm the information source type of the high-frequency information according to the sequence number of the acquired high-frequency information;

[0103] A cache module 630, configured to cache the high-frequency information to the corresponding cache partition according to the information source type, and mark the corresponding cache timing;

[0104] A summarizing module 640 is used to transmit the high-frequency information in the cache partition to a summarizing array for summarization according to the cache timing;

[0105] A determination module 650 is used to determine whether all the high-frequency information is transmitted to the summary array for aggregation, and if so, transfer to the aggregation module, and if not, transfer to the transmission module;

[0106] The transmission module 660 is used to adopt a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

[0107] like Figure 7 As shown, an electronic device 700 provided by an embodiment of the present invention includes a memory 710 and a processor 720; the memory 710 is used to store a computer program; the processor 720 is used to implement the high-frequency information transmission method as described above when executing the computer program.

[0108] In other words, an electronic device 700 includes a memory 710 and a processor 720 coupled to the memory 710; the memory 710 is configured to store a computer program; and the processor 720 is configured to perform the following operations when executing the computer program:

[0109] S1, build at least two cache partitions;

[0110] S2, confirming the information source type of the high-frequency information according to the serial number of the acquired high-frequency information;

[0111] S3, according to the information source type, cache the high-frequency information to the corresponding cache partition, and mark the corresponding cache timing;

[0112] S4, according to the cache timing, transmitting the high-frequency information in the cache partition to a summary array for summary;

[0113] S5, determining whether all the high-frequency information is transmitted to the summary array for summary, if yes, executing step S6, if no, executing step S4;

[0114] S6, adopting a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

[0115] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the high-frequency information transmission method described above is implemented.

[0116] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:

[0117] S1, build at least two cache partitions;

[0118] S2, confirming the information source type of the high-frequency information according to the serial number of the acquired high-frequency information;

[0119] S3, according to the information source type, cache the high-frequency information to the corresponding cache partition, and mark the corresponding cache timing;

[0120] S4, according to the cache timing, transmitting the high-frequency information in the cache partition to a summary array for summary;

[0121] S5, determining whether all the high-frequency information is transmitted to the summary array for summary, if yes, executing step S6, if no, executing step S4;

[0122] S6, adopting a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

[0123] An electronic device 700 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 700 is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 700 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described herein and / or required.

[0124] The electronic device 700 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0125] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0126] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A high-frequency information transmission method, characterized in that: include: S1, build at least two cache partitions; S2, confirming the information source type of the high-frequency information according to the serial number of the acquired high-frequency information; S3, according to the information source type, cache the high-frequency information to the corresponding cache partition, and mark the corresponding cache timing; S4, according to the cache timing, transmitting the high-frequency information in the cache partition to a summary array for summary; S5, determining whether all the high-frequency information is transmitted to the summary array for summary, if yes, executing step S6, if no, executing step S4; S6, adopting a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

2. The high-frequency information transmission method according to claim 1, characterized in that: The step S4, transmitting the high-frequency information in the cache partition to a summary array for summary according to the cache timing, includes: Determine whether the summary array has free storage space; When the summary array has the free storage space, the high-frequency information in the cache partition is transmitted to the summary array for summarization according to the cache timing; When the summary array does not have the free storage space, respectively obtaining the first priority of the high-frequency information to be summarized and the second priority of each summarized high-frequency information in the summary array; According to the first priority and the second priority, the high-frequency information to be summarized is transmitted to the summary array for summary.

3. The high-frequency information transmission method according to claim 2, characterized in that: The step of transmitting the high-frequency information to be summarized to the summary array for summarization according to the first priority and the second priority includes: If all of the second priorities are greater than the first priority, the high-frequency information to be aggregated is not transmitted; If the second priority is equal to the first priority, then according to the cache timing, the high-frequency information that has been summarized in the summary array is replaced with the high-frequency information to be summarized; If the second priority level is lower than the first priority level, the aggregated high-frequency information corresponding to the second priority level lower than the first priority level is replaced by the high-frequency information to be aggregated.

4. The high-frequency information transmission method according to claim 2, characterized in that: The double pointer strategy is adopted to transmit the high-frequency information in the summary array to the target area, including: Constructing a first pointer and a second pointer respectively, wherein the first pointer is used to point to the high-frequency information to be transmitted, and the second pointer is used to point to the summary position of the high-frequency information to be summarized; The high-frequency information in the summary array is transmitted to the target area according to the first pointer and the second pointer.

5. The high-frequency information transmission method according to claim 2, characterized in that: The determining whether the summary array has free storage space comprises: Constructing a first pointer and a second pointer respectively, wherein the first pointer is used to point to the high-frequency information to be transmitted, and the second pointer is used to point to the summary position of the high-frequency information to be summarized; When the first pointer and the second pointer coincide with each other, it is determined that there is no free storage space in the summary array; When the first pointer and the second pointer do not overlap, it is determined that the summary array has free storage space.

6. The high-frequency information transmission method according to claim 1, characterized in that: The cache timing corresponding to the mark includes: Determine the acquisition time and cache order of the high-frequency information; The cache timing is generated according to the acquisition time and the cache sequence, and the high-frequency information is matched with the cache timing.

7. The high-frequency information transmission method according to claim 1, characterized in that: In S6, after the high-frequency information in the summary array is transmitted to the target area using a double pointer strategy, the following steps are also included: Clear the storage location in the summary array corresponding to the high-frequency information transmitted to the target area.

8. A high-frequency information transmission device, characterized in that: include: A partition module, used to construct at least two cache partitions; A type module, used to confirm the information source type of the high-frequency information according to the serial number of the acquired high-frequency information; A cache module, used for caching the high-frequency information to the corresponding cache partition according to the type of the information source, and marking the corresponding cache timing; A summarizing module, used for transmitting the high-frequency information in the cache partition to a summarizing array for summarization according to the cache timing; A judgment module, used for judging whether all the high-frequency information are transmitted to the summary array for aggregation, if yes, transfer to the summary module, if no, transfer to the transmission module; The transmission module is used to adopt a double pointer strategy to transmit the high-frequency information in the summary array to the target area.

9. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the high-frequency information transmission method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the high-frequency information transmission method according to any one of claims 1 to 7 is implemented.