CN109272099A - Coincidence counting manages method and device - Google Patents

Coincidence counting manages method and device Download PDF

Info

Publication number
CN109272099A
CN109272099A CN201811093455.7A CN201811093455A CN109272099A CN 109272099 A CN109272099 A CN 109272099A CN 201811093455 A CN201811093455 A CN 201811093455A CN 109272099 A CN109272099 A CN 109272099A
Authority
CN
China
Prior art keywords
counting
count
combination
channel
combined
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.)
Granted
Application number
CN201811093455.7A
Other languages
Chinese (zh)
Other versions
CN109272099B (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.)
Shanghai Star Photoelectric Technology Co Ltd
Original Assignee
Shanghai Star Photoelectric Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Star Photoelectric Technology Co Ltd filed Critical Shanghai Star Photoelectric Technology Co Ltd
Priority to CN201811093455.7A priority Critical patent/CN109272099B/en
Publication of CN109272099A publication Critical patent/CN109272099A/en
Application granted granted Critical
Publication of CN109272099B publication Critical patent/CN109272099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • G06M1/272Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Optical Communication System (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a kind of coincidence counting management method and device.The method: receiving coincidence counting indicator, and parse to the coincidence counting indicator, obtains multiple count and combines and respectively count combined channel data;Judge between each counting combination according to the combined channel data of each counting is obtained with the presence or absence of combination inclusion relation, and multiple countings that combination inclusion relation will be present are combined and are divided under same count strategy;Obtain the photon generation time data of the corresponding each optical channel of each count strategy, and it is counted in the period corresponding to duration default, it controls the corresponding thread of the count strategy and is based on preset time window width and corresponding photon generation time data, each optical channel corresponding to the count strategy carries out coincidence counting.The method can save system resources in computation, improve the coincidence counting efficiency between different optical channel combinations, release limitation of the equipment to optical channel number, improve the conceptual design flexibility of photon correlation experiment.

Description

Coincidence counting manages method and device
Technical field
This application involves photon counting technique fields, manage method and device in particular to a kind of coincidence counting.
Background technique
With physioptial fast development, people have more single photon counting and analysis system in function and performance High demand.Wherein people need the photon generation time data to different optical channels when determining the correlation between photon Coincidence counting is carried out, and is the normal realization for ensuring real-time counting, the mode of coincidence counting general in industry management at present is needle Corresponding to each combination of channels to distribute a thread progress coincidence counting, wherein combination of channels is to need to carry out coincidence counting The combination of multiple optical channels.It is this to meet the meeting when number of active lanes changes linearly of the occupied computing resource of management of computing mode Increased in a manner of factorial, the consumption of acceleration system computing resource causes system that can not mention when number of channels reaches certain numerical value For the extra computing resource for coincidence counting, the counting efficiency of system is caused to be greatly lowered.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the application's is designed to provide a kind of coincidence counting management method And device, the coincidence counting management method can save system resources in computation, improve meeting between different optical channel combinations Counting efficiency releases limitation of the equipment to optical channel number, improves the conceptual design flexibility of photon correlation experiment.
For method, the embodiment of the present application provides a kind of coincidence counting management method, is applied to terminal device, the side Method:
Coincidence counting indicator is received, and the coincidence counting indicator is parsed, obtains multiple counting groups Close and it is each count combined channel data, wherein it is each count combined channel data include during the counting is combined participation meet meter The channel number of several each optical channels;
Judge between each counting combination according to the combined channel data of each counting is obtained with the presence or absence of combination inclusion relation, and Multiple countings combination that combination inclusion relation will be present is divided under same count strategy, wherein the participation in the count strategy The channel number of each optical channel of coincidence counting, the counting most with the count strategy lower channel number are combined corresponding logical Road number is identical;
The photon generation time data of the corresponding each optical channel of each count strategy are obtained, and right in default counting duration institute In the period answered, controls the corresponding thread of the count strategy and be based on preset time window width and corresponding photon generation time Data, each optical channel corresponding to the count strategy carry out coincidence counting.
For device, the embodiment of the present application provides a kind of coincidence counting management device, is applied to terminal device, the dress It sets and includes:
Command analysis module is solved for receiving coincidence counting indicator, and to the coincidence counting indicator Analysis, obtain it is multiple count combination and it is each count combined channel data, wherein the combined channel data of each counting includes the meter The channel number of each optical channel of coincidence counting is participated in array conjunction;
Division module is combined, the combined channel data of each counting is obtained for basis and judges whether deposit between each counting combination In combination inclusion relation, and multiple countings combination that combination inclusion relation will be present is divided under same count strategy, wherein institute The channel number for stating each optical channel of the participation coincidence counting in count strategy, most institute with the count strategy lower channel number It is identical to state the corresponding channel number of counting combination;
Execution module is counted, for obtaining the photon generation time data of the corresponding each optical channel of each count strategy, and Counted in the period corresponding to duration default, control the corresponding thread of the count strategy be based on preset time window width and Corresponding photon generation time data, each optical channel corresponding to the count strategy carry out coincidence counting.
In terms of existing technologies, coincidence counting management method and device provided by the embodiments of the present application has with following Beneficial effect: the coincidence counting management method can save system resources in computation, improve meeting between different optical channel combinations Counting efficiency releases limitation of the equipment to optical channel number, improves the conceptual design flexibility of photon correlation experiment.Firstly, The method receives coincidence counting indicator, and parses to the coincidence counting indicator, obtains multiple counting groups Close and respectively count combined channel data.Then, the method judges each counting according to the combined channel data of each counting is obtained With the presence or absence of combination inclusion relation between combination, and multiple countings combination that combination inclusion relation will be present is divided into same counting Under strategy.Finally, the method obtains the photon generation time data of the corresponding each optical channel of each count strategy, and default It counts corresponding to duration in the period, controls the corresponding thread of the count strategy and be based on preset time window width and corresponding Photon generation time data, each optical channel corresponding to the count strategy carry out coincidence counting, thus by a thread to same Multiple countings combination under one count strategy carries out coincidence counting, avoids out the replicator between different optical channels combinations total Number saves system resources in computation, improves the coincidence counting efficiency between different optical channel combinations, releases equipment to optical channel number Limitation, improve photon correlation experiment conceptual design flexibility.Wherein, the combined channel data of each counting includes the meter The channel number of each optical channel of coincidence counting is participated in array conjunction, each light of the participation coincidence counting in the count strategy is logical The channel number in road, it is identical that corresponding channel number is combined in the counting most with the count strategy lower channel number.
To enable the above objects, features, and advantages of the application to be clearer and more comprehensible, the application preferred embodiment is cited below particularly, And cooperate appended attached drawing, it is described in detail below.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of the claim of this application protection scope, for those of ordinary skill in the art, what is do not made the creative labor Under the premise of, it can also be obtained according to these attached drawings other relevant attached drawings.
Fig. 1 is the block diagram of terminal device provided by the embodiments of the present application.
Fig. 2 is one of the flow diagram that coincidence counting provided by the embodiments of the present application manages method.
Fig. 3 is the flow diagram for the sub-step that step S220 includes in Fig. 2.
Fig. 4 is the flow diagram for the sub-step that step S230 includes in Fig. 2.
Fig. 5 is the two of the flow diagram that coincidence counting provided by the embodiments of the present application manages method.
Fig. 6 is one of the block diagram that coincidence counting shown in Fig. 1 provided by the embodiments of the present application manages device.
Fig. 7 is the block diagram that division module is combined shown in Fig. 6.
Fig. 8 is the two of the block diagram that coincidence counting shown in Fig. 1 provided by the embodiments of the present application manages device.
Icon: 10- terminal device;11- memory;12- processor;13- communication unit;100- coincidence counting management dress It sets;110- command analysis module;120- combines division module;130- counts execution module;121- set compares submodule;122- Relationship decision sub-module;140- parameter configuration module;150- thread distribution module.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
With reference to the accompanying drawing, it elaborates to some embodiments of the application.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
Fig. 1 is please referred to, is a kind of block diagram of terminal device 10 provided by the embodiments of the present application.Implement in the application In example, the terminal device 10 can carry out meeting meter by a thread to multiple countings combination under same count strategy Number avoids out the repetition coincidence counting between different optical channels combinations, saves system resources in computation, improves different optical channels combinations Between coincidence counting efficiency, release limitation of the equipment to optical channel number, improve the conceptual design spirit of photon correlation experiment Activity.Wherein each optical channel has the channel number for being different from other optical channels at the terminal device 10, described Counting combination is the combination that multiple optical channels carry out coincidence counting, and the count strategy as meets the more of combination inclusion relation It is a to count combined union combination, the channel number and the count strategy of each optical channel of coincidence counting are participated in the count strategy It is identical that corresponding channel number is combined in the most counting of lower channel number.For example, the light that the terminal device 10 is supported Number of active lanes is 10, then this 10 corresponding channel numbers of optical channel can be 1,2,3 ... ..., 9,10, it is also possible to A, B, C ... ..., I, J, specific channel number can carry out different configurations according to demand.In the present embodiment, the terminal is set Standby 10 may be, but not limited to, PC (personal computer, PC), tablet computer, personal digital assistant (personal digital assistant, PDA), mobile internet surfing equipment (mobile Internet device, MID) etc..
In the present embodiment, the terminal device 10 includes that coincidence counting manages device 100, memory 11, processor 12 And communication unit 13.The memory 11, processor 12 and each element of communication unit 13 are directly or indirectly electric between each other Property connection, to realize the transmission or interaction of data.For example, these elements between each other can by one or more communication bus or Signal wire, which is realized, to be electrically connected.
In the present embodiment, the memory 11 can be used for caching the light for each optical channel that the terminal device 10 is got Sub- generation time data, wherein the photon generation time data are the external single photon counter of the terminal device 10 right Time data when generating photon in optical channel are answered, which includes time when photon generates within a time cycle Information and or time cycle information when occurring.In the present embodiment, the memory 11 can also store program, described Processor 12 can correspondingly execute described program after receiving and executing instruction.
In the present embodiment, the processor 12 can be a kind of IC chip of processing capacity with signal. The processor 12 can be general processor, including central processing unit (Central Processing Unit, CPU), network Processor (Network Processor, NP) etc..General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc., may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present application.
In the present embodiment, the communication unit 13 is set for establishing the terminal device 10 by network with outside other Communication connection between standby, and by the network sending and receiving data, the network can be cable network and wireless network.Example Such as, the terminal device 10 is directed to the external single photon counter of each optical channel by the communication unit 13, and passes through The photon that the communication unit 13 obtains when the corresponding single photon counter of each optical channel carries out single photon counting generates Time data.
In the present embodiment, the coincidence counting management device 100 can be with the shape of software or firmware including at least one Formula is stored in the memory 11 or is solidificated in the software function module in the operating system of the terminal device 10.The place Reason device 12 can be used for executing the executable module that the memory 11 stores, such as coincidence counting management device 100 is wrapped Software function module and computer program for including etc..The terminal device 10 manages device 100 by the coincidence counting and is directed to Each count strategy creates the thread for being used for coincidence counting, and multiple countings combination is assigned to according to combination inclusion relation Under each count strategy, to carry out coincidence counting to each optical channel under the count strategy by the corresponding thread of each count strategy, The coincidence counting of all counting combinations corresponding to the count strategy is obtained as a result, to avoid out between different optical channels combinations Repetition coincidence counting, save system resources in computation, improve the coincidence counting efficiency between the combination of different optical channels, release equipment Limitation to optical channel number improves the conceptual design flexibility of photon correlation experiment.
It is understood that block diagram shown in FIG. 1 is only a kind of structure composition schematic diagram of terminal device 10, the terminal Equipment 10 may also include than shown in Fig. 1 more perhaps less component or with the configuration different from shown in Fig. 1.In Fig. 1 Shown in each component can using hardware, software, or its combination realize.
It referring to figure 2., is one of the flow diagram of coincidence counting management method provided by the embodiments of the present application.In this Shen Please be in embodiment, the coincidence counting management method is applied to above-mentioned terminal device 10, below to coincidence counting shown in Fig. 2 The detailed process and step of management method are described in detail.
Step S210 receives coincidence counting indicator, and parses to the coincidence counting indicator, obtains more It is a to count combination and respectively count combined channel data.
In the present embodiment, user can be by inputting coincidence counting indicator to the terminal device 10, so that described Terminal device 10 carries out coincidence counting according to the coincidence counting indicator.The terminal device 10 is receiving described meet After counting indicator instruction, by being parsed to the coincidence counting indicator, obtain include in the coincidence counting indicator Multiple countings combination and it is each count combined channel data, wherein each, to count combined channel data include that the counting is combined The channel number of the middle each optical channel for participating in coincidence counting.For example, a coincidence counting indicator includes counting combination a, meter Array closes b, counts combination c and counts combination d, wherein the optical channel for counting participation coincidence counting corresponding to combination a is channel The optical channel that number is 1 and 2, the optical channel for counting participations coincidence counting corresponding to combination b be channel number for 1 and 3 light Channel, count combination c corresponding to participations coincidence counting optical channel be channel number be 1,2 and 3 optical channel, count combine The optical channel of participation coincidence counting corresponding to d is the optical channel that channel number is 1 and 4.
Step S220 judges between each counting combination according to the combined channel data of each counting is obtained with the presence or absence of combination packet Containing relationship, and multiple countings combination that combination inclusion relation will be present is divided under same count strategy.
In the present embodiment, multiple countings that the terminal device 10 includes in obtaining the coincidence counting indicator Combination and each when counting combined channel data, can according to it is each count combined channel data judge each counting combine between whether In the presence of combination inclusion relation, multiple countings combination that combination inclusion relation then will be present is divided under same count strategy, will There is no the counting combinations of combination inclusion relation to be individually divided under another count strategy.
It optionally, referring to figure 2., is the flow diagram for the sub-step that step S220 includes in Fig. 2.In the present embodiment In, the step S220 may include sub-step S221 and sub-step S222.
Sub-step S221 the corresponding channel number set of each counting combination combines corresponding lead to other countings Road number set is compared.
In the present embodiment, each channel number set includes the corresponding each optical channel for counting and participating in coincidence counting in combination Channel number, the terminal device 10 is by combining each corresponding channel number set of combination that counts with other countings Corresponding channel number set is compared, to judge whether store combination inclusion relation between each counting combination.
Sub-step S222, if any two count a combined channel number collection of counting in combination and are combined into another meter The subset for the channel number set that array is closed then determines that any two count to exist between combination and combines inclusion relation.
In the present embodiment, the terminal device 10 passes through all countings for including in the coincidence counting indicator All counting combinations are divided under individual count strategy by the mode that the comparison of channel number set is carried out between combination, and The channel number of each optical channel of participation coincidence counting in each count strategy, it is most with the count strategy lower channel number It is identical that corresponding channel number is combined in the counting.For example, counting the corresponding channel number collection of combination a is combined into 1 and 2, counting group It closes the corresponding channel number collection of b and is combined into 1 and 3, count the corresponding channel number collection of combination c and be combined into 1,2 and 3, it is corresponding to count combination d Channel number collection when being combined into 1 and 4, count combination a with counting combine channel number collection corresponding to b and be combined into count and combine c institute The subset of corresponding channel number set, then the same counting will be divided by counting combination a, count combination b and counting combination c Under strategy 1, counting combination d will be individually divided under another count strategy 2.
Step S230 obtains the photon generation time data of the corresponding each optical channel of each count strategy, and pre-designed In period corresponding to number duration, controls the corresponding thread of the count strategy and be based on preset time window width and corresponding light Sub- generation time data, each optical channel corresponding to the count strategy carry out coincidence counting.
In the present embodiment, the default counting duration indicates that the terminal device 10 carries out meeting meter at per thread Operating time when number, the terminal device 10 can create a data pump in memory 11, to pass through the data pump pair The photon generation time data for multiple optical channels that the terminal device 10 is got are cached, and are needing to carry out coincidence counting When the corresponding photon generation time data of each optical channel are assigned to according to data traffic is stablized to accrued by the data pump Under thread corresponding to number strategy, multiple optical channels under same count strategy are carried out meeting meter by the thread of Corresponding matching Number.For example, counting the corresponding channel number collection of combination a is combined into 1 and 2, counts the corresponding channel number collection of combination b and is combined into 1 and 3, It counts the corresponding channel number collection of combination c and is combined into 1,2 and 3, count the corresponding channel number collection of combination d and be combined into 1 and 4, count plan Slightly 1 corresponding counting combination includes counting combination a, count combination b and counting combination c, the corresponding counting of count strategy 2 combination packet When including counting combination d, photon generation time data accessed by the corresponding thread of count strategy 1 include channel number be respectively 1, The photon generation time data of 2 and 3 optical channel, count strategy 2 correspond to photon generation time data packet accessed by thread Include the photon generation time data for the optical channel that channel number is 1 and 4.
It optionally, referring to figure 4., is the flow diagram for the sub-step that step S230 includes in Fig. 2.In the present embodiment In, the step S230 may include sub-step S231 and sub-step S232.
Sub-step S231 controls the every of each optical channel of the thread in the corresponding all optical channels of the count strategy Difference operation when being carried out between item photon generation time data and the respective items photon generation time data of other optical channels.
In the present embodiment, the terminal device 10 can count in the period corresponding to duration default, and control is each The corresponding thread of count strategy is by the photon generation time of each optical channel in all optical channels under the count strategy Difference operation when carrying out between data and the photon generation time data of other optical channels, obtains each optical channel under the count strategy Time difference when each between other optical channels when difference operation.
Sub-step S232 is logical to the light when the time difference calculated every time being not more than the preset time window width Coincidence counting between road and other described optical channels adds one.
In the present embodiment, the terminal device 10 is by calculating each optical channel and other light under the count strategy The mode of coincidence counting between channel obtains corresponding to the counting combination under the count strategy between any two optical channel Coincidence counting result.For example, counting the corresponding channel number collection of combination a is combined into 1 and 2, the corresponding channel number collection of combination b is counted It is combined into 1 and 3, the corresponding channel number collection of combination c is counted and is combined into 1,2 and 3, the corresponding counting of count strategy 1 combination includes counting When combining a, count combination b and counting combination c, when the terminal device 10 calculates 1 corresponding three optical channel of count strategy Coincidence counting between middle any two optical channel is as a result, then the terminal device 10 can by the corresponding thread of the count strategy 1 It obtains counting combination a, counting combination b and counts the coincidence counting of combination c as a result, to pass through a thread to same counting plan Multiple countings combination under slightly carries out coincidence counting, avoids out the repetition coincidence counting between different optical channels combinations, saves system System computing resource improves the coincidence counting efficiency between different optical channels combinations, releases limitation of the equipment to optical channel number, mention The high conceptual design flexibility of photon correlation experiment.
It referring to figure 5., is the two of the flow diagram that coincidence counting provided by the embodiments of the present application manages method.In this Shen Please be in embodiment, the coincidence counting management method can also include step S208 and step S209.
Step S208 carries out configuration storage to default counting duration and preset time window width.
Step S209 creates multiple threads, and establishes the corresponding relationship between thread and count strategy, wherein each counting Strategy correspondence is assigned a thread.
Fig. 6 is please referred to, is that the box of the management device 100 of coincidence counting shown in Fig. 1 provided by the embodiments of the present application shows One of be intended to.In the embodiment of the present application, the coincidence counting management device 100 includes command analysis module 110, combination division Module 120 and counting execution module 130.
Described instruction parsing module 110, for receiving coincidence counting indicator, and to the coincidence counting indicator It is parsed, obtains multiple count and combine and respectively count combined channel data, wherein each count combined channel data packet Include the channel number that each optical channel of coincidence counting is participated in counting combination.
In the present embodiment, described instruction parsing module 110 can execute the step S210 in Fig. 2, and specific description can Referring to above to the detailed description of step S210.
The combination division module 120 obtains the combined channel data of each counting for basis and judges each counting combination Between with the presence or absence of combination inclusion relation, and will be present combination inclusion relation multiple countings combination be divided into same count strategy Under, wherein the channel number of each optical channel of the participation coincidence counting in the count strategy, with the count strategy lower channel number It is identical that corresponding channel number is combined in the most counting of mesh.
Optionally, Fig. 7 is please referred to, is the block diagram for combining division module 120 shown in Fig. 6.In the present embodiment In, the combination division module 120 includes that set compares submodule 121 and relationship decision sub-module 122.
The set compares submodule 121, based on by the corresponding channel number set of each counting combination and other Array is closed corresponding channel number set and is compared, wherein each channel number set includes that corresponding count participates in combination The channel number of each optical channel of coincidence counting.
In the present embodiment, the set, which compares submodule 121, can execute the sub-step S221 in Fig. 3, specifically retouch State the detailed description that can refer to above sub-paragraphs S221.
The relationship decision sub-module 122, if one counted in combination for any two counts combined channel volume Number collection is combined into another subset for counting combined channel number set, then determine any two count combine between exist Combine inclusion relation.
In the present embodiment, the relationship decision sub-module 122 can execute the sub-step S222 in Fig. 3, specifically retouch State the detailed description that can refer to above sub-paragraphs S222.
The counting execution module 130, for obtaining the photon generation time of the corresponding each optical channel of each count strategy Data, and counted in the period corresponding to duration default, it controls the corresponding thread of the count strategy and is based on preset time window Mouth width degree and corresponding photon generation time data, each optical channel corresponding to the count strategy carry out coincidence counting.
In the present embodiment, the counting execution module 130 controls the corresponding thread of the count strategy and is based on preset time Window width and corresponding photon generation time data, each optical channel corresponding to the count strategy carry out the mode of coincidence counting Include:
Each photon for controlling each optical channel of the thread in the corresponding all optical channels of the count strategy generates Difference operation when being carried out between time data and the respective items photon generation time data of other optical channels;
When the time difference calculated every time be not more than the preset time window width when, to the optical channel and it is described other Coincidence counting between optical channel adds one.
Fig. 8 is please referred to, is that the box of the management device 100 of coincidence counting shown in Fig. 1 provided by the embodiments of the present application shows The two of intention.In the embodiment of the present application, the coincidence counting management device 100 further includes parameter configuration module 140 and thread Distribution module 150.
The parameter configuration module 140, for carrying out configuration storage to default counting duration and preset time window width.
The thread distribution module 150 for creating multiple threads, and establishes the corresponding pass between thread and count strategy System, wherein each count strategy correspondence is assigned a thread.
In conclusion in coincidence counting provided by the embodiments of the present application management method and device, the coincidencecounter Reason method can save system resources in computation, improve the coincidence counting efficiency between different optical channel combinations, release equipment to light The limitation of number of active lanes improves the conceptual design flexibility of photon correlation experiment.Refer to firstly, the method receives coincidence counting Show instruction, and the coincidence counting indicator is parsed, obtains multiple count and combine and respectively count combined port number According to.Then, the method judges between each counting combination according to the combined channel data of each counting is obtained with the presence or absence of combination packet Containing relationship, and multiple countings combination that combination inclusion relation will be present is divided under same count strategy.Finally, the method obtains The photon generation time data of the corresponding each optical channel of each count strategy are taken, and count the period corresponding to duration default It is interior, it controls the corresponding thread of the count strategy and is based on preset time window width and corresponding photon generation time data, to this The corresponding each optical channel of count strategy carries out coincidence counting, thus by a thread to multiple countings under same count strategy Combination carries out coincidence counting, avoids out the repetition coincidence counting between different optical channels combinations, saves system resources in computation, improve Coincidence counting efficiency between different optical channel combinations, releases limitation of the equipment to optical channel number, improves photon correlation reality The conceptual design flexibility tested.Wherein, the combined channel data of each counting includes participating in coincidence counting in counting combination The channel number of each optical channel, the channel number of each optical channel of the participation coincidence counting in the count strategy, with the counting It is identical that corresponding channel number is combined in the most counting of tactful lower channel number.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.

Claims (10)

1. a kind of coincidence counting manages method, which is characterized in that be applied to terminal device, the method:
Receive coincidence counting indicator, and the coincidence counting indicator parsed, obtain multiple counting combine and Each to count combined channel data, wherein each, to count combined channel data include participation coincidence counting during the counting is combined The channel number of each optical channel;
Judge between each counting combination according to the combined channel data of each counting is obtained with the presence or absence of combination inclusion relation, and will deposit In the case where multiple countings combination of combination inclusion relation is divided into same count strategy, wherein the participation in the count strategy meets The channel number of each optical channel counted, the counting most with the count strategy lower channel number are combined corresponding channel and are compiled It is number identical;
The photon generation time data of the corresponding each optical channel of each count strategy are obtained, and are counted corresponding to duration default In period, controls the corresponding thread of the count strategy and be based on preset time window width and corresponding photon generation time number According to each optical channel corresponding to the count strategy carries out coincidence counting.
2. the method according to claim 1, wherein the basis obtains the combined channel data judgement of each counting Include: with the presence or absence of the step of combination inclusion relation between each counting combination
Corresponding channel number set progress the corresponding channel number set of each counting combination is combined with other countings It compares, wherein each channel number set includes the corresponding channel number for counting and participating in each optical channel of coincidence counting in combination;
If any two count a combined channel number collection of counting in combination and are combined into the combined channel volume of another counting The subset of number set then determines that any two count between combination and there is combination inclusion relation.
3. according to the method described in claim 2, it is characterized in that, the corresponding thread of described control count strategy is based on presetting Time window width and corresponding photon generation time data, each optical channel corresponding to the count strategy carry out coincidence counting Step includes:
Control each photon generation time of each optical channel of the thread in the corresponding all optical channels of the count strategy Difference operation when being carried out between data and the respective items photon generation time data of other optical channels;
It is logical to the optical channel and other described light when the time difference calculated every time being not more than the preset time window width Coincidence counting between road adds one.
4. method described in any one of -3 according to claim 1, which is characterized in that the method also includes:
Configuration storage is carried out to default counting duration and preset time window width.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Multiple threads are created, and establish the corresponding relationship between thread and count strategy, wherein the corresponding distribution of each count strategy There is a thread.
6. a kind of coincidence counting manages device, which is characterized in that be applied to terminal device, described device includes:
Command analysis module is parsed for receiving coincidence counting indicator, and to the coincidence counting indicator, is obtained To it is multiple count combination and it is each count combined channel data, wherein each, to count combined channel data include that the counting is combined The channel number of the middle each optical channel for participating in coincidence counting;
Division module is combined, the combined channel data of each counting is obtained for basis and judges between each counting combination with the presence or absence of group Inclusion relation is closed, and multiple countings combination that combination inclusion relation will be present is divided under same count strategy, wherein the meter The channel number of each optical channel of participation coincidence counting in number strategy, most meter with the count strategy lower channel number It is identical that array closes corresponding channel number;
Execution module is counted, for obtaining the photon generation time data of the corresponding each optical channel of each count strategy, and pre- It designs in the period corresponding to number duration, controls the corresponding thread of the count strategy and be based on preset time window width and correspondence Photon generation time data, each optical channel corresponding to the count strategy carries out coincidence counting.
7. device according to claim 6, which is characterized in that the combination division module includes:
Set compares submodule, corresponding to combining the corresponding channel number set of each counting combination with other countings Channel number set be compared, wherein each channel number set includes that corresponding count participates in each of coincidence counting in combination The channel number of optical channel;
Relationship decision sub-module, if being combined into for a combined channel number collection of counting in any two counting combination another A subset for counting combined channel number set then determines that any two count to exist between combination and combines comprising closing System.
8. device according to claim 7, which is characterized in that it is corresponding that the counting execution module controls the count strategy Thread be based on preset time window width and corresponding photon generation time data, each optical channel corresponding to the count strategy into The mode of row coincidence counting includes:
Control each photon generation time of each optical channel of the thread in the corresponding all optical channels of the count strategy Difference operation when being carried out between data and the respective items photon generation time data of other optical channels;
It is logical to the optical channel and other described light when the time difference calculated every time being not more than the preset time window width Coincidence counting between road adds one.
9. the device according to any one of claim 6-8, which is characterized in that described device further include:
Parameter configuration module, for carrying out configuration storage to default counting duration and preset time window width.
10. device according to claim 9, which is characterized in that described device further include:
Thread distribution module for creating multiple threads, and establishes the corresponding relationship between thread and count strategy, wherein each Count strategy correspondence is assigned a thread.
CN201811093455.7A 2018-09-19 2018-09-19 Coincidence counting management method and device Active CN109272099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811093455.7A CN109272099B (en) 2018-09-19 2018-09-19 Coincidence counting management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811093455.7A CN109272099B (en) 2018-09-19 2018-09-19 Coincidence counting management method and device

Publications (2)

Publication Number Publication Date
CN109272099A true CN109272099A (en) 2019-01-25
CN109272099B CN109272099B (en) 2022-07-15

Family

ID=65197561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811093455.7A Active CN109272099B (en) 2018-09-19 2018-09-19 Coincidence counting management method and device

Country Status (1)

Country Link
CN (1) CN109272099B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113029367A (en) * 2021-03-19 2021-06-25 南京大学 Single photon coincidence logarithm measurement method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4920271A (en) * 1989-02-27 1990-04-24 The United States Of America As Represented By The Department Of Energy Multiple channel programmable coincidence counter
JP2006242771A (en) * 2005-03-03 2006-09-14 Hokkaido Univ Optical characteristic measuring apparatus, optical characteristic measurement method, and program and storage medium used for it
CN103364819A (en) * 2013-06-27 2013-10-23 南京邮电大学 High-precision coincidence counter implementation method based on FPGA (field programmable gata array)
CN105450215A (en) * 2015-11-09 2016-03-30 科大国盾量子技术股份有限公司 Coincidence measurement system and method
WO2017032548A1 (en) * 2015-08-27 2017-03-02 Koninklijke Philips N.V. Photon counting device and method
CN106525231A (en) * 2016-10-28 2017-03-22 中国科学技术大学 Multi-photon coincidence counter based on programmable logic device
CN106788399A (en) * 2016-12-22 2017-05-31 浙江神州量子网络科技有限公司 A kind of implementation method of the configurable multichannel coincidence counting device of window time
CN107610753A (en) * 2017-09-13 2018-01-19 沈阳东软医疗***有限公司 One kind meets event determination method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4920271A (en) * 1989-02-27 1990-04-24 The United States Of America As Represented By The Department Of Energy Multiple channel programmable coincidence counter
JP2006242771A (en) * 2005-03-03 2006-09-14 Hokkaido Univ Optical characteristic measuring apparatus, optical characteristic measurement method, and program and storage medium used for it
CN103364819A (en) * 2013-06-27 2013-10-23 南京邮电大学 High-precision coincidence counter implementation method based on FPGA (field programmable gata array)
WO2017032548A1 (en) * 2015-08-27 2017-03-02 Koninklijke Philips N.V. Photon counting device and method
CN105450215A (en) * 2015-11-09 2016-03-30 科大国盾量子技术股份有限公司 Coincidence measurement system and method
CN106525231A (en) * 2016-10-28 2017-03-22 中国科学技术大学 Multi-photon coincidence counter based on programmable logic device
CN106788399A (en) * 2016-12-22 2017-05-31 浙江神州量子网络科技有限公司 A kind of implementation method of the configurable multichannel coincidence counting device of window time
CN107610753A (en) * 2017-09-13 2018-01-19 沈阳东软医疗***有限公司 One kind meets event determination method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ALOK KUMAR GUPTA等: "Design and Development of Flexible and Low-Cost Coincidence Counting Unit", 《2018 IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, COMPUTING AND COMMUNICATION TECHNOLOGIES (CONECCT)》 *
MATTHEW REICHERT等: "Massively Parallel Coincidence Counting of High-Dimensional Entangled States", 《NATURE》 *
霍强等: "用于符合测量的多通道符合计数器", 《量子光学学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113029367A (en) * 2021-03-19 2021-06-25 南京大学 Single photon coincidence logarithm measurement method and device
CN113029367B (en) * 2021-03-19 2022-05-17 南京大学 Single photon coincidence logarithm measurement method and device

Also Published As

Publication number Publication date
CN109272099B (en) 2022-07-15

Similar Documents

Publication Publication Date Title
Pooley et al. The unified modelling language and performance engineering
CN110380891A (en) Edge computing service resource allocation method and device and electronic equipment
CN107729924B (en) Picture review probability interval generation method and picture review determination method
David et al. Dynamic power management for multicores: Case study using the intel SCC
CN109471626A (en) Page logic structure, page generation method, page data processing method and device
Li et al. A distributed TDMA scheduling algorithm based on exponential backoff rule and energy-topology factor in Internet of Things
Gao et al. QoE/QoS driven simulated annealing-based genetic algorithm for Web services selection
CN109253808A (en) time coincidence counting system, method and device
Raptis et al. On efficiently partitioning a topic in apache kafka
CN109710542A (en) A kind of completely N-ary tree construction method and device
CN109272099A (en) Coincidence counting manages method and device
Ma et al. Cost-aware multi-domain virtual data center embedding
CN109710447A (en) For the method, apparatus of data access, medium and calculate equipment
CN108959636A (en) Data processing method, device, system, computer-readable medium
Cai et al. Dynacomm: Accelerating distributed CNN training between edges and clouds through dynamic communication scheduling
CN108111578A (en) The method of distribution terminal data acquisition platform access terminal equipment based on NIO
CN109710878A (en) Data interactive method and server
Shabka et al. Resource allocation in disaggregated data centre systems with reinforcement learning
Song et al. Traffic aware energy efficient router: Architecture, prototype and algorithms
CN108846706A (en) Offline businesses' promotion method, device and server
Mubeen Evaluation of source routing for mesh topology network on chip platforms
Jeon et al. Hybrid in-network computing and distributed learning for large-scale data processing
CN108271198B (en) Flow simulation method and device
Haase et al. PANACA: an open-source configurable network-on-chip simulation platform
Lee et al. Quantum network utility: A framework for benchmarking quantum networks

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