CN106686062A - System for intelligently managing and controlling drug sampling and residual detection of aqueous products - Google Patents
System for intelligently managing and controlling drug sampling and residual detection of aqueous products Download PDFInfo
- Publication number
- CN106686062A CN106686062A CN201611113227.2A CN201611113227A CN106686062A CN 106686062 A CN106686062 A CN 106686062A CN 201611113227 A CN201611113227 A CN 201611113227A CN 106686062 A CN106686062 A CN 106686062A
- Authority
- CN
- China
- Prior art keywords
- message
- sampling
- computer end
- carried out
- server
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N1/00—Sampling; Preparing specimens for investigation
- G01N1/02—Devices for withdrawing samples
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N1/00—Sampling; Preparing specimens for investigation
- G01N1/02—Devices for withdrawing samples
- G01N2001/021—Correlating sampling sites with geographical information, e.g. GPS
Abstract
The invention discloses a system for intelligently managing and controlling drug sampling and residual detection of aqueous products. The system includes a first intelligent mobile phone which is assigned to a first type worker and is provided with a camera and a GPS module, a second intelligent mobile phone which is assigned to a second type worker and is provided with a camera and a GPS module, a server and a backend computer end. The first intelligent mobile phone which is assigned to the first type worker and the second intelligent mobile phone which is assigned to a second type worker are connected to the server through a network. The server is in communication connection to the backend computer end which is also connected to a printer. The backend computer end includes names and code information of respective first type workers and managers, a login module which is intended for logging in the backend computer end and a second information processing module. The system, in combination with the method thereof, avoids the defects of insufficient intelligent functions and complexity of manual signature signing in data acquisition of prior art.
Description
Technical field
The present invention relates to aquatic products management and control technical field, more particularly to a kind of aquatic products medicine sampling and residue detection intelligence
Change managing and control system and its method.
Background technology
China is agricultural product big producing country, is also the production of pesticide and uses big country.Over 2010, China's aquatic products production
Total amount has leapt to the first in the world, and the aggregate consumption of wherein freshwater fish accounts for more than the 50% of total Aquatic products consumption amount.However,
With the development of agriculture large-scale production, the Pesticide Residue of aquaculture product becomes increasingly conspicuous, it has also become international and domestic society
The food safety hot issue of concern.
Pesticide residues in aquatic products are typically derived from two aspects, and first breeding process applies medicine to prevent and treat Aquatic product
The epidemic disease of product and insect pest, it two is that a large amount of pesticide applied in environment flow into breeding water body with rainwater shower.In breeding water body
Pesticide variety gradually increases, and most of pesticide has lipotropy feature, and as biological concentration and food chain are acted on, in water body
Pesticide by aquatic products be enriched with and by food chain accumulate, and then affect the mankind food safety.Developed country formulates in succession
Strict Pesticide Residue standard.
But now the means of the detection of the pesticide residues of aquatic products are completely dependent on craft so that the intellectuality of gathered data
Function is not enough, artificial signature complexity is high.
The content of the invention
To solve the above problems, the invention provides a kind of sampling of aquatic products medicine and residue detection intellectuality managing and control system
And its method, effectively prevent the defect that intelligent functions are not enough, artificial signature complexity is high of gathered data in prior art.
In order to overcome deficiency of the prior art, the invention provides a kind of sampling of aquatic products medicine and residue detection intelligence
Change the solution of managing and control system and its method, it is specific as follows:
A kind of aquatic products medicine sampling and residue detection intellectuality managing and control system, including:It is attached to first kind staff
The first smart mobile phone with photographic head and GPS module, server and backstage computer end;
First smart mobile phone for being attached to first kind staff is connected by network with server;
The server communicates connection with backstage computer end, and the backstage computer end is also connected with printer;
First smart mobile phone includes that the first login module, the first mobile phone App, first smart mobile phone are attached troops to a unit
The information including its job code, name and identification card number of first kind staff, single electronic watch of sampling as first
Single, the first electric signing tools and the first computational costs module;
The server includes numbering generation module, first information processing module and the data base as sample storehouse to be checked;
The backstage computer end includes the information of first kind staff and the respective name of manager and password, for stepping on
The login module and the second message processing module of record backstage computer end.
Described aquatic products medicine sampling and the method for residue detection intellectuality managing and control system, step is as follows:
Step 1:Spot sampling, the spot sampling is first kind staff to needing to carry out aquatic products drug residue inspection
The unit of survey or individual carry out the sampling to aquatic products drug residue, the unit for needing to carry out aquatic products drug residue detection
Or individual namely receives procuratorial organ;
Step 2:Mobile phone A pp working condition is logged into, the mobile phone A pp working condition that logs into is that aquatic products are adopted
The first kind staff starts the first login module to enter login interface during sample, the first kind work on login interface
Be input into its job code, name and identification card number as personnel, the first kind staff be input into its job code, name with
And after identification card number, first login module is the job code, name and identification card number being input into respectively with described first
The job code of the first kind staff that smart mobile phone is attached troops to a unit, name and identification card number compare, if unanimously just opening
Dynamic first mobile phone App;
Step 3:Data syn-chronization, the data syn-chronization is that after the first mobile phone App is started, the first mobile phone App leads to
The request message that network sends request sample number into spectrum to the server is crossed, the server receives the request sample number into spectrum
After request message, just start the numbering generation module and automatically generate a unique number, and using the unique number as sampling
The sample number into spectrum of Shi Jilu returns first mobile phone;Sample number into spectrum is obtained according to interacting for server, must had herein
Operated in the case of network, otherwise because data can not be obtained without network, cause that the operation of next step can not be carried out, uniquely
Numbering is automatically generated by server system, and this unique number is consistent with the sample number into spectrum recorded during sampling.
Step 4:Sample information is filled in, the sample information of filling in is sample number into spectrum of the first mobile phone App return
Automatically it is filled in the entry for input sample numbering of the first sampling list and opens the first sampling list, then the first kind
Staff is input to sample information in the single entry for input sample information of first sampling;And described first
Class staff by procuratorial organ's information input to the described first sampling it is single for being input in the entry by procuratorial organ's information;
Step 5:Taking Pictures recording, the Taking Pictures recording is shooting of the first kind staff with the first smart mobile phone
Head come shoot raiser, the picture of the sample of the pool mouth and sampling of aquaculture product and shoot picture insert the first sampling list
For being input into the entry of pictorial information in;
Step 6:Sampling expense is calculated automatically, and the sampling expense is calculated as first kind staff and starts the first intelligence automatically
Can mobile phone the first computational costs module come calculate this collection sample expense and be automatically filled in the first sampling list for
In the entry of input sample expense, then the reimbursement of expense of the sample of the sampling to raiser;
Step 7:Electronic signature, the electronic signature is foster to allow for the first electric signing tools for starting the first smart mobile phone
Grow family first to sign, then allow the first kind staff to sign, and the label of the signature raiser and first kind staff
Name inserts the entry for being input into electronic signature of the first sampling list;
Step 8:Address location positions, and the address location orientates first kind staff as and starts the first smart mobile phone
GPS module come carry out positioning obtain positional information that the first smart mobile phone is located and insert first sampling it is single for being input into
In the entry of location information;
Step 9:Then in the case where network is obstructed, the first mobile phone App is singly preserved to the first sampling;
In the case of network service is normal, the first mobile phone App is singly stored in the first smart mobile phone the first sampling
In, then the first sampling single-shot is sent in server, such first information processing module is just the described first sampling nonoculture
The sampling having been filed on singly is stored in sample storehouse to be checked, the first information processing module before the first sampling single-shot is sent to server
Using the single sample number into spectrum of first sampling as the single mark of the sampling do not submitted to;
Step 10:The first kind staff starts the login for logging in backstage computer end of the backstage computer end
Module inputing its name and password, the then name and password of the login module input for logging in backstage computer end
Compare with password with the name of the first kind staff in the backstage computer end respectively, if the name and password of input are same
The name of the first kind staff in the backstage computer end has consistent with password, can just enter into the backstage computer end
The second message processing module of middle startup, so described second message processing module is just sent to the server by network and is asked
The message of the single information of sampling, the sampling list that the first information processing module of the server does not just submit first kind staff to
Mark, the single and allocated sampling single-shot of the sampling that has been filed on be sent in the backstage computer end, the allocated sampling
Single sampling submitted for first kind staff is singly assigned to Equations of The Second Kind staff carries out sampling list to be detected simultaneously
Storage is in the server;
When the mark, the allocated sampling list that need to print the sampling list do not submitted to being sent in the backstage computer end
Or have been filed on sampling list when, the first kind staff is just by the printer that is connected with the backstage computer end adopting
Sample list is printed;
When needs print the sampling expense in the allocated sampling list being sent in the backstage computer end or have been filed on
Sampling list in sampling expense when, first kind staff printer just by being connected with the backstage computer end
Sampling expense is printed;
Step 11:The manager starts the login module for logging in backstage computer end of the backstage computer end and comes defeated
Enter its name and password, it is then described for logging in the login module of backstage computer end the name and password of input same institute respectively
The name for stating the manager 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 manager have consistent with password, can just enter in the backstage computer end and start the second message processing module,
So described second message processing module just sends the message of the single information of request sampling, the clothes by network to the server
The mark of the sampling list that the first information processing module of business device does not just submit all first kind staff to, the sampling having been filed on
Single and allocated sampling single-shot is sent in the backstage computer end;
So manager can just check and be sent to the sampling that the first kind staff of the backstage computer end does not submit to
The mark of list or the sampling list having been filed on.
Sampling in the sampling list being stored in the first smart mobile phone singly can be changed.
The first kind staff starts the login module for logging in backstage computer end of the backstage computer end and comes
The mode for inputing its name and password is carried out in the way of WEB is logged in.
The present invention finally realizes the intelligentized function of aquatic products residue detection, also has electronic signature efficiency high and side in addition
Just advantage.
Description of the drawings
Fig. 1 is the connection diagram of the aquatic products medicine sampling of the present invention and residue detection intellectuality managing and control system;
Specific embodiment
The present invention is described further below in conjunction with accompanying drawing.
1 understand with reference to the accompanying drawings, the aquatic products medicine of the present invention is sampled and residue detection intellectuality managing and control system, including:Match somebody with somebody
Belong to first smart mobile phone with photographic head and GPS module of first kind staff, server and backstage computer end;
First smart mobile phone for being attached to first kind staff is connected by network with server;
The server communicates connection with backstage computer end, and the backstage computer end is also connected with printer;
First smart mobile phone includes that the first login module, the first mobile phone App, first smart mobile phone are attached troops to a unit
The information including its job code, name and identification card number of first kind staff, single electronic watch of sampling as first
Single, the first electric signing tools and the first computational costs module;
The server includes numbering generation module, first information processing module and the data base as sample storehouse to be checked;
The backstage computer end includes the information of first kind staff and the respective name of manager and password, for stepping on
The login module and the second message processing module of record backstage computer end.
The first kind staff is only responsible for the sampling work of aquatic products drug residue.
It is described first sampling singly include for input sample numbering entry, the entry for input sample information, for
Input by the entry of procuratorial organ's information, the entry for being input into pictorial information, the entry for input sample expense, for being input into electricity
Entry, the entry for being input into location information and the entry for being input into testing result that son is signed.
The sample information include sample ID, sample specification, sampling place, the sample place of production, authentication scenario, can be defeated manually
Sample body length, whose body weight, quantity of sampling quantity and the information as sampling radix for entering;It is described by procuratorial organ's information include may be selected or
It is manually entered by inspection unit or personal name, address, unit legal person and information as contact method.
Described aquatic products medicine sampling and the method for residue detection intellectuality managing and control system, step is as follows:
Step 1:Spot sampling, the spot sampling is first kind staff to needing to carry out aquatic products drug residue inspection
The unit of survey or individual carry out the sampling to aquatic products drug residue, the unit for needing to carry out aquatic products drug residue detection
Or individual namely receives procuratorial organ;
Step 2:Mobile phone A pp working condition is logged into, the mobile phone A pp working condition that logs into is that aquatic products are adopted
The first kind staff starts the first login module to enter login interface during sample, the first kind work on login interface
Be input into its job code, name and identification card number as personnel, the first kind staff be input into its job code, name with
And after identification card number, first login module is the job code, name and identification card number being input into respectively with described first
The job code of the first kind staff that smart mobile phone is attached troops to a unit, name and identification card number compare, if unanimously just opening
Dynamic first mobile phone App;
Step 3:Data syn-chronization, the data syn-chronization is that after the first mobile phone App is started, the first mobile phone App leads to
The request message that network sends request sample number into spectrum to the server is crossed, the server receives the request sample number into spectrum
After request message, just start the numbering generation module and automatically generate a unique number, and using the unique number as sampling
The sample number into spectrum of Shi Jilu returns first mobile phone;Sample number into spectrum is obtained according to interacting for server, must had herein
Operated in the case of network, otherwise because data can not be obtained without network, cause that the operation of next step can not be carried out, uniquely
Numbering is automatically generated by server system, and this unique number is consistent with the sample number into spectrum recorded during sampling.
Step 4:Sample information is filled in, the sample information of filling in is sample number into spectrum of the first mobile phone App return
Automatically it is filled in the entry for input sample numbering of the first sampling list and opens the first sampling list, then the first kind
Staff is input to sample information in the single entry for input sample information of first sampling;And described first
Class staff by procuratorial organ's information input to the described first sampling it is single for being input in the entry by procuratorial organ's information;
Step 5:Taking Pictures recording, the Taking Pictures recording is shooting of the first kind staff with the first smart mobile phone
Head come shoot raiser, the picture of the sample of the pool mouth and sampling of aquaculture product and shoot picture insert the first sampling list
For being input into the entry of pictorial information in;
Step 6:Sampling expense is calculated automatically, and the sampling expense is calculated as first kind staff and starts the first intelligence automatically
Can mobile phone the first computational costs module come calculate this collection sample expense and be automatically filled in the first sampling list for
In the entry of input sample expense, then the reimbursement of expense of the sample of the sampling to raiser;
Step 7:Electronic signature, the electronic signature is foster to allow for the first electric signing tools for starting the first smart mobile phone
Grow family first to sign, then allow the first kind staff to sign, and the label of the signature raiser and first kind staff
Name inserts the entry for being input into electronic signature of the first sampling list;
Step 8:Address location positions, and the address location orientates first kind staff as and starts the first smart mobile phone
GPS module come carry out positioning obtain positional information that the first smart mobile phone is located and insert first sampling it is single for being input into
In the entry of location information;
Step 9:Then in the case where network is obstructed, the first mobile phone App is singly preserved to the first sampling;
In the case of network service is normal, the first mobile phone App is singly stored in the first smart mobile phone the first sampling
In, then the first sampling single-shot is sent in server, such first information processing module is just the described first sampling nonoculture
The sampling having been filed on singly is stored in sample storehouse to be checked, the first information processing module before the first sampling single-shot is sent to server
Using the single sample number into spectrum of first sampling as the single mark of the sampling do not submitted to;
Step 10:The first kind staff starts the login for logging in backstage computer end of the backstage computer end
Module inputing its name and password, the then name and password of the login module input for logging in backstage computer end
Compare with password with the name of the first kind staff in the backstage computer end respectively, if the name and password of input are same
The name of the first kind staff in the backstage computer end has consistent with password, can just enter into the backstage computer end
The second message processing module of middle startup, so described second message processing module is just sent to the server by network and is asked
The message of the single information of sampling, the sampling list that the first information processing module of the server does not just submit first kind staff to
Mark, the single and allocated sampling single-shot of the sampling that has been filed on be sent in the backstage computer end, the allocated sampling
Single sampling submitted for first kind staff is singly assigned to Equations of The Second Kind staff carries out sampling list to be detected simultaneously
Storage is in the server;
When the mark, the allocated sampling list that need to print the sampling list do not submitted to being sent in the backstage computer end
Or have been filed on sampling list when, the first kind staff is just by the printer that is connected with the backstage computer end adopting
Sample list is printed;
When needs print the sampling expense in the allocated sampling list being sent in the backstage computer end or have been filed on
Sampling list in sampling expense when, first kind staff printer just by being connected with the backstage computer end
Sampling expense is printed;
Step 11:The manager starts the login module for logging in backstage computer end of the backstage computer end and comes defeated
Enter its name and password, it is then described for logging in the login module of backstage computer end the name and password of input same institute respectively
The name for stating the manager 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 manager have consistent with password, can just enter in the backstage computer end and start the second message processing module,
So described second message processing module just sends the message of the single information of request sampling, the clothes by network to the server
The mark of the sampling list that the first information processing module of business device does not just submit all first kind staff to, the sampling having been filed on
Single and allocated sampling single-shot is sent in the backstage computer end;
So manager can just check and be sent to the sampling that the first kind staff of the backstage computer end does not submit to
The mark of list or the sampling list having been filed on.
Sampling in the sampling list being stored in the first smart mobile phone singly can be changed.
The first kind staff starts the login module for logging in backstage computer end of the backstage computer end and comes
The mode for inputing its name and password is carried out in the way of WEB is logged in.
The present invention finally realizes the intelligentized function of aquatic products residue detection, also has electronic signature efficiency high and side in addition
Just function.
In addition at present second message processing module of backstage computer end sends request by network to the server
The single message of information of sampling and the first information processing module of the server are all first kind staff or Equations of The Second Kind
The single mark of sampling that staff does not submit to, allocated sampling list and the sampling single-shot having been filed on are sent to the backstage computer
All it is to transmit to send these requests in message packet form between the backstage computer end and the server during in end
The single mark of the message of the single information of sampling, the sampling do not submitted to, allocated sampling list and the sampling that has been filed on are single, and with
When message packet form is transmitted, it occur frequently that the problem of the sequence confusion of message packet is lost, obtained to message packet so that described
Message packet transmission between backstage computer end and the server is broken down, it is impossible to normally obtain message packet.
Second message processing module of the backstage computer end sends request sampling to the server by network
The sampling that the first information processing module of the message of single information and the server does not submit all first kind staff to
During single mark, allocated sampling list and the sampling single-shot having been filed on are sent in the backstage computer end, the backstage
All be between computer end and the server in the form of message packet come transmit the message for sending these single information of request sampling,
The single mark of the sampling do not submitted to, allocated sampling list and the sampling that has been filed on are single, and its transmitting procedure comprises the steps:
Step 1:Duration statistical module and initial is each configured in backstage computer end described first and the server
It is worth the counting variable for 0, by backstage computer end and the server between the backstage computer end and the server
One side of transmission message packet is towards the side transmission request message for obtaining message packet and obtains a side of message packet towards transmission
One side of message packet transmit the response message to request message response realize the backstage computer end and the server it
Between message passage foundation, error code is included in the request message, for the message domain that recognizes and any code;It is described to disappear
Message domain for recognizing, sequence of message number, any code and error code are included in breath message;
Step 2:It is determined that whether there is message packet must transmit, if message packet must be transmitted, branch to be carried out in step 3,
If must transmit without message packet, branch to step 5 and go to carry out;
Step 3:Transmission message packet;
Step 4:Transmit inquiry message to realize situation retrieval, 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 steps:
Step 1-1:Under conditions of it is determined that also not transmitting request message, branch to be carried out in step 1-2;If having transmitted
Request message, going in step 1-3 is carried out;
Step 1-2:The number for transmitting request message repeatedly is set as highest set in advance and transmits request message repeatedly
Number, and confirm the request message;
Step 1-3:Transmission request message, and run simultaneously duration statistical module carry out from start transmit request message after
Duration is counted;
Step 1-4:Confirmation whether there is get in request message for the message domain that recognizes, if getting this for knowing
Other message domain, branches to be carried out in step 1-6;If not getting this for the message domain that recognizes, step 1-5 is branched to
In carry out;
Step 1-5:The duration for determining duration statistical module is counted either with or without the duration of setting is reached, if having reached setting
Duration, just terminate the duration statistics of duration statistical module and the number for transmitting request message repeatedly subtracted one, then go to step
Rapid 1-1 goes to carry out, if the not up to duration of setting, branches to 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 had
Mistake is found, branches to be performed in step 1-7;If having found mistake, branch to be carried out in step 1-4;
Step 1-7:Terminate the duration statistics of duration statistical module, the number for transmitting request message repeatedly is set as in addition pre-
The highest for first setting transmits the number of request message repeatedly;
Step 1-8:Carry out the decoding to request message to determine.
The process of the confirmation transmission request message in step 1-2 comprises the steps:
Step 1-2-1:Carry out checking the request message;
Step 1-2-2:Determine whether the request message mutually arranges in pairs or groups with the communication standard for adopting, if mutually arranged in pairs or groups, just
Going in step 1-3 is carried out;If mutually do not arranged in pairs or groups, the message of transmission removal message passage is terminated to the holding of message passage;
Step 1-8 comprises the steps:
Step 1-8-1:Determine any code in the request message whether with any of request message during transmission
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 in step 1-4 and carry out;
Step 1-8-2:It is determined that whether response message is got, if having got response message, in branching to step 2
Carry out;If not getting response message, carry out duration statistics and go in step 1-4 with regard to operation duration statistical module to carry out;
The step 3 comprises the steps:
Step 3-1:Transmission message packet, duration statistical module is run simultaneously in addition 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 go to perform in step 1-6, if do not get in message packet for recognizing
Message domain, branch to be gone in step 1-5 perform;
Step 3-3:Whether the duration statistics that determining 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 to carry out, if do not arrived with regard to terminating duration statistical module
Duration set in advance, branches to be carried out in step C-2;
Step 3-4:Using the error code in message packet, the debugging to message packet is carried out, if not finding mistake,
Branch to be carried out in step 3-5, if having found mistake, branch to be carried out in step 3-2;
Step 3-5:Terminating duration statistical module carries out duration statistics;
Step 3-6:Carry out the decoding to message packet to determine;
Step 3-7:It is determined that be used for the back message of message of receiveing the response either with or without obtaining, if obtained disappear for responding
The back message of breath message, proceeding to step 4 is carried out, if there is no the back message for message of receiveing the response, is just turned
Entering step 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 appointing
Meaning code, error code and sequence of message number;
Step 3-6 comprises the steps:
Step 3-6-1:Determine whether same with any code-phase of request message any code in message packet is, if phase
Together, proceeding to step 3-6-2 is carried out, if it is not the same, proceeding to step 3-8;
Step 3-6-2:Whether determine in message packet with sequence of message number, 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 is carried out;
Step 3-6-3:Determine whether wrong the sequence of message number in message packet is, if wrong, proceeds to step 3-8
Carry out;If errorless, proceeding to step 3-6-4 is carried out;
Step 3-6-4:Determine that message packet is message packet, if message packet, branch to step 3-6-5 and enter
OK, if being not message packet, branching to step 3-7 is carried out;
Step 3-6-5:The counting variable of one side of acquisition message packet is increased one;
Determine that the whether wrong standard of the sequence of message number in message packet is the counting of the side for obtaining message packet
Whether variable is equal to the sequence of message number of the message packet for obtaining;
Step 3-8 comprises the 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 detecing acquisition
Listen the determination and the debugging using the error code intercepted in message of message;
Step 3-8-2:It is determined that whether same with any code-phase of request message any code for intercepting message for intercepting is,
If identical, branching to step 3-8-3 is carried out;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 intercept either with or without sequence of message number in message for what is intercepted, if it has, branching to step
3-8-4 is carried out;If it did not, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 carrying out;
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, branching to step 3-8-7 is carried out;
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, branching to step 3-1 is carried out;
It is determined that intercept sequence of message number in message be wrong standard be the counting for obtaining the side for intercepting message
Whether variable is equal to the sequence of message number for intercepting message for obtaining;
The step 4 comprises the steps:
Step 4-1:Transmission inquiry message, and the side order of acquisition inquiry message carries out the determination to obtaining 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,
Branching to step 4-3 is carried out;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 4-1 carrying out;
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, branching to step 4-4 is carried out, and if not inquiry message or message packet, just transmission removes message passage
Message terminating 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 transmitting message packet
One side is transmitted for the back message of message of receiveing the response;
Step 4-5:It is determined that transmission be used for receive the response message back message either with or without failure, if do not failed, just
Going to step 5 is carried out;If it fails, branch to step 4-6 carrying out;
Step 4-6:The message in message packet is determined either with or without loss, if lost, just transmission removes message passage
Message terminating the holding of message passage;If do not lost, duration statistics is carried out with regard to starting duration statistical module and is gone to
Step 4-1 is carried out;
The step 5 comprises the 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 in the message for keeping 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, branching to step 5-3 is carried out;If it is not the same, carrying out duration statistics and in duration with regard to starting duration statistical module
Statistics goes to step 5-1 and carries out after reaching two seconds;
Step 5-3:It is determined that keep whether having sequence of message number in the message of message passage, if it has, branching to step
5-4 is carried out, if it did not, 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
Carry out to step 5-5;If wrong, duration statistics carried out with regard to starting duration statistical module and is turned after duration statistics reaches two seconds
Carry 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 two seconds is reached in duration statistics
After go to step 5-1 and carry 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 transmit either with or without message packet, if it has, branch to step 3 carrying out;If it did not, right
One side of transmission message packet is transmitted for the back message of message of receiveing the response;
It is determined that the standard for keeping the sequence of message number in the message of message passage whether wrong 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 for obtaining.
Any code the side by server in transmission message packet ask towards the side transmission for obtaining message packet
When one side of message and acquisition message packet transmits the response message to request message response towards a side of transmission message packet, 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 to, containing the mark, be used to determine the backstage electricity of current employing through determining the mark in addition in the message transmitted between device
Whether transmit request message towards the side for obtaining message packet and obtain message packet in the side for transmitting message packet in brain end
A side towards a side of transmission message packet transmit the response message to request message response when the backstage computer end that adopts.
Such method can improve the message packet transmission performance of the backstage computer end and the server, preferably just
Sharp staff, stationary performance is good during transmitting in addition, can efficiently prevent transmission from not reaching stable state.
The sample information includes sample number into spectrum, sample ID, sampling classification, sampling place, sample time or sample
Body weight gain as information;It is described to be included by as inspection organization, address or contact person by procuratorial organ's information
Information.
The mode of the expense of the sample for calculating the sampling is arranged not for system manager in background management system
With the unit price and maximum limit price of Aquatic product kind and different size.The sample message that system is filled according to staff, with
The unit price of corresponding description is multiplied by sampling weight and obtains the concrete expense of the sample, if exceeding maximum limit price, with
Maximum limit price is used as this sample expense.
It is in addition to obtain sample number into spectrum according to interacting for server in 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 this unique number is consistent with the sample number into spectrum recorded during sampling.
In addition, first kind staff can only see and itself not submitting to, having been filed on and allocated sampling list information.
Above the present invention is described in the way of illustrating, it will be understood by those of skill in the art that the disclosure
Embodiments described above is not limited to, in the case of without departing from the scope of the present invention, can be made a variety of changes, change and be replaced
Change.
Claims (10)
1. a kind of aquatic products medicine is sampled and residue detection intellectuality managing and control system, it is characterised in that included:It is attached to the first kind
First smart mobile phone with photographic head and GPS module of staff, server and backstage computer end;
First smart mobile phone for being attached to first kind staff is connected by network with server;
The server communicates connection with backstage computer end, and the backstage computer end is also connected with printer;
First smart mobile phone includes first that the first login module, the first mobile phone App, first smart mobile phone are attached troops to a unit
The information including its job code, name and identification card number of class staff, as the single electronic spreadsheet of the first sampling, the
One electric signing tools and the first computational costs module;
The server includes numbering generation module, first information processing module and the data base as sample storehouse to be checked;
The backstage computer end is including the information of first kind staff and the respective name of manager and password, after for login
The login module of platform computer end and the second message processing module.
2. aquatic products medicine according to claim 1 is sampled and residue detection intellectuality managing and control system, it is characterised in that institute
State the sampling work that first kind staff is only responsible for aquatic products drug residue.
3. aquatic products medicine according to claim 2 is sampled and residue detection intellectuality managing and control system, it is characterised in that institute
State the first sampling singly include for input sample numbering entry, the entry for input sample information, for being input into by procuratorial organ
The entry of information, the entry for being input into pictorial information, the entry for input sample expense, the bar for being input into electronic signature
Mesh, the entry for being input into location information and the entry for being input into testing result.
4. aquatic products medicine according to claim 3 is sampled and residue detection intellectuality managing and control system, it is characterised in that institute
Sample information is stated including sample ID, sample specification, sampling place, the sample place of production, authentication scenario, the sample body that can be manually entered
Length, whose body weight, quantity of sampling quantity and information as sampling radix;It is described to be included may be selected or be manually entered to receive by procuratorial organ's information
Inspection unit or personal name, address, unit legal person and information as contact method.
5. the method for aquatic products medicine according to claim 3 sampling and residue detection intellectuality managing and control system, its feature
It is that step is as follows:
Step 1:Spot sampling, the spot sampling is first kind staff to needing to carry out aquatic products drug residue detection
Unit or individual carry out the sampling to aquatic products drug residue, the unit or individual for needing to carry out aquatic products drug residue detection
People namely receives procuratorial organ;
Step 2:Mobile phone A pp working condition is logged into, the mobile phone A pp working condition that logs into is that aquatic products were sampled
First kind staff described in journey starts the first login module to enter login interface, the first kind work people on login interface
Member is input into its job code, name and identification card number, and the first kind staff is input into its job code, name and body
After part card number, first login module is the job code, name and identification card number being input into respectively with the described first intelligence
The job code of the first kind staff that mobile phone is attached troops to a unit, name and identification card number compare, if consistent just start the
One mobile phone App;
Step 3:Data syn-chronization, the data syn-chronization is that after the first mobile phone App is started, the first mobile phone App passes through net
Network sends the request message of request sample number into spectrum to the server, and the server receives the request of the request sample number into spectrum
After message, just start the numbering generation module and automatically generate a unique number, and using the unique number as note during sampling
The sample number into spectrum of record returns first mobile phone;Sample number into spectrum is obtained according to interacting for server, there must be network herein
In the case of operated, otherwise because data can not be obtained without network, cause that the operation of next step, unique number can not be carried out
Automatically generated by server system, this unique number is consistent with the sample number into spectrum recorded during sampling;
Step 4:Sample information is filled in, the sample information of filling in is the first mobile phone App sample number into spectrum for returning is automatic
It is filled in the entry for input sample numbering of the first sampling list and opens the first sampling list, then the first kind work
Personnel are input to sample information in the single entry for input sample information of first sampling;And the first kind work
Make personnel by procuratorial organ's information input to the described first sampling it is single for being input in the entry by procuratorial organ's information;
Step 5:Taking Pictures recording, the Taking Pictures recording is that the first kind staff comes with the photographic head of the first smart mobile phone
Shoot raiser, the picture of the sample of the pool mouth and sampling of aquaculture product and the picture for shooting is inserted the use of the first sampling list
In to be input into the entry of pictorial information;
Step 6:Sampling expense is calculated automatically, and the sampling expense is calculated as first kind staff and starts the first intelligent handss automatically
First computational costs module of machine come calculate this collection sample expense and be automatically filled in the first sampling list for being input into
In the entry of sampling expense, then the reimbursement of expense of the sample of the sampling to raiser;
Step 7:Electronic signature, the electronic signature allows raiser to start the first electric signing tools of the first smart mobile phone
First sign, then allow the first kind staff to sign, and the signature of the signature raiser and first kind staff is filled out
Enter the entry for being input into electronic signature of the first sampling list;
Step 8:Address location positions, and the address location orientates the GPS that first kind staff starts the first smart mobile phone as
Module obtains positional information that the first smart mobile phone is located and inserts single fixed for being input into of first sampling to carry out positioning
In the entry of position information;
Step 9:Then in the case where network is obstructed, the first mobile phone App is singly preserved to the first sampling;
In the case of network service is normal, the first mobile phone App is singly stored in the first sampling in the first smart mobile phone, so
The first sampling single-shot is sent in server afterwards, such first information processing module is just to have been filed on the described first sampling nonoculture
Sampling be singly stored in sample storehouse to be checked, before the first sampling single-shot is sent to server first information processing module this
The single sample number into spectrum of one sampling is used as the single mark of the sampling do not submitted to;
Step 10:The first kind staff starts the login module for logging in backstage computer end of the backstage computer end
To input its name and password, then the login module for logging in backstage computer end distinguishes the name and password of input
Compare with password with the name of the first kind staff in the backstage computer end, if the name and password of input are with described
The name of the first kind staff in the computer end of backstage has consistent with password, can just enter into and be opened in the backstage computer end
Dynamic second message processing module, so described second message processing module just sends request sampling to the server by network
The message of single information, the single mark of the sampling that the first information processing module of the server does not just submit first kind staff to
The single and allocated sampling single-shot of sampling know, having been filed on is sent in the backstage computer end, and the allocated sampling is singly
The submitted sampling of first kind staff is singly assigned to Equations of The Second Kind staff and carries out sampling list to be detected and store
In the server;
When needing to print the single mark of the sampling do not submitted to being sent in the backstage computer end, allocated sampling list or
During the sampling list of submission, the first kind staff is just single sampling by the printer being connected with the backstage computer end
Print;
When the sampling expense for needing to print in the allocated sampling list that is sent in the backstage computer end or adopting of having been filed on
During sampling expense in sample list, the first kind staff is just by the printer that is connected with the backstage computer end adopting
Sample expense is printed;
Step 11:The manager start the backstage computer end for logging in the login module of backstage computer end being input into it
Name and password, it is then described for logging in the login module of backstage computer end the name and password of input respectively with after described
The name of the manager 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, can just enter in the backstage computer end and start the second message processing module, so
Second message processing module just sends the message of the single information of request sampling, the server by network to the server
The single mark of first information processing module sampling that just all first kind staff are not submitted to, the sampling list that has been filed on and
Allocated sampling single-shot is sent in the backstage computer end;
So manager can just check the sampling list that the first kind staff for being sent to the backstage computer end does not submit to
Mark or the sampling list having been filed on.
6. the method for aquatic products medicine according to claim 5 sampling and residue detection intellectuality managing and control system, its feature
It is that the sampling being stored in the sampling in the first smart mobile phone singly can be changed.
7. the method for aquatic products medicine according to claim 6 sampling and residue detection intellectuality managing and control system, its feature
Be the first kind staff start the backstage computer end for logging in the login module of backstage computer end being input into
The mode of its name and password is carried out in the way of WEB is logged in;The mode of the expense of the sample for calculating the sampling
According to the unit price of water, summer flower and kind to be multiplied by quantity respectively, when result of calculation samples expense less than highest, from calculating
As a result expense, selects highest sampling expense if exceeding.
8. the method for aquatic products medicine according to claim 7 sampling and residue detection intellectuality managing and control system, its feature
It is that second message processing module of the backstage computer end sends the single letter of request sampling to the server by network
The sampling list that the first information processing module of the message of breath and the server does not submit all first kind staff to
During mark, allocated sampling list and the sampling single-shot having been filed on are sent in the backstage computer end, the backstage computer
All it is that to transmit transmission, these are asked the message of the single information of sampling, do not carry in the form of message packet between end and the server
The single mark of the sampling of friendship, allocated sampling list and the sampling that has been filed on are single, and its transmitting procedure comprises the 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 by the transmission in backstage computer end and the server between the backstage computer end and the server
One side of breath message is towards the side transmission request message for obtaining message packet and the side for obtaining message packet towards transmission Izvestia
One side of text transmits the response message to request message response to realize the report between the backstage computer end and the server
The foundation of literary passage, includes error code, for the message domain that recognizes and any code in the request message;The message packet
In include message domain for recognizing, sequence of message number, any code and error code;
Step 2:It is determined that whether there is message packet must transmit, if message packet must be transmitted, branch to be carried out in step 3, if
Must transmit without message packet, branch to step 5 and go to carry out;
Step 3:Transmission message packet;
Step 4:Transmit inquiry message to realize situation retrieval, 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, in the message of the holding message passage
Including sequence of message number, any code and error code.
9. the method for aquatic products medicine according to claim 8 sampling and residue detection intellectuality managing and control system, its feature
It is that the step 1 comprises the steps:
Step 1-1:Under conditions of it is determined that also not transmitting request message, branch to be carried out in step 1-2;If having transmitted request
Message, going in step 1-3 is carried out;
Step 1-2:The number for transmitting request message repeatedly is set as the number that highest set in advance transmits request message repeatedly,
And the confirmation request message;
Step 1-3:Transmitting request message, and run simultaneously duration statistical module is carried out from the duration started after transmission request message
Statistics;
Step 1-4:Confirmation whether there is get in request message for the message domain that recognizes, if getting this for recognizing
Message domain, branches to be carried out in step 1-6;If not getting this for the message domain that recognizes, branch to enter in step 1-5
OK;
Step 1-5:Determine the duration statistics of duration statistical module 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 for transmitting request message repeatedly is subtracted one, then go to step 1-1
Go to carry out, if the not up to duration of setting, branches to 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 to be performed in step 1-7;If having found mistake, branch to be carried out in step 1-4;
Step 1-7:Terminate the duration statistics of duration statistical module, in addition the number for transmitting request message repeatedly is set as setting in advance
Fixed highest transmits the number of request message repeatedly;
Step 1-8:Carry out the decoding to request message to determine;
The process of the confirmation transmission request message in step 1-2 comprises the steps:
Step 1-2-1:Carry out checking the request message;
Step 1-2-2:Determine whether the request message mutually arranges in pairs or groups with the communication standard for adopting, if mutually arranged in pairs or groups, branch to
Carry out in step 1-3;If mutually do not arranged in pairs or groups, the message of transmission removal message passage is terminated to the holding of message passage;
Step 1-8 comprises the steps:
Step 1-8-1:Determine whether any code in the request message is not with any of request message during transmission
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
Carry out in step 1-4;
Step 1-8-2:It is determined that whether getting response message, if having got response message, branch to enter in step 2
OK;If not getting response message, carry out duration statistics and go in step 1-4 with regard to operation duration statistical module to carry out;
The step 3 comprises the steps:
Step 3-1:Transmission message packet, duration statistical module is run simultaneously in addition 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 go to perform in step 1-6, if do not get in message packet for the report that recognizes
Literary domain, branches to go to perform in step 1-5;
Step 3-3:Whether the duration statistics that determining duration statistical module is carried out has arrived duration set in advance, if having arrived pre-
The duration for first setting, carries out duration statistics and goes to step 3-8 to go to carry out, if do not arrived in advance with regard to termination duration statistical module
The duration of setting, branches to be carried out in step C-2;
Step 3-4:Using the error code in message packet, the debugging to message packet is carried out, if not finding mistake, just turned
Carry out in step 3-5, if having found mistake, branch to be carried out in step 3-2;
Step 3-5:Terminating duration statistical module carries out duration statistics;
Step 3-6:Carry out the decoding to message packet to determine;
Step 3-7:It is determined that it is used for the back message of message of receiveing the response either with or without obtaining, if obtained for report of receiveing the response
The back message of text, proceeding to step 4 is carried out, if there is no the back message for message of receiveing the response, proceeds 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;
Step 3-6 comprises the steps:
Step 3-6-1:Determine whether same with any code-phase of request message any code in message packet is, if identical, just
Proceeding to step 3-6-2 is carried out, if it is not the same, proceeding to step 3-8;
Step 3-6-2:Whether determine in message packet with sequence of message number, 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 is carried out;
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, proceeding to step 3-6-4 is carried out;
Step 3-6-4:Determine that message packet is message packet, if message packet, branching to step 3-6-5 is carried out,
If being not message packet, branching to step 3-7 is carried out;
Step 3-6-5:The counting variable of one side of acquisition message packet is increased one;
Determine that the whether wrong standard of the sequence of message number in message packet is the counting variable of the side for obtaining message packet
Whether the sequence of message number of the message packet that obtain is equal to;
Step 3-8 comprises the 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 whether same with any code-phase of request message any code for intercepting message for intercepting is, if
Identical, branching to step 3-8-3 is carried out;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 intercept either with or without sequence of message number in message for what is intercepted, if it has, branching to step 3-8-4
Carry out;If it did not, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 carrying out;
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, branching to step 3-8-7 is carried out;
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, branching to step 3-1 is carried out;
It is determined that intercept sequence of message number in message be wrong standard be the counting variable for obtaining the side for intercepting message
Whether the sequence of message number of intercepting message that obtain is equal to;
The step 4 comprises the steps:
Step 4-1:Transmission inquiry message, and the side order of acquisition inquiry message 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
Carry 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 carrying out;
Step 4-3:It is determined that the inquiry message of transmission is inquiry message or message packet, if inquiry message or disappearing
Breath message, branching to step 4-4 is carried out, and if not inquiry message or message packet, just transmission removes the report of message passage
Text is terminating 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 of message of receiveing the response side;
Step 4-5:It is determined that transmission be used for receive the response message back message either with or without failure, if do not failed, branch to
Step 5 carry out;If it fails, branch to step 4-6 carrying out;
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 is terminating 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 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
The debugging of the error code gone bail in the determination of the message for holding message passage and the message of utilization holding 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, branching to step 5-3 is carried out;If it is not the same, carrying out duration statistics and in duration statistics with regard to starting duration statistical module
Step 5-1 is gone to after reaching two seconds to be carried out;
Step 5-3:It is determined that keep whether having sequence of message number in the message of message passage, if it has, branch to step 5-4 entering
OK, if it did not, 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, branching to step 5-6 is carried out;Such as
Fruit does not get message packet, carries out duration statistics with regard to starting duration statistical module and goes 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 transmit either with or without message packet, if it has, branch to step 3 carrying out;If it did not, to transmission
One side of message packet is transmitted for the back message of message of receiveing the response;
It is determined that the standard for keeping the sequence of message number in the message of message passage whether wrong 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 for obtaining.
10. the method for aquatic products medicine according to claim 9 sampling and residue detection intellectuality managing and control system, its feature
It is that a side of any code by server in transmission message packet transmits request message towards the side for obtaining message packet
During the response message responded to request message towards the side transmission of transmission message packet with the side for obtaining message packet, server
First transmit in any code just as mark, server transmit first after the backstage computer end and the server between
It is intended to, containing the mark, be used to determine the backstage computer end of current employing through determining the mark in addition in the message of transmission
Whether the one of request message and acquisition message packet is transmitted towards the side for obtaining message packet in the side for transmitting message packet
The backstage computer end adopted during the response message to request message response is transmitted towards a side of transmission message packet in side;
It is in addition to obtain sample number into spectrum according to interacting for server in step 3, must carries out in the case where there is network herein
Operation, otherwise because obtaining data without network, causes that the operation of next step can not be carried out, and unique number is by server system
Automatically generate, this unique number is consistent with the sample number into spectrum recorded during sampling;
In addition, first kind staff can only see and itself not submitting to, having been filed on and allocated sampling list information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611113227.2A CN106686062B (en) | 2016-12-06 | 2016-12-06 | Intelligent management and control system and method for aquatic product drug sampling and residue detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611113227.2A CN106686062B (en) | 2016-12-06 | 2016-12-06 | Intelligent management and control system and method for aquatic product drug sampling and residue detection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106686062A true CN106686062A (en) | 2017-05-17 |
CN106686062B CN106686062B (en) | 2020-01-07 |
Family
ID=58867881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611113227.2A Active CN106686062B (en) | 2016-12-06 | 2016-12-06 | Intelligent management and control system and method for aquatic product drug sampling and residue detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106686062B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109239315A (en) * | 2018-09-30 | 2019-01-18 | 国网冀北电力有限公司检修分公司 | A kind of transformer oil sample method for inspecting and system |
CN113984978A (en) * | 2021-09-14 | 2022-01-28 | 湖南孚谷物联科技有限公司 | Food safety intelligent management and control key technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080320093A1 (en) * | 2007-06-20 | 2008-12-25 | Goolara, Llc | Controlling the sending of electronic mail |
CN204731822U (en) * | 2015-05-29 | 2015-10-28 | 北京联信智源科技有限公司 | A kind of agricultural product quality and safety monitoring sampling terminal system |
CN205193841U (en) * | 2015-11-16 | 2016-04-27 | 成都荣为信息技术有限公司 | Information -based collection system of sample |
CN105825364A (en) * | 2016-03-08 | 2016-08-03 | 天津智达科技有限公司 | Sampling module of cloud intelligent management platform |
-
2016
- 2016-12-06 CN CN201611113227.2A patent/CN106686062B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080320093A1 (en) * | 2007-06-20 | 2008-12-25 | Goolara, Llc | Controlling the sending of electronic mail |
CN204731822U (en) * | 2015-05-29 | 2015-10-28 | 北京联信智源科技有限公司 | A kind of agricultural product quality and safety monitoring sampling terminal system |
CN205193841U (en) * | 2015-11-16 | 2016-04-27 | 成都荣为信息技术有限公司 | Information -based collection system of sample |
CN105825364A (en) * | 2016-03-08 | 2016-08-03 | 天津智达科技有限公司 | Sampling module of cloud intelligent management platform |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109239315A (en) * | 2018-09-30 | 2019-01-18 | 国网冀北电力有限公司检修分公司 | A kind of transformer oil sample method for inspecting and system |
CN113984978A (en) * | 2021-09-14 | 2022-01-28 | 湖南孚谷物联科技有限公司 | Food safety intelligent management and control key technology |
Also Published As
Publication number | Publication date |
---|---|
CN106686062B (en) | 2020-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104239768B (en) | Personal account information safety management system and method based on biological information verification | |
CN106656562B (en) | A kind of OLT batch issues the detection method and device of ONU configuration | |
CN109936621A (en) | Multi-page information push method, device, equipment and the storage medium of information security | |
CN109729044A (en) | A kind of general internet data acquisition is counter to climb system and method | |
CN104050548A (en) | System and method for work attendance management | |
CN106372189A (en) | Realization method of cloud diagnosis of transportation means and related device | |
CN107154080A (en) | A kind of work attendance based on NFC is registered system and method | |
CN108932760A (en) | Work attendance method and terminal based on recognition of face | |
CN109145590A (en) | A kind of function hook detection method, detection device and computer-readable medium | |
CN106940643A (en) | Logical APP systems between the police and the people | |
CN109034769A (en) | Transaction data processing method, device, storage medium and electronic equipment | |
CN107861700A (en) | A kind of automatic printing device and automatic printing method based on network service system | |
CN109491733A (en) | Based on visual interface display method and relevant device | |
RU2008137598A (en) | DATA SUBMISSION SYSTEM, SERVER AND SOFTWARE | |
CN106686062A (en) | System for intelligently managing and controlling drug sampling and residual detection of aqueous products | |
CN107040434A (en) | Terminal computer actual bandwidth remote centralized acquisition system and method | |
CN106790439B (en) | Intelligent management and control system and method for aquatic product sampling and drug residue detection | |
CN107871344B (en) | Anti-substitute-printing attendance checking method for intelligent monitoring management | |
CN107294905A (en) | A kind of method and device for recognizing user | |
CN102480383A (en) | Log information message processing method and device | |
CN105373900A (en) | Enterprise administrator information acquisition publishing system | |
CN106790449A (en) | Aquatic products medicament residue managing and control system and its method | |
CN106571971A (en) | Empty shell website detection method, device and system | |
CN106790440A (en) | Aquatic products intellectuality managing and control system and its method | |
CN108460854A (en) | The attendance punch card method and system of mobile terminal based on wireless network |
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 |