CN108134652A - A kind of method and system for reducing PH capsule wireless detecting system loss of data - Google Patents

A kind of method and system for reducing PH capsule wireless detecting system loss of data Download PDF

Info

Publication number
CN108134652A
CN108134652A CN201711407696.XA CN201711407696A CN108134652A CN 108134652 A CN108134652 A CN 108134652A CN 201711407696 A CN201711407696 A CN 201711407696A CN 108134652 A CN108134652 A CN 108134652A
Authority
CN
China
Prior art keywords
data
data packets
packet
verification
coding
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
CN201711407696.XA
Other languages
Chinese (zh)
Other versions
CN108134652B (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.)
Chongqing Jinshan Medical Technology Research Institute Co Ltd
Original Assignee
Chongqing Jinshan Medical Appliance 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 Chongqing Jinshan Medical Appliance Co Ltd filed Critical Chongqing Jinshan Medical Appliance Co Ltd
Priority to CN201711407696.XA priority Critical patent/CN108134652B/en
Publication of CN108134652A publication Critical patent/CN108134652A/en
Application granted granted Critical
Publication of CN108134652B publication Critical patent/CN108134652B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • H04L1/0042Encoding specially adapted to other signal generation operation, e.g. in order to reduce transmit distortions, jitter, or to improve signal shape
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a kind of method and system for reducing PH capsule wireless detecting system loss of data, this method is:The microprocessor end of PH capsules adds in Error Correction of Coding in PH data packets and the first verification;Meanwhile at least one duplicate packet is added in frame data, replicate data includes PH data packets, the second verification and Error Correction of Coding;The microprocessor end of recorder, syndrome and correct judgment first are calculated to the PH data packets for adding Error Correction of Coding, obtain correct PH data packets, when correct PH data packets can not be obtained, the PH data packets that error-correcting decoding is corrected are verified using the first verification in data packet or the second verification, obtain correct PH data packets.This method is found and is corrected the mistake of PH data packets in the transmission by forward error correction coding and decoding, and PH data packets verify and send the duplicate packet containing PH data packets to increase transmission antijamming capability after to correction, and then reduce the loss of data frame.

Description

A kind of method and system for reducing PH capsule wireless detecting system loss of data
Technical field
The present invention relates to field of medical technology, more particularly to a kind of reduction PH capsule wireless detecting system loss of data Method and system.
Background technology
Heartburn, sour regurgitation, retrosternal pain etc. caused by gastroesophageal reflux disease (GERD) refers to gastric content reflux to oesophagus Symptom or complication seriously affect the quality of life of patient.With the change of people life style and dietary structure, the hair of GERD Sick rate gradually increases.The diagnosis basis of GERD mainly includes clinical symptoms, PPI therapeutic trials, gastrocopy and oesophagus PH inspections The dynamic methods such as survey, wherein, the main reason for acid reflux is GERD, and oesophagus PH is detected as the foundation of making a definite diagnosis of GERD, therefore Detection oesophagus pH value becomes more and more important.
Traditional approach is detected using 24 hours catheter type oesophagus PH, and PH electrodes mainly are inserted into oesophagus through nostril is placed in Above esophageal sphincter at 5cm, conduit other end is connected with Portable type recorder, for evaluate patient symptom correlation and Therapeutic effect, but since it needs via intranasal application to put pipe, bottleneck throat can be caused uncomfortable, normal life and eating habit is influenced, cause to examine Coming to an end, there are potential false negatives etc. for fruit.
In recent years, the wireless oesophagus capsule PH detecting systems occurred on the market are improved on this basis, the system packet PH capsules, data logger, analysis software and fixing device are included, overcomes disadvantages mentioned above to a certain extent, it is by PH capsules It is fixed in esophageal wall by " safety pin " fixed form, the PH data being recorded are in a manner of unlimited from the video module in PH capsules The receiving module being transferred on the data logger of patient's loins.
2010, Esparza professors EA carried out the reason of 60 patients of PH capsule wireless detecting systems is used to fail Analysis, failure ratio is 4.5% caused by signal transmission issues (loss of data).On the one hand it is to pass to cause loss of data reason Defeated procedure division bit bit loss causes the data received to misplace (data for receiving other frames), is on the other hand part Bit is error code, can't pass verification in the receiving terminal of data frame and loses.
Invention content
The present invention is directed at least solve technical problem in the prior art, a kind of reduction PH is especially innovatively proposed The method and system of capsule wireless detecting system loss of data.
In order to realize the present invention above-mentioned purpose, the first aspect of the invention provide it is a kind of reduce PH capsules without The method of line detecting system loss of data, the microprocessor including PH capsules send processing step;Or including PH capsules Microprocessor sends processing step and the microprocessor of recorder receives both processing steps;
The microprocessor of the PH capsules sends processing step and includes:
The PH data acquired in time t are packaged into PH data packets by the microprocessor of S11, PH capsule, in PH data packets It is middle to add in the first verification and the first Error Correction of Coding the first data packet of acquisition;
S12 replicates PH data packets and the second verification is added in the PH data packets of duplication and answered with the second Error Correction of Coding Data packet processed;
S13 adds frame head before the first data packet;
Frame head, the first data packet and at least one duplicate packet are formed frame data by S14, to being sent out after frame data processing It send to the microprocessor of recorder;
The microprocessor of the recorder receives processing step and includes:
S21, the microprocessor frames received evidence of recorder simultaneously remove frame head;
S22 calculates the syndrome to PH data packets in the first data packet and duplicate packet respectively, is judged based on syndrome If at least one PH data packet is correct, correct PH data packets, the frame are stored using recorder for the correctness of PH data packets The data transfer ends, otherwise into S23;
S23 carries out error-correcting decoding to the first data packet and duplicate packet, two PH data packets after being corrected, the One verification and/or the second verification;
S24, two PH data after being corrected using the first verification after correction and/or the second verification verification, if at least One PH data packets verification passes through, then stores correct PH data packets using recorder, otherwise it is assumed that the data frame is lost, the frame The data transfer ends.
Error-correcting Encoding and Decoding is added in, while increase transmission and contain in PH data packets and verification at the microprocessor end of PH capsules There is the duplicate packet of PH data packets to improve the jamproof ability of data frame;At the microprocessor end of recorder first to adding in The PH data packets of Error Correction of Coding calculate syndrome and correct judgment, obtain correct PH data packets, while error-correcting decoding is sent out Now with correct PH data packets mistake, when PH data packets correction judgement fail, recycle correct after first verify and/or Second verification verifies two PH data packets after correction, increases verification percent of pass, reduces the loss of data frame.
In another preferred embodiment of the present invention, in the S11 steps, the PH numbers in first data packet The first Error Correction of Coding is separately added into according to packet and the first verification;
And/or in the S12 steps, PH data packets and the second verification in the duplicate packet are separately added into second Error correcting code.
Different Error Corrections of Coding is added in the first verification, the second verification and PH data, convenient in the miniature processing of recorder Device petiolarea point is the error of PH data packets or the first verification or the second verification error.Due to medical diagnosis on disease it is desirable that effective PH Data, so if being that the first verification or the second verification error, PH data packets do not malfunction, then data frame can still retain, Reduce Loss Rate.
In the yet another preferred form of the present invention, in the S11 steps, by the PH data in the first data packet Packet is divided into two or more parts, adds in the first Error Correction of Coding to each part respectively;
In the S12 steps, the PH data packets in duplicate packet are divided into two or more same parts, Respectively the second Error Correction of Coding is added in each part.
Reduce the probability that entire data packet is lost due to partial data mistake in PH data packets, enhance the anti-dry of data transmission Disturb ability.
In the yet another preferred form of the present invention, in the S22 steps,
The syndrome of PH data packets each section in the first data packet is calculated respectively, which is judged based on each syndrome The correctness of middle each section;
The syndrome of PH data packet each sections in duplicate packet is calculated respectively, is judged in PH data packets based on each syndrome The correctness of each section;
If the correct part of PH data packets and the correct part of PH data packets in duplicate packet combine in the first data packet A complete PH data packet can be formed, then the PH data packets for combining composition, the frame data end of transmission are stored using recorder.
Syndrome and judgement are calculated to PH data packets branch, by part correct in two PH data packets with reference to entire to judge The correctness of PH data packets can further reduce data-bag lost.
In the yet another preferred form of the present invention, the PH data packets that are separately added into first data packet and the First Error Correction of Coding of one verification is identical or differs;
And/or be separately added into PH data packets in the duplicate packet it is identical with the second Error Correction of Coding of the second verification or It differs.
The PH data packets being separately added into the first data packet are identical with the first Error Correction of Coding of the first verification and add respectively It is identical with the second Error Correction of Coding of the second verification to enter the PH data packets in duplicate packet, is conducive to simplify addition Error Correction of Coding, Calculate syndrome and decoding treatment process;The PH data packets being separately added into the first data packet and the first verification first are entangled Miscoding differs and is separately added into the second Error Correction of Coding of PH data packets in duplicate packet and the second verification not phase Together, be conducive to improve the antijamming capability in data frame transfer.
In the yet another preferred form of the present invention, first Error Correction of Coding is identical with the second Error Correction of Coding or not It is identical.
First Error Correction of Coding with the second Error Correction of Coding it is identical is conducive to simplify add in Error Correction of Coding, calculate syndrome and Decoding treatment process;First Error Correction of Coding and the second Error Correction of Coding, which differ, to be conducive to improve the anti-interference energy in data frame transfer Power.
In the yet another preferred form of the present invention, first verification is identical with the second verification or differs.
First verification is identical with the second verification, after the first verification and the second verification after being corrected by error-correcting decoding can be to correction Any PH data packets verified, do not need to matching correspond to, advantageously reduce admission control.
In the yet another preferred form of the present invention, before first Error Correction of Coding and/or the second Error Correction of Coding are To Error Correction of Coding.
Forward error correction coding can correct transmission error code automatically.Ensure that PH packet informations are complete.
According to the second aspect of the invention, the present invention provides a kind of PH capsule wireless detecting system, including PH capsules And recorder,
The PH capsules include PH sensor, sample circuit, PH capsules microprocessor and wireless sending module;
The recorder includes the microprocessor of wireless receiving module and recorder;
PH sensor output terminal is connect with sample circuit input terminal, the microprocessor of sample circuit output terminal and PH capsules Signal input part connects, and the microprocessor data output end of PH capsules is connect with wireless sending module input terminal, transmits wirelessly The microprocessor of module output terminal and wireless receiving module input terminal wireless connection, wireless receiving module output terminal and recorder Data input pin connects;
The microprocessor of the PH capsules and the microprocessor of recorder carry out PH according to any of the above-described method respectively Data sending processing and reception processing, to reduce loss of data.
Increase Error-correcting Encoding and Decoding and duplicate packet in PH data packet wireless data transmissions, effectively reduce data frame It loses, the patient for improving PH capsule wireless detecting systems detects success rate.
Description of the drawings
Fig. 1 is the data frame structure figure of PH capsule wireless detecting system in the prior art;
Fig. 2 is data frame structure figure in an embodiment of the present invention;
Fig. 3 is method execution flow chart in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the present invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that term " longitudinal direction ", " transverse direction ", " on ", " under ", "front", "rear", The orientation or position relationship of the instructions such as "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer " is based on attached drawing institutes The orientation or position relationship shown is for only for ease of the description present invention and simplifies description rather than instruction or imply signified dress It puts or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that limit of the invention System.
In the description of the present invention, unless otherwise prescribed and limit, it should be noted that term " installation ", " connected ", " connection " should be interpreted broadly, for example, it may be the connection inside mechanical connection or electrical connection or two elements, it can To be to be connected directly, can also be indirectly connected by intermediary, it for the ordinary skill in the art, can basis Concrete condition understands the concrete meaning of above-mentioned term.
Fig. 1 show the data frame structure figure of PH capsule wireless detecting system in the prior art, and the prior art is by data frame The PH data acquired in sending cycle T, addition frame head are combined into a frame data with verification, are sent to recorder, recorder docking The frame data received are verified, and verification passes through, then are stored effective PH data packets, and verification failure then abandons the data Frame.This kind of data frame structure exists in transmission process:When part bit bit loss or part bit are error code, discovery can not be examined And error correction being carried out, and PH data are only sent once, data frame is easy in receiving terminal verification not by losing.
The present invention provides a kind of method for reducing PH capsule wireless detecting system loss of data, in a kind of preferred implementation side In formula, the microprocessor that this method includes PH capsules sends processing step;Or the microprocessor including PH capsules is sent The microprocessor of processing step and recorder receives both processing steps;
The microprocessor of PH capsules sends processing step and includes:
The PH data acquired in time t are packaged into PH data packets by the microprocessor of S11, PH capsule, in PH data packets It is middle to add in the first verification and the first Error Correction of Coding the first data packet of acquisition;
S12 replicates PH data packets and the second verification is added in the PH data packets of duplication and answered with the second Error Correction of Coding Data packet processed;
S13 adds frame head before the first data packet;
Frame head, the first data packet and at least one duplicate packet are formed frame data by S14, to being sent out after frame data processing It send to the microprocessor of recorder;
The microprocessor of recorder receives processing step and includes:
S21, the microprocessor frames received evidence of recorder simultaneously remove frame head;
S22, calculates the syndrome of PH data packets in the first data packet and duplicate packet respectively, judges PH based on syndrome If at least one PH data packet is correct, correct PH data packets, the frame number are stored using recorder for the correctness of data packet According to the end of transmission, otherwise into S23;
S23 carries out error-correcting decoding to the first data packet and duplicate packet, two PH data packets after being corrected, the One verification and/or the second verification;
S24, two PH data packets after being corrected using the first verification after correction and/or the second verification verification, if at least There are one the verifications of PH data packets to pass through, then stores correct PH data packets using recorder, otherwise it is assumed that the data frame is lost, it should The frame data end of transmission.
In the present embodiment, PH data are packaged into PH data packets, are exactly combined into the PH data acquired in the t times solid Determine the process of byte data packet.The byte number of PH data packets be in PH data packets each PH data occupy byte number summation or Person occupies byte number according to PH data packets total bit and determines.Data order can be combined according to acquisition order in PH data packets, The low byte data of each PH data can be placed on to front, then put behind after the high byte of each PH data is combined.
Such as:The PH data amount checks acquired in the t times are 4, and each PH data include 10, need the storage of two bytes empty Between, therefore the memory space of 8 bytes is needed altogether.Or according to 4*10=40 data are included in PH data packets, only it need to occupy 5 This 40 data in order to save space, can be combined into the data packet of 40/8=5 byte by a bytes of storage space.PH numbers It can be combined according to the data order in packet according to the sequence that PH is acquired, it can also be by preceding 8 low byte data of each PH data It is placed on front and forms 4 byte datas, then 2 high bytes of each PH data are combined into a byte and are put behind.
In the present embodiment, frame data processing is included filtering and is modulated, the microprocessor frames received of recorder After processing is demodulated, remove frame head.
In the present embodiment, duplicate packet can also be obtained by replicating the first data packet.During in view of data transmission Effect property, it is preferred that duplicate packet number is 1.The microprocessor end of recorder, calculating process and the error correction of syndrome are compiled Code type corresponds to, syndrome computations method and the correction procedure difference of different types of Error Correction of Coding, according to Error Correction of Coding type The syndrome of the first data packet and PH data packets in duplicate packet is calculated respectively, if syndrome is zero, which corresponds to PH data packets it is correct, if syndrome is not zero, corresponding PH packet errors, need carry out error-correcting decoding correction.
In the present embodiment, when the syndrome of PH data packets is not zero, i.e., PH data packets are judged as mistake, School is carried out to two PH data packets after correction respectively using the first verification after being corrected in error-correcting decoding and/or the second verification It tests, if the verification of at least one PH data packet passes through, the PH data packets passed through is verified using recorder storage, otherwise it is assumed that school Test data-bag lost.
In the present embodiment, the first verification and the second verification can be 2 bytes, the Error Correction of Coding that adds in the first verification Can be different from the Error Correction of Coding added in the second verification, it also can be identical.Time t is at least a collection period T, collection period T It is corresponding with the PH sensor sample frequency in PH capsule wireless detecting systems.
In the preferred embodiment of the present invention, in S11 steps, the PH data packets and first in the first data packet Verification is separately added into the first Error Correction of Coding;
And/or in the S12 steps, PH data packets and the second verification in duplicate packet are separately added into the second error correction Code.
In the present embodiment, first the PH data packets in the PH data packets or duplicate packet in the first data packet are carried out Then Error Correction of Coding carries out Error Correction of Coding to the first verification or the second verification again;Or first to first verification or second verify into Then row Error Correction of Coding carries out error correction volume to the PH data packets in the PH data packets or duplicate packet in the first data packet again Code.By the way that PH data packets, the first verification or the second verification is given to add in different Error Corrections of Coding, any partial data error can be distinguished, no Because the error of the first verification or the second verification influences the correction judgement of PH data packets.
In the preferred embodiment of the present invention, in S11 steps, the PH data packets in the first data packet are divided into Two or more parts add in the first Error Correction of Coding to each part respectively;
In S12 steps, the PH data packets in duplicate packet are divided into two or more same parts, respectively The second Error Correction of Coding is added in each part.
In the present embodiment, it is assumed that a PH data packet is 6 bytes, is divided into 3 parts, each 2 words in part Section, selects similar and different Error Correction of Coding to add in each section, according to the method described above respectively to the PH data in the first data packet PH data packets in packet and duplicate packet are handled, after the PH data packets in the first data packet obtain addition Error Correction of Coding 3 parts, are denoted as x1, x2, x3, and similarly the PH data packets in duplicate packet obtain 3 parts after adding in Error Correction of Coding, note It is y1, y2, y3.After the microprocessor termination of recorder receives the data, x1, x2, x3, y1, y2, the school of y3 are calculated respectively Positron, and judge according to syndrome the correctness of six parts.Judge x1, the syndrome whether equal zero or y1, y2 of x2, x3, The syndrome of y3 is zero, if it is zero to have, corresponding PH data packets are correct.
In the preferred embodiment of the present invention, in S22 steps,
The syndrome of PH data packets each section in the first data packet is calculated respectively, which is judged based on each syndrome The correctness of middle each section;
The syndrome of PH data packet each sections in duplicate packet is calculated respectively, is judged in PH data packets based on each syndrome The correctness of each section;
If the correct part of PH data packets and the correct part of PH data packets in duplicate packet combine in the first data packet A complete PH data packet can be formed, then the PH data packets for combining composition, the frame data end of transmission are stored using recorder.
In the present embodiment, judge x1 syndromes and y1 syndromes, if there are one being zero, corresponding PH data portions It is correct;X2 syndromes and y2 syndromes, x3 syndromes and y3 syndromes are judged successively.If correct part combines energy It is combined into a complete PH data packet, then the PH data packets for thinking combination are correct, can be stored.Such as x1, y2, y3 Syndrome be all zero, illustrate x1, y2, y3 is correct, they can be combined into a correct PH data packet, can reduce PH numbers According to loss rate.
In the preferred embodiment of the present invention, the PH data packets being separately added into the first data packet and the first verification The first Error Correction of Coding it is identical or differ;
And/or it is separately added into that PH data packets in duplicate packet are identical with the second Error Correction of Coding of the second verification or not phase Together.
In the present embodiment, the Error Correction of Coding that PH data packets add in the first data packet is RS Error Correction of Coding, the first school The Error Correction of Coding for testing middle addition is BCH Error Corrections of Coding;And/or the Error Correction of Coding that the PH data packets of duplicate packet add in is entangled for RS Miscoding, the Error Correction of Coding added in the second verification are BCH Error Corrections of Coding.
In the preferred embodiment of the present invention, the first Error Correction of Coding is identical with the second Error Correction of Coding or differs.
In the preferred embodiment of the present invention, the first verification is identical with the second verification or differs.
In the preferred embodiment of the present invention, the first Error Correction of Coding and/or the second Error Correction of Coding are forward error correction Coding.
FEC Error Corrections of Coding, i.e. forward error correction coding exactly increase some redundant codes according to certain rule to information sequence Member is allowed to be transformed into the Serial No. C (sequence of symhols) with certain regularity by the sequence M for not having regularity.That is, in symbol It is relevant in sequence, between information code element and redundancy symbol.In the microprocessor of receiving terminal, i.e. recorder, recorder Whether microprocessor, into row decoding, examines reception sequence R to meet set in other words by the coding rule of this precognition Rule, it is wherein whether wrong so as to find, further correct mistake therein.Forward error correction coding and decoding is sent out according to correlation Now with correct the error code that generates in transmission process.
Shown in Fig. 3 it is provided by the invention reduce PH capsule wireless detecting system loss of data methods a preferred embodiment Flow chart, Fig. 2 is the structure chart of the frame data in the embodiment, and specific implementation procedure is as follows:
The microprocessor of PH capsules performs following steps:
Encapsulate PH data packet steps:The PH data acquired in data frame sending cycle T are packaged together to form PH data Wrap D;
Obtain the first data packet step:Verification 1 is added in PH data packets D, verification 1 is used to whether just to verify PH data row Really, data packet D1 is formed;PH data and verification 1 to data packet D1 are separately added into Error Correction of Coding, form data packet D2;
Obtain duplicate packet step:Data packet D2 duplication portions are obtained into duplicate packet D3;Or replicate PH data D is wrapped, adds in verification 2, duplicate packet D3 is obtained after adding Error Correction of Coding;
Component frame data step:Frame head is added in before data packet D2, adding in D3 after data packet D2 forms a frame data DATA, The receiving terminal of data logger is sent to after processing.
The microprocessor of recorder performs following steps:
Receive processing step:After receiving data frame DATA, it is demodulated and handles and remove frame head;
Error-correcting decoding processing step:The correction of PH data packet each sections in data packet D2 and duplicate packet D3 is calculated respectively Son judges the correctness of each section in PH data packets based on each syndrome;If syndrome is zero, the PH data packets are correct, if Syndrome is not zero, then correct without a packet PH data packets, carries out error-correcting decoding, enters behind misjudgment position and correction following Step.
Checking treatment step:Two PH data packet D that the verification 1 and verification 2 corrected respectively with error-correcting decoding were corrected, As long as there is packet PH data packets verification to pass through, then the PH data packets passed through, frame data transmission knot are verified using recorder storage Beam;
Otherwise, the data frame of this time transmission is lost, which terminates.
The present invention also provides a kind of PH capsule wireless detecting systems, and in a preferred embodiment, system includes PH Capsule and recorder,
PH capsules include PH sensor, sample circuit, PH capsules microprocessor and wireless sending module;
Recorder includes the microprocessor of wireless receiving module and recorder;
PH sensor output terminal is connect with sample circuit input terminal, the microprocessor of sample circuit output terminal and PH capsules Signal input part connects, and the microprocessor data output end of PH capsules is connect with wireless sending module input terminal, transmits wirelessly The microprocessor of module output terminal and wireless receiving module input terminal wireless connection, wireless receiving module output terminal and recorder Data input pin connects;
Any one of the according to the method described above progress respectively of the microprocessor of the microprocessors of PH capsules and recorder PH data sending processings and reception processing, to reduce loss of data.
In the present embodiment, PH capsules further include the parts such as housing, conveyer, battery, memory;
Recorder further includes the parts such as memory power module and data-interface.
PH capsules are fixed on by conveyer on esophagus, and the pH value of esophagus data received are real in a manner of wireless signal When be transmitted to the recorder that carries in vitro and carry out stored record, doctor utilizes the PH that Data Analysis Software analysis recorder is recorded Data, understanding patient's esophagus pH value must change, and diagnosis is made to the alimentary canal state of an illness.
The work implementation procedure of PH capsule wireless detecting systems is:Start in recorder → startup PH capsules → PH capsules Sensor, which is handled data according to sample frequency acquisition PH data → the PH data of acquisition are stored in capsule →, (to be increased Frame head, filtering, modulation etc.) → received according to period of time T one frame data of transmission of regulation to recorder → data logger PH data frames handled and stored.
In the description of this specification, reference term " one embodiment ", " example ", " is specifically shown " some embodiments " The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not In the case of being detached from the principle of the present invention and objective a variety of change, modification, replacement and modification can be carried out to these embodiments, this The range of invention is limited by claim and its equivalent.

Claims (9)

  1. A kind of 1. method for reducing PH capsule wireless detecting system loss of data, which is characterized in that the miniature place including PH capsules It manages device and sends processing step;Or the microprocessor including PH capsules sends processing step and the microprocessor of recorder connects Receive both processing steps;
    The microprocessor of the PH capsules sends processing step and includes:
    The PH data acquired in time t are packaged into PH data packets by the microprocessor of S11, PH capsule, are added in PH data packets Enter the first verification and the first Error Correction of Coding obtains the first data packet;
    S12 replicates PH data packets and the second verification and the acquisition of the second Error Correction of Coding is added in the PH data packets of duplication and replicates number According to packet;
    S13 adds frame head before the first data packet;
    Frame head, the first data packet and at least one duplicate packet are formed frame data by S14, to being sent to after frame data processing The microprocessor of recorder;
    The microprocessor of the recorder receives processing step and includes:
    S21, the microprocessor frames received evidence of recorder simultaneously remove frame head;
    S22 calculates the syndrome of PH data packets in the first data packet and duplicate packet respectively, judges PH data based on syndrome The correctness of packet if at least one PH data packet is correct, stores correct PH data packets, which passes using recorder Defeated end, otherwise into S23;
    S23 carries out error-correcting decoding, two PH data packets after being corrected, the first school to the first data packet and duplicate packet It tests and/or second verifies;S24, two PH data after being corrected using the first verification after correction and/or the second verification verification If the verification of at least one PH data packet passes through, correct PH data packets are stored using recorder for packet, should otherwise it is assumed that losing Data frame, the frame data end of transmission.
  2. 2. the method as described in claim 1, which is characterized in that in the S11 steps, the PH numbers in first data packet The first Error Correction of Coding is separately added into according to packet and the first verification;
    And/or in the S12 steps, PH data packets and the second verification in the duplicate packet are separately added into the second error correction Code.
  3. 3. method as claimed in claim 2, which is characterized in that in the S11 steps, by the PH data in the first data packet Packet is divided into two or more parts, adds in the first Error Correction of Coding to each part respectively;
    In the S12 steps, the PH data packets in duplicate packet are divided into two or more same parts, respectively The second Error Correction of Coding is added in each part.
  4. 4. method as claimed in claim 3, which is characterized in that in the S22 steps,
    The syndrome of PH data packets each section in the first data packet is calculated respectively, is judged based on each syndrome each in the PH data packets Partial correctness;
    The syndrome of PH data packet each sections in duplicate packet is calculated respectively, and each portion in PH data packets is judged based on each syndrome The correctness divided;
    If the correct part of PH data packets and correct partly combine of PH data packets in duplicate packet can groups in the first data packet Into a complete PH data packet, then the PH data packets for combining composition, the frame data end of transmission are stored using recorder.
  5. 5. method as claimed in claim 2, which is characterized in that the PH data packets being separately added into first data packet and First Error Correction of Coding of one verification is identical or differs;
    And/or it is separately added into that PH data packets in the duplicate packet are identical with the second Error Correction of Coding of the second verification or not phase Together.
  6. 6. the method as described in claim 1, which is characterized in that first Error Correction of Coding is identical with the second Error Correction of Coding or not It is identical.
  7. 7. the method as described in claim 1, which is characterized in that first verification is identical with the second verification or differs.
  8. 8. the method as described in claim 1, which is characterized in that before first Error Correction of Coding and/or the second Error Correction of Coding are To Error Correction of Coding.
  9. 9. a kind of PH capsule wireless detecting system, which is characterized in that including PH capsules and recorder,
    The PH capsules include PH sensor, sample circuit, PH capsules microprocessor and wireless sending module;
    The recorder includes the microprocessor of wireless receiving module and recorder;
    PH sensor output terminal is connect with sample circuit input terminal, the microprocessor signal of sample circuit output terminal and PH capsules Input terminal connects, and the microprocessor data output end of PH capsules is connect with wireless sending module input terminal, wireless sending module The microprocessor data of output terminal and wireless receiving module input terminal wireless connection, wireless receiving module output terminal and recorder Input terminal connects;
    The microprocessor of the PH capsules and the microprocessor of recorder respectively according to any one of claim 1-8 into Row PH data sending processings and reception processing, to reduce loss of data.
CN201711407696.XA 2017-12-22 2017-12-22 Method and system for reducing data loss of PH capsule wireless detection system Active CN108134652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711407696.XA CN108134652B (en) 2017-12-22 2017-12-22 Method and system for reducing data loss of PH capsule wireless detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711407696.XA CN108134652B (en) 2017-12-22 2017-12-22 Method and system for reducing data loss of PH capsule wireless detection system

Publications (2)

Publication Number Publication Date
CN108134652A true CN108134652A (en) 2018-06-08
CN108134652B CN108134652B (en) 2020-09-25

Family

ID=62391612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711407696.XA Active CN108134652B (en) 2017-12-22 2017-12-22 Method and system for reducing data loss of PH capsule wireless detection system

Country Status (1)

Country Link
CN (1) CN108134652B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113576408A (en) * 2021-07-16 2021-11-02 重庆金山医疗技术研究院有限公司 PH capsule, PH capsule wireless detection system and esophagus pH monitoring method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120069892A1 (en) * 2009-04-17 2012-03-22 Jin Woo Kim Transmitting/receiving system and broadcast signal processing method
CN105790889A (en) * 2016-02-23 2016-07-20 北京杰睿中恒科技有限公司 Data transmission method and device based on orthogonal frequency division multiplexing and meter reading system
CN105991227A (en) * 2015-02-15 2016-10-05 中兴通讯股份有限公司 Data encoding method and apparatus
CN106209302A (en) * 2015-05-04 2016-12-07 中兴通讯股份有限公司 Data transmission processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120069892A1 (en) * 2009-04-17 2012-03-22 Jin Woo Kim Transmitting/receiving system and broadcast signal processing method
CN105991227A (en) * 2015-02-15 2016-10-05 中兴通讯股份有限公司 Data encoding method and apparatus
CN106209302A (en) * 2015-05-04 2016-12-07 中兴通讯股份有限公司 Data transmission processing method and device
CN105790889A (en) * 2016-02-23 2016-07-20 北京杰睿中恒科技有限公司 Data transmission method and device based on orthogonal frequency division multiplexing and meter reading system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113576408A (en) * 2021-07-16 2021-11-02 重庆金山医疗技术研究院有限公司 PH capsule, PH capsule wireless detection system and esophagus pH monitoring method

Also Published As

Publication number Publication date
CN108134652B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
US20200359905A1 (en) Continuous glucose monitoring system and methods of use
CN102105100B (en) Multi-stream image decoding apparatus and method
EP0935211B1 (en) Electronic indentification system with forward error correction system
US20180304011A1 (en) Method and System for Providing Data Communication in Continuous Glucose Monitoring and Management System
AU2004249063B2 (en) Encapsulated endoscope and encapsulated endoscope system
US8352809B2 (en) Checking method and electronic circuit for the secure serial transmission of data
US8279276B2 (en) Receiving apparatus
US20080004503A1 (en) Data recorder and method for recording a data signal received from an in-vivo sensing device
MX2010011441A (en) Endocapsule.
CN108134652A (en) A kind of method and system for reducing PH capsule wireless detecting system loss of data
JP2007330794A (en) Method for in-vivo imaging and in-vivo sensing system
US8452070B2 (en) X-ray image diagnostic system, image processing apparatus and image processing method
JPH0322743B2 (en)
US8477026B2 (en) Medical data transmission system
JP2005152401A (en) Biological signal data transmission/reception system, biological signal measuring instrument and biological signal data transmission/reception method
JPS58137052A (en) Real time error correcting device
CN107072515A (en) Image data transmission system
Zalzal et al. Pediatric gastroesophageal reflux and laryngopharyngeal reflux
Di Stefano et al. Prolonged duodenal acid perfusion and dyspeptic symptom occurrence in healthy volunteers
CN108155971A (en) Data transmission processing method and oesophagus ph value detecting system data transmission device
US11669640B1 (en) Method of providing data integrity
JP2007075372A (en) Biological signal monitoring device
JP3217716B2 (en) Wireless packet communication device
CN112716464B (en) Perioperative wireless blood oxygen monitoring system
US20210045621A1 (en) Capsule endoscope, receiver interworking with capsule endoscope and method for control of capsule endoscope

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
TR01 Transfer of patent right

Effective date of registration: 20210926

Address after: 401120 1-1, 2-1, 3-1, building 5, No. 18, Cuiping Lane 2, Huixing street, Yubei District, Chongqing

Patentee after: Chongqing Jinshan Medical Technology Research Institute Co.,Ltd.

Address before: 401120 1 office buildings, Jinshan International Industrial City, 18 of Nei sang Road, Hui Xing street, Yubei District, Chongqing.

Patentee before: CHONGQING JINSHAN MEDICAL APPLIANCE Co.,Ltd.

TR01 Transfer of patent right