CN115801781B - Biological data collaborative analysis system and method - Google Patents

Biological data collaborative analysis system and method Download PDF

Info

Publication number
CN115801781B
CN115801781B CN202310040275.7A CN202310040275A CN115801781B CN 115801781 B CN115801781 B CN 115801781B CN 202310040275 A CN202310040275 A CN 202310040275A CN 115801781 B CN115801781 B CN 115801781B
Authority
CN
China
Prior art keywords
target
multicast
server
biological data
analyzed
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
CN202310040275.7A
Other languages
Chinese (zh)
Other versions
CN115801781A (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.)
Hangzhou Guangke Ander Biotechnology Co ltd
Original Assignee
Hangzhou Guangke Ander Biotechnology 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 Hangzhou Guangke Ander Biotechnology Co ltd filed Critical Hangzhou Guangke Ander Biotechnology Co ltd
Priority to CN202310040275.7A priority Critical patent/CN115801781B/en
Publication of CN115801781A publication Critical patent/CN115801781A/en
Application granted granted Critical
Publication of CN115801781B publication Critical patent/CN115801781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a biological data collaborative analysis system and a method, wherein the biological data collaborative analysis system comprises: the system comprises a server, a multicast group and at least one biological data acquisition instrument, wherein the server is used for receiving biological data to be analyzed; determining an allocation strategy according to the current number of gateway routers in the multicast group, and sending the allocation strategy to the multicast group; the multicast group is used for selecting a target gateway router and a corresponding target multicast member according to the allocation strategy; the target gateway router is used for forwarding the biological data to be analyzed to the target multicast member; each target multicast member is used for acquiring a target analysis result and sending the target analysis result to the server; from which the server can determine the final analysis result. Therefore, the invention not only adopts the multicast mode to transfer data, but also realizes the selective forwarding in the multicast mode, thereby realizing the efficient and economical acquisition of reliable biological data analysis results.

Description

Biological data collaborative analysis system and method
Technical Field
The application relates to the field of biological data analysis, in particular to a biological data collaborative analysis system and a biological data collaborative analysis method.
Background
In the prior art, the diagnosis and analysis of biological data such as biological pathology data are generally complex, and if the diagnosis and analysis are processed by only one expert, the situation of wrong judgment may exist, and generally, the same piece of biological data needs to be independently judged by at least two experts for reliability. If the biological data analysis results of two experts are consistent, the biological data analysis results are more reliable; if the biological data analysis results of the two experts are inconsistent, other experts are introduced or 3 experts are selected, and the reliable biological data analysis results are determined according to a few rules obeying most, so how to obtain the reliable biological data analysis results efficiently and economically becomes a technical problem to be solved by the technicians in the field.
Disclosure of Invention
An objective of the embodiments of the present application is to provide a system and a method for collaborative analysis of biological data, which are used for efficiently and economically obtaining a reliable biological data analysis result.
In one aspect, the present application provides a biological data collaborative analysis system comprising: the system comprises a server, a multicast group and at least one biological data acquisition instrument, wherein the server is in communication connection with the biological data acquisition instrument and the multicast group, the multicast group comprises a plurality of multicast members and a plurality of gateway routers, and the gateway routers are used for accessing at least one multicast member into a network of the multicast group; the server is used for receiving at least one biological data to be analyzed sent by the biological data acquisition instrument; the server is also used for determining the distribution strategy of each biological data to be analyzed according to the current number of gateway routers in the multicast group; the server is further used for sending each piece of biological data to be analyzed and the distribution strategy corresponding to each piece of biological data to be analyzed to the multicast group; the multicast group is used for selecting a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers according to the allocation strategy; the first target number of target gateway routers are used for forwarding the biological data to be analyzed to the second target number of target multicast members; each target multicast member is used for respectively acquiring a target analysis result input by a user and transmitting the target analysis result to a server; the server is also used for determining a final analysis result according to the target analysis result.
In an embodiment, after the server is configured to receive the at least one biological data to be analyzed sent by the biological data collector, before the server is further configured to determine an allocation policy of each biological data to be analyzed according to the current number of gateway routers in the multicast group, the method further includes: the server is also used for sending all the biological data to be analyzed to a plurality of multicast members of the multicast group; the server is further used for receiving a plurality of target analysis results returned by a plurality of multicast members aiming at all the biological data to be analyzed, wherein the target analysis results carry the biological data identification to be analyzed, the multicast member identification, the gateway router identification and the analysis conclusion; the server is also used for determining the number of analysis members of each biological data to be analyzed according to the biological data identification to be analyzed and the multicast member identification in the multiple target analysis results; the server is further used for judging whether the number of analysis members of the biological data to be analyzed is greater than or equal to a third preset number; when the server determines that the number of analysis members of the biological data to be analyzed is greater than or equal to the third preset number, the server is further configured to determine an allocation policy of each biological data to be analyzed according to the current number of gateway routers in the multicast group.
In one embodiment, after the server is further configured to receive a plurality of target analysis results returned by a plurality of multicast members for all biological data to be analyzed, the method further includes: the server is also used for generating a corresponding relation list of the multicast member identifications and the gateway router identifications according to the target analysis result.
In an embodiment, the multicast group is further configured to select a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers according to an allocation policy, including: each gateway router of the multicast group is configured to receive an allocation policy sent by the server, where the allocation policy includes: hash function, preset strategy and corresponding relation list; each gateway router is further used for generating an election value of each gateway router according to the biological data identification to be analyzed and the independent operation hash function of the gateway router identification, or generating an election value of each multicast member according to the biological data identification to be analyzed and the independent operation hash function of the multicast member identification; each gateway router is also used for sorting the election values according to the principle from small to large to obtain a sorting queue; each gateway router is further used for selecting a preset number of target gateway routers and target multicast members corresponding to the target gateway routers according to the sequencing queues and a preset strategy.
In an embodiment, the server is further configured to determine an allocation policy of each biological data to be analyzed according to a current number of gateway routers in the multicast group; the server is further used for sending each piece of biological data to be analyzed and the distribution strategy corresponding to each piece of biological data to be analyzed to the multicast group; the multicast group is used for selecting a target gateway router and a target multicast member corresponding to the target gateway router according to the allocation strategy; the first target number of target gateway routers are used for forwarding the biological data to be analyzed to the second target number of target multicast members; comprising the following steps: the server is also used for judging whether the number of gateway routers in the multicast group is greater than or equal to a first preset number; when the server determines that the number of gateway routers in the multicast group is greater than or equal to a first preset number, the server is further configured to send a first allocation policy to all the gateway routers; the gateway router is also used for electing a first preset number of target gateway routers for the first allocation policy; the first preset number of target gateway routers are also used for respectively sending the biological data to be analyzed to one target multicast member connected with the target gateway routers.
In an embodiment, after the server is further configured to determine whether the number of gateway routers in the multicast group is greater than or equal to the first preset number, the method further includes: when the server determines that the number of gateway routers in the multicast group is smaller than the first preset number, the server is further configured to send a second allocation policy to the gateway routers; the gateway router is also used for determining a multicast member sending address list connected with the gateway router, forwarding a second allocation strategy and the multicast member sending address list to the switch, and the switch is used for connecting at least one multicast member and an interface of the gateway router in a communication way; the switch is further configured to elect a first preset number of target multicast members according to the second allocation policy and the multicast member sending address list, and send the biological data to be analyzed to the first preset number of target multicast members.
In one embodiment, the server is further configured to determine a final analysis result according to the target analysis result, including: the server is further used for judging whether target analysis results returned by the target multicast members with the first preset number are the same or not; when the server determines that the target analysis results returned by the first preset number of target multicast members are the same, the server is further used for determining that the target analysis results are final analysis results; when the server determines that the target analysis results returned by the target multicast members with the first preset number are different, the server is further used for redefining a new allocation strategy and enabling the multicast group to select a second target multicast member with a second preset number, wherein the second preset number is larger than the first preset number; the second target multicast members with the second preset number are used for respectively acquiring second target analysis results input by the user and sending the second target analysis results to the server; the server is further used for selecting a second target analysis result with the largest occurrence number from the second target analysis results and taking the second target analysis result as a final target analysis result.
In one embodiment, the server is further configured to redetermine a new allocation policy to enable the multicast group to select a second predetermined number of second target multicast members, including: the server is further used for judging whether the number of gateway routers in the multicast group is greater than or equal to a second preset number; when the server determines that the number of gateway routers in the multicast group is greater than or equal to the second preset number, the server is further configured to send a third allocation policy to all the gateway routers; the gateway router is also used for electing a second preset number of second target gateway routers for the third allocation policy; the second target gateway routers with the second preset number are used for respectively sending the biological data to be analyzed to a second target multicast member connected with the second target gateway routers.
In an embodiment, the server is further configured to redetermine a new allocation policy to enable the multicast group to select a second predetermined number of second target multicast members, and further includes: when the server determines that the number of gateway routers in the multicast group is smaller than the second preset number, the server is further configured to send a fourth allocation policy to all the gateway routers; the gateway router is further used for electing a second preset number of second target multicast members according to a fourth allocation policy and sending the biological data to be analyzed to the second preset number of second target multicast members.
On the other hand, the application provides a biological data collaborative analysis method, which is applied to a biological data collaborative analysis system, wherein the biological data collaborative analysis system comprises a server, a multicast group and at least one biological data acquisition instrument, the server is in communication connection with the biological data acquisition instrument and the multicast group, the multicast group comprises a plurality of multicast members and a plurality of gateway routers, and the gateway routers are used for accessing at least one multicast member into a network of the multicast group; the method comprises the following steps: the server receives at least one piece of biological data to be analyzed, which is sent by the biological data acquisition instrument; the server determines the distribution strategy of each biological data to be analyzed according to the current number of gateway routers in the multicast group; the server sends each piece of biological data to be analyzed and the distribution strategy corresponding to each piece of biological data to be analyzed to the multicast group; the multicast group selects target gateway routers with first target number and target multicast members with second target number corresponding to the target gateway routers based on an allocation strategy; forwarding the biological data to be analyzed to target multicast members of a second target number by the target gateway router of the first target number; each target multicast member respectively acquires a target analysis result input by a user and sends the target analysis result to a server; the server determines a final analysis result based on the target analysis result.
In an embodiment, after the server receives the at least one biological data to be analyzed sent by the biological data collector, before the server determines the allocation policy of each biological data to be analyzed according to the current number of gateway routers in the multicast group, the method further includes: the server sends all the biological data to be analyzed to a plurality of multicast members of the multicast group; the server receives a plurality of target analysis results returned by a plurality of multicast members aiming at all the biological data to be analyzed, wherein the target analysis results carry the biological data identification to be analyzed, the multicast member identification, the gateway router identification and the analysis conclusion; the server determines the number of analysis members of each biological data to be analyzed according to the biological data identification to be analyzed and the multicast member identification in the target analysis results; the server judges whether the number of analysis members of the biological data to be analyzed is larger than or equal to a third preset number; when the server determines that the number of analysis members with one piece of biological data to be analyzed is greater than or equal to the third preset number, the server determines the distribution strategy of each piece of biological data to be analyzed according to the current number of gateway routers in the multicast group.
In an embodiment, after the server receives a plurality of target analysis results returned by a plurality of multicast members for all the biological data to be analyzed, the target analysis results carry the biological data identifier to be analyzed, the multicast member identifier, the gateway router identifier and the analysis conclusion, the method further includes: and the server generates a corresponding relation list of the multicast member identifiers and the gateway router identifiers according to the target analysis result.
In one embodiment, the multicast group selects a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers based on an allocation policy, including: each gateway router of the multicast group receives the allocation policy sent by the server, wherein the allocation policy comprises: hash function, preset strategy and corresponding relation list; each gateway router generates an election value of each gateway router according to the biological data identification to be analyzed and the independent operation hash function of the gateway router identification, or generates an election value of each multicast member according to the biological data identification to be analyzed and the independent operation hash function of the multicast member identification; each gateway router sorts the election values according to the principle from small to large to obtain a sorting queue; each gateway router selects a preset number of target gateway routers and target multicast members corresponding to the target gateway routers based on the sequencing queues and a preset strategy.
In one embodiment, the server determines an allocation policy for each biological data to be analyzed according to the current number of gateway routers in the multicast group; the server sends each piece of biological data to be analyzed and the distribution strategy corresponding to each piece of biological data to be analyzed to the multicast group; the multicast group selects a target gateway router and a target multicast member corresponding to the target gateway router based on an allocation strategy; forwarding the biological data to be analyzed to target multicast members of a second target number by the target gateway router of the first target number; comprising the following steps: the server judges whether the number of gateway routers in the multicast group is larger than or equal to a first preset number; when the server determines that the number of gateway routers in the multicast group is greater than or equal to a first preset number, the server sends a first allocation strategy to all the gateway routers; the gateway router elects a first preset number of target gateway routers according to a first allocation strategy; the first preset number of target gateway routers respectively send the biological data to be analyzed to one target multicast member connected with the target gateway routers.
In an embodiment, after the server determines whether the number of gateway routers in the multicast group is greater than or equal to the first preset number, the method further includes: when the server determines that the number of gateway routers in the multicast group is smaller than the first preset number, the server sends a second allocation strategy to the gateway routers; the gateway router determines a multicast member sending address list connected with the gateway router, and forwards the second allocation strategy and the multicast member sending address list to the switch, wherein the switch is used for connecting at least one multicast member and an interface of the gateway router in a communication way; the switch selects a first preset number of target multicast members based on a second allocation policy and a multicast member sending address list, and sends the biological data to be analyzed to the first preset number of target multicast members.
In one embodiment, the server determines a final analysis result based on the target analysis result, including: the server judges whether target analysis results returned by the target multicast members of the first preset number are the same; when the server determines that the target analysis results returned by the first preset number of target multicast members are the same, the server determines that the target analysis results are final analysis results; when the server determines that the target analysis results returned by the target multicast members with the first preset number are different, the server redetermines a new allocation strategy and enables the multicast group to select a second target multicast member with a second preset number, wherein the second preset number is larger than the first preset number; a second target multicast member with a second preset number respectively acquires a second target analysis result input by a user and sends the second target analysis result to a server; and the server selects a second target analysis result with the largest occurrence number from the second target analysis results and takes the second target analysis result as a final target analysis result.
In one embodiment, the server re-determines a new allocation policy to enable the multicast group to select a second predetermined number of second target multicast members, including: the server judges whether the number of gateway routers in the multicast group is larger than or equal to a second preset number; when the server determines that the number of gateway routers in the multicast group is greater than or equal to the second preset number, the server sends a third allocation strategy to all the gateway routers; the gateway router elects a second target gateway router with a second preset number aiming at a third allocation strategy; and the second target gateway routers with the second preset number respectively send the biological data to be analyzed to a second target multicast member connected with the second target gateway routers.
In one embodiment, the server redetermines the new allocation policy to enable the multicast group to select a second predetermined number of second target multicast members, and further includes: when the server determines that the number of gateway routers in the multicast group is smaller than the second preset number, the server sends a fourth allocation strategy to all the gateway routers; the gateway router elects a second preset number of second target multicast members based on a fourth allocation policy, and transmits the biological data to be analyzed to the second preset number of second target multicast members.
According to the biological data collaborative analysis system and method, not only is the multicast mode adopted to transfer data, so that a server only needs to generate one piece of biological data to be analyzed, and therefore the workload of data transfer is reduced, but also selective forwarding in the multicast mode is realized, and therefore, the situation that one piece of biological data to be analyzed is sent to all multicast members added into a multicast group, and waste of expert resources is caused by analyzing the piece of biological data to be analyzed by all or too many experts is avoided, meanwhile, the total data transmission quantity of a network is less, the transmission path is better, and the reliable and reliable biological data analysis result is obtained efficiently and economically.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a biological data collaborative analysis system according to an embodiment of the present application.
Fig. 2 is a flow chart of a method for collaborative analysis of biological data according to an embodiment of the present application.
Fig. 3 is a flow chart of a method for collaborative analysis of biological data according to an embodiment of the present application.
Fig. 4 is a flow chart of a method for collaborative analysis of biological data according to an embodiment of the present application.
Reference numerals: 100-biological data collaborative analysis system; 110-biological data acquisition instrument; 120-server; 130-multicast group; 131-multicast members; 132-a gateway router; 1321-interface; 133-switch; 1331-ports.
Detailed Description
In the description of the present application, the terms "first," "second," and the like are used merely for distinguishing between descriptions, and do not denote a ordinal number, nor are they to be construed as indicating or implying relative importance.
In the description of the present application, the terms "comprises," "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, a schematic diagram of a biological data collaborative analysis system 100 according to an embodiment of the present application is shown. The biological data collaborative analysis system 100 includes a server 120, a multicast group 130, and at least one biological data collector 110, and the biological data collaborative analysis system 100 may be a computing system formed by a plurality of computers, and the biological data collaborative analysis system 100 may further include more or fewer components than those shown in fig. 1, or have a different configuration from that shown in fig. 1. For example, the biological data collaborative analysis system 100 also includes input-output devices for human-machine interaction.
The biological data collector 110 is provided with a plurality of devices for collecting biological data, obtaining biological data to be analyzed, and sending the biological data to be analyzed to the server 120.
The server 120 is communicatively connected to the plurality of biological data collectors 110 and the multicast group 130 for receiving, storing and processing one or more biological data to be analyzed transmitted by the biological data collectors 110. The server 120 may be a mobile phone, a notebook computer, a desktop computer, or an operation system composed of a plurality of computers, which are independently provided.
The multicast group 130 includes a plurality of multicast members 131 and a plurality of gateway routers 132, where the plurality of multicast members 131 may correspond to terminal devices used by different experts, and the terminal devices may be devices such as a mobile phone, a notebook computer, a desktop computer, or an operation system formed by a plurality of computers.
The gateway router 132 supports multicast, and the gateway router 132 is configured to access at least one multicast member 131 to the network of the multicast group 130, and all the internet surfing data of each multicast member 131 is sent to the gateway router 132, and then the gateway router 132 forwards the data to the server 120. Specifically, the gateway router 132 has a plurality of interfaces 1321, each multicast member 131 is connected to one interface 1321 of the gateway router 132, and the multicast member 131 records the IP address of the gateway router 132 connected to itself and the IP address of the interface 1321 of the gateway router 132 connected to itself, wherein the IP address of the multicast member 131 is equal to the IP address of the interface 1321 of the gateway router 132 connected to itself.
It should be noted that, one interface 1321 of the gateway router 132 may be connected to 1 or more multicast members 131, and when one interface 1321 of the gateway router 132 is connected to a plurality of multicast members 131, the plurality of multicast members 131 need to be connected to the interface 1321 of the gateway router 132 through a port 1331 of a switch 133, where the switch 133 may be a two-layer switch supporting multicast forwarding; when one interface 1321 of the gateway router 132 is connected to only one multicast member 131, then these plurality of multicast members 131 do not need to connect to the gateway router 132 through the switch 133.
In an operation process, if the network IP address of the multicast group 130 is 226.1.1.1, each multicast member 131 may send an IGMP protocol (Internet Group Management Protocol) join message to join the multicast group 130 with address 226.1.1.1, so that each multicast member 131 may receive the to-be-analyzed biological data of the multicast group 130 with destination IP address 226.1.1.1. That is, if the server 120 sends the biological data to be analyzed to the multicast group 130 in a multicast manner, the multicast group 130 will automatically copy and distribute the biological data to be analyzed to the multicast members 131. Therefore, the data is transmitted in multicast mode in this embodiment, so that the server 120 only needs to generate one piece of biological data to be analyzed, thereby reducing the workload of data transmission.
In a specific operation process, the biological data collector 110 collects biological data to obtain biological data to be analyzed, and sends the biological data to be analyzed to the server 120, and then the server 120 determines an allocation policy of each biological data to be analyzed according to the current number of gateway routers 132 in the multicast group 130; the server 120 transmits the allocation policy of each biological data to be analyzed to the multicast group 130; the multicast group 130 is configured to select a preset number of target gateway routers and target multicast members corresponding to the target gateway routers according to an allocation policy; the target gateway router is used for forwarding each biological data to be analyzed to a target multicast member; the target multicast member is configured to obtain a target analysis result input by the user, and send the target analysis result to the server 120; the server 120 is also configured to determine a final analysis result based on the target analysis result.
Therefore, the present embodiment also realizes selective forwarding in the multicast mode, so that a part of biological data to be analyzed is prevented from being sent to all multicast members 131 joining the multicast group 130, so that all or too many experts analyze the part of biological data to be analyzed to cause waste of expert resources, and meanwhile, the overall data transmission amount of the network is enabled to be less, the transmission path is better, and the reliable and economical acquisition of the reliable biological data analysis result is realized.
Referring to fig. 2, a flow chart of a biological data collaborative analysis method according to an embodiment of the present application is shown, and the biological data collaborative analysis method includes the following steps S101-S107, which are executed by the biological data collaborative analysis system 100 shown in fig. 1 and are used to obtain reliable and reliable biological data analysis results efficiently and economically.
Step S101: the server 120 receives at least one biological data to be analyzed transmitted by the biological data collector 110.
The method also comprises the following steps before the step: step S1011: the biological data collector 110 collects and generates a pathology photo, generates biological data to be analyzed based on the pathology photo, and transmits the biological data to be analyzed to the server 120. The number of the biological data collection apparatuses 110 may be 1 or more, the 1 biological data collection apparatus 110 may send one or more biological data to be analyzed to the server 120, and the plurality of biological data collection apparatuses 110 may respectively send one or more biological data to be analyzed to the server 120.
Step S102: the server 120 determines an allocation policy for each biological data to be analyzed based on the current number of gateway routers 132 in the multicast group 130.
In this step, the server 120 determines the gateway router 132 and the multicast member 131 that can actually work according to the current number of the gateway routers 132 in the multicast group 130, and determines the distribution policy of each biological data to be analyzed according to the current number of the gateway routers 132 and the multicast member 131, so that the distribution policy can meet the requirement of the number of the analysis members of the biological data to be analyzed according to the actual situation, and adapt to the actual connection situation and the actual working situation of the gateway routers 132 and the multicast member 131, thereby improving the efficiency and the economy.
Step S103: the server 120 transmits each of the biological data to be analyzed and the allocation policy corresponding to each of the biological data to be analyzed to the multicast group 130.
In this step, the server 120 sends the allocation policy of each biological data to be analyzed to the multicast group 130 in a multicast manner, wherein the allocation policy of each biological data to be analyzed includes the biological data to be analyzed and a preset policy. Therefore, for a piece of biological data to be analyzed, the server 120 only needs to generate a piece of biological data to be analyzed and a preset strategy, so that the workload of data transmission is reduced.
Step S104: the multicast group 130 selects a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers based on the allocation policy.
Therefore, in this step, the multicast group 130 receives the allocation policy sent by the server 120, and selects the target gateway routers with the first target number and the target multicast members with the second target number corresponding to the target gateway routers according to the allocation policy, thereby implementing the basis of selective forwarding in the multicast mode, and determining the selective forwarding range.
The first target number and the second target number in this step are determined according to an allocation policy. The first target number and the second target number may be 1, 2, 3, 4, etc.
In an embodiment, the first target number is 2, and the second target number is 1, and the multicast group 130 selects 2 target gateway routers and 1 target multicast member corresponding to each target gateway router respectively according to the allocation policy, that is, selects 2 target multicast members.
In an embodiment, the first target number is 1, and the second target number is 2, and the multicast group 130 selects 1 target gateway router and 2 target multicast members corresponding to each target gateway router according to the allocation policy, that is, selects 2 target multicast members.
In an embodiment, the first target number is 1, and the second target number is 3, and then the multicast group 130 selects 1 target gateway router and 3 target multicast members corresponding to each target gateway router according to the allocation policy, that is, selects 3 target multicast members.
In an embodiment, the first target number is 3, and the second target number is 1, and then the multicast group 130 selects 3 target gateway routers and 1 target multicast member corresponding to each target gateway router respectively according to the allocation policy, that is, selects 3 target multicast members.
Step S105: the first target number of target gateway routers forwards the biological data to be analyzed to the second target number of target multicast members.
In this step, the first target number of target gateway routers forwards the biological data to be analyzed to the second target number of target multicast members, and multicast forwarding is achieved through the target gateway routers, at this time, not all multicast members 131 in the multicast group 130 receive the biological data to be analyzed, only individual multicast members 131 receive the biological data to be analyzed, so as to achieve the basis of selective forwarding in the multicast mode, determine the selective range, and avoid sending a part of biological data to be analyzed to all multicast members 131 joining the multicast group 130, so that all or too many experts analyze the part of biological data to be analyzed to cause waste of expert resources, and meanwhile, the total data transmission amount of the network is less, the transmission path is better, and reliable and efficient biological data analysis results are obtained.
In an embodiment, the first target number is 2, and the second target number is 1, and then the 2 target gateway routers forward the biological data to be analyzed to 1 randomly selected target multicast member, respectively.
In one embodiment, the first target number is 1 and the second target number is 2, and then the 1 target gateway router forwards the biological data to be analyzed to 2 randomly selected target multicast members.
In one embodiment, the first target number is 1 and the second target number is 3, and then the 1 target gateway router forwards the biological data to be analyzed to 3 randomly selected target multicast members.
In an embodiment, the first target number is 3, and the second target number is 1, and then the 3 target gateway routers forward the biological data to be analyzed to 1 randomly selected target multicast member, respectively.
Step S106: each target multicast member obtains a target analysis result input by the user, and sends the target analysis result to the server 120.
The user in this step refers to an expert using each target multicast member, and the expert may refer to the biological data to be analyzed on the target multicast member (such as a computer), perform analysis and judgment, obtain an analysis conclusion, input the analysis conclusion into the target multicast member, and each target multicast member obtains the target analysis result (including at least the analysis conclusion) input by the expert, and sends the target analysis result to the server 120 through the target gateway router.
In an embodiment, whether the first target number is 2, the second target number is 1, or the first target number is 1, the second target number is 2, and the server 120 receives 1 target analysis results sent by 2 target multicast members, i.e. receives 2 target analysis results.
In an embodiment, whether the first target number is 3, the second target number is 1, or the first target number is 1, the second target number is 3, and the server 120 receives 1 target analysis result sent by 3 target multicast members, i.e. receives 3 target analysis results.
Step S107: the server 120 determines a final analysis result based on the target analysis result.
In one embodiment, whether the first target number is 1 and the second target number is 2 or the first target number is 1 and the second target number is 2, the server 120 determines the final analysis result based on the 2 target analysis results sent by the 2 target multicast members.
For example, the server 120 may determine whether 2 target analysis results sent by 2 target multicast members are consistent, if so, the target analysis results are reliable, and may use the target analysis results as a final analysis result. If not, step S102-step S107 may be repeated or a new allocation policy may be redetermined to introduce other experts or to retrieve 3 analysis results for 3 multicast members, and the final analysis result may be determined according to the principle of minority compliance.
In an embodiment, whether the first target number is 3 and the second target number is 1 or the first target number is 1 and the second target number is 3, the server 120 is based on 3 target analysis results sent by 3 target multicast members, and the final analysis result can be determined according to a rule of minority compliance and majority compliance.
Referring to fig. 3, a flow chart of a biological data collaborative analysis method according to an embodiment of the present application is shown, and the biological data collaborative analysis method includes the following steps S201-S211, which are executed by the biological data collaborative analysis system 100 shown in fig. 1 and are used to obtain reliable and reliable biological data analysis results efficiently and economically.
Step S201: the server 120 receives at least one biological data to be analyzed transmitted by the biological data collector 110. For details, please refer to the description of step S101.
Step S202: the server 120 transmits all the biological data to be analyzed to the plurality of multicast members 131 of the multicast group 130.
The multicast mode is used to transfer data based on this step, and preparation is made for step S203. In one embodiment, the server 120 sends all the biological data to be analyzed to all the multicast members 131 in the multicast group 130.
Step S203: the server 120 receives a plurality of target analysis results returned by the plurality of multicast members 131 for all the biological data to be analyzed.
In this step, when each multicast member 131 obtains an analysis conclusion input by a user such as an expert, the analysis conclusion is processed to form a new target analysis result, and then the new target analysis results are uploaded to the server 120. The target analysis result carries the biological data identification to be analyzed, the multicast member identification and the gateway router identification besides the analysis conclusion. Wherein each biometric data identification to be analyzed is an independent unique number determined by the server 120 for each biometric data to be analyzed; the multicast member identification is the IP address of each multicast member 131, i.e., the IP address of the interface 1321 of the gateway router 132 connected to itself; the gateway router identification is a separate unique number determined by the server 120 for each gateway router 132 or may be an IP address of the gateway router 132; the analysis conclusion is an analysis result of the biological data to be analyzed, which is input by a user such as an expert.
The step further includes step S2031: the server 120 generates a correspondence list of multicast member identifications and gateway router identifications according to the target analysis result. The server 120 can better implement selective forwarding in the multicast mode based on the correspondence list. In one embodiment, the server 120 may forward the list of correspondences to all gateway routers 132 at regular or on-demand.
Step S204: the server 120 determines the number of analysis members for each biological data to be analyzed according to the biological data identification to be analyzed and the multicast member identification in the plurality of target analysis results.
In this step, since the target analysis result sent by the multicast member 131 carries the to-be-analyzed biological data identifier, the multicast member identifier, the gateway router identifier and the analysis conclusion, the server 120 relatively easily determines the number of analysis members of each to-be-analyzed biological data, that is, several experts or several multicast members 131 actually perform analysis, so that preparation can be made for step S205 to determine whether all the experts or too many experts analyze one piece of to-be-analyzed biological data to cause the waste of expert resources, and if so, the biological data collaborative analysis system 100 can transfer data from the mode of transferring data in the basic mode of multicast in step S202 to the mode of selectively forwarding in the multicast mode in steps S205-211.
Step S205: the server 120 determines whether there is one piece of biological data to be analyzed whose analysis member number is greater than or equal to a third preset number.
The step is to specifically determine whether all or too many experts are present to analyze a piece of biological data to be analyzed to cause waste of expert resources, if yes, step S206 is performed, the server 120 first determines how many gateway servers 120 connected with the multicast member 131 are in total, and then performs corresponding processing; if not, the process returns to step S201 until the server 120 determines that there is a case in which the number of analysis members of the biological data to be analyzed is greater than or equal to the third preset number.
The third preset number of the step may be input by the user, and the third preset number may be 3, 4, 5, etc. In this embodiment, the third preset number is 3, that is, if the server 120 finds that more than 3 expert judgment results exist in the same biological data to be analyzed, it is necessary to allocate multicast members 131 and expert resources to each biological data to be analyzed, so as to avoid the waste of expert resources.
It should be noted that, when the server 120 determines that the number of analysis members of one piece of biological data to be analyzed is greater than or equal to the third preset number, the biological data to be analyzed may determine the final analysis result according to the principle of minority compliance and majority compliance, and the other pieces of biological data to be analyzed determine the final analysis result according to the manners of step S206-step 211; alternatively, the biological data to be analyzed may be newly determined as a final analysis result according to the manner of step S206-step 211.
Step S206: the server 120 determines an allocation policy for each biological data to be analyzed according to the current number of gateway routers 132 in the multicast group 130; for details, please refer to the description of step S102.
Step S207: the server 120 transmits each biological data to be analyzed and an allocation policy corresponding to each biological data to be analyzed to the multicast group 130; for details, please refer to the description of step S103.
Step S208: the multicast group 130 selects a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers based on an allocation policy; for details, please refer to the description of step S104.
Note that, if step S203 is followed by step S2031: the server 120 generates a correspondence list of multicast member identifications and gateway router identifications according to the target analysis result. Step S208 may include the following steps S2081-S2084. Wherein, in step S2081: each gateway router 132 of the multicast group 130 receives the allocation policy sent by the server 120, where the allocation policy includes: hash function, preset strategy and corresponding relation list; step S2082: each gateway router 132 generates an election value of each gateway router 132 for the biological data identifier to be analyzed and the independent operation hash function of the gateway router identifier, or each gateway router 132 generates an election value of each multicast member 131 for the biological data identifier to be analyzed and the independent operation hash function of the multicast member identifier; step S2083: each gateway router 132 sorts the election values according to the principle from small to large to obtain a sorting queue; step S2084: each gateway router 132 selects a predetermined number of target gateway routers and target multicast members corresponding to the target gateway routers based on the ordering queues and a predetermined policy. By the arrangement, the target gateway routers with the first target number and the target multicast members with the second target number corresponding to the target gateway routers can be better and faster selected.
Step S209: forwarding the biological data to be analyzed to target multicast members of a second target number by the target gateway router of the first target number; for details, please refer to the description of step S105.
Step S210: each target multicast member obtains a target analysis result input by a user and sends the target analysis result to the server 120; for details, please refer to the description of step S106.
Step S211: the server 120 determines a final analysis result based on the target analysis result. For details, please refer to the description of step S107.
Referring to fig. 4, a flow chart of a biological data collaborative analysis method according to an embodiment of the present application is shown, and the biological data collaborative analysis method includes the following steps S301-S319, which are executed by the biological data collaborative analysis system 100 shown in fig. 1 and are used to obtain reliable and reliable biological data analysis results efficiently and economically.
Step S301: the server 120 receives at least one biological data to be analyzed transmitted by the biological data collector 110. For details, please refer to the description of step S101.
Step S302: the server 120 determines whether the number of gateway routers 132 in the multicast group 130 is greater than or equal to a first preset number.
The first preset number may be 2 in this embodiment. Specifically, the server 120 may generate a corresponding relationship list of the multicast member identifiers and the gateway router identifiers according to the target analysis result, determine the number of the gateway routers 132 in the multicast group 130, and then determine whether the number of the gateway routers 132 in the multicast group 130 is greater than or equal to 2, if yes, execute step S303-step S305 to select 2 gateway routers 132, and make each gateway router 132 send only one of the multicast members 131 connected to itself; if not, it is indicated that there is only one gateway router 132 in the multicast group 130, and step S306-step S308 are executed to enable the gateway router 132 to negotiate with the switch 133, so that the switch 133 randomly selects 2 multicast members 131.
Step S303: the server 120 sends the first allocation policy to all gateway routers 132.
Step S304: gateway router 132 elects a first preset number of target gateway routers for the first allocation policy.
Step S305: the first preset number of target gateway routers respectively send the biological data to be analyzed to one target multicast member connected with the target gateway routers.
The foregoing steps S303-S305 are used to, when the server 120 determines that the number of gateway routers 132 in the multicast group 130 is greater than or equal to 2, select 2 gateway routers 132, and make each gateway router 132 send to only one of the multicast members 131 connected to itself.
In an embodiment, the first allocation policy may be to require that only 2 gateway routers 132 are elected for each biological data to be analyzed, and each gateway router 132 is responsible for forwarding the biological data to be analyzed, and sends each gateway router 132 to only one of the multicast members 131 connected to itself.
In one embodiment, the first allocation policy comprises: the first hash function, the first preset policy and the corresponding relation list, wherein the first hash function can generate a result value for the biological data identifier to be analyzed and the gateway router identifier, for example: the input values of the first hash function comprise biological data identification to be analyzed and gateway router identification, all the input values are multiplied by a random number in the function, and the remainder of the product with respect to the random number is calculated, so that the remainder is used as a result value. The first preset policy may be to require that only 2 gateway routers 132 are elected for each biological data to be analyzed in charge of forwarding the biological data to be analyzed, and to have each gateway router 132 send only one of the multicast members 131 connected to itself. The correspondence list may be a correspondence list between the multicast member identifications and the gateway router identifications generated and stored by the server 120 according to the target analysis result.
Specifically, first, each gateway router 132 of the multicast group 130 receives the first allocation policy sent by the server 120, and then, each gateway router 132 independently calculates a first hash function for the to-be-analyzed biological data identifier and the gateway router identifier, and generates a first election value of each gateway router 132; then, each gateway router 132 sorts the election values of the gateway routers 132 according to the principle from small to large to obtain a sorting queue; then, each gateway router 132 may select 2 target gateway routers (the first 2 gateway routers 132 corresponding to the smallest and second smallest election values of the ranking queue may be selected) based on the ranking queue and the first preset policy, and finally, the two target gateway routers find out a plurality of multicast members 131 connected with the gateway router according to the correspondence list between the multicast member identifications and the gateway router identifications given by the server 120, randomly select one multicast member 131 from the multicast member 131 as a target multicast member, and send the corresponding biological data unicast to be analyzed to the target multicast member. When the target gateway router sends unicast to the target multicast member, the target IP address is the IP address of the target multicast member; and finding out the corresponding MAC address in the local ARP table of the target gateway router according to the IP address of the target multicast member, and filling the target MAC address of the biological data to be analyzed into the corresponding MAC address in the local ARP table of the target gateway router.
It should be noted that, if 1 election value corresponds to multiple gateway routers 132, at this time, the identifiers of the gateway routers or the IP addresses of the gateway routers 132 may be sorted according to the principle from small to large, so as to select 2 gateway routers 132. For example, the smallest election value corresponds to a plurality of gateway routers 132, and then the smallest and next smallest two gateway routers 132 may be selected according to the IP address of the gateway router 132 to be responsible for forwarding the biological data to be analyzed.
So configured, the server 120 informs each gateway router 132 of the correspondence list between the multicast member identifications and the gateway router identifications, so that each gateway router 132 knows the identification of the other gateway router 132, and so on. Then, each gateway router 132 independently calculates a first hash function and executes a first preset policy to elect 2 gateway routers 132 meeting the requirement, and because the information of each gateway router 132 is peer-to-peer, each gateway router 132 can obtain the same election result, and errors of the program are avoided.
Step S306: the server 120 sends the second allocation policy to the gateway router 132.
Step S307: the gateway router 132 determines a multicast member transmission address list connected to itself and forwards the second allocation policy and the multicast member transmission address list to the switch 133.
Step S308: switch 133 elects a first preset number of target multicast members based on the second allocation policy and the multicast member transmit address list and transmits the biological data to be analyzed to the first preset number of target multicast members.
Step S306-step S308 described above are configured to, when the server 120 determines that the number of gateway routers 132 in the multicast group 130 is only 1, enable the gateway routers 132 to negotiate with the switch 133, and enable the switch 133 to randomly select 2 multicast members 131. In this step, the switch 133 is further configured to communicatively connect at least one multicast member 131 to the interface 1321 of the gateway router 132.
In one embodiment, the second allocation policy may be to require that gateway router 132 negotiate with switch 133 for each piece of biological data to be analyzed, letting switch 133 randomly select 2 multicast members 131.
In one embodiment, the second allocation policy includes: a second preset policy and a correspondence list, wherein the second preset policy may be to require that the gateway router 132 negotiates with the switch 133 for each biological data to be analyzed, letting the switch 133 randomly select 2 multicast members 131. The correspondence list may be a correspondence list between the multicast member identifications and the gateway router identifications generated and stored by the server 120 according to the target analysis result.
Specifically, first, the server 120 transmits a second allocation policy including a second preset policy and a correspondence list to the gateway router 132; then, the gateway router 132 finds out a plurality of multicast members 131 connected with the gateway router 132 according to the corresponding relation list of the multicast member identifiers and the gateway router identifiers given by the server 120, and the gateway router 132 can find out the IP addresses (multicast member identifiers) of the multicast members 131 in the local ARP table entry, and find out the MAC addresses of the multicast members 131 corresponding to the IP addresses of the multicast members 131 from the local ARP table entry, so as to generate a MAC address list, namely a multicast member sending address list; then, the gateway router 132 transmits the multicast member transmission address list together with the second allocation policy to the switch 133 connected to the gateway router 132; then, the switch 133 receives the second allocation policy and the multicast member transmission address list, the switch 133 searches the local MAC entry (the MAC entry includes the MAC address and the number of the port 1331 in the switch 133), and the switch 133 finds the corresponding port list from the local MAC entry according to the MAC address list (the multicast member transmission address list) given by the gateway router 132; finally, the switch 133 randomly selects two ports 1331 from the port list according to the second allocation policy, and transmits the biological data to be analyzed to the corresponding multicast member 131 through the two ports 1331.
Step S309: the first preset number of target multicast members respectively obtain the second target analysis results input by the user, and send the second target analysis results to the server 120.
Therefore, through steps S302-S309, the first round of analysis may be completed, and the server 120 may obtain 1 target analysis results sent by 2 multicast members 131 respectively, and total 2 target analysis results. .
Step S310: the server 120 determines whether the target analysis results returned by the first preset number of target multicast members are the same.
In this step, the server 120 may determine whether the 2 target analysis results are consistent, if so, it indicates that the target analysis result is reliable, and execute step S311, where the target analysis result may be used as a final analysis result; if not, steps S312-S317 may be performed to re-acquire the 3 second target analysis results of the 3 multicast members 131, and steps S318-S319 are performed to determine the final analysis result according to the principle of minority compliance.
Step S311: the server 120 determines the target analysis result as the final analysis result.
Step S312: the server 120 determines whether the number of gateway routers 132 in the multicast group 130 is greater than or equal to a second preset number.
The second preset number is greater than the first preset number, and in this embodiment, the second preset number is 3. In this step, the server 120 determines whether the number of gateway routers 132 in the multicast group 130 is greater than or equal to 3, if yes, step S313-step S315 are executed to select 3 gateway routers 132, and each gateway router 132 is sent to only one of the multicast members 131 connected to itself; if not, it is indicated that the number of gateway routers 132 in the multicast group 130 is only 1 or 2, and step S316-step S317 are performed to enable the gateway routers 132 to select 3 multicast members 131.
Step S313: the server 120 sends the third allocation policy to all gateway routers 132.
Step S314: the gateway router 132 elects a second predetermined number of second target gateway routers for the third allocation policy.
Step S315: and the second target gateway routers with the second preset number respectively send the biological data to be analyzed to a second target multicast member connected with the second target gateway routers.
The foregoing steps S313 to S315 are used to, when the server 120 determines that the number of gateway routers 132 in the multicast group 130 is greater than or equal to 3, select 3 gateway routers 132, and make each gateway router 132 send to only one of the multicast members 131 connected to itself.
In an embodiment, the third allocation policy may be to require that only 3 gateway routers 132 are elected for each biological data to be analyzed in charge of forwarding the biological data to be analyzed, and each gateway router 132 is made to transmit to only one of the multicast members 131 connected to itself.
In one embodiment, the third allocation policy includes: the third hash function, a third preset policy and a corresponding relation list, wherein the third hash function can generate a result value for the biological data identifier to be analyzed and the gateway router identifier, for example: the input values of the third hash function comprise the biological data identification to be analyzed and the gateway router identification, all the input values are multiplied by a random number in the function, and the remainder of the product with respect to the random number is calculated, so that the remainder is used as a result value. A third preset policy may be to require that only 3 gateway routers 132 are elected for each biometric data to be analyzed in charge of forwarding the biometric data to be analyzed, and to have each gateway router 132 send only one of the multicast members 131 connected to itself. The correspondence list may be a correspondence list between the multicast member identifications and the gateway router identifications generated and stored by the server 120 according to the target analysis result.
Specifically, first, each gateway router 132 of the multicast group 130 receives the third allocation policy sent by the server 120, and then, each gateway router 132 independently calculates a third hash function for the to-be-analyzed biological data identifier and the gateway router identifier, and generates a third election value of each gateway router 132; then, each gateway router 132 sorts the election values of the gateway routers 132 according to the principle from small to large to obtain a sorting queue; then, each gateway router 132 may select 3 target gateway routers (the first 3 gateway routers 132 corresponding to the 3 election values of the smallest, next smallest and third smallest of the ranking queues may be selected) based on the ranking queues and the third preset policy, and finally, the 3 target gateway routers find out a plurality of multicast members 131 connected with the gateway router according to the corresponding relationship list of the multicast member identifiers and the gateway router identifiers given by the server 120, randomly select one multicast member 131 from the multicast member 131 as a target multicast member, and unicast the corresponding biological data to be analyzed to the target multicast member. When the target gateway router sends unicast to the target multicast member, the target IP address is the IP address of the target multicast member; and finding out the corresponding MAC address in the local ARP table of the target gateway router according to the IP address of the target multicast member, and filling the target MAC address of the biological data to be analyzed into the corresponding MAC address in the local ARP table of the target gateway router.
It should be noted that, if 1 election value corresponds to multiple gateway routers 132, at this time, the identifiers of the gateway routers or the IP addresses of the gateway routers 132 may be sorted according to the principle from small to large, so as to select 3 gateway routers 132. For example, if the smallest election value corresponds to a plurality of gateway routers 132, the smallest, next smallest, and third smallest 3 gateway routers 132 may be selected according to the IP address of the gateway router 132 and responsible for forwarding the biological data to be analyzed.
So configured, the server 120 informs each gateway router 132 of the correspondence list between the multicast member identifications and the gateway router identifications, so that each gateway router 132 knows the identification of the other gateway router 132, and so on. Then, each gateway router 132 independently calculates a third hash function and executes a third preset policy to elect 3 gateway routers 132 meeting the requirement, and because the information of each gateway router 132 is peer-to-peer, each gateway router 132 can obtain the same election result, and errors of the program are avoided.
Step S316: the server 120 sends the fourth allocation policy to all gateway routers 132.
Step S317: the gateway router 132 elects a second preset number of second target multicast members based on the fourth allocation policy and transmits the biological data to be analyzed to the second preset number of second target multicast members.
The steps S316-S317 are used to make the gateway router 132 select 3 multicast members 131 when the server 120 determines that the number of gateway routers 132 in the multicast group 130 is only 1 or 2.
In one embodiment, the fourth allocation policy may be to require the gateway router 132 to select 3 multicast members 131 for each biological data to be analyzed.
In one embodiment, the fourth allocation policy includes: the fourth hash function, a fourth preset policy and a corresponding relation list, where the fourth hash function may generate a result value for the to-be-analyzed biological data identifier and the multicast member identifier, for example: the input value of the fourth hash function comprises the biological data identification to be analyzed and the multicast member identification, all the input values are multiplied by a random number in the function, and the remainder of the product with respect to the random number is calculated, so that the remainder is used as a result value. The fourth preset policy may be to require the gateway router 132 to select 3 multicast members 131 for each biological data to be analyzed. The correspondence list may be a correspondence list between the multicast member identifications and the multicast member identifications generated and stored by the server 120 according to the target analysis result.
Specifically, first, each gateway router 132 of the multicast group 130 receives the fourth allocation policy sent by the server 120, and then, each gateway router 132 independently calculates a fourth hash function for the to-be-analyzed biological data identifier and the multicast member identifier, and generates a fourth election value of each multicast member 131; then, each gateway router 132 sorts all election values according to the principle from small to large to obtain a sorting queue; then, each gateway router 132 may select 3 second target multicast members (the first 3 multicast members 131 corresponding to the 3 election values of the smallest, second smallest and fourth smallest in the sorting queue may be selected) based on the sorting queue and the fourth preset policy, finally, the gateway router 132 determines the gateway router 132 corresponding to the 3 second target multicast members according to the correspondence list, and the gateway router 132 converts the biological data to be analyzed into a unicast message and sends the unicast message to the corresponding multicast member 131 in the second preset number of second target multicast members. When unicast is sent to the second target multicast member, the gateway router 132 selects entries matching the IP addresses (multicast member identifier of the second target multicast member) from the local ARP entries of the gateway router 132 according to the IP addresses (multicast member identifier of the second target multicast member) of the multicast member 131 of the second target multicast member. In unicast, the destination IP address is the IP address of the second target multicast member; and find the corresponding MAC address in the local ARP entry of the gateway router 132 according to the IP address of the second target multicast member, and fill out the destination MAC address of the biological data to be analyzed as the corresponding MAC address in the local ARP entry of the gateway router 132.
It should be noted that, if 1 election value corresponds to multiple multicast members 131, at this time, the multicast member identifications may be sorted according to the principle from small to large, so as to select 3 gateway routers 132. For example, if the minimum election value corresponds to more than 3 multicast members 131, the smallest, next smallest, and fourth smallest 3 gateway routers 132 may be selected according to the multicast member identification and responsible for forwarding the biological data to be analyzed. For another example: and selecting the 2 multicast members 131 according to the minimum election value corresponding to the 2 multicast members 131, and selecting the multicast member 131 with the minimum multicast member identification from a plurality of expert computers corresponding to the next-smallest election value, so as to select 3 multicast members 131 in total.
The configuration is such that the server 120 informs each gateway router 132 of the correspondence list between the multicast member identifiers and the multicast member identifiers, so that each gateway router 132 knows the information such as the identifiers of other gateway routers 132 and the information such as the identifiers of the multicast members 131. Then, each gateway router 132 independently calculates a fourth hash function and executes a fourth preset policy to elect 3 multicast members 131 meeting the requirement, and because the information of each gateway router 132 is peer-to-peer, each gateway router 132 can obtain the same election result, and errors of the program are avoided.
Step S318: and respectively acquiring second target analysis results input by the user by a second preset number of second target multicast members, and sending the second target analysis results to the server 120.
Therefore, through steps S312-S318, the second round of analysis may be completed, and the server 120 may obtain 1 second target analysis results sent by the 3 multicast members 131 respectively, and total 3 second target analysis results.
Step S319: the server 120 selects the second target analysis result with the largest occurrence number from the second target analysis results, and uses the second target analysis result as the final target analysis result.
The step adopts the principle of 'minority obeys majority', selects the second target analysis result with the largest occurrence number from the 3 second target analysis results, and takes the second target analysis result as the final target analysis result, so that the final target analysis result is reliable and reliable.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
It should be noted that the functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM) random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above is only an example of the present application, and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (7)

1. A biological data collaborative analysis system, comprising: the system comprises a server, a multicast group and at least one biological data acquisition instrument, wherein the server is in communication connection with the biological data acquisition instrument and the multicast group, the multicast group comprises a plurality of multicast members and a plurality of gateway routers, and the gateway routers are used for accessing at least one multicast member into a network of the multicast group;
the server is used for receiving at least one biological data to be analyzed sent by the biological data acquisition instrument;
The server is further used for determining the distribution strategy of each biological data to be analyzed according to the current number of gateway routers in the multicast group;
the server is further configured to send each piece of biological data to be analyzed and an allocation policy corresponding to each piece of biological data to be analyzed to the multicast group;
the multicast group is used for selecting a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers according to the allocation strategy;
the first target number of target gateway routers are used for forwarding the biological data to be analyzed to the second target number of target multicast members;
each target multicast member is used for respectively acquiring a target analysis result input by a user and transmitting the target analysis result to the server;
the server is also used for determining a final analysis result according to the target analysis result;
the server is further used for determining the distribution strategy of each biological data to be analyzed according to the current number of gateway routers in the multicast group; the server is further configured to send each piece of biological data to be analyzed and an allocation policy corresponding to each piece of biological data to be analyzed to the multicast group; the multicast group is used for selecting a target gateway router and a target multicast member corresponding to the target gateway router according to the allocation strategy; the first target number of target gateway routers are used for forwarding the biological data to be analyzed to the second target number of target multicast members; comprising the following steps:
The server is further configured to determine whether the number of gateway routers in the multicast group is greater than or equal to a first preset number;
when the server determines that the number of gateway routers in the multicast group is greater than or equal to a first preset number, the server is further configured to send a first allocation policy to all the gateway routers;
the gateway router is further used for electing the first preset number of target gateway routers for the first allocation policy;
the first preset number of target gateway routers are also used for respectively sending the biological data to be analyzed to one target multicast member connected with the target gateway routers;
when the server determines that the number of gateway routers in the multicast group is smaller than the first preset number, the server is further configured to send a second allocation policy to the gateway routers;
the gateway router is further configured to determine a multicast member sending address list connected to the gateway router, and forward the second allocation policy and the multicast member sending address list to a switch, where the switch is configured to communicatively connect at least one multicast member and an interface of the gateway router;
The switch is further used for selecting a first preset number of target multicast members according to the second allocation policy and the multicast member sending address list, and sending the biological data to be analyzed to the first preset number of target multicast members;
wherein the server is further configured to determine a final analysis result according to the target analysis result, including:
the server is further configured to determine whether target analysis results returned by the first preset number of target multicast members are the same;
when the server determines that the target analysis results returned by the first preset number of target multicast members are the same, the server is further configured to determine that the target analysis results are final analysis results;
when the server determines that the target analysis results returned by the first preset number of target multicast members are different, the server is further configured to redetermine a new allocation policy, and enable the multicast group to select a second preset number of second target multicast members, where the second preset number is greater than the first preset number;
the second target multicast members with the second preset number are used for respectively acquiring second target analysis results input by the user and sending the second target analysis results to the server;
The server is further configured to select a second target analysis result with the largest occurrence number from the second target analysis results, and use the second target analysis result as a final target analysis result.
2. The collaborative analysis system of claim 1, wherein after the server is configured to receive at least one biological data to be analyzed sent by the biological data collection device, before the server is further configured to determine an allocation policy for each of the biological data to be analyzed based on a current number of gateway routers in the multicast group, further comprising:
the server is further configured to send all the biological data to be analyzed to a plurality of multicast members of the multicast group;
the server is further configured to receive a plurality of target analysis results returned by a plurality of multicast members for all the biological data to be analyzed, where the target analysis results carry a biological data identifier to be analyzed, a multicast member identifier, a gateway router identifier and an analysis conclusion;
the server is further used for determining the number of analysis members of each biological data to be analyzed according to the biological data identification to be analyzed and the multicast member identification in the target analysis results;
The server is further used for judging whether the number of analysis members of the biological data to be analyzed is greater than or equal to a third preset number;
when the server determines that the number of analysis members with one piece of biological data to be analyzed is greater than or equal to a third preset number, the server is further configured to determine an allocation policy of each piece of biological data to be analyzed according to the current number of gateway routers in the multicast group.
3. The collaborative analysis system of claim 2, further comprising, after the server is further configured to receive a plurality of target analysis results returned by a plurality of the multicast members for all of the biological data to be analyzed:
the server is further used for generating a corresponding relation list of the multicast member identifiers and the gateway router identifiers according to the target analysis result.
4. The collaborative analysis system of claim 3, wherein the multicast group is further configured to select a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers according to the distribution policy, comprising:
each gateway router of the multicast group is configured to receive an allocation policy sent by the server, where the allocation policy includes: hash function, preset strategy and the corresponding relation list;
Each gateway router is further used for independently calculating the hash function aiming at the biological data identification to be analyzed and the gateway router identification to generate an election value of each gateway router, or independently calculating the hash function aiming at the biological data identification to be analyzed and the multicast member identification to generate an election value of each multicast member;
each gateway router is also used for sorting the election values according to the principle from small to large to obtain a sorting queue;
and each gateway router is further used for selecting a preset number of target gateway routers and target multicast members corresponding to the target gateway routers according to the sorting queue and the preset strategy.
5. The collaborative analysis system of claim 1, wherein the server is further configured to redefine a new allocation policy to cause the multicast group to select the second predetermined number of second target multicast members, comprising:
the server is further configured to determine whether the number of gateway routers in the multicast group is greater than or equal to a second preset number;
when the server determines that the number of gateway routers in the multicast group is greater than or equal to the second preset number, the server is further configured to send a third allocation policy to all the gateway routers;
The gateway router is further configured to elect a second preset number of second target gateway routers for the third allocation policy;
the second target gateway routers with the second preset number are used for respectively sending the biological data to be analyzed to a second target multicast member connected with the second target gateway routers.
6. The collaborative analysis system according to claim 5, wherein the server is further configured to redefine a new allocation policy to cause the multicast group to select the second predetermined number of second target multicast members, further comprising:
when the server determines that the number of gateway routers in the multicast group is smaller than the second preset number, the server is further configured to send a fourth allocation policy to all the gateway routers;
the gateway router is further configured to elect a second preset number of second target multicast members according to the fourth allocation policy, and send the biological data to be analyzed to the second preset number of second target multicast members.
7. The biological data collaborative analysis method is characterized by being applied to a biological data collaborative analysis system, wherein the biological data collaborative analysis system comprises a server, a multicast group and at least one biological data acquisition instrument, the server is in communication connection with the biological data acquisition instrument and the multicast group, the multicast group comprises a plurality of multicast members and a plurality of gateway routers, and each gateway router accesses at least one multicast member into a network of the multicast group; the method comprises the following steps:
The server receives at least one biological data to be analyzed sent by the biological data acquisition instrument;
the server determines the distribution strategy of each biological data to be analyzed according to the current number of gateway routers in the multicast group;
the server sends each piece of biological data to be analyzed and the distribution strategy corresponding to each piece of biological data to be analyzed to the multicast group;
the multicast group selects a first target number of target gateway routers and a second target number of target multicast members corresponding to the target gateway routers based on the allocation policy;
the first target number of target gateway routers forwards the biological data to be analyzed to the second target number of target multicast members;
each target multicast member respectively acquires a target analysis result input by a user and sends the target analysis result to the server;
the server determines a final analysis result based on the target analysis result;
the server is further used for determining the distribution strategy of each biological data to be analyzed according to the current number of gateway routers in the multicast group; the server is further configured to send each piece of biological data to be analyzed and an allocation policy corresponding to each piece of biological data to be analyzed to the multicast group; the multicast group is used for selecting a target gateway router and a target multicast member corresponding to the target gateway router according to the allocation strategy; the first target number of target gateway routers are used for forwarding the biological data to be analyzed to the second target number of target multicast members; comprising the following steps:
The server is further configured to determine whether the number of gateway routers in the multicast group is greater than or equal to a first preset number;
when the server determines that the number of gateway routers in the multicast group is greater than or equal to a first preset number, the server is further configured to send a first allocation policy to all the gateway routers;
the gateway router is further used for electing the first preset number of target gateway routers for the first allocation policy;
the first preset number of target gateway routers are also used for respectively sending the biological data to be analyzed to one target multicast member connected with the target gateway routers;
when the server determines that the number of gateway routers in the multicast group is smaller than the first preset number, the server is further configured to send a second allocation policy to the gateway routers;
the gateway router is further configured to determine a multicast member sending address list connected to the gateway router, and forward the second allocation policy and the multicast member sending address list to a switch, where the switch is configured to communicatively connect at least one multicast member and an interface of the gateway router;
The switch is further used for selecting a first preset number of target multicast members according to the second allocation policy and the multicast member sending address list, and sending the biological data to be analyzed to the first preset number of target multicast members;
wherein the server is further configured to determine a final analysis result according to the target analysis result, including:
the server is further configured to determine whether target analysis results returned by the first preset number of target multicast members are the same;
when the server determines that the target analysis results returned by the first preset number of target multicast members are the same, the server is further configured to determine that the target analysis results are final analysis results;
when the server determines that the target analysis results returned by the first preset number of target multicast members are different, the server is further configured to redetermine a new allocation policy, and enable the multicast group to select a second preset number of second target multicast members, where the second preset number is greater than the first preset number;
the second target multicast members with the second preset number are used for respectively acquiring second target analysis results input by the user and sending the second target analysis results to the server;
The server is further configured to select a second target analysis result with the largest occurrence number from the second target analysis results, and use the second target analysis result as a final target analysis result.
CN202310040275.7A 2023-01-11 2023-01-11 Biological data collaborative analysis system and method Active CN115801781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310040275.7A CN115801781B (en) 2023-01-11 2023-01-11 Biological data collaborative analysis system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310040275.7A CN115801781B (en) 2023-01-11 2023-01-11 Biological data collaborative analysis system and method

Publications (2)

Publication Number Publication Date
CN115801781A CN115801781A (en) 2023-03-14
CN115801781B true CN115801781B (en) 2023-05-30

Family

ID=85428968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310040275.7A Active CN115801781B (en) 2023-01-11 2023-01-11 Biological data collaborative analysis system and method

Country Status (1)

Country Link
CN (1) CN115801781B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208434A (en) * 2023-05-05 2023-06-02 杭州立方控股股份有限公司 Intelligent parking management system with cooperation of seat personnel
CN116915777B (en) * 2023-09-13 2023-12-05 杭州立方控股股份有限公司 Intelligent parking management system and method for seat personnel cooperation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002056088A (en) * 2000-08-07 2002-02-20 Toden Computer Service Co Ltd Medical information supplying system
CN109446370A (en) * 2018-10-26 2019-03-08 广州金域医学检验中心有限公司 Pathology mask method and device, the computer readable storage medium of medical image

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866711A (en) * 2015-05-09 2015-08-26 深圳市前海安测信息技术有限公司 User terminal, expert platform and expert consultation request method based on user terminal
CN110021420A (en) * 2019-04-01 2019-07-16 广东职业技术学院 A kind of remote medical specialist consultation system
CN110090037B (en) * 2019-04-22 2023-07-25 深圳安泰创新科技股份有限公司 Medical image film typesetting method and device, electronic equipment and readable storage medium
CN110379523B (en) * 2019-07-19 2021-11-19 易必祥 Infrared remote doctor seeing method and system based on cloud platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002056088A (en) * 2000-08-07 2002-02-20 Toden Computer Service Co Ltd Medical information supplying system
CN109446370A (en) * 2018-10-26 2019-03-08 广州金域医学检验中心有限公司 Pathology mask method and device, the computer readable storage medium of medical image

Also Published As

Publication number Publication date
CN115801781A (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN115801781B (en) Biological data collaborative analysis system and method
CN100383758C (en) Cache device, cache data management method, and computer program
RU2509428C2 (en) Cluster server for instant messaging system and method for messaging between clusters
CN1146204C (en) Wireless data transfer method and system
EP0895395A1 (en) Device for transmitting and processing group communications in the e-mail system
CN110505319A (en) A kind of RS485 is from device address auto-allocation method and system
CN105808694A (en) Online customer service response system and method
EP2586006A2 (en) Delivering messages from message sources to subscribing recipients
CN107769992B (en) Message parsing and shunting method and device
CN101873269A (en) Data retransmission device and method for distributing buffer to ports
CN108932182B (en) Message bus performance test method and system
CN104484134A (en) Method and device for allocating distributed type storage magnetic discs
CN108718258B (en) Quality detection method and equipment for inter-board link
CN111953551A (en) Log data transmission method and device, electronic equipment and storage medium
CN109348434A (en) A kind of sending method of scene information, sending device and terminal device
CN102546709B (en) User counting method and server for public chat system based on on-vehicle terminal
CN107453977A (en) The method and server of a kind of session management
CN113300933A (en) Session content management method and device, computer equipment and readable storage medium
CN102035664B (en) Data parallel acquisition and merging method and system for simple network management protocol equipment
CN103299298A (en) Service processing method and system
CN116527609A (en) Message forwarding method, device, intelligent network card, server and storage medium
CN108924145B (en) Network transmission method, device and equipment
CN105516247A (en) Information recommendation method and apparatus for communication application
CN110909288B (en) Service data processing method, device, platform, service end, system and medium
CA2343075A1 (en) Multicasting

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