CN107566288A - A kind of multi-channel data collecting processing method and system - Google Patents

A kind of multi-channel data collecting processing method and system Download PDF

Info

Publication number
CN107566288A
CN107566288A CN201710671737.XA CN201710671737A CN107566288A CN 107566288 A CN107566288 A CN 107566288A CN 201710671737 A CN201710671737 A CN 201710671737A CN 107566288 A CN107566288 A CN 107566288A
Authority
CN
China
Prior art keywords
data
parameter
roads
convergence
party
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
CN201710671737.XA
Other languages
Chinese (zh)
Other versions
CN107566288B (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.)
Beijing Institute of Radio Measurement
Original Assignee
Beijing Institute of Radio Measurement
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 Beijing Institute of Radio Measurement filed Critical Beijing Institute of Radio Measurement
Priority to CN201710671737.XA priority Critical patent/CN107566288B/en
Publication of CN107566288A publication Critical patent/CN107566288A/en
Application granted granted Critical
Publication of CN107566288B publication Critical patent/CN107566288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Traffic Control Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of multi-channel data collecting processing method and system, this method to include:It is provided for carrying out multi-channel data the parameter of convergence processing;Obtain the A roads multi-channel data of the respective channel number from local;Convergence processing is carried out to the data of each passage in the multi-channel data of A roads, obtains A roads convergence data;Judge that parameter judges whether to participate in convergence processing from third-party B circuit-switched datas, third-party B circuit-switched datas are come from if it is present obtaining;A roads convergence data are subjected to convergence processing with B circuit-switched datas, obtains always converging data and exports.A kind of multi-channel data collecting processing method provided by the invention and system, convergence processing can be made to meet the convergence processing transmission demand of a variety of situations, improve the versatility of convergence processing, and by the way that third party's data are judged and handled, local data and third party's data unified convergence processing be can be subjected to, quickly and efficiently calling and debugging routine realized.

Description

A kind of multi-channel data collecting processing method and system
Technical field
The present invention relates to the communications field, more particularly to a kind of multi-channel data collecting processing method and system.
Background technology
Multi-channel data acquisition Transmission system has a wide range of applications in fields such as communication, radars, in multichannel collecting system Typically using serial data-transmission modes such as optical fiber in system.
Existing data management module has the shortcomings that versatility is poor, can not adapt to the convergence transmission of a variety of situations Demand, modification of program difficulty is big, and debugging efficiency is low.
The content of the invention
The technical problems to be solved by the invention are in view of the shortcomings of the prior art, there is provided at a kind of multi-channel data convergence Manage method and system.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:
A kind of multi-channel data collecting processing method, comprises the following steps:
It is provided for carrying out multi-channel data the parameter of convergence processing, the parameter includes:Data length parameter, local A paths numbers parameter, third party's data judge parameter and third-party B paths number parameter;
According to the A paths number parameter, the A roads multi-channel data from local respective channel number is obtained;
According to the data length parameter, convergence processing is carried out to the data of each passage in the multi-channel data of the A roads, obtained Data are converged to A roads;
Judge that parameter judges whether to participate at convergence from third-party B circuit-switched datas according to third party's data Reason, third-party B circuit-switched datas are come from if it is present obtaining;
According to the data length parameter and the B paths number parameter, data and the B ways are converged into the A roads According to convergence processing is carried out, obtain always converging data, and export total convergence data.
The beneficial effects of the invention are as follows:A kind of multi-channel data collecting processing method provided by the invention, by right in advance Need the multichannel number of convergence processing to carry out parameter setting, multi-channel data is handled according to the parameter pre-set, can So that convergence processing meets the convergence processing transmission demand of a variety of situations, the versatility of convergence processing is improved, and By the way that third party's data are judged and handled, local data and third party's data can be subjected to unified convergence processing, Realize quickly and efficiently calling and debugging routine.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, the multi-channel data collecting processing method also includes:If there is no from third-party B ways According to convergence processing is participated in, then the A roads convergence data are exported.
Further, the parameter also includes:Packet header parameter and bag tail parameter;
Before the A roads convergence data or total convergence data are exported, in addition to:
Judged whether to converge the A roads in data or total convergence data addition packet header according to the packet header parameter, such as Fruit is that data or total convergence data addition packet header are then converged to the A roads, if it is not, then not adding;
Judged whether to converge the A roads on data or total convergence data addition bag tail according to the bag tail parameter, such as Fruit is that data or total convergence data addition bag tail are then converged to the A roads, if it is not, then not adding.
Further, it is described according to the data length parameter, the data of each passage in the multi-channel data of the A roads are entered Row convergence processing, obtain A roads convergence data and specifically include:
The data length of each passage is determined according to the data length parameter, respectively by the multi-channel data of the A roads The data of each passage are divided into the data group that length is the data length;
The first data group of each passage in the multi-channel data of the A roads is extracted successively, is arranged in order by the order of passage, then The next data group of each passage is extracted successively, is arranged in order by the order of passage, until total data group has all been extracted and by logical The order in road is arranged in order, and obtains the A roads convergence data.
Further, it is described according to the data length parameter and the B paths number parameter, number is converged on the A roads Convergence processing is carried out according to the B circuit-switched datas, obtains always converging data and specifically includes:
The number of channels of the B circuit-switched datas is determined according to the B paths number parameter, by each number in the B circuit-switched datas According to the multi-channel data for being divided into the number of channels;
The data of each passage in the B circuit-switched datas are divided into the data group that length is the data length respectively;
The first data group of each passage in the B circuit-switched datas is extracted successively, is arranged in order by the order of passage, then carry successively The next data group of each passage is taken, is arranged in order by the order of passage, until total data group has all been extracted and by the suitable of passage Sequence is arranged in order, and obtains B roads convergence data;
The first data group of each passage in the A roads convergence data is extracted successively, then extracts the B roads convergence data successively In each passage first data group, be arranged in order by sequence of extraction, obtain first data arrangement group;
Extract the next data group of each passage in the A roads convergence data successively again, then extract the B roads convergence number successively The next data group of each passage, is arranged in order by sequence of extraction in, obtains next data arrangement group;
Previous step is repeated, until total data group has all been extracted and is arranged in order by sequence of extraction, obtains total data Arrangement group;
The total data arrangement group is arranged in order, obtains always converging data.
Further, the parameter also includes:Local data waits parameter;
After the A roads multi-channel data of the respective channel number from local according to the A paths number parameter, is obtained, Also include:
Parameter is waited to determine A roads supplementary data and the first predetermined number according to the local data;
Whether the numerical value for judging each data in the multi-channel data of the A roads is empty, if the numerical value of data is sky, then will Numerical value is that the empty data replace with the A roads supplementary data that quantity is first predetermined number.
It is using the above-mentioned further beneficial effect of scheme:When the data not from local A roads, fill into automatically in advance The A roads supplementary data of the quantity of setting, it is ensured that the data volume finally exported meets the requirement of control.
Further, the parameter also includes:Third party's data latency parameter;
Obtaining after third-party B circuit-switched datas, in addition to:
B roads supplementary data and the second predetermined number are determined according to third party's data latency parameter;
Whether the numerical value for judging each data in the multi-channel data of the B roads is empty, if the numerical value of data is sky, then from 0 starts counting up, and when counting down to second predetermined number, it is described second that the data that numerical value is sky are replaced with into quantity The B roads supplementary data of predetermined number.
Further, the parameter also includes:Third party's data replace parameter;
Obtaining after third-party B circuit-switched datas, in addition to:
Parameter, which is replaced, according to third party's data determines B roads replacement data and the 3rd predetermined number;
When the data that data effective marker is not accompanied by the B circuit-switched datas while is occurred, started counting up from 0, work as meter When counting to three predetermined number, the total data in the B circuit-switched datas is replaced as B roads replacement data.
Further, before the A roads convergence data or total convergence data are exported, in addition to:
Obtain and send pulse signal and quantity forwarded signal;
According to the transmission pulse signal, the A roads convergence data or total convergence data are exported at preset timed intervals;
According to the quantity forwarded signal, it is determined that exporting the number of the A roads convergence data or total convergence data every time Amount.
The another technical solution that the present invention solves above-mentioned technical problem is as follows:
A kind of multi-channel data convergence processing system, including:
Parameter set unit, for being provided for carrying out multi-channel data the parameter of convergence processing, the parameter includes: Data length parameter, local A paths numbers parameter, third party's data judge parameter and third-party B paths number parameter;
Local data acquiring unit, for according to the A paths number parameter, obtaining the respective channel number from local A roads multi-channel data;
Local data processing unit, for according to the data length parameter, to each passage in the multi-channel data of the A roads Data carry out convergence processing, obtain A roads convergence data;
Judging unit, for judging that parameter judges whether to come from third-party B ways according to third party's data According to participation convergence processing;
Third party's data capture unit, in the presence of being when the judged result of the judging unit, obtain and come from the 3rd The B circuit-switched datas of side;
Convergence processing unit, for according to the data length parameter and the B paths number parameter, the A roads to be converged Poly- data carry out convergence processing with the B circuit-switched datas, obtain always converging data, and export total convergence data.
The beneficial effects of the invention are as follows:A kind of multi-channel data convergence processing system provided by the invention, is set by parameter Put unit and parameter setting is carried out to the multichannel number for needing convergence processing in advance, further according to the parameter pre-set to multichannel number According to being handled, convergence processing can be made to meet the convergence processing transmission demand of a variety of situations, improved at convergence The versatility of reason, and by the way that third party's data are judged and handled, local data and third party's data can be united One convergence processing, realize quickly and efficiently calling and debugging routine.
The advantages of aspect that the present invention adds, will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by present invention practice.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of multi-channel data collecting processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet for multi-channel data collecting processing method that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow sheet for obtaining always converging data that another embodiment of the present invention provides;
Fig. 4 is a kind of structural framing figure for multi-channel data convergence processing system that another embodiment of the present invention provides.
Embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the present invention.
As shown in figure 1, be a kind of schematic flow sheet of multi-channel data collecting processing method provided in an embodiment of the present invention, This method comprises the following steps:
S1, is provided for carrying out multi-channel data the parameter of convergence processing, and parameter includes:Data length parameter, local A paths numbers parameter, third party's data judge parameter and third-party B paths number parameter.
It should be noted that these parameters are all configured in a manner of numerical value.
S2, according to A paths number parameters, obtain the A roads multi-channel data from local respective channel number.For example, come 8 are shared from the passage of local, then the span of A paths number parameters could be arranged to 1~8 arbitrary value, A paths The value of number parameter can be set according to the actual requirements by manually, and the value of A paths number parameters means to determine that convergence is several The data of passage from local, for example, when the value of A paths number parameters is arranged to 4, it is meant that A paths have 4 The data of passage participate in convergence, are converged since low numbering passage, for example, can only before convergence 4 passages data.
S3, according to data length parameter, convergence processing is carried out to the data of each passage in the multi-channel data of A roads, obtains A roads Converge data.The value of data length parameter can be integer since 0, it is assumed that data length parameter represents with a, a= 0,1,2,3 ..., n, then data length can think 2a, for example, when data length parameter value is 0, data length is exactly 1, when the value of data length is 1, data length is exactly 2, and when data length parameter value is 2, data length is exactly 4.
Data length represents the data arrangement of how many same channels together, for example, the data now with 3 passages Need carry out convergence processing, data length parameter be 1, then data length is exactly 2, below with CH1, CH2 and CH3 represent this 3 Individual passage, dat1, dat2, dat3 ..., datn represent each data, [CH1_dat1] represents the 1st data of passage 1, then converges After poly- processing, data below string will be obtained, [CH1_dat1] [CH1_dat2] [CH2_dat1] [CH2_dat2] [CH3_ dat1][CH3_dat2][CH1_dat3][CH1_dat4][CH2_dat3][CH2_dat4][CH3_dat3][CH3_ dat4]……[CH3_datn]。
In another example needing to carry out convergence processing now with the data of 3 passages, data length parameter is 0, then data are grown Degree is exactly 1, represents this 3 passages below with CH1, CH2 and CH3, dat1, dat2, dat3 ..., each data of datn expressions, [CH1_dat1] represents the 1st data of passage 1, then after convergence processing, will obtain data below string, [CH1_dat1] [CH2_dat1][CH3_dat1][CH1_dat2][CH2_dat2][CH3_dat2]……[CH3_datn]。
S4, judge that parameter judges whether to participate in convergence processing from third-party B circuit-switched datas according to third party's data, Third-party B circuit-switched datas are come from if it is present obtaining.Third party's data judge that the value of parameter can be 0 or 1, when taking Be worth for 0 when, represent without from third-party B circuit-switched datas participate in convergence processing, when value be 1 when, indicate from third party B circuit-switched datas participate in convergence processing.
S5, according to data length parameter and B paths number parameters, data are converged on A roads and carried out with B circuit-switched datas at convergence Reason, obtains always converging data, and exports total convergence data.For example, the span of B paths number parameters could be arranged to 1~ Any integer value in 255, the value of B paths number parameters can be set according to the actual requirements by manually, B paths number parameters Value mean determine convergence the number of channels from third party's data.
It should be noted that data length parameter here is same with the data length parameter in step S3, also It is to say, only in the case of data length parameter identical, A circuit-switched datas and B circuit-switched datas ability convergence processing.
For example, after locally converging, obtained A roads convergence data are:[CH1_dat1][CH1_dat2][CH2_ dat1][CH2_dat2][CH3_dat1][CH3_dat2][CH1_dat3][CH1_dat4][CH2_dat3][CH2_dat4] [CH3_dat3] [CH3_dat4] ... [CH3_datn], it is assumed that B circuit-switched datas are 2 passages, such as can be:[CH4_dat1] [CH5_dat1] [CH4_dat2] [CH5_dat2] [CH4_dat3] [CH5_dat3] ... [CH5_datn], then by converging After poly- processing, obtain always converging data be:[CH1_dat1][CH1_dat2][CH2_dat1][CH2_dat2][CH3_dat1] [CH3_dat2][CH4_dat1][CH4_dat2][CH5_dat1][CH5_dat2][CH1_dat3][CH1_dat4][CH2_ dat3][CH2_dat4][CH3_dat3][CH3_dat4][CH4_dat3][CH4_dat4][CH5_dat3][CH5_ dat4]……[CH5_datn]。
A kind of multi-channel data collecting processing method that the present embodiment provides, by advance to needing the more logical of convergence processing Road number carries out parameter setting, and multi-channel data is handled according to the parameter pre-set, can meet convergence processing more The convergence processing transmission demand of kind situation, the versatility of convergence processing is improved, and by entering to third party's data Row judges and processing, local data and third party's data can be carried out into unified convergence processing, realize and quickly and efficiently adjust With with debugging routine.
As shown in Fig. 2 a kind of flow of the multi-channel data collecting processing method provided for another embodiment of the present invention is shown It is intended to, this method comprises the following steps:
S1, is provided for carrying out multi-channel data the parameter of convergence processing, and parameter includes:Data length parameter, local A paths numbers parameter, third party's data judge parameter, third-party B paths number parameter, packet header parameter, bag tail parameter, this Ground data latency parameter, third party's data latency parameter and third party's data displacement parameter.
It should be noted that these parameters are all configured in a manner of numerical value.
S2, according to A paths number parameters, obtain the A roads multi-channel data from local respective channel number.For example, come 8 are shared from the passage of local, then the span of A paths number parameters could be arranged to 1~8 arbitrary value, A paths The value of number parameter can be set according to the actual requirements by manually, and the value of A paths number parameters means to determine that convergence is several The data of passage from local, for example, when the value of A paths number parameters is arranged to 4, it is meant that A paths have 4 The data of passage participate in convergence, are converged since low numbering passage, for example, can only before convergence 4 passages data.
Preferably, after the A roads multi-channel data of the respective channel number from local is obtained, following step can also be included Suddenly:
Parameter is waited to determine A roads supplementary data and the first predetermined number according to local data.Local data wait parameter be One numerical value, its numerical value are equal to the first predetermined number, and A roads supplementary data can be previously set, such as could be arranged to F.
Whether the numerical value for judging each data in the multi-channel data of A roads is empty, if the numerical value of data is sky, then by numerical value Data for sky replace with the A roads supplementary data that quantity is the first predetermined number.
For example, local data waits the span of parameter to could be arranged to any integer value in 0~65535, it is local The value of data latency parameter can be set according to the actual requirements by manually, for example, 31 are generally could be arranged to, local data etc. Mean when local data does not have data, to fill into the A roads supplementary data for setting quantity automatically when the value of parameter, to ensure most The data volume exported afterwards meets the requirement of control.For example, it is assumed that it is 31 that local data, which waits the value of parameter, then when discovery sheet Ground quantity is space-time, and 31 F are filled into the data, and F here is exactly A roads supplementary data.
S3, according to data length parameter, convergence processing is carried out to the data of each passage in the multi-channel data of A roads, obtains A roads Converge data.The value of data length parameter can be integer since 0, it is assumed that data length parameter represents with a, a= 0,1,2,3 ..., n, then data length can think 2a, for example, when data length parameter value is 0, data length is exactly 1, when the value of data length is 1, data length is exactly 2, and when data length parameter value is 2, data length is exactly 4.
Specifically, step S3 can be refined as following steps.
S31, the data length of each passage is determined according to data length parameter, respectively will be each logical in the multi-channel data of A roads The data in road are divided into the data group that length is data length.
S32, the first data group of each passage in the multi-channel data of A roads is extracted successively, is arranged in order by the order of passage, then The next data group of each passage is extracted successively, is arranged in order by the order of passage, until total data group has all been extracted and by logical The order in road is arranged in order, and obtains A roads convergence data.
Data length represents the data arrangement of how many same channels together, for example, the data now with 3 passages Need carry out convergence processing, data length parameter be 1, then data length is exactly 2, below with CH1, CH2 and CH3 represent this 3 Individual passage, dat1, dat2, dat3 ..., datn represent each data, [CH1_dat1] represents the 1st data of passage 1, then converges After poly- processing, data below string will be obtained, [CH1_dat1] [CH1_dat2] [CH2_dat1] [CH2_dat2] [CH3_ dat1][CH3_dat2][CH1_dat3][CH1_dat4][CH2_dat3][CH2_dat4][CH3_dat3][CH3_ dat4]……[CH3_datn]。
In another example needing to carry out convergence processing now with the data of 3 passages, data length parameter is 0, then data are grown Degree is exactly 1, represents this 3 passages below with CH1, CH2 and CH3, dat1, dat2, dat3 ..., each data of datn expressions, [CH1_dat1] represents the 1st data of passage 1, then after convergence processing, will obtain data below string, [CH1_dat1] [CH2_dat1][CH3_dat1][CH1_dat2][CH2_dat2][CH3_dat2]……[CH3_datn]。
S4, judge that parameter judges whether to participate in convergence processing from third-party B circuit-switched datas according to third party's data, Third-party B circuit-switched datas are come from if it is present obtaining.Third party's data judge that the value of parameter can be 0 or 1, when taking Be worth for 0 when, represent without from third-party B circuit-switched datas participate in convergence processing, when value be 1 when, indicate from third party B circuit-switched datas participate in convergence processing.
Preferably, step S4 can also include:Convergence processing is participated in if there is no from third-party B circuit-switched datas, then Directly export the A roads convergence output after convergence processing.
Preferably, obtaining after third-party B circuit-switched datas, can also comprise the following steps:
B roads supplementary data and the second predetermined number are determined according to third party's data latency parameter.Third party's data latency is joined Number is a numerical value, and its numerical value is equal to the second predetermined number, and B roads supplementary data can be previously set, such as could be arranged to F.
Whether the numerical value for judging each data in the multi-channel data of B roads is empty, if the numerical value of data is sky, is then opened from 0 Begin to count, be the B roads benefit that empty data replace with that quantity is the second predetermined number by numerical value when counting down to the second predetermined number Make up the number evidence.
For example, the span of third party's data latency parameter could be arranged to any integer value in 0~65535, the The value of tripartite's data latency parameter can be set according to the actual requirements by manually, for example, 31 are generally could be arranged to, third party The value of data latency parameter means, when not receiving third party's data, to fill into the B roads supplementary data for setting quantity automatically, To ensure that the data volume finally exported meets the requirement of control.For example, it can be counted by clock counter, it is assumed that third party The value of data latency parameter is 31, then when finding not receiving third party's data, started counting up by clock counter, When counting, which reaches, sets quantity, 31 F are filled into automatically, and F here is exactly B roads supplementary data.
Preferably, obtaining after third-party B circuit-switched datas, can also comprise the following steps:
Parameter, which is replaced, according to third party's data determines B roads replacement data and the 3rd predetermined number.Third party's data displacement ginseng Number is a numerical value, and its numerical value is equal to the 3rd predetermined number, and B roads replacement data can be previously set, such as could be arranged to F.
When the data that data effective marker is not accompanied by B circuit-switched datas while is occurred, started counting up from 0, when counting down to During three predetermined numbers, the total data in B circuit-switched datas is replaced as B roads replacement data.
For example, the span of third party's data displacement parameter could be arranged to any integer value in 0~65535, the The value of tripartite's data displacement parameter can be set according to the actual requirements by manually, for example, 100 are generally could be arranged to, when B roads When not having valid data (data occurred with the same clock of data effective marker) in channel data, clock counter starts Count, when counting down to three predetermined numbers, will all be replaced as B roads replacement data, B from third-party B paths data The quantity of road replacement data determines by the data bulk, the first predetermined number and the second predetermined number sent, B roads replacement data The data total amount of quantity=transmission/(first the second predetermined numbers of predetermined number *), B roads replacement data can be F, when not having When imitating data and having count down to three predetermined numbers, it is B roads displacement number that the data from B roads are all just replaced as into quantity automatically According to quantity F.
S5, according to data length parameter and B paths number parameters, data are converged on A roads and carried out with B circuit-switched datas at convergence Reason, obtains always converging data, and exports total convergence data.For example, the span of B paths number parameters could be arranged to 1~ Any integer value in 255, the value of B paths number parameters can be set according to the actual requirements by manually, B paths number parameters Value mean determine convergence the number of channels from third party's data.
Specifically, as shown in figure 3, step S5 can be refined as following steps.
S51, the number of channels of B circuit-switched datas is determined according to B paths number parameters, each data in B circuit-switched datas are divided into logical The multi-channel data of road quantity.Because the third party's data received are usually the independent data mode without differentiation passage, Therefore, receiving after third-party B circuit-switched datas, it is necessary to divide passage to these data.Assuming that B paths number parameters are 2, the third party's data received be respectively dat1, dat2, dat3 ..., datn, then these data are divided into 2 passages, Obtain [CH3_dat1] [CH3_dat2] [CH3_dat3] ... [CH3_datn], and [CH4_dat1] [CH4_dat2] [CH4_dat3]……[CH4_datn]。
S52, the data of each passage in B circuit-switched datas are divided into the data group that length is data length respectively.Assuming that data Length is 2, then by taking passage 1 as an example, [CH3_dat1] [CH3_dat2] [CH3_dat3] ... [CH3_datn] these data [CH3_dat1] [CH3_dat2]+[CH3_dat3] [CH3_dat4]+[CH3_dat5] [CH3_dat6] ... will be divided into [CH3_datn].Wherein, [CH3_dat1] [CH3_dat2], [CH3_dat3] [CH3_dat4], [CH3_dat5] [CH3_ Dat6] etc. be exactly data length be 2 data group.
S53, the first data group of each passage in B circuit-switched datas is extracted successively, is arranged in order by the order of passage, then carry successively The next data group of each passage is taken, is arranged in order by the order of passage, until total data group has all been extracted and by the suitable of passage Sequence is arranged in order, and obtains B roads convergence data.
Here processing method is identical with the convergence processing of A circuit-switched datas, and the B circuit-switched datas of above-mentioned 2 passages are after treatment [CH3_dat1] [CH3_dat2] [CH4_dat1] [CH4_dat2] [CH3_dat3] [CH3_dat4] [CH4_ will be obtained dat3][CH4_dat4]……[CH4_datn]。
S54, extracts the first data group of each passage in A roads convergence data successively, then extracts successively each in B roads convergence data The first data group of passage, is arranged in order by sequence of extraction, obtains first data arrangement group.Assuming that certain A road convergence data is logical Road number is 2, data length 2, then can be [CH1_dat1] [CH1_dat2] [CH2_dat1] [CH2_dat2] [CH1_ Dat3] [CH1_dat4] [CH2_dat3] [CH2_dat4] ... [CH2_datn], after extracting first data group, obtain [CH1_ Dat1] [CH1_dat2] [CH2_dat1] [CH2_dat2] [CH3_dat1] [CH3_dat2] [CH4_dat1] [CH4_dat2], I.e. first data arrangement group.
S55, then the next data group of each passage in A roads convergence data is extracted successively, then extract successively in B roads convergence data The next data group of each passage, is arranged in order by sequence of extraction, obtains next data arrangement group.The same previous step of method, herein Repeat no more, be finally to respectively obtain whole data arrangement groups comprising A circuit-switched datas and B circuit-switched datas.
S56, previous step is repeated, until total data group has all been extracted and is arranged in order by sequence of extraction, obtain whole Data arrangement group.For example, can be [CH1_dat1] [CH1_dat2] [CH2_dat1] [CH2_dat2] [CH3_dat1] [CH3_ dat2][CH4_dat1][CH4_dat2][CH1_dat3][CH1_dat4][CH2_dat3][CH2_dat4][CH3_dat3] [CH3_dat4][CH4_dat3][CH4_dat4]…….[CH4_datn]。
S57, total data arrangement group is arranged in order, obtains always converging data and export.
It should be noted that data length parameter here is same with the data length parameter in step S3, also It is to say, only in the case of data length parameter identical, A circuit-switched datas and B circuit-switched datas ability convergence processing.
For example, after locally converging, obtained A roads convergence data are:[CH1_dat1][CH1_dat2][CH2_ dat1][CH2_dat2][CH3_dat1][CH3_dat2][CH1_dat3][CH1_dat4][CH2_dat3][CH2_dat4] [CH3_dat3] [CH3_dat4] ... [CH3_datn], it is assumed that B circuit-switched datas are 2 passages, such as can be:[CH4_dat1] [CH5_dat1] [CH4_dat2] [CH5_dat2] [CH4_dat3] [CH5_dat3] ... [CH5_datn], then by converging After poly- processing, obtain always converging data be:[CH1_dat1][CH1_dat2][CH2_dat1][CH2_dat2][CH3_dat1] [CH3_dat2][CH4_dat1][CH4_dat2][CH5_dat1][CH5_dat2][CH1_dat3][CH1_dat4][CH2_ dat3][CH2_dat4][CH3_dat3][CH3_dat4][CH4_dat3][CH4_dat4][CH5_dat3][CH5_ dat4]……[CH5_datn]。
S6, before output A roads convergence data or total convergence data, judge whether to add packet header and bag tail.
Specifically, judged whether to converge A roads in data or total convergence data addition packet header according to packet header parameter, if it is, Data or total convergence data addition packet header are then converged to A roads, if it is not, then not adding.
When judged result is that data or total convergence data addition packet header are converged to A roads, judged whether according to bag tail parameter Data or total convergence data addition bag tail are converged to A roads, if it is, data or total convergence data addition bag tail are converged to A roads, If it is not, then do not add.
It should be noted that packet header parameter and bag tail parameter here equally can with value 0 or 1, wherein, packet header parameter Value represents for 0 and does not add packet header, and value represents addition packet header for 1, and the value of bag tail parameter represents for 0 does not add bag Tail, value represent addition bag tail for 1.It is appreciated that only when converging data or total convergence data addition packet header to A roads, Just determine whether to add bag tail.
S7, obtain and send pulse signal and quantity forwarded signal, according to transmission pulse signal and quantity forwarded signal output Total convergence data.
Specifically, step S7 includes following two steps.
According to pulse signal is sent, A roads convergence data are exported at preset timed intervals or always converge data.That is generation is worked as A roads converge data or always converge data, first temporarily storage, after transmission pulse signal is received, then export A roads at preset timed intervals Convergence data always converge data.
According to quantity forwarded signal, it is determined that the quantity of output A roads convergence data or total convergence data every time.
It should be noted that the data total amount sent is determined according to quantity forwarded signal.
Transmission pulse signal and quantity forwarded signal are all one kind of pumping signal, and pumping signal also includes:System clock Signal, systematic reset signal and quenching pulse signal etc..
Wherein, clock signal of system is the logical signal for driving whole convergence processing system.Typically using 80MHz or 120MHz frequency, it can also use the clock of other frequencies.Systematic reset signal is triggered after certain time or by button, to whole All signals of individual data convergence processing system carry out initialization assignment.Quenching pulse signal is triggered by some cycles, to whole The caching of convergence processing system and some state control signals are zeroed out assignment.
A kind of as shown in figure 4, structural frames of the multi-channel data convergence processing system provided for another embodiment of the present invention Frame figure, the system include:
Parameter set unit 1, for being provided for carrying out multi-channel data the parameter of convergence processing, parameter includes:Number Judge parameter and third-party B paths number parameter according to length parameter, local A paths numbers parameter, third party's data;
Local data acquiring unit 2, for according to A paths number parameters, obtaining from the A roads of local respective channel number Multi-channel data;
Local data processing unit 3, for according to data length parameter, to the data of each passage in the multi-channel data of A roads Convergence processing is carried out, obtains A roads convergence data;
Judging unit 4, for judging that parameter judges whether to join from third-party B circuit-switched datas according to third party's data With convergence processing;
Third party's data capture unit 5, in the presence of being when the judged result of judging unit, obtain from third-party B circuit-switched datas;
Convergence processing unit 6, for according to data length parameter and B paths number parameters, A roads to be converged into data and B roads Data carry out convergence processing, obtain always converging data, and export total convergence data.
Preferably, can also include:Signal transmitting unit, for sending pulse signal to system, quantity forwarded is believed Number, clock signal of system, systematic reset signal and quenching pulse signal equal excitation signal, control system carried out at convergence to data Reason.
Reader should be understood that in the description of this specification, reference term " one embodiment ", " some embodiments ", " show The description of example ", " specific example " or " some examples " etc. mean to combine the specific features of the embodiment or example description, structure, Material or feature are contained at least one embodiment or example of the present invention.In this manual, above-mentioned term is shown The statement of meaning property need not be directed to identical embodiment or example.Moreover, specific features, structure, material or the feature of description It can be combined in an appropriate manner in any one or more embodiments or example.In addition, in the case of not conflicting, this The technical staff in field can be by the different embodiments or example described in this specification and the spy of different embodiments or example Sign is combined and combined.
It is apparent to those skilled in the art that for convenience of description and succinctly, the dress of foregoing description The specific work process with unit is put, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be selected to realize the mesh of scheme of the embodiment of the present invention according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can To be stored in a computer read/write memory medium.Based on such understanding, technical scheme substantially or Say that the part to be contributed to prior art, or all or part of the technical scheme can be embodied in the form of software product Out, the computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be personal computer, server, or network equipment etc.) performs all or part of each embodiment method of the present invention Step.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-OnlyMemory), deposit at random Access to memory (RAM, RandomAccessMemory), magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, it is only embodiment of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art the invention discloses technical scope in, various equivalent modifications or substitutions can be readily occurred in, These modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be wanted with right The protection domain asked is defined.

Claims (10)

1. a kind of multi-channel data collecting processing method, it is characterised in that comprise the following steps:
It is provided for carrying out multi-channel data the parameter of convergence processing, the parameter includes:Data length parameter, local A Paths number parameter, third party's data judge parameter and third-party B paths number parameter;
According to the A paths number parameter, the A roads multi-channel data from local respective channel number is obtained;
According to the data length parameter, convergence processing is carried out to the data of each passage in the multi-channel data of the A roads, obtains A Converge data in road;
Judge that parameter judges whether to participate in convergence processing from third-party B circuit-switched datas according to third party's data, such as Fruit is present, then obtains and come from third-party B circuit-switched datas;
According to the data length parameter and the B paths number parameter, A roads convergence data are entered with the B circuit-switched datas Row convergence processing, obtain always converging data, and export total convergence data.
2. multi-channel data collecting processing method according to claim 1, it is characterised in that also include:If there is no Convergence processing is participated in from third-party B circuit-switched datas, then exports the A roads convergence data.
3. multi-channel data collecting processing method according to claim 2, it is characterised in that the parameter also includes:Bag Head parameter and bag tail parameter;
Before the A roads convergence data or total convergence data are exported, in addition to:
Judged whether to converge the A roads in data or total convergence data addition packet header according to the packet header parameter, if it is, Data are then converged to the A roads or total convergence data add the packet header, if it is not, then not adding;
Judged whether to converge the A roads on data or total convergence data addition bag tail according to the bag tail parameter, if it is, Data are then converged to the A roads or total convergence data add the bag tail, if it is not, then not adding.
4. multi-channel data collecting processing method according to claim 1, it is characterised in that described to be grown according to the data Parameter is spent, convergence processing is carried out to the data of each passage in the multi-channel data of the A roads, A roads convergence data is obtained and specifically includes:
The data length of each passage is determined according to the data length parameter, respectively will be each logical in the multi-channel data of the A roads The data in road are divided into the data group that length is the data length;
The first data group of each passage in the multi-channel data of the A roads is extracted successively, is arranged in order by the order of passage, then successively The next data group of each passage is extracted, is arranged in order by the order of passage, until total data group has all been extracted and by passage Order is arranged in order, and obtains the A roads convergence data.
5. multi-channel data collecting processing method according to claim 4, it is characterised in that described to be grown according to the data Parameter and the B paths number parameter are spent, the A roads are converged into data carries out convergence processing with the B circuit-switched datas, obtains aggregation Poly- data specifically include:
The number of channels of the B circuit-switched datas is determined according to the B paths number parameter, by each data in the B circuit-switched datas point Into the multi-channel data of the number of channels;
The data of each passage in the B circuit-switched datas are divided into the data group that length is the data length respectively;
The first data group of each passage in the B circuit-switched datas is extracted successively, is arranged in order by the order of passage, then extraction is each successively The next data group of passage, is arranged in order by the order of passage, until total data group all extracted and by passage order according to Secondary arrangement, obtain B roads convergence data;
The first data group of each passage in the A roads convergence data is extracted successively, then is extracted successively each in the B roads convergence data The first data group of passage, is arranged in order by sequence of extraction, obtains first data arrangement group;
Extract the next data group of each passage in the A roads convergence data successively again, then extract successively in the B roads convergence data The next data group of each passage, is arranged in order by sequence of extraction, obtains next data arrangement group;
Previous step is repeated, until total data group has all been extracted and is arranged in order by sequence of extraction, obtains total data arrangement Group;
The total data arrangement group is arranged in order, obtains always converging data.
6. multi-channel data collecting processing method according to any one of claim 1 to 5, it is characterised in that the ginseng Number also includes:Local data waits parameter;
According to the A paths number parameter, after the A roads multi-channel data for obtaining the respective channel number from local, also wrap Include:
Parameter is waited to determine A roads supplementary data and the first predetermined number according to the local data;
Whether the numerical value for judging each data in the multi-channel data of the A roads is empty, if the numerical value of data is sky, then by numerical value The data for sky replace with the A roads supplementary data that quantity is first predetermined number.
7. multi-channel data collecting processing method according to any one of claim 1 to 5, it is characterised in that the ginseng Number also includes:Third party's data latency parameter;
Obtaining after third-party B circuit-switched datas, in addition to:
B roads supplementary data and the second predetermined number are determined according to third party's data latency parameter;
Whether the numerical value for judging each data in the multi-channel data of the B roads is empty, if the numerical value of data is sky, is then opened from 0 Begin to count, when counting down to second predetermined number, it is described second pre- that the data that numerical value is sky are replaced with into quantity If the B roads supplementary data of quantity.
8. multi-channel data collecting processing method according to any one of claim 1 to 5, it is characterised in that the ginseng Number also includes:Third party's data replace parameter;
Obtaining after third-party B circuit-switched datas, in addition to:
Parameter, which is replaced, according to third party's data determines B roads replacement data and the 3rd predetermined number;
When the data that data effective marker is not accompanied by the B circuit-switched datas while is occurred, started counting up from 0, when counting down to During three predetermined number, the total data in the B circuit-switched datas is replaced as B roads replacement data.
9. multi-channel data collecting processing method according to claim 2, it is characterised in that exporting the A roads convergence Before data or total convergence data, in addition to:
Obtain and send pulse signal and quantity forwarded signal;
According to the transmission pulse signal, the A roads convergence data or total convergence data are exported at preset timed intervals;
According to the quantity forwarded signal, it is determined that exporting the quantity of the A roads convergence data or total convergence data every time.
A kind of 10. multi-channel data convergence processing system, it is characterised in that including:
Parameter set unit, for being provided for carrying out multi-channel data the parameter of convergence processing, the parameter includes:Data Length parameter, local A paths numbers parameter, third party's data judge parameter and third-party B paths number parameter;
Local data acquiring unit, for according to the A paths number parameter, obtaining from the A roads of local respective channel number Multi-channel data;
Local data processing unit, for according to the data length parameter, to the number of each passage in the multi-channel data of the A roads According to convergence processing is carried out, A roads convergence data are obtained;
Judging unit, for judging that parameter judges whether to join from third-party B circuit-switched datas according to third party's data With convergence processing;
Third party's data capture unit, in the presence of being when the judged result of the judging unit, acquisition comes from third-party B Circuit-switched data;
Convergence processing unit, for according to the data length parameter and the B paths number parameter, the A roads to be converged into number Convergence processing is carried out according to the B circuit-switched datas, obtains always converging data, and exports total convergence data.
CN201710671737.XA 2017-08-08 2017-08-08 Multichannel data aggregation processing method and system Active CN107566288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710671737.XA CN107566288B (en) 2017-08-08 2017-08-08 Multichannel data aggregation processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710671737.XA CN107566288B (en) 2017-08-08 2017-08-08 Multichannel data aggregation processing method and system

Publications (2)

Publication Number Publication Date
CN107566288A true CN107566288A (en) 2018-01-09
CN107566288B CN107566288B (en) 2019-12-06

Family

ID=60973995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710671737.XA Active CN107566288B (en) 2017-08-08 2017-08-08 Multichannel data aggregation processing method and system

Country Status (1)

Country Link
CN (1) CN107566288B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650048A (en) * 2018-04-03 2018-10-12 广州大学 A kind of high accuracy number arrayed multi-channel delay compensation method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119486A (en) * 2006-08-03 2008-02-06 索尼株式会社 Signal processor and signal processing method
CN103530084A (en) * 2013-09-26 2014-01-22 北京奇虎科技有限公司 Data parallel sequencing method and system
US20140036931A1 (en) * 2010-07-28 2014-02-06 Altera Corporation Scalable interconnect modules with flexible channel bonding
CN105245321A (en) * 2015-10-10 2016-01-13 安徽清新互联信息科技有限公司 Multichannel real-time data transmission method of self-adaptive bandwidth
CN103763085B (en) * 2014-01-17 2016-08-17 南京信息职业技术学院 Method and device for high-speed acquisition and combination of multi-path data
EP2478701B1 (en) * 2009-09-14 2017-01-11 Thomson Licensing Distribution of mpeg-2 ts multiplexed multimedia stream with selection of elementary packets of the stream

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119486A (en) * 2006-08-03 2008-02-06 索尼株式会社 Signal processor and signal processing method
EP2478701B1 (en) * 2009-09-14 2017-01-11 Thomson Licensing Distribution of mpeg-2 ts multiplexed multimedia stream with selection of elementary packets of the stream
US20140036931A1 (en) * 2010-07-28 2014-02-06 Altera Corporation Scalable interconnect modules with flexible channel bonding
CN103530084A (en) * 2013-09-26 2014-01-22 北京奇虎科技有限公司 Data parallel sequencing method and system
CN103763085B (en) * 2014-01-17 2016-08-17 南京信息职业技术学院 Method and device for high-speed acquisition and combination of multi-path data
CN105245321A (en) * 2015-10-10 2016-01-13 安徽清新互联信息科技有限公司 Multichannel real-time data transmission method of self-adaptive bandwidth

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650048A (en) * 2018-04-03 2018-10-12 广州大学 A kind of high accuracy number arrayed multi-channel delay compensation method
CN108650048B (en) * 2018-04-03 2019-12-31 广州大学 High-precision digital array multi-channel delay compensation method

Also Published As

Publication number Publication date
CN107566288B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN104968052B (en) Configuring method, configuring system, apparatus, receiving method, receiving system, and terminal
CN106452701A (en) Unauthorized multi-carrier listen before talk (LBT) execution method and device
CN105429726B (en) Business mapping treatment method, the apparatus and system of Optical Transmission Network OTN
CN102158392B (en) Method for telemetering of advanced orbiting system (AOS) of distributed framework satellite
CN107872884A (en) A kind of random access resource distribution and accidental access method, equipment
CN107148086A (en) A kind of method and apparatus of information exchange, distributed unit and computer-readable medium
CN106992770A (en) Clock circuit and its method for transmitting clock signal
CN103916217B (en) The implementation method and device of XLGMII interface multichannel frequency reducing DIC mechanism
CN107566288A (en) A kind of multi-channel data collecting processing method and system
CN101883014B (en) Method and system for acquiring performance statistical data
CN103338464B (en) Communication means and equipment
CN103200695A (en) Method, device and system of contention access channel
CN107302412A (en) EPON framework and its method and optical network device for realizing data transfer
CN110324203B (en) Multichannel high accuracy network flow generates device
CN104243246B (en) A kind of FlexRay bus tests and optimization method and device based on ZigBee technology
CN107566007A (en) Chromacoder, processing unit, communication system and signal conversion method
CN104053122A (en) Method for MTC devices to have access to cellular network at random
CN108124310A (en) A kind of frequency-hopping communication method and its equipment
WO2023134508A1 (en) Service processing method, apparatus and system in optical transport network
DE602004003615T2 (en) Method for scheduling data bursts for transmission in a communication network
CN102411900B (en) LED (Light-Emitting Diode) display screen and automatic parameter configuration method thereof
CN105103482B (en) The method, apparatus and system that signal transmits in optical transfer network
EP0476686A2 (en) A control system for mediating service requests
CN106793122A (en) A kind of heterogeneous network minimizes Radio Resource safety distribution method per bit
CN107370688A (en) Data transmission method and device

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