CN107196994A - Aquatic animal disease sampling system and its method - Google Patents

Aquatic animal disease sampling system and its method Download PDF

Info

Publication number
CN107196994A
CN107196994A CN201710251819.9A CN201710251819A CN107196994A CN 107196994 A CN107196994 A CN 107196994A CN 201710251819 A CN201710251819 A CN 201710251819A CN 107196994 A CN107196994 A CN 107196994A
Authority
CN
China
Prior art keywords
message
sample
information
list
computer end
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
CN201710251819.9A
Other languages
Chinese (zh)
Other versions
CN107196994B (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.)
CHANGZHOU WUJIN DISTRICT AQUATIC PRODUCT TECHNOLOGY PROMOTION STATION
Original Assignee
CHANGZHOU WUJIN DISTRICT AQUATIC PRODUCT TECHNOLOGY PROMOTION STATION
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 CHANGZHOU WUJIN DISTRICT AQUATIC PRODUCT TECHNOLOGY PROMOTION STATION filed Critical CHANGZHOU WUJIN DISTRICT AQUATIC PRODUCT TECHNOLOGY PROMOTION STATION
Priority to CN201710251819.9A priority Critical patent/CN107196994B/en
Publication of CN107196994A publication Critical patent/CN107196994A/en
Application granted granted Critical
Publication of CN107196994B publication Critical patent/CN107196994B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

A kind of aquatic animal disease sampling system and its method, are attached to smart mobile phone, server and the backstage computer end for being attached to sample-grabber and keeper with camera and GPS module of sample-grabber;The smart mobile phone for being attached to sample-grabber is connected by network with server;The server is attached to sample-grabber together and the backstage computer end of keeper communicates connection, and the backstage computer end is also connected with printer;The not enough defect of intelligent functions in the prior art is effectively prevent with reference to its method.

Description

Aquatic animal disease sampling system and its method
Technical field
The present invention relates to aquatic animal Sampling techniques field, more particularly to a kind of aquatic animal disease sampling system and its side Method.
Background technology
With rapid economic development, growth in the living standard, people are increasing to the demand of aquatic products, extensive intensive Change the main mode of production propagated artificially and have become aquaculture.But in scale intensive cultivation, disease such as can not be timely Collection and diagnoses and treatment, it will cause heavy losses.
But the means of the information gathering of aquatic animal disease sample are completely dependent on craft now so that intelligent functions are not Foot.
The content of the invention
To solve the above problems, the invention provides a kind of aquatic animal disease sampling system and its method, being prevented effectively from The not enough defect of intelligent functions in the prior art.
In order to overcome deficiency of the prior art, the invention provides a kind of aquatic animal disease sampling system and its method Solution, it is specific as follows:
A kind of aquatic animal disease sampling system, including:
It is attached to the smart mobile phone with camera and GPS module of sample-grabber, server and is attached to sample-grabber and pipe The backstage computer end of reason person;
The smart mobile phone for being attached to sample-grabber is connected by network with server;
The server is attached to sample-grabber together and the backstage computer end of keeper communicates connection, the backstage computer end Also it is connected with printer;
The sample-grabber's that the smart mobile phone is attached troops to a unit including login module, mobile phone A pp, the smart mobile phone includes its work Number, the information of name and identification card number, the electronic spreadsheet as the list of filling in defect information, electronic signature work Tool, calculating sample expense module;
The server includes numbering generation module, first information processing module and the database as sample storehouse to be checked;
The backstage computer end includes the information of sample-grabber and the respective name of keeper and password, for logging in backstage electricity The login module at brain end and the second message processing module.
The sample-grabber is responsible for the sampling work of aquatic animal disease situation, and keeper is responsible for gathering aquatic animal disease Examination & verification, management and the statistical work of information.
The list for being used for filling in defect information includes being used for the entry that input sample numbers, for inputting essential information Entry, the entry for unit (or personal) information of originating for input sample, the entry for inputting morbidity information, for inputting The entry of water quality monitoring management information, the entry for inputting medicining condition information, the entry for inputting pictorial information, it is used for Input the entry of electronic signature, the entry for inputting location information.
It is close that the essential information includes sampling time, sampling position, onset area, morbidity kind, the foster kind of master and specification Degree, set support kind and specification density, sampling kind and quantity etc.;Sample source unit (or personal) information includes may be selected Or it is manually entered sample source unit or personal name, address, unit legal person, contact person, contact method etc.;The morbidity Whether information includes sample state, the average The dead quantity of initial death time, nearly three days, eats food;The water quality monitoring management Information includes water temperature, pH value, ammonia nitrogen, nitrite, dissolved oxygen, sulfide, phosphate etc.;The medicining condition information includes medicine Information as title, medicine usage, drug dosage, medication duration etc..
The method of described aquatic animal disease sampling system, step is as follows:
Step 1:Spot sampling, the spot sampling be sample-grabber arrive need progress aquatic animal disease situation detection list Position or it is personal aquatic animal is sampled, the unit for needing to carry out aquatic animal disease situation detection or it is personal namely Sample source unit, that is, be detected unit;
Step 2:Mobile phone A pp working conditions are logged into, it is described to log into mobile phone A pp working conditions to adopt aquatic products Sample-grabber's startup login module inputs its job code, name and identity card in login interface up-sampling person during sample Number sample-grabber is inputted after its job code, name and identification card number, and first login module compiles the work of input Number, name and identification card number job code, name and the body of sample-grabber attached troops to a unit respectively with first smart mobile phone Part card number compares, if consistent just start mobile phone A pp;
Step 3:Data syn-chronization, the data syn-chronization is, in the case where there is network state, to start mobile phone A pp, the mobile phone A pp Can be with newly-built one or more sample records, after newly-built record, App sends request sample number into spectrum to the server by network Request message, the server received after the request message of the request sample number into spectrum, just starts the numbering generation module A unique number is automatically generated, and the mobile phone is returned using the unique number as the sample number into spectrum recorded during sampling;According to With server interact acquisition sample number into spectrum, must be operated herein in the case where there is network, otherwise because without network without Data can be obtained, cause can not newly-built sample record, unique number automatically generates by server system, this unique number and sampling Shi Jilu sample number into spectrum is consistent.
Step 4:Fill message, the fill message is that the sample number into spectrum of return is filled into the by the mobile phone A pp automatically One is used for filling in the entry numbered for input sample of the list of defect information and opens to be used for filling in disease collection correlation The list of information, then the sample-grabber essential information is input to the list for being used for filling in disease collection relevant information For inputting in the entry of essential information;
Step 5:Photograph to record, described photograph to record shoots morbidity with the camera of smart mobile phone for the sample-grabber Kind, morbidity pond, the picture of medicine used and the picture of shooting is inserted list for filling in defect information be used for it is defeated In the entry for entering pictorial information
Step 6:Electronic signature, the electronic signature allows sample source list to start the electric signing tools of smart mobile phone Position is first signed, and then allows the sample-grabber to sign, and the signature and the signature of sample-grabber sample source unit are inserted for filling out Write the entry for being used for inputting electronic signature of the list of defect information;
Step 7:Address location is positioned, and the address location orientates sample-grabber as and starts the GPS module of smart mobile phone to enter Row positioning obtain smart mobile phone where positional information and insert described first be used for fill in defect information list be used for it is defeated In the entry for entering location information;
Step 8:Then in the case where network is obstructed, the mobile phone A pp to for fill in defect information list carry out Preserve
In the case of network service is normal, the mobile phone A pp for the list of filling in defect information being stored in intelligence In mobile phone, then being sent to for the list of filling in defect information in server, such message processing module is just used described It is stored in the list of filling in defect information as the list having been filed in disease sampling system list, for filling in disease letter The sample number into spectrum that first information processing module is used for this to fill in the list of defect information before the list of breath is sent to server It is used as the mark for being used for filling in the list of defect information do not submitted;
Step 9:The login module for being used to log in backstage computer end that the sample-grabber starts the backstage computer end comes defeated Enter its name and password, it is then described to be used to logging in the login module of backstage computer end the name and password of input same institute respectively The name for stating the sample-grabber in the computer end of backstage compares with password, if the name and password of input are with the backstage computer end The name of sample-grabber have consistent with password, start the second message processing module with regard to that can enter in the backstage computer end, So described second message processing module just sends request to the server containing disease sampling form information by network Message, the mark for being used for filling in the list of defect information that the first information processing module of the server is not just submitted sample-grabber The list for being used for filling in defect information know, having been filed on is sent in the backstage computer end in addition, sample-grabber can only see certainly The single information of disease sampling that body is not submitted and had been filed on.;
When needing to print the list for filling in defect information having been filed on being sent in the backstage computer end, institute State sample-grabber just by with the printer being connected with the backstage computer end being printed for the list of filling in defect information Come.Step 10:The keeper start the backstage computer end be used for the login module of backstage computer end is logged in input it Name and password, it is then described to be used to logging in the login module of backstage computer end the name and password of input respectively with after described The name of keeper in platform computer end compares with password, if the name and password of input are with the pipe in the backstage computer end The name of reason person has consistent with password, starts the second message processing module with regard to that can enter in the backstage computer end, so Second message processing module just sends form information of the request containing disease sample information to the server by network Message, the table for being used for filling in defect information that the first information processing module of the server just has been filed on all sample-grabbers Single-shot is sent in the backstage computer end;
What so keeper can just check that all sample-grabbers for being sent to the backstage computer end have been filed on is used for filling in The list of defect information, if being used for of finding to have been filed on fills in the list of defect information and fills in wrong, just fill in it is wrong The list for being used for filling in defect information submitted is sent to the first smart mobile phone or computer end for filling in wrong sample-grabber, as The list for being used for filling in defect information do not submitted allows sample-grabber modified to filling in wrong list content, after modification The mark of the list for filling in defect information do not submitted server is sent to via network by mobile phone A pp or computer end Again the list for being used for filling in defect information having been filed on is saved as;
When needing to print the list for filling in defect information having been filed on being sent in the backstage computer end, institute Keeper is stated just to print list by the printer being connected with the backstage computer end.
One is that the list for being used for filling in defect information do not submitted being stored in smart mobile phone can be changed, once It is submitted to, then needs keeper to be changed again after retracting.
The sample-grabber start the backstage computer end be used for the login module of backstage computer end is logged in input its surname Name and the mode of password are carried out in the way of WEB is logged in;The keeper start the backstage computer end be used for log in The login module of backstage computer end come the mode for inputting its name and password is carried out in the way of WEB is logged in.
The final function of realizing that aquatic animal disease detection is intelligent, integrated of the invention, reduces data message in work The problem of transmission is not in time, artificial operation element amount is big.
Brief description of the drawings
Fig. 1 is the connection diagram of the aquatic animal disease sampling system of the present invention;
Embodiment
The present invention is described further below in conjunction with accompanying drawing.
1 understand with reference to the accompanying drawings, aquatic animal disease sampling system of the invention, including:
It is attached to the smart mobile phone with camera and GPS module of sample-grabber, server and is attached to sample-grabber and pipe The backstage computer end of reason person;
The smart mobile phone for being attached to sample-grabber is connected by network with server;
The server is attached to sample-grabber together and the backstage computer end of keeper communicates connection, the backstage computer end Also it is connected with printer;
The sample-grabber's that the smart mobile phone is attached troops to a unit including login module, mobile phone A pp, the smart mobile phone includes its work Number, the information of name and identification card number, the electronic spreadsheet as the list of filling in defect information, electronic signature work Tool, calculating sample expense module;
The server includes numbering generation module, first information processing module and the database as sample storehouse to be checked;
The backstage computer end includes the information of sample-grabber and the respective name of keeper and password, for logging in backstage electricity The login module at brain end and the second message processing module.
The sample-grabber is responsible for the sampling work of aquatic animal disease situation, and keeper is responsible for gathering aquatic animal disease Examination & verification, management and the statistical work of information.
The list for being used for filling in defect information includes being used for the entry that input sample numbers, for inputting essential information Entry, the entry for unit (or personal) information of originating for input sample, the entry for inputting morbidity information, for inputting The entry of water quality monitoring management information, the entry for inputting medicining condition information, the entry for inputting pictorial information, it is used for Input the entry of electronic signature, the entry for inputting location information.
It is close that the essential information includes sampling time, sampling position, onset area, morbidity kind, the foster kind of master and specification Degree, set support kind and specification density, sampling kind and quantity etc.;Sample source unit (or personal) information includes may be selected Or it is manually entered sample source unit or personal name, address, unit legal person, contact person, contact method etc.;The morbidity Whether information includes sample state, the average The dead quantity of initial death time, nearly three days, eats food;The water quality monitoring management Information includes water temperature, pH value, ammonia nitrogen, nitrite, dissolved oxygen, sulfide, phosphate etc.;The medicining condition information includes medicine Information as title, medicine usage, drug dosage, medication duration etc..
The method of described aquatic animal disease sampling system, step is as follows:
Step 1:Spot sampling, the spot sampling be sample-grabber arrive need progress aquatic animal disease situation detection list Position or it is personal aquatic animal is sampled, the unit for needing to carry out aquatic animal disease situation detection or it is personal namely Sample source unit, that is, be detected unit;
Step 2:Mobile phone A pp working conditions are logged into, it is described to log into mobile phone A pp working conditions to adopt aquatic products Sample-grabber's startup login module inputs its job code, name and identity card in login interface up-sampling person during sample Number sample-grabber is inputted after its job code, name and identification card number, and first login module compiles the work of input Number, name and identification card number job code, name and the body of sample-grabber attached troops to a unit respectively with first smart mobile phone Part card number compares, if consistent just start mobile phone A pp;
Step 3:Data syn-chronization, the data syn-chronization is, in the case where there is network state, to start mobile phone A pp, the mobile phone A pp Can be with newly-built one or more sample records, after newly-built record, App sends request sample number into spectrum to the server by network Request message, the server received after the request message of the request sample number into spectrum, just starts the numbering generation module A unique number is automatically generated, and the mobile phone is returned using the unique number as the sample number into spectrum recorded during sampling;According to With server interact acquisition sample number into spectrum, must be operated herein in the case where there is network, otherwise because without network without Data can be obtained, cause can not newly-built sample record, unique number automatically generates by server system, this unique number and sampling Shi Jilu sample number into spectrum is consistent.
Step 4:Fill message, the fill message is that the sample number into spectrum of return is filled into the by the mobile phone A pp automatically One is used for filling in the entry numbered for input sample of the list of defect information and opens to be used for filling in disease collection correlation The list of information, then the sample-grabber essential information is input to the list for being used for filling in disease collection relevant information For inputting in the entry of essential information;
Step 5:Photograph to record, described photograph to record shoots morbidity with the camera of smart mobile phone for the sample-grabber Kind, morbidity pond, the picture of medicine used and the picture of shooting is inserted list for filling in defect information be used for it is defeated In the entry for entering pictorial information
Step 6:Electronic signature, the electronic signature allows sample source list to start the electric signing tools of smart mobile phone Position is first signed, and then allows the sample-grabber to sign, and the signature and the signature of sample-grabber sample source unit are inserted for filling out Write the entry for being used for inputting electronic signature of the list of defect information;
Step 7:Address location is positioned, and the address location orientates sample-grabber as and starts the GPS module of smart mobile phone to enter Row positioning obtain smart mobile phone where positional information and insert described first be used for fill in defect information list be used for it is defeated In the entry for entering location information;
Step 8:Then in the case where network is obstructed, the mobile phone A pp to for fill in defect information list carry out Preserve
In the case of network service is normal, the mobile phone A pp for the list of filling in defect information being stored in intelligence In mobile phone, then being sent to for the list of filling in defect information in server, such message processing module is just used described It is stored in the list of filling in defect information as the list having been filed in disease sampling system list, for filling in disease letter The sample number into spectrum that first information processing module is used for this to fill in the list of defect information before the list of breath is sent to server It is used as the mark for being used for filling in the list of defect information do not submitted;
Step 9:The login module for being used to log in backstage computer end that the sample-grabber starts the backstage computer end comes defeated Enter its name and password, it is then described to be used to logging in the login module of backstage computer end the name and password of input same institute respectively The name for stating the sample-grabber in the computer end of backstage compares with password, if the name and password of input are with the backstage computer end The name of sample-grabber have consistent with password, start the second message processing module with regard to that can enter in the backstage computer end, So described second message processing module just sends request to the server containing disease sampling form information by network Message, the mark for being used for filling in the list of defect information that the first information processing module of the server is not just submitted sample-grabber The list for being used for filling in defect information know, having been filed on is sent in the backstage computer end in addition, sample-grabber can only see certainly The single information of disease sampling that body is not submitted and had been filed on;
When needing to print the list for filling in defect information having been filed on being sent in the backstage computer end, institute State sample-grabber just by with the printer being connected with the backstage computer end being printed for the list of filling in defect information Come.
Step 10:The login module for being used to log in backstage computer end that the keeper starts the backstage computer end comes defeated Enter its name and password, it is then described to be used to logging in the login module of backstage computer end the name and password of input same institute respectively The name for stating the keeper in the computer end of backstage compares with password, if the name and password of input are with the backstage computer end The name of keeper have consistent with password, start the second message processing module with regard to that can enter in the backstage computer end, So described second message processing module just sends list of the request containing disease sample information to the server by network Being used for of having been filed on of all sample-grabbers is just filled in defect information by the message of information, the first information processing module of the server List be sent in the backstage computer end;
What so keeper can just check that all sample-grabbers for being sent to the backstage computer end have been filed on is used for filling in The list of defect information, if being used for of finding to have been filed on fills in the list of defect information and fills in wrong, just fill in it is wrong The list for being used for filling in defect information submitted is sent to the first smart mobile phone or computer end for filling in wrong sample-grabber, as The list for being used for filling in defect information do not submitted allows sample-grabber modified to filling in wrong list content, after modification The mark of the list for filling in defect information do not submitted server is sent to via network by mobile phone A pp or computer end Again the list for being used for filling in defect information having been filed on is saved as;
When needing to print the list for filling in defect information having been filed on being sent in the backstage computer end, institute Keeper is stated just to print list by the printer being connected with the backstage computer end.
One is that the list for being used for filling in defect information do not submitted being stored in smart mobile phone can be changed, once It is submitted to, then needs keeper to be changed again after retracting.
The sample-grabber start the backstage computer end be used for the login module of backstage computer end is logged in input its surname Name and the mode of password are carried out in the way of WEB is logged in;The keeper start the backstage computer end be used for log in The login module of backstage computer end come the mode for inputting its name and password is carried out in the way of WEB is logged in.
It is of the invention final to realize that detection is intelligent, integration function, reduce in work data information transfer not in time, people The problem of work operation element amount is big.
Second message processing module of backstage computer end sends request by network to the server at present in addition The first information processing module of message and the server for the form information of filling in defect information is all sample-grabbers Or being used for of not submitting of keeper fill in the identifying of list of defect information, the allocated list for being used for filling in defect information and During the list for filling in defect information having been filed on is sent in the backstage computer end, the backstage computer end and institute State between server is all to transmit to send the form information that these requests are used for filling in defect information in message packet form Message, being used for of not submitting fill in the identifying of list of defect information, the allocated list for being used for filling in defect information and That submits is used for filling in the list of defect information, and when being transmitted in message packet form, it occur frequently that message packet loss, The problem of obtaining the sequence confusion of message packet so that the message packet transmission between the backstage computer end and the server Break down, it is impossible to normally obtain message packet.
Second message processing module of the backstage computer end sends request to the server by network and is used for The message of the form information of defect information and the first information processing module of the server are filled in all sample-grabbers or pipe What reason person did not submitted, which be used for, fills in the identifying of list of defect information, allocated be used for filling in the list of defect information and carried During the list for filling in defect information handed over is sent in the backstage computer end, the backstage computer end and the clothes Business device between be all in the form of message packet come transmit send these request be used for fill in defect information form information report Text, being used for of not submitting fill in the identifying of list of defect information, allocated be used for filling in the list of defect information and carried That hands over is used for filling in the list of defect information, and its transmitting procedure comprises the following steps:
Step 1:Duration statistical module is each configured in backstage computer end described first and the server and initial It is worth the counting variable for 0, by backstage computer end and the server between the backstage computer end and the server The side for transmitting message packet is towards the side transmission request message for obtaining message packet and obtains a side of message packet towards transmission The response message that the side transmission of message packet is responded to request message come realize the backstage computer end and the server it Between message passage foundation, include error code in the request message, for the message domain recognized and any code;It is described to disappear Include in breath message for the message domain recognized, sequence of message number, any code and error code;
Step 2:It is determined that whetheing there is message packet must transmit, if message packet must be transmitted, branch in step 3 and carry out, If must be transmitted without message packet, branch to step 5 and go progress;
Step 3:Transmit message packet;
Step 4:Transmit inquiry message to realize that situation is retrieved, the inquiry message includes any code and error code;
Step 5:Transmission keeps the message of message passage to realize the holding of message passage, the report of the holding message passage Text includes sequence of message number, any code and error code;
The step 1 comprises the following steps:
Step 1-1:Under conditions of it is determined that not transmitting request message also, branch in step 1-2 and carry out;If having transmitted Request message, goes in step 1-3 and carries out;
Step 1-2:The number of transmission request message repeatedly is set as highest set in advance and transmits request message repeatedly Number, and confirm the request message;
Step 1-3:Transmit request message, and synchronous operation duration statistical module is carried out from starting after transmission request message Duration is counted;
Step 1-4:Confirm to whether there is to get in request message and be used for the message domain that recognizes, if getting this to know Other message domain, branches in step 1-6 and carries out;If not getting the message domain for being used for recognizing, step 1-5 is branched to It is middle to carry out;
Step 1-5:Determine that the duration of duration statistical module is counted either with or without the duration of setting is reached, if having reached setting Duration, just terminate duration statistical module duration statistics and repeatedly transmission request message number subtract one, then go to step Rapid 1-1 goes to carry out, if the not up to duration of setting, branches to and goes to carry out in step 1-4;
Step 1-6:By the error code in the request message, the debugging to the request message is carried out, if do not had Mistake is found, branches in step 1-7 and performs;If having found mistake, branch in step 1-4 and carry out;
Step 1-7:The duration statistics of duration statistical module is terminated, the number of transmission request message repeatedly is set as in addition pre- The highest first set transmits the number of request message repeatedly;
Step 1-8:The decoding to request message is carried out to determine.
The process of the confirmation transmission request message in the step 1-2 comprises the following steps:
Step 1-2-1:Progress is checked to the request message;
Step 1-2-2:It is mutually to be arranged in pairs or groups with the communication standard used to determine the request message, if mutually arranged in pairs or groups, just Go in step 1-3 and carry out;If do not arranged in pairs or groups mutually, just transmission removes the message of message passage to terminate the holding of message passage;
The step 1-8 comprises the following steps:
Step 1-8-1:It is with any of request message when transmitting to determine any code in the request message It is whether identical, if identical, branch to step 1-8-2;If it is not the same, carrying out duration statistics with regard to operation duration statistical module And go to progress in step 1-4;
Step 1-8-2:It is determined that whether getting response message, if having got response message, branch in step 2 Carry out;If not getting response message, carry out duration statistics with regard to operation duration statistical module and go in step 1-4 to carry out;
The step 3 comprises the following steps:
Step 3-1:Message packet is transmitted, duration statistical module is run simultaneously in addition and carries out duration statistics;
Step 3-2:It is determined that whether get in message packet for the message domain that recognizes, if getting Izvestia In text for the message domain that recognizes, branch to and go to perform in step 1-6, recognized if not getting being used in message packet Message domain, branch to gone in step 1-5 perform;
Step 3-3:Determine whether the duration statistics that duration statistical module is carried out has arrived duration set in advance, if arrived Duration set in advance, carries out duration statistics and goes to step 3-8 going progress, if do not arrived with regard to terminating duration statistical module Duration set in advance, branches in step C-2 and carries out;
Step 3-4:Using the error code in message packet, the debugging to message packet is carried out, if not finding mistake, Branch in step 3-5 and carry out, if having found mistake, branch in step 3-2 and carry out;
Step 3-5:Terminate duration statistical module and carry out duration statistics;
Step 3-6:The decoding to message packet is carried out to determine;
Step 3-7:It is determined that the back message either with or without obtaining for message of receiveing the response, disappears if obtained for responding The back message of message is ceased, step 4 is proceeded to and carries out, if there is no the back message for message of receiveing the response, is just turned Enter step 3-8 progress;
Step 3-8:The message implementation of intercepting that transmission is used for intercepting is intercepted, and the message of intercepting for being used for intercepting includes appointing Meaning code, error code and sequence of message number;
The step 3-6 comprises the following steps:
Step 3-6-1:Determine any code in message packet be with request message any code-phase it is same, if phase Together, step 3-6-2 progress is proceeded to, if it is not the same, proceeding to step 3-8;
Step 3-6-2:Determine whether carry sequence of message number in message packet, if sequence of message number, proceed to Step 3-6-3 is carried out;If without sequence of message number, proceeding to step 3-8 progress;
Step 3-6-3:Determine whether wrong the sequence of message number in message packet is, if wrong, proceed to step 3-8 Carry out;If errorless, step 3-6-4 progress is proceeded to;
Step 3-6-4:Determine message packet whether message packet, if message packet, branch to step 3-6-5 and enter OK, if being not message packet, step 3-7 progress is branched to;
Step 3-6-5:The counting variable of one side of acquisition message packet is increased one;
It is the counting for the side for obtaining message packet to determine the whether wrong standard of the sequence of message number in message packet Whether variable is equal to the sequence of message number of the message packet obtained;
The step 3-8 comprises the following steps:
Step 3-8-1:What transmission was used for intercepting intercepts message, and obtains and intercept the side order of message and acquisition is detectd Listen the determination and the debugging using the error code intercepted in message of message;
Step 3-8-2:It is determined that for any code for intercepting message intercepted be with request message any code-phase it is same, If identical, step 3-8-3 progress is branched to;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to Step 3-8-1 is carried out;
Step 3-8-3:It is determined that being intercepted for what is intercepted either with or without sequence of message number in message, if so, branching to step 3-8-4 is carried out;If not provided, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 progress;
Step 3-8-4:It is determined that whether wrong the sequence of message number intercepted in message is, if errorless, step 3- is branched to 8-5 is carried out;If wrong, duration statistics is carried out with regard to starting duration statistical module and step 3-8-1 is gone to carrying out;
Step 3-8-5:It is determined that whether obtaining message packet, if obtaining message packet, step 3-8-6 is branched to Carry out;If not obtaining message packet, step 3-8-7 progress is branched to;
Step 3-8-6:The counting variable of one side of acquisition message packet is increased one;
Step 3-8-7:It is determined that whether obtaining previous message packet, if obtaining previous message packet, just turn To step 4 carry out;If not obtaining previous message packet, step 3-1 progress is branched to;
It is determined that it is that wrong standard is to obtain the counting for the side for intercepting message to intercept the sequence of message number in message Whether variable is equal to the sequence of message number for intercepting message obtained;
The step 4 comprises the following steps:
Step 4-1:Inquiry message is transmitted, and obtains the side order of inquiry message and carries out the determination to acquisition inquiry message With the debugging using the error code in inquiry message;
Step 4-2:Determine that the arbitrary code in inquiry message is identical with the random code of request message, if identical, Branch to step 4-3 progress;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 4-1 progress;
Step 4-3:It is determined that the inquiry message of transmission is inquiry message or message packet, if inquiry message or Person's message packet, branches to step 4-4 progress, if not inquiry message or message packet, and just transmission removes message passage Message terminate the holding of message passage;
Step 4-4:It is determined that the inquiry message of transmission is inquiry message, if inquiry message, step 4-5 is branched to Carry out;If not inquiry message, the counting variable of a side of acquisition message packet is increased one, then to transmission message packet One side is transmitted for the back message for message of receiveing the response;
Step 4-5:It is determined that transmitting the back message for message of receiveing the response either with or without failing, if do not failed, just Step 5 is gone to carry out;If it fails, branching to step 4-6 progress;
Step 4-6:The message in message packet is determined either with or without loss, if lost, just transmission removes message passage Message terminate the holding of message passage;If do not lost, duration statistics is carried out with regard to starting duration statistical module and gone to Step 4-1 is carried out;
The step 5 comprises the following steps:
Step 5-1:Transmission keeps the message of message passage, and acquisition keeps the side order of the message of message passage to carry out Determination and the debugging using the error code kept in the message of message passage to obtaining the message for keeping message passage;
Step 5-2:It is determined that keep any code in the message of message passage whether identical with any code of request message, If identical, step 5-3 progress is branched to;If it is not the same, carrying out duration statistics and in duration with regard to starting duration statistical module Statistics, which reaches, goes to step 5-1 progress after two seconds;
Step 5-3:It is determined that keeping whether having sequence of message number in the message of message passage, if so, branching to step 5-4 is carried out, if not provided, carrying out duration statistics with regard to starting duration statistical module and going to step after duration statistics reaches two seconds 5-1 is carried out;
Step 5-4:It is determined that keeping the sequence of message number in the message of message passage whether wrong, if errorless, just turn Carried out to step 5-5;If wrong, duration statistics is carried out with regard to starting duration statistical module and turned after duration statistics reaches two seconds Carried out to step 5-1;
Step 5-5:It is determined that whether getting message packet, if getting message packet, branch to step 5-6 and enter OK;If not getting message packet, duration statistics is carried out with regard to starting duration statistical module and reached two seconds in duration statistics After go to step 5-1 progress;
Step 5-6:The counting variable of one side of acquisition message packet is increased one;
Step 5-7:It is determined that need be transmitted either with or without message packet, carried out if so, branching to step 3;If not provided, right One side of transmission message packet is transmitted for the back message for message of receiveing the response;
It is determined that keeping the sequence of message number in the message of message passage to be that wrong standard is to obtain to keep message to lead to Whether the counting variable of one side of the message in road is equal to the sequence of message number of the message of the holding message passage obtained.
Any code is transmitted by server in a side of transmission message packet towards the side for obtaining message packet asks During the response message that the side transmission of one side of message and acquisition message packet towards transmission message packet is responded to request message, clothes Business device transmit first in any code just as mark, server transmit first after the backstage computer end and the service It is intended in the message transmitted between device containing the mark, the backstage electricity for determining to use at present by determining the mark to be used in addition Brain end is to transmit request message towards the side for obtaining message packet in the side for transmitting message packet and obtain message packet A side towards transmission message packet a side transmission request message is responded response message when the backstage computer end that uses.
Such method can improve the message packet transmission performance of the backstage computer end and the server, preferably just Sharp sample-grabber, stationary performance is good during transmitting in addition, can efficiently prevent transmission from not reaching stable state.
It is to obtain sample number into spectrum according to interacting for server in other step 3, herein must be in the case where there is network Operated, otherwise because data can not be obtained without network, cause that the operation of next step can not be carried out, unique number is by server System is automatically generated, and the sample number into spectrum recorded when this unique number is with sampling is consistent.
Other sample-grabber, which can only see, itself not to submit, has been filed on and the allocated list for being used for filling in defect information Information.
In addition, keeper can see the list, all sample-grabbers and two that are used for filling in defect information oneself not submitted What class sample-grabber had been filed on is used for filling in the list of defect information;What sample-grabber and keeper had been filed on is used for filling in defect information List be once assigned in specific keeper's measuring samples list, then only have this keeper it is visible.
The other keeper or keeper can also believe detection original record, the report of incidence information, incidence Breath collects with essential information according to the form being previously set, and is printed by the printer being connected with the backstage computer end Come.The incidence information report being printed is believed comprising the Unique notification numbering generated by server, for filling in disease Sample that the list of breath is included and the detection essential information that is included by inspection people's essential information and detection original record and final Incidence information.A certain sample by report printing people as by that repeated detection, can be selected, with morbidity wherein once Situation information is defined.As a result report is once print, and incidence information can not be changed.
Keeper possesses to be set to sample-grabber, personal keeper and unit information and account number cipher, the function of possessing The authority put.The authorities such as sample ID, specification, collection unit price, the collection highest price of standardization can be set on backstage simultaneously.Separately Outside, the sampling for thinking it unnecessary to want that keeper also possesses to whole system emerged in operation is hidden and deleted with detection information Function.The information being hidden still can the person of being managed view, but not seen by first, keeper.Deleted letter Breath will be as junk information by complete deletion.The information for being hidden or deleting is not appeared in final result form.
The present invention is described in the way of brief description of the drawings above, it will be understood by those of skill in the art that
The disclosure is not limited to embodiments described above, in the case of without departing from the scope of the present invention, can make each Change is planted, changes and replaces.

Claims (10)

1. a kind of aquatic animal disease sampling system, it is characterised in that including:Be attached to sample-grabber carries camera and GPS Smart mobile phone, server and the backstage computer end for being attached to sample-grabber and keeper of module;
The smart mobile phone for being attached to sample-grabber is connected by network with server;
The server is attached to sample-grabber together and the backstage computer end of keeper communicates connection, and the backstage computer end is also same Printer is connected;
Its work that includes that the smart mobile phone includes the sample-grabber that login module, mobile phone A pp, the smart mobile phone are attached troops to a unit is compiled Number, the information of name and identification card number, as the electronic spreadsheet of the list of filling in defect information, electric signing tools, Calculate sample expense module;
The server includes numbering generation module, first information processing module and the database as sample storehouse to be checked;
The backstage computer end includes the information of sample-grabber and the respective name of keeper and password, for logging in backstage computer end Login module and the second message processing module.
2. aquatic animal disease sampling system according to claim 1, it is characterised in that the sample-grabber is responsible for aquatic dynamic The sampling work of thing disease incidence, keeper is responsible for gathering aquatic animal disease examination & verification, management and the statistical work of information.
3. aquatic animal disease sampling system according to claim 2, it is characterised in that described to be used for filling in defect information List include be used for input sample number entry, the entry for inputting essential information, for input sample originate unit The entry of (or personal) information, the entry for inputting morbidity information, the entry for inputting water quality monitoring management information, it is used for Input the entry of medicining condition information, the entry for inputting pictorial information, the entry for inputting electronic signature, for inputting The entry of location information.
4. aquatic animal disease sampling system according to claim 3, it is characterised in that the essential information includes sampling Time, sampling position, onset area, morbidity kind, main foster kind and specification density, set support kind and specification density, sample thief Kind and quantity etc.;Sample source unit (or personal) information includes may be selected or being manually entered sample source unit or individual Name, address, unit legal person, contact person, contact method etc.;When the morbidity information includes sample state, initially death Between, nearly three days average The dead quantities, whether eat food;The water quality monitoring management information includes water temperature, pH value, ammonia nitrogen, nitrous Hydrochlorate, dissolved oxygen, sulfide, phosphate etc.;The medicining condition information includes nomenclature of drug, medicine usage, drug dosage, medication Information as duration etc..
5. the method for aquatic animal disease sampling system according to claim 3, it is characterised in that step is as follows:
Step 1:Spot sampling, the spot sampling be sample-grabber arrive need progress aquatic animal disease situation detection unit or Individual aquatic animal is sampled, i.e. the unit or individual's sample for needing to carry out aquatic animal disease situation detection Source unit, that is, be detected unit;
Step 2:Mobile phone A pp working conditions are logged into, it is described to log into mobile phone A pp working conditions to sample to aquatic products Sample-grabber described in journey starts login module and inputs its job code, name and identification card number institute in login interface up-sampling person State sample-grabber to input after its job code, name and identification card number, job code, surname of first login module input Job code, name and the identification card number for the sample-grabber that name and identification card number are attached troops to a unit with first smart mobile phone respectively Compare, if consistent just start mobile phone A pp;
Step 3:Data syn-chronization, the data syn-chronization is that, in the case where there is network state, starting mobile phone A pp, the mobile phone A pp can be with After newly-built one or more sample records, newly-built record, App sends request sample number into spectrum to the server by network and asked Message is sought, the server is received after the request message of the request sample number into spectrum, just start the numbering generation module automatic A unique number is generated, and the mobile phone is returned using the unique number as the sample number into spectrum recorded during sampling;According to clothes The interaction of business device obtains sample number into spectrum, must be operated herein in the case where there is network, otherwise because that can not be obtained without network Data, cause can not newly-built sample record, unique number automatically generates by server system, remembers when this unique number is with sampling The sample number into spectrum of record is consistent.
Step 4:Fill message, the fill message is that the sample number into spectrum of return is filled into the first use by the mobile phone A pp automatically Come fill in defect information list be used for input sample number entry in and open be used for fill in disease collection relevant information List, then the sample-grabber essential information is input to being used for for the list for being used for filling in disease collection relevant information In the entry for inputting essential information;
Step 5:Photograph to record, described photograph to record shoots morbidity product with the camera of smart mobile phone for the sample-grabber Kind, morbidity pond, the picture of medicine used and the picture of shooting is inserted list for filling in defect information be used for input In the entry of pictorial information
Step 6:Electronic signature, the electronic signature makes sample source unit first to start the electric signing tools of smart mobile phone Signature, then allows the sample-grabber to sign, and the signature and the signature of sample-grabber sample source unit are inserted for filling in disease The entry for being used for inputting electronic signature of the list of evil information;
Step 7:Address location is positioned, and the address location orientates sample-grabber as and starts the GPS module of smart mobile phone to be determined Position obtain the positional information where smart mobile phone and insert the described first list for being used for filling in defect information be used for input it is fixed In the entry of position information;
Step 8:Then in the case where network is obstructed, the mobile phone A pp for the list of filling in defect information to preserving
In the case of network service is normal, the mobile phone A pp for the list of filling in defect information being stored in smart mobile phone In, then being sent to for the list of filling in defect information in server, such message processing module just is used for filling out described The list for writing defect information is stored in disease sampling system list as the list having been filed on, for filling in defect information Before list is sent to server first information processing module using this be used for fill in defect information list sample number into spectrum as That does not submit is used for filling in the mark of the list of defect information;
Step 9:The sample-grabber start the backstage computer end be used for the login module of backstage computer end is logged in input it Name and password, it is then described to be used to logging in the login module of backstage computer end the name and password of input respectively with after described The name of sample-grabber in platform computer end compares with password, if the name and password of input are with adopting in the backstage computer end The name of sample person has consistent with password, starts the second message processing module with regard to that can enter in the backstage computer end, so Second message processing module just sends message of the request containing disease sampling form information to the server by network, The mark, for being used for filling in the list of defect information that the first information processing module of the server is not just submitted sample-grabber The list for being used for filling in defect information submitted is sent in the backstage computer end;In addition, sample-grabber can only see itself not The single information of disease sampling submitted and had been filed on;When need print be sent in the backstage computer end have been filed on be used for fill out When writing the list of defect information, the sample-grabber with the printer handle being connected with the backstage computer end just by being used for filling in The list of defect information is printed;
Step 10:The keeper start the backstage computer end be used for the login module of backstage computer end is logged in input it Name and password, it is then described to be used to logging in the login module of backstage computer end the name and password of input respectively with after described The name of keeper in platform computer end compares with password, if the name and password of input are with the pipe in the backstage computer end The name of reason person has consistent with password, starts the second message processing module with regard to that can enter in the backstage computer end, so Second message processing module just sends form information of the request containing disease sample information to the server by network Message, the table for being used for filling in defect information that the first information processing module of the server just has been filed on all sample-grabbers Single-shot is sent in the backstage computer end;
What so keeper can just check that all sample-grabbers for being sent to the backstage computer end have been filed on is used for filling in disease The list of information, if being used for of finding to have been filed on fills in the list of defect information and fill in wrong, just filling in wrong have been filed on Be used for fill in the list of defect information and be sent to the first smart mobile phone or computer end for filling in wrong sample-grabber, as not carrying Hand over be used for fill in defect information list allow sample-grabber carry out modified to filling in wrong list content, it is amended not The mark for the list for filling in defect information submitted is sent to server again by mobile phone A pp or computer end via network Save as the list for being used for filling in defect information having been filed on.
6. the method for aquatic animal disease sampling system according to claim 5, it is characterised in that sent when needing to print Into the backstage computer end have been filed on when being used for filling in the list of defect information, the keeper is just by with after described The printer that platform computer end is connected prints list;
One is that the list for being used for filling in defect information do not submitted being stored in smart mobile phone can be changed.Once it is formal Submit, then need keeper to be changed again after retracting.
7. the method for aquatic animal disease sampling system according to claim 6, it is characterised in that the sample-grabber starts The backstage computer end for the mode that logs in the login module of backstage computer end to input its name and password is stepped on WEB What the mode of record was carried out;The login module for being used to log in backstage computer end that the keeper starts the backstage computer end comes defeated The mode for entering its name and password is carried out in the way of WEB is logged in;
It is to obtain sample number into spectrum according to interacting for server in other step 3, must be carried out herein in the case where there is network Operation, otherwise because that can not obtain data without network, causes that the operation of next step can not be carried out, unique number is by server system Automatically generate, the sample number into spectrum recorded when this unique number is with sampling is consistent;
Other sample-grabber can only see the form information for being used for filling in defect information itself do not submitted, had been filed on;
In addition, keeper can see the list for being used for filling in defect information that all sample-grabbers have been filed on;
The other sample-grabber or keeper can also fill in being used for of having been filed on the list of defect information according to being previously set Form, is printed by the printer being connected with the backstage computer end.In addition, the list for filling in defect information In, newly-built record can carry out increase record quantity, and relevant information is entered in advance according to actual needs in the case where there is network state Row shifts to an earlier date typing, to accelerate the process that list is filled in during spot sampling;
Sample-grabber, personal keeper and unit information and account number cipher, the function of possessing are set in addition, keeper possesses The authority put, while authority as the sample ID of standardization can be set on backstage, in addition, keeper also possesses to whole The function that the sampling for thinking it unnecessary to want occurred in system operation is hidden and deleted with detection information, the information being hidden is still So can the person of being managed view, but not the person of being sampled sees, deleted information will as junk information by complete deletion, The information for being hidden or deleting is not appeared in final result form.
8. the method for aquatic animal disease sampling system according to claim 7, it is characterised in that the backstage computer end Second message processing module request sent to the server by network be used for filling in the form information of defect information Message and the server first information processing module all sample-grabbers do not submit be used for fill in defect information The mark of list, have been filed on be used for fill in defect information list be sent in the backstage computer end during, it is described after All it is that to transmit transmission, these ask to be used for filling in disease letter in the form of message packet between platform computer end and the server The message of the form information of breath, do not submit be used for fill in defect information list mark and have been filed on be used for fill in disease The list of information, its transmitting procedure comprises the following steps:
Step 1:It is 0 that duration statistical module and initial value are each configured in backstage computer end described first and the server Counting variable, disappeared between the backstage computer end and the server by the transmission in backstage computer end and the server Cease message a side towards obtain message packet a side transmission request message and obtain message packet a side towards transmission Izvestia The side transmission of text realizes the report between the backstage computer end and the server to the response message of request message response Include error code in the foundation of literary passage, the request message, for the message domain recognized and any code;The message packet In include for the message domain recognized, sequence of message number, any code and error code;
Step 2:It is determined that whetheing there is message packet must transmit, if message packet must be transmitted, branch in step 3 and carry out, if There is no message packet to transmit, branch to step 5 and go progress;
Step 3:Transmit message packet;
Step 4:Transmit inquiry message to realize that situation is retrieved, the inquiry message includes any code and error code;
Step 5:Transmission keeps the message of message passage to realize in the holding of message passage, the message of the holding message passage Including sequence of message number, any code and error code.
9. the method for aquatic animal disease sampling system according to claim 8, it is characterised in that the step 1 is included such as Lower step:
Step 1-1:Under conditions of it is determined that not transmitting request message also, branch in step 1-2 and carry out;If having transmitted request Message, goes in step 1-3 and carries out;
Step 1-2:The number of transmission request message repeatedly is set as the number that highest set in advance transmits request message repeatedly, And confirm the request message;
Step 1-3:Request message is transmitted, and synchronous operation duration statistical module is carried out from the duration started after transmission request message Statistics;
Step 1-4:Confirm to whether there is to get in request message and be used for the message domain that recognizes, if getting this to recognize Message domain, branches in step 1-6 and carries out;If not getting the message domain for being used for recognizing, branch to and enter in step 1-5 OK;
Step 1-5:The duration statistics of duration statistical module is determined either with or without reaching the duration of setting, if reached setting when It is long, just terminate the duration statistics of duration statistical module and the number of transmission request message repeatedly is subtracted one, then go to step 1-1 Go to carry out, if the not up to duration of setting, branch to and go to carry out in step 1-4;
Step 1-6:By the error code in the request message, the debugging to the request message is carried out, if do not found Mistake, branches in step 1-7 and performs;If having found mistake, branch in step 1-4 and carry out;
Step 1-7:The duration statistics of duration statistical module is terminated, in addition the number of transmission request message repeatedly is set as setting in advance Fixed highest transmits the number of request message repeatedly;
Step 1-8:The decoding to request message is carried out to determine;
The process of the confirmation transmission request message in the step 1-2 comprises the following steps:
Step 1-2-1:Progress is checked to the request message;
Step 1-2-2:It is mutually to be arranged in pairs or groups with the communication standard used to determine the request message, if mutually arranged in pairs or groups, is branched to Carried out in step 1-3;If do not arranged in pairs or groups mutually, just transmission removes the message of message passage to terminate the holding of message passage;
The step 1-8 comprises the following steps:
Step 1-8-1:Determine that any of request message when any code in the request message is with transmission is not It is identical, if identical, branches to step 1-8-2;If it is not the same, carrying out duration statistics with regard to operation duration statistical module and turning Carried out into step 1-4;
Step 1-8-2:It is determined that whether getting response message, if having got response message, branch in step 2 OK;If not getting response message, carry out duration statistics with regard to operation duration statistical module and go in step 1-4 to carry out;
The step 3 comprises the following steps:
Step 3-1:Message packet is transmitted, duration statistical module is run simultaneously in addition and carries out duration statistics;
Step 3-2:It is determined that whether get in message packet for the message domain that recognizes, if got in message packet For the message domain that recognizes, branch to and go to perform in step 1-6, if do not get in message packet for the report that recognizes Literary domain, branches to and goes to perform in step 1-5;
Step 3-3:Determine whether the duration statistics that duration statistical module is carried out has arrived duration set in advance, if having arrived pre- The duration first set, goes progress, if do not arrived in advance with regard to terminating duration statistical module progress duration statistics and going to step 3-8 The duration of setting, branches in step C-2 and carries out;
Step 3-4:Using the error code in message packet, the debugging to message packet is carried out, if not finding mistake, is just turned Carried out into step 3-5, if having found mistake, branch in step 3-2 and carry out;
Step 3-5:Terminate duration statistical module and carry out duration statistics;
Step 3-6:The decoding to message packet is carried out to determine;
Step 3-7:It is determined that the back message either with or without obtaining for message of receiveing the response, if obtained for report of receiveing the response The back message of text, proceeds to step 4 and carries out, if there is no the back message for message of receiveing the response, proceed to step Rapid 3-8 is carried out;
Step 3-8:The message implementation of intercepting that transmission is used for intercepting is intercepted, and the message of intercepting for intercepting includes arbitrarily Code, error code and sequence of message number;
The step 3-6 comprises the following steps:
Step 3-6-1:Determine any code in message packet be with request message any code-phase it is same, if identical, just Step 3-6-2 progress is transferred to, if it is not the same, proceeding to step 3-8;
Step 3-6-2:Determine whether carry sequence of message number in message packet, if sequence of message number, proceed to step 3-6-3 is carried out;If without sequence of message number, proceeding to step 3-8 progress;
Step 3-6-3:Determine whether wrong the sequence of message number in message packet is, if wrong, proceed to step 3-8 and enter OK;If errorless, step 3-6-4 progress is proceeded to;
Step 3-6-4:Determine message packet whether message packet, if message packet, branch to step 3-6-5 progress, If being not message packet, step 3-7 progress is branched to;
Step 3-6-5:The counting variable of one side of acquisition message packet is increased one;
It is the counting variable for the side for obtaining message packet to determine the whether wrong standard of the sequence of message number in message packet Whether the sequence of message number of the message packet that obtains is equal to;
The step 3-8 comprises the following steps:
Step 3-8-1:What transmission was used for intercepting intercepts message, and obtains and intercept the side order of message and carry out intercepting report to acquisition The determination of text and the debugging using the error code intercepted in message;
Step 3-8-2:It is determined that for any code for intercepting message intercepted be with request message any code-phase it is same, if It is identical, branch to step 3-8-3 progress;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 is carried out;
Step 3-8-3:It is determined that being intercepted for what is intercepted either with or without sequence of message number in message, if so, branching to step 3-8-4 Carry out;If not provided, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 progress;
Step 3-8-4:It is determined that whether wrong the sequence of message number intercepted in message is, if errorless, branch to step 3-8-5 and enter OK;If wrong, duration statistics is carried out with regard to starting duration statistical module and step 3-8-1 is gone to carrying out;
Step 3-8-5:It is determined that whether obtaining message packet, if obtaining message packet, branch to step 3-8-6 and enter OK;If not obtaining message packet, step 3-8-7 progress is branched to;
Step 3-8-6:The counting variable of one side of acquisition message packet is increased one;
Step 3-8-7:It is determined that whether obtaining previous message packet, if obtaining previous message packet, step is branched to Rapid 4 are carried out;If not obtaining previous message packet, step 3-1 progress is branched to;
It is determined that it is that wrong standard is the counting variable for obtaining the side for intercepting message to intercept the sequence of message number in message Whether the sequence of message number for intercepting message obtained is equal to;
The step 4 comprises the following steps:
Step 4-1:Inquiry message is transmitted, and obtains the side order of inquiry message and carries out the determination to obtaining inquiry message and profit With the debugging of the error code in inquiry message;
Step 4-2:Determine that the arbitrary code in inquiry message is identical with the random code of request message, if identical, just turn Carried out to step 4-3;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 4-1 progress;
Step 4-3:It is determined that the inquiry message of transmission is inquiry message or message packet, if inquiry message or disappearing Message is ceased, step 4-4 progress is branched to, if not inquiry message or message packet, just transmission removes the report of message passage Text terminates the holding of message passage;
Step 4-4:It is determined that the inquiry message of transmission is inquiry message, if inquiry message, branches to step 4-5 and enter OK;If not inquiry message, the counting variable of a side of acquisition message packet is increased one, then to transmitting the one of message packet Transmit for the back message for message of receiveing the response side;
Step 4-5:It is determined that transmitting the back message for message of receiveing the response either with or without failure, if do not failed, branch to Step 5 carry out;If it fails, branching to step 4-6 progress;
Step 4-6:The message in message packet is determined either with or without loss, if lost, just transmission removes the report of message passage Text terminates the holding of message passage;If do not lost, duration statistics is carried out with regard to starting duration statistical module and step is gone to 4-1 is carried out;
The step 5 comprises the following steps:
Step 5-1:Transmission keeps the message of message passage, and acquisition keeps the side order of the message of message passage to carry out to obtaining Go bail for the message for holding message passage determination with utilizing the debugging for keeping error code in the message of message passage;
Step 5-2:It is determined that keep any code in the message of message passage whether identical with any code of request message, if It is identical, branch to step 5-3 progress;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and being counted in duration Reach and step 5-1 progress is gone to after two seconds;
Step 5-3:It is determined that keeping whether having sequence of message number in the message of message passage, enter if so, branching to step 5-4 OK, if not provided, carrying out duration statistics and going to step 5-1 after duration statistics reaches two seconds to enter with regard to starting duration statistical module OK;
Step 5-4:It is determined that keeping the sequence of message number in the message of message passage whether wrong, if errorless, step is branched to Rapid 5-5 is carried out;If wrong, duration statistics is carried out with regard to starting duration statistical module and step is gone to after duration statistics reaches two seconds Rapid 5-1 is carried out;
Step 5-5:It is determined that whether getting message packet, if getting message packet, step 5-6 progress is branched to;Such as Fruit does not get message packet, carries out duration statistics with regard to starting duration statistical module and is gone to after duration statistics reaches two seconds Step 5-1 is carried out;
Step 5-6:The counting variable of one side of acquisition message packet is increased one;
Step 5-7:It is determined that need be transmitted either with or without message packet, carried out if so, branching to step 3;If not provided, to transmission One side of message packet is transmitted for the back message for message of receiveing the response;
It is determined that keeping the sequence of message number in the message of message passage to be that wrong standard is to obtain to keep message passage Whether the counting variable of one side of message is equal to the sequence of message number of the message of the holding message passage obtained.
10. the method for aquatic animal disease sampling system according to claim 9, it is characterised in that any code passes through Server transmits the one of request message and acquisition message packet towards the side for obtaining message packet in a side of transmission message packet Side towards transmission message packet a side transmission to request message respond response message when, server transmit first in any code Just as mark, server transmit first after the backstage computer end and the server between be intended to contain in the message that transmits There is the mark, in addition by determining that the mark is used to determine the backstage computer end used at present whether in transmission Izvestia One side of text is towards the side transmission request message for obtaining message packet and the side for obtaining message packet towards transmission message packet The backstage computer end used during the response message that one side transmission is responded to request message.
CN201710251819.9A 2017-04-18 2017-04-18 Aquatic animal disease sampling method Active CN107196994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710251819.9A CN107196994B (en) 2017-04-18 2017-04-18 Aquatic animal disease sampling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710251819.9A CN107196994B (en) 2017-04-18 2017-04-18 Aquatic animal disease sampling method

Publications (2)

Publication Number Publication Date
CN107196994A true CN107196994A (en) 2017-09-22
CN107196994B CN107196994B (en) 2021-05-07

Family

ID=59870984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710251819.9A Active CN107196994B (en) 2017-04-18 2017-04-18 Aquatic animal disease sampling method

Country Status (1)

Country Link
CN (1) CN107196994B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646477A (en) * 2013-11-14 2014-03-19 成都博约创信科技有限责任公司 Micro settlement system and method based on cloud platform
CN103778531A (en) * 2014-02-23 2014-05-07 王恩惠 Method and system for implementing electronic bank card payment on basis of two-dimensional code
CN104090532A (en) * 2014-06-06 2014-10-08 陕西北人印刷机械有限责任公司 Cloud service system applicable to packaging and printing machines and control method
CN104181419A (en) * 2014-08-19 2014-12-03 中华人民共和国无锡出入境检验检疫局 Intelligent monitoring system for durability test of electric tool and durability test device
CN104536403A (en) * 2014-12-15 2015-04-22 沈鹏 Water quality purification device intelligent monitoring and management system based on cloud
US20160196410A1 (en) * 2015-01-07 2016-07-07 Nestec S.A. System for monitoring and alerting users of dha levels

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646477A (en) * 2013-11-14 2014-03-19 成都博约创信科技有限责任公司 Micro settlement system and method based on cloud platform
CN103778531A (en) * 2014-02-23 2014-05-07 王恩惠 Method and system for implementing electronic bank card payment on basis of two-dimensional code
CN104090532A (en) * 2014-06-06 2014-10-08 陕西北人印刷机械有限责任公司 Cloud service system applicable to packaging and printing machines and control method
CN104181419A (en) * 2014-08-19 2014-12-03 中华人民共和国无锡出入境检验检疫局 Intelligent monitoring system for durability test of electric tool and durability test device
CN104536403A (en) * 2014-12-15 2015-04-22 沈鹏 Water quality purification device intelligent monitoring and management system based on cloud
US20160196410A1 (en) * 2015-01-07 2016-07-07 Nestec S.A. System for monitoring and alerting users of dha levels

Also Published As

Publication number Publication date
CN107196994B (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN106570944B (en) A kind of receive applied to express mail posts the System and method for for testing view
CN104009980B (en) Communication method and device based on social application
CN107548548A (en) Distributed system architecture for the monitoring of continuous glucose
CN105930681B (en) A kind of patient's self-assessment system and method
CN109214784A (en) A kind of method, client, server and the system of fire-fighting inspection management
CN102710646B (en) Method and system for collecting phishing websites
US7597258B2 (en) Confidential electronic election system
CN108564674A (en) A kind of intelligent attendance system based on comprehensive identification
CN107742329A (en) Work attendance management system and method based on geography fence and recognition of face
CN107563798A (en) Prize-winning data processing method and device
CN106372189A (en) Realization method of cloud diagnosis of transportation means and related device
CN103488677A (en) Project configuration method and device
CN105930313B (en) The method and apparatus of processing notification information
CN106815733A (en) Data processing method, device and system and printer
CN107493326A (en) Network voting processing method, device, server and computer-readable recording medium
CN102353436A (en) Method and instrument for analyzing medicament weighing record
CN109756840A (en) Mobile terminal is registered anti-cheating method, device, system, equipment and storage medium
CN106790439A (en) Aquatic products to be sampled and detect intelligent managing and control system and its method with medicament residue
CN104103097B (en) Instant type work efficiency management system and method
CN107196994A (en) Aquatic animal disease sampling system and its method
CN109213742A (en) Log collection method and device
CN106686062A (en) System for intelligently managing and controlling drug sampling and residual detection of aqueous products
CN107582079A (en) Depending on alertness detecting system
CN110084467B (en) Mobile label verification method, mobile label verification device, computer equipment and storage medium
CN106790449A (en) Aquatic products medicament residue managing and control system and its method

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