CN106790439B - Intelligent management and control system and method for aquatic product sampling and drug residue detection - Google Patents

Intelligent management and control system and method for aquatic product sampling and drug residue detection Download PDF

Info

Publication number
CN106790439B
CN106790439B CN201611106328.7A CN201611106328A CN106790439B CN 106790439 B CN106790439 B CN 106790439B CN 201611106328 A CN201611106328 A CN 201611106328A CN 106790439 B CN106790439 B CN 106790439B
Authority
CN
China
Prior art keywords
message
sampling
staff
type
information
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.)
Active
Application number
CN201611106328.7A
Other languages
Chinese (zh)
Other versions
CN106790439A (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 Road Far Software Co Ltd
CHANGZHOU WUJIN DISTRICT AQUATIC PRODUCT TECHNOLOGY PROMOTION STATION
Original Assignee
Changzhou Road Far Software Co Ltd
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 Road Far Software Co Ltd, CHANGZHOU WUJIN DISTRICT AQUATIC PRODUCT TECHNOLOGY PROMOTION STATION filed Critical Changzhou Road Far Software Co Ltd
Priority to CN201611106328.7A priority Critical patent/CN106790439B/en
Publication of CN106790439A publication Critical patent/CN106790439A/en
Application granted granted Critical
Publication of CN106790439B publication Critical patent/CN106790439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An aquatic product sampling and drug residue detection intelligent management and control system and a method thereof are disclosed, wherein a first smart phone with a camera and a GPS module is attached to a first class of workers, a second smart phone with a camera and a GPS module is attached to a second class of workers, a server and a background computer terminal are provided; the first smart phone attached to the first type of staff and the second smart phone attached to the second type of staff are connected with the server through a network; the server is in communication connection with a background computer end, and the background computer end is also connected with a printer; the method effectively overcomes the defect of insufficient intelligent functions in the prior art.

Description

Intelligent management and control system and method for aquatic product sampling and drug residue detection
Technical Field
The invention relates to the technical field of aquatic product management and control, in particular to an aquatic product sampling and drug residue detection intelligent management and control system and method.
Background
China is a big country for producing agricultural products and is also a big country for producing and using pesticides. In 2010, the total amount of aquatic products in China leaps the world first, wherein the total consumption of fresh water aquatic products accounts for more than 50% of the total consumption of aquatic products. However, with the development of agricultural large-scale production, the problem of pesticide residue of aquatic products for cultivation is increasingly prominent, and the problem becomes a hot spot problem for food safety concerned by international and domestic society.
The pesticide residue in the aquatic products generally comes from two aspects, one is that the pesticide is applied in the culture process to prevent and control epidemic diseases and insect pests of the aquatic products, and the other is that a large amount of pesticide applied in the environment flows into the culture water body along with rainwater showering. The variety of pesticides in the aquaculture water body is gradually increased, most pesticides have the characteristic of lipophilicity, and along with the action of biological enrichment and a food chain, the pesticides in the water body are enriched by aquatic products and accumulated through the food chain, so that the food safety of human beings is influenced. Strict pesticide residue limit standards are established in developed countries.
However, the existing means for detecting the pesticide residue of the aquatic product completely depends on manual operation, so that the intelligent function is insufficient.
Disclosure of Invention
In order to solve the problems, the invention provides an intelligent management and control system and method for aquatic product sampling and drug residue detection, and the defect of insufficient intelligent functions in the prior art is effectively overcome.
In order to overcome the defects in the prior art, the invention provides an intelligent management and control system for aquatic product sampling and drug residue detection and a solution of the intelligent management and control system and the intelligent management and control method, which specifically comprise the following steps:
the utility model provides an intelligent management and control system of aquatic products sampling and drug residue detection, includes: the system comprises a first smart phone with a camera and a GPS module, which is attached to a first type of staff, a second smart phone with a camera and a GPS module, which is attached to a second type of staff, a server and a background computer end;
the first smart phone attached to the first type of staff and the second smart phone attached to the second type of staff are connected with the server through a network;
the server is in communication connection with a background computer end, and the background computer end is also connected with a printer;
the first smart phone comprises a first login module, a first phone App, information including a work number, a name and an identification number of a first type of staff affiliated to the first smart phone, an electronic form serving as a first sampling list, a first electronic signature tool and a first calculation expense module;
the second smart phone comprises a second login module, a second mobile phone App, information including a work number, a name and an identification number of a second type of staff attached to the second smart phone, an electronic form serving as a second sampling list, a second electronic signature tool and a second calculation expense module;
the server comprises a serial number generation module, a first information processing module and a database serving as a sample library to be detected;
the background computer end comprises name and password information of first-class workers, second-class workers and administrators, a login module for logging in the background computer end and a second information processing module.
The method of the aquatic product sampling and drug residue detection intelligent management and control system comprises the following steps:
step 1: sampling on site, wherein the sampling on site is carried out from a first type of staff or a second type of staff to a unit or an individual needing aquatic product drug residue detection, and the unit or the individual needing aquatic product drug residue detection is the detected party;
step 2: the method comprises the steps that a mobile phone App working state is entered in a login mode, a first type of staff starts a first login module or a second type of staff starts a second login module to enter a login interface in the process of sampling aquatic products, the first type of staff inputs work numbers, names and identification numbers of the first type of staff or the second type of staff inputs the work numbers, the names and the identification numbers of the second type of staff on the login interface, after the first type of staff inputs the work numbers, the names and the identification numbers of the first type of staff, the first login module compares the input work numbers, the names and the identification numbers with the work numbers, the names and the identification numbers of the first type of staff attached to a first smart phone respectively, and if the work numbers, the first mobile phone App is started;
after the second type of staff inputs the work number, the name and the identity card number of the second type of staff, the second login module compares the input work number, the input name and the input identity card number with the work number, the input name and the input identity card number of the second type of staff which are attached to the second smart phone respectively, and if the input work number, the input name and the input identity card number are consistent, the second smart phone App is started;
and step 3: after a first mobile phone App or a second mobile phone App is started, the first mobile phone App or the second mobile phone App sends a request message for requesting a sample number to the server through a network, and after the server receives the request message for requesting the sample number, the server starts the number generation module to automatically generate a unique number and returns the unique number to the first mobile phone or the second mobile phone as the sample number recorded during sampling;
and 4, step 4: filling sampling information, wherein the filling sampling information is that the first mobile phone App automatically fills the returned sample number into the item for inputting the sample number of the first sampling list, opens the first sampling list or the second mobile phone App automatically fills the returned sample number into the item for inputting the sample number of the second sampling list and opens the second sampling list, and then the first type of staff inputs the sample information into the item for inputting the sampling information of the first sampling list or the second type of staff inputs the sampling information into the item for inputting the sampling information of the second sampling list; and the first type of staff enters the information of the detected party into the item of the first sampling list for inputting the information of the detected party or the second type of staff enters the information of the detected party into the item of the second sampling list for inputting the information of the detected party;
and 5: shooting records, wherein the shooting records are that the first type of staff uses a camera of a first smart phone to shoot pictures of the farmer, the mouth of the farmer aquatic product and the sampled sample and fills the shot pictures into the item of the first sampling list used for inputting the picture information, or the second type of staff uses a camera of a second smart phone to shoot pictures of the farmer, the mouth of the farmer aquatic product and the sampled sample and fills the shot pictures into the item of the second sampling list used for inputting the picture information;
step 6: the method comprises the following steps of automatically calculating sampling cost, wherein the sampling cost is automatically calculated by starting a first calculation cost module of a first smart phone by a first type of staff to calculate the cost of a sample collected at this time and automatically filling the cost into an item of a first sampling list for inputting the sampling cost or starting a second calculation cost module of a second smart phone by a second type of staff to calculate the cost of the sample collected at this time and automatically fill the cost into an item of a second sampling list for inputting the sampling cost, and then paying the cost of the sample to a farmer;
and 7: the electronic signature is used for starting a first electronic signature tool of a first smart phone to enable the farmer to sign first, enabling the first type of staff to sign, and filling the signature of the farmer and the signature of the first type of staff into an item of a first sampling list for inputting the electronic signature;
or starting a second electronic signature tool of a second smart phone to enable the farmer to sign first, then enabling the first class of staff to sign, and filling the signature of the farmer and the signature of the second class of staff into an item of a second sampling list for inputting the electronic signature;
and 8: the method comprises the steps that address position positioning is carried out, wherein a first type of staff starts a GPS module of a first smart phone to carry out positioning to obtain position information of the first smart phone and fills the position information into an item of a first sampling list, wherein the item is used for inputting positioning information;
or starting a GPS module of a second smart phone for a second type of staff to perform positioning to obtain the position information of the second smart phone and filling the position information into the item of the second sampling list for inputting the positioning information;
and step 9: then, under the condition that the network is not connected, the first mobile phone App stores the first sampling list or the second mobile phone App stores the second sampling list;
under the condition that network communication is normal, the first mobile phone App stores a first sampling list in a first smart mobile phone or the second mobile phone App stores a second sampling list in a second smart mobile phone, then the first sampling list or the second sampling list is sent to a server, so that the first information processing module stores the first sampling list or the second sampling list as a submitted sampling list in a sample to-be-detected library, and before the first sampling list or the second sampling list is sent to the server, the first information processing module takes the sample number of the first sampling list or the sample number in the second sampling list as the identifier of the uncommitted sampling list;
step 10: the first class of working personnel starts a login module of the background computer end for logging in the background computer end to input names and passwords of the working personnel, then the login module for logging in the background computer end compares the input names and passwords with the names and passwords of the first class of working personnel in the background computer end respectively, if the input names and passwords are consistent with the names and passwords of the first class of working personnel in the background computer end, the second information processing module can enter the background computer end to start a second information processing module, so that the second information processing module sends a message for requesting sampling list information to the server through a network, and the first information processing module of the server sends the identification of the sampling list which is not submitted by the first class of working personnel, the distributed sampling list and the submitted sampling list to the background computer end, the distributed sampling list is a first sampling list distributed to the second type of staff by the first type of staff and is stored in the server, or other second sampling lists distributed to the second type of staff by the second type of staff are stored in the server;
the second type of staff starts a login module of the background computer end for logging in the background computer end to input names and passwords of the second type of staff, then the login module for logging in the background computer end compares the input names and passwords with the names and passwords of the second type of staff in the background computer end respectively, if the input names and passwords are consistent with the names and passwords of the second type of staff in the background computer end, the second type of staff can enter the background computer end to start a second information processing module, so that the second information processing module sends a message for requesting sampling list information to the server through a network, and a first information processing module of the server sends the identifiers of the first type of staff, the sampling lists which are not submitted by the second type of staff, the submitted sampling lists and the sample lists to be detected to the background computer end, the sample list to be detected is a first sample list which is selected from the sample lists submitted by the first type of staff and distributed to the second type of staff and is stored in the server, or a second sample list which is selected from the sample lists submitted by the second type of staff and distributed to the second type of staff and is stored in the server;
when the identification of the uncommitted sampling list, the distributed sampling list or the submitted sampling list which is sent to the background computer end needs to be printed, the first type of staff or the second type of staff prints the sampling list through a printer which is connected with the background computer end;
when the sampling cost in the distributed sampling list or the sampling cost in the submitted sampling list which is sent to the background computer end needs to be printed, the first type of staff or the second type of staff prints the sampling cost through a printer connected with the background computer end;
step 11: the administrator starts a login module of the background computer end for logging in the background computer end to input the name and the password of the administrator, then the login module of the background computer end respectively compares the input name and the password with the name and the password of the administrator in the background computer end, if the input name and the password are consistent with the name and the password of the administrator in the background computer end, the administrator can enter the background computer end to start a second information processing module, so that the second information processing module sends a message requesting for sampling list information to the server through a network, and a first information processing module of the server sends the identification of the sampling list which is not submitted by all first-type workers or second-type workers, the submitted sampling list and the distributed sampling list to the background computer end;
thus, the administrator can check the identification of the sampling list which is not submitted by the first type of staff or the second type of staff and is sent to the background computer end and the submitted sampling list, if the identification of the sampling list which is not submitted and the submitted sampling list are wrongly filled, the identification of the sampling list which is not submitted and the submitted sampling list which are wrongly filled are sent to the first smart phone or the computer end of the first type of staff which are wrongly filled, or in a second smart phone or a computer terminal of a second class of staff, so that the first class of staff or the second class of staff modify the identifiers of the uncommitted sampling lists filled with errors and the submitted sampling lists, and the modified identifiers of the uncommitted sampling lists filled with errors and the submitted sampling lists are sent to the server through the first mobile phone App or the second mobile phone App or the computer terminal through the network and are stored in the sample library to be checked again;
step 12: the second class of staff can also select the message of sampling list to the server sending request through starting second information processing module, then first information processing module just sends the sample to examine the submitted sampling list in storehouse to the backstage computer end, and second class of staff just chooses in the sampling list storehouse submitted like this as the assigned sampling list of examining, and second class of staff selects the sample of examining from the assigned sampling list of examining under the account number of oneself again and waits to examine the sample and generate original record list, and original record list information mainly contains: the second type of staff fills in items used for inputting detection information in the original record sheet after the detection is finished, the original record sheet before the filling is a sample sheet to be detected, the manager checks the original record sheet after the filling is finished, if the original record information filled by the second type of staff is unqualified during the checking by the manager, the record is returned to allow the second type of staff to modify the original record sheet until the checking by the manager is not wrong, the original record sheet after the filling is finished before the checking is the original record sheet to be checked by the manager, and the original record sheet without the checking is the checked original record sheet, and the second type of staff also sends the audited original record list to the server for storage through the second information processing module.
The sampling list stored in the first smart phone or the sampling list stored in the second smart phone can be modified.
The first class of workers starts a login module of the background computer end for logging in the background computer end to input names and passwords of the first class of workers in a WEB login mode; the second type of staff starts a login module of the background computer end for logging in the background computer end to input the name and the password of the second type of staff in a WEB login mode.
The invention finally realizes the functions of intellectualization and integration of rapid detection of aquatic product residues, and solves the problems of untimely data information transmission and large workload of manual operation in work.
Drawings
FIG. 1 is a schematic connection diagram of an intelligent management and control system for aquatic product sampling and drug residue detection according to the present invention;
Detailed Description
The invention will be further explained with reference to the drawings.
According to the attached figure 1, the aquatic product sampling and drug residue detection intelligent management and control system comprises: the system comprises a first smart phone with a camera and a GPS module, which is attached to a first type of staff, a second smart phone with a camera and a GPS module, which is attached to a second type of staff, a server and a background computer end;
the first smart phone attached to the first type of staff and the second smart phone attached to the second type of staff are connected with the server through a network;
the server is in communication connection with a background computer end, and the background computer end is also connected with a printer;
the first smart phone comprises a first login module, a first phone App, information including a work number, a name and an identification number of a first type of staff affiliated to the first smart phone, an electronic form serving as a first sampling list, a first electronic signature tool and a first calculation expense module;
the second smart phone comprises a second login module, a second mobile phone App, information including a work number, a name and an identification number of a second type of staff affiliated to the second smart phone, an electronic form serving as a second sampling list, a second electronic signature tool and a second calculation expense module;
the server comprises a serial number generation module, a first information processing module and a database serving as a sample library to be detected;
the background computer end comprises name and password information of first-class workers, second-class workers and administrators, a login module for logging in the background computer end and a second information processing module.
The first class of staff is only responsible for the remaining sampling work of aquatic products medicine, the second class of staff is not only responsible for the remaining sampling work of aquatic products medicine, still is responsible for the remaining detection achievement of aquatic products medicine.
The first sampling list comprises an item for inputting a sample number, an item for inputting sampling information, an item for inputting information of a detected party, an item for inputting picture information, an item for inputting sampling expense, an item for inputting an electronic signature, an item for inputting positioning information and an item for inputting a detection result;
the second sampling sheet includes an entry for inputting a sample number, an entry for inputting sampling information, an entry for inputting subject information, an entry for inputting picture information, an entry for inputting a sampling fee, an entry for inputting an electronic signature, an entry for inputting positioning information, and an entry for inputting a detection result.
The sampling information comprises information such as a sample name, a sample specification, a sampling place, a sample producing area, an authentication condition, a sample length which can be manually input, an individual weight, a sampling quantity and a sampling base number; the information of the detected party comprises information of the name, the address, the legal person of the unit and the contact information of the detected unit or the personal which can be selected or manually input.
The method of the aquatic product sampling and drug residue detection intelligent management and control system comprises the following steps:
step 1: sampling on site, wherein the sampling on site is carried out from a first type of staff or a second type of staff to a unit or an individual needing aquatic product drug residue detection, and the unit or the individual needing aquatic product drug residue detection is the detected party;
step 2: the method comprises the steps that a mobile phone App working state is entered in a login mode, a first type of staff starts a first login module or a second type of staff starts a second login module to enter a login interface in the process of sampling aquatic products, the first type of staff inputs work numbers, names and identification numbers of the first type of staff or the second type of staff inputs the work numbers, the names and the identification numbers of the second type of staff on the login interface, after the first type of staff inputs the work numbers, the names and the identification numbers of the first type of staff, the first login module compares the input work numbers, the names and the identification numbers with the work numbers, the names and the identification numbers of the first type of staff attached to a first smart phone respectively, and if the work numbers, the first mobile phone App is started;
after the second type of staff inputs the work number, the name and the identity card number of the second type of staff, the second login module compares the input work number, the input name and the input identity card number with the work number, the input name and the input identity card number of the second type of staff which are attached to the second smart phone respectively, and if the input work number, the input name and the input identity card number are consistent, the second smart phone App is started;
and step 3: after a first mobile phone App or a second mobile phone App is started, the first mobile phone App or the second mobile phone App sends a request message for requesting a sample number to the server through a network, and after the server receives the request message for requesting the sample number, the server starts the number generation module to automatically generate a unique number and returns the unique number to the first mobile phone or the second mobile phone as the sample number recorded during sampling; and acquiring a sample number according to interaction with the server, wherein the operation must be carried out under the condition of a network, otherwise, the next operation cannot be carried out due to the fact that no network exists and data cannot be acquired, and the unique number is automatically generated by the server system and is consistent with the sample number recorded during sampling.
And 4, step 4: filling sampling information, wherein the filling sampling information is that the first mobile phone App automatically fills the returned sample number into the item for inputting the sample number of the first sampling list, opens the first sampling list or the second mobile phone App automatically fills the returned sample number into the item for inputting the sample number of the second sampling list and opens the second sampling list, and then the first type of staff inputs the sample information into the item for inputting the sampling information of the first sampling list or the second type of staff inputs the sampling information into the item for inputting the sampling information of the second sampling list; and the first type of staff enters the information of the detected party into the item of the first sampling list for inputting the information of the detected party or the second type of staff enters the information of the detected party into the item of the second sampling list for inputting the information of the detected party;
and 5: shooting records, wherein the shooting records are that the first type of staff uses a camera of a first smart phone to shoot pictures of the farmer, the mouth of the farmer aquatic product and the sampled sample and fills the shot pictures into the item of the first sampling list used for inputting the picture information, or the second type of staff uses a camera of a second smart phone to shoot pictures of the farmer, the mouth of the farmer aquatic product and the sampled sample and fills the shot pictures into the item of the second sampling list used for inputting the picture information;
step 6: the method comprises the following steps of automatically calculating sampling cost, wherein the sampling cost is automatically calculated by starting a first calculation cost module of a first smart phone by a first type of staff to calculate the cost of a sample collected at this time and automatically filling the cost into an item of a first sampling list for inputting the sampling cost or starting a second calculation cost module of a second smart phone by a second type of staff to calculate the cost of the sample collected at this time and automatically fill the cost into an item of a second sampling list for inputting the sampling cost, and then paying the cost of the sample to a farmer;
and 7: the electronic signature is used for starting a first electronic signature tool of a first smart phone to enable the farmer to sign first, enabling the first type of staff to sign, and filling the signature of the farmer and the signature of the first type of staff into an item of a first sampling list for inputting the electronic signature;
or starting a second electronic signature tool of a second smart phone to enable the farmer to sign first, then enabling the first class of staff to sign, and filling the signature of the farmer and the signature of the second class of staff into an item of a second sampling list for inputting the electronic signature;
and 8: the method comprises the steps that address position positioning is carried out, wherein a first type of staff starts a GPS module of a first smart phone to carry out positioning to obtain position information of the first smart phone and fills the position information into an item of a first sampling list, wherein the item is used for inputting positioning information;
or starting a GPS module of a second smart phone for a second type of staff to perform positioning to obtain the position information of the second smart phone and filling the position information into the item of the second sampling list for inputting the positioning information;
and step 9: then, under the condition that the network is not connected, the first mobile phone App stores the first sampling list or the second mobile phone App stores the second sampling list;
under the condition that network communication is normal, the first mobile phone App stores a first sampling list in a first smart mobile phone or the second mobile phone App stores a second sampling list in a second smart mobile phone, then the first sampling list or the second sampling list is sent to a server, so that the first information processing module stores the first sampling list or the second sampling list as a submitted sampling list in a sample to-be-detected library, and before the first sampling list or the second sampling list is sent to the server, the first information processing module takes the sample number of the first sampling list or the sample number in the second sampling list as the identifier of the uncommitted sampling list;
step 10: the first class of working personnel starts a login module of the background computer end for logging in the background computer end to input names and passwords of the working personnel, then the login module for logging in the background computer end compares the input names and passwords with the names and passwords of the first class of working personnel in the background computer end respectively, if the input names and passwords are consistent with the names and passwords of the first class of working personnel in the background computer end, the second information processing module can enter the background computer end to start a second information processing module, so that the second information processing module sends a message for requesting sampling list information to the server through a network, and the first information processing module of the server sends the identification of the sampling list which is not submitted by the first class of working personnel, the distributed sampling list and the submitted sampling list to the background computer end, the distributed sampling list is a first sampling list distributed to the second type of staff by the first type of staff and is stored in the server, or other second sampling lists distributed to the second type of staff by the second type of staff are stored in the server;
the second type of staff starts a login module of the background computer end for logging in the background computer end to input names and passwords of the second type of staff, then the login module for logging in the background computer end compares the input names and passwords with the names and passwords of the second type of staff in the background computer end respectively, if the input names and passwords are consistent with the names and passwords of the second type of staff in the background computer end, the second type of staff can enter the background computer end to start a second information processing module, so that the second information processing module sends a message for requesting sampling list information to the server through a network, and a first information processing module of the server sends the identifiers of the first type of staff, the sampling lists which are not submitted by the second type of staff, the submitted sampling lists and the sample lists to be detected to the background computer end, the sample list to be detected is a first sample list which is selected from the sample lists submitted by the first type of staff and distributed to the second type of staff and is stored in the server, or a second sample list which is selected from the sample lists submitted by the second type of staff and distributed to the second type of staff and is stored in the server;
when the identification of the uncommitted sampling list, the distributed sampling list or the submitted sampling list which is sent to the background computer end needs to be printed, the first type of staff or the second type of staff prints the sampling list through a printer which is connected with the background computer end;
when the sampling cost in the distributed sampling list or the sampling cost in the submitted sampling list which is sent to the background computer end needs to be printed, the first type of staff or the second type of staff prints the sampling cost through a printer connected with the background computer end;
step 11: the administrator starts a login module of the background computer end for logging in the background computer end to input the name and the password of the administrator, then the login module of the background computer end respectively compares the input name and the password with the name and the password of the administrator in the background computer end, if the input name and the password are consistent with the name and the password of the administrator in the background computer end, the administrator can enter the background computer end to start a second information processing module, so that the second information processing module sends a message requesting for sampling list information to the server through a network, and a first information processing module of the server sends the identification of the sampling list which is not submitted by all first-type workers or second-type workers, the submitted sampling list and the distributed sampling list to the background computer end;
thus, the administrator can check the identification of the sampling list which is not submitted by the first type of staff or the second type of staff and is sent to the background computer end and the submitted sampling list, if the identification of the sampling list which is not submitted and the submitted sampling list are wrongly filled, the identification of the sampling list which is not submitted and the submitted sampling list which are wrongly filled are sent to the first smart phone or the computer end of the first type of staff which are wrongly filled, or in a second smart phone or a computer terminal of a second class of staff, so that the first class of staff or the second class of staff modify the identifiers of the uncommitted sampling lists filled with errors and the submitted sampling lists, and the modified identifiers of the uncommitted sampling lists filled with errors and the submitted sampling lists are sent to the server through the first mobile phone App or the second mobile phone App or the computer terminal through the network and are stored in the sample library to be checked again;
and the second class of workers not only have the authority of the workers, but also have a detection function. And after the sampling list is sent to a warehouse for storage, checking the serial number of the sampling list, and recording corresponding information. And storing the sample in a sample to be detected library after submitting.
Step 12: the second class of staff can also select the message of sampling list to the server sending request through starting second information processing module, then first information processing module just sends the sample to examine the submitted sampling list in storehouse to the backstage computer end, and second class of staff just chooses in the sampling list storehouse submitted like this as the assigned sampling list of examining, and second class of staff selects the sample of examining from the assigned sampling list of examining under the account number of oneself again and waits to examine the sample and generate original record list, and original record list information mainly contains: the second type of staff fills in items used for inputting detection information in the original record sheet after the detection is finished, the original record sheet before the filling is a sample sheet to be detected, the manager checks the original record sheet after the filling is finished, if the original record information filled by the second type of staff is unqualified during the checking by the manager, the record is returned to allow the second type of staff to modify the original record sheet until the checking by the manager is not wrong, the original record sheet after the filling is finished before the checking is the original record sheet to be checked by the manager, and the original record sheet without the checking is the checked original record sheet, and the second type of staff also sends the audited original record list to the server for storage through the second information processing module.
The sampling list stored in the first smart phone or the sampling list stored in the second smart phone can be modified.
The first class of workers starts a login module of the background computer end for logging in the background computer end to input names and passwords of the first class of workers in a WEB login mode; the second type of staff starts a login module of the background computer end for logging in the background computer end to input the name and the password of the second type of staff in a WEB login mode.
The invention finally realizes the functions of intellectualization and integration of rapid detection of aquatic product residues, and solves the problems of untimely data information transmission and large workload of manual operation in work.
In addition, the second information processing module of the background computer sends a message requesting for sampling list information to the server through the network, and the first information processing module of the server sends the identification of all sampling lists which are not submitted by the first type of staff or the second type of staff, the distributed sampling lists and the submitted sampling lists to the background computer, the messages for requesting the information of the sampling lists, the identifications of the uncommitted sampling lists, the distributed sampling lists and the submitted sampling lists are transmitted and sent between the background computer end and the server in the form of message messages, when the message is transmitted in the form of message, the problems of message loss and messy sequence of message acquisition often occur, and the message transmission between the background computer end and the server is in failure, and the message can not be normally acquired.
The second information processing module of the background computer sends a message requesting for sampling list information to the server through a network, and the first information processing module of the server sends all identifiers of sampling lists which are not submitted by first-class workers or second-class workers, allocated sampling lists and submitted sampling lists to the background computer, and the message requesting for sampling list information, the identifiers of the uncommitted sampling lists, the allocated sampling lists and the submitted sampling lists are transmitted and sent between the background computer and the server in the form of message messages, and the transmission process comprises the following steps:
step 1: firstly, a time length statistic module and a counting variable with an initial value of 0 are respectively configured in the background computer end and the server, the background computer end and the server transmit a request message towards a party acquiring the message and transmit a response message responding to the request message towards the party transmitting the message through the background computer end and the party transmitting the message in the server, so as to realize the establishment of a message channel between the background computer end and the server, wherein the request message comprises an error checking code, a message domain for identification and any code; the message comprises a message domain for identification, a message serial number, an arbitrary code and an error checking code;
step 2: determining whether a message needs to be transmitted, if so, turning to the step 3, and if not, turning to the step 5;
and step 3: transmitting a message;
and 4, step 4: transmitting an inquiry message to realize condition retrieval, wherein the inquiry message comprises an arbitrary code and an error checking code;
and 5: transmitting a message for maintaining a message channel to realize the maintenance of the message channel, wherein the message for maintaining the message channel comprises a message serial number, an arbitrary code and an error checking code;
the step 1 comprises the following steps:
step 1-1: under the condition that the request message is not transmitted, the step 1-2 is carried out; if the request message is transmitted, the step 1-3 is carried out;
step 1-2: setting the number of the repeated transmission request messages as the preset number of the highest repeated transmission request messages, and confirming the request messages;
step 1-3: transmitting the request message, and carrying out time length statistics after the request message is transmitted by a synchronous operation time length statistics module;
step 1-4: confirming whether a message domain used for identification in the request message is acquired or not, and if the message domain used for identification is acquired, turning to the step 1-6; if the message domain for identification is not obtained, the step 1-5 is carried out;
step 1-5: determining whether the time length statistics of the time length statistics module reaches the set time length, if the time length statistics of the time length statistics module reaches the set time length, terminating the time length statistics of the time length statistics module and reducing the number of the repeated transmission request messages by one, and then turning to the step 1-1 to carry out, if the time length does not reach the set time length, turning to the step 1-4 to carry out;
step 1-6: checking the error of the request message by the error checking code in the request message, and if no error is checked, executing the step 1-7; if an error is detected, the method goes to the step 1-4;
step 1-7: counting the time length of the termination time length counting module, and setting the number of the repeated transmission request messages as the preset number of the highest repeated transmission request messages;
step 1-8: and performing decoding determination on the request message.
The process of confirming the transmission request packet in step 1-2 includes the following steps:
step 1-2-1: checking the request message;
step 1-2-2: determining whether the request message is matched with the adopted communication standard, and if so, turning to the step 1-3; if not, transmitting the message of the removed message channel to terminate the maintenance of the message channel;
the steps 1-8 comprise the following steps:
step 1-8-1: determining whether any codes in the request message are the same or not when any codes in the request message are transmitted at the same time, and if yes, turning to the step 1-8-2; if not, the running time length counting module carries out time length counting and then the step 1-4 is carried out;
step 1-8-2: determining whether the response message is acquired or not, and if the response message is acquired, turning to the step 2; if the response message is not acquired, the running time counting module carries out time counting and then the step 1-4 is carried out;
the step 3 comprises the following steps:
step 3-1: transmitting message messages, and carrying out time length statistics by a synchronous operation time length statistics module;
step 3-2: determining whether the message domain used for identification in the message is obtained or not, if the message domain used for identification in the message is obtained, turning to the step 1-6 for execution, and if the message domain used for identification in the message is not obtained, turning to the step 1-5 for execution;
step 3-3: determining whether the time length statistics performed by the time length statistics module reaches the preset time length, if the preset time length is reached, terminating the time length statistics performed by the time length statistics module and turning to the step 3-8 to perform, and if the preset time length is not reached, turning to the step C-2 to perform;
step 3-4: utilizing the error checking code in the message to check the error of the message, if no error is checked, turning to the step 3-5, and if an error is checked, turning to the step 3-2;
step 3-5: the termination time length counting module carries out time length counting;
step 3-6: decoding and determining the message;
step 3-7: determining whether a response message for responding the message is obtained or not, if the response message for responding the message is obtained, switching to the step 4, and if the response message for responding the message is not obtained, switching to the step 3-8;
step 3-8: transmitting an interception message for interception to carry out interception, wherein the interception message for interception comprises an arbitrary code, an error checking code and a message serial number;
the steps 3-6 comprise the following steps:
step 3-6-1: determining whether any code in the message is the same as any code of the different request messages, if so, switching to the step 3-6-2, and if not, switching to the step 3-8;
step 3-6-2: determining whether the message contains a message serial number or not, and if the message contains the message serial number, switching to the step 3-6-3; if no message serial number exists, the step 3-8 is carried out;
step 3-6-3: determining whether the message serial number in the message is wrong, and if so, turning to the step 3-8; if no error exists, the step 3-6-4 is carried out;
step 3-6-4: determining whether the message is a message or not, if the message is a message, turning to the step 3-6-5, and if the message is not a message, turning to the step 3-7;
step 3-6-5: increasing one counting variable of a party acquiring the message;
determining whether the message serial number in the message is wrong or not according to the standard that whether the counting variable of the party acquiring the message is equal to the message serial number of the acquired message or not;
the steps 3-8 comprise the following steps:
step 3-8-1: transmitting an interception message for interception, and determining the interception message and checking errors by using error checking codes in the interception message in sequence by the party acquiring the interception message;
step 3-8-2: determining whether any code of the intercepted message used for interception is the same as any code of the different request messages, and if so, turning to the step 3-8-3; if not, starting a time length counting module to carry out time length counting and turning to the step 3-8-1 to carry out;
step 3-8-3: determining whether the intercepted message for interception has a message serial number, if so, turning to the step 3-8-4; if not, starting a time length counting module to carry out time length counting and turning to the step 3-8-1 to carry out;
step 3-8-4: determining whether the message serial number in the intercepted message is wrong, if not, turning to the step 3-8-5; if the time is wrong, starting a time counting module to carry out time counting and turning to the step 3-8-1 to carry out;
step 3-8-5: determining whether the message is acquired or not, and if the message is acquired, turning to the step 3-8-6; if the message is not acquired, the step 3-8-7 is carried out;
step 3-8-6: increasing one counting variable of a party acquiring the message;
step 3-8-7: determining whether the previous message is obtained or not, and if the previous message is obtained, turning to the step 4; if the previous message is not acquired, the step 3-1 is carried out;
determining whether the message serial number in the intercepted message is wrong or not according to the standard that whether the counting variable of the party acquiring the intercepted message is equal to the message serial number of the acquired intercepted message or not;
the step 4 comprises the following steps:
step 4-1: transmitting the inquiry message, and determining the acquired inquiry message and checking errors by using error checking codes in the inquiry message in sequence by the party acquiring the inquiry message;
step 4-2: determining whether the random codes in the inquiry message are the same as the random codes of the different request messages, and if so, turning to the step 4-3; if not, starting a time length counting module to carry out time length counting and turning to the step 4-1 to carry out;
step 4-3: determining whether the transmitted inquiry message is an inquiry message or a message, if the transmitted inquiry message is the inquiry message or the message, turning to the step 4-4 to carry out, and if the transmitted inquiry message or the message is not the inquiry message or the message, transmitting a message for removing a message channel to terminate the maintenance of the message channel;
step 4-4: determining whether the transmitted inquiry message is an inquiry message, if so, turning to the step 4-5; if the message is not the inquiry message, increasing one counting variable of the party acquiring the message, and then transmitting a response message for responding the message to the party transmitting the message;
and 4-5: determining whether the transmission of the response message for responding the message fails, and if not, turning to the step 5; if the failure occurs, go to step 4-6;
and 4-6: determining whether the message in the message is lost, if so, transmitting the message of removing the message channel to terminate the maintenance of the message channel; if the time length is not lost, starting a time length counting module to carry out time length counting and turning to the step 4-1 to carry out;
the step 5 comprises the following steps:
step 5-1: transmitting the message of the message keeping channel, and determining the message of the message keeping channel and carrying out error checking by using the error checking code in the message of the message keeping channel in sequence by the party acquiring the message of the message keeping channel;
step 5-2: determining whether any code in the message of the message channel is the same as any code of the request message, and if so, turning to the step 5-3; if not, starting a time length counting module to carry out time length counting, and turning to the step 5-1 to carry out the time length counting after the time length counting reaches two seconds;
step 5-3: determining whether a message serial number exists in a message of a message channel, if so, turning to the step 5-4, if not, starting a time length counting module to count time length, and turning to the step 5-1 after the time length reaches two seconds;
step 5-4: determining whether the message serial number in the message of the message channel is wrong, and if not, turning to the step 5-5; if the time is wrong, starting a time counting module to carry out time counting, and turning to the step 5-1 to carry out the time counting after the time counting reaches two seconds;
step 5-5: determining whether the message is acquired or not, and if the message is acquired, turning to the step 5-6; if the message is not acquired, starting a duration counting module to carry out duration counting, and turning to the step 5-1 after the duration counting reaches two seconds;
and 5-6: increasing one counting variable of a party acquiring the message;
and 5-7: determining whether a message needs to be transmitted, if so, turning to the step 3; if not, transmitting a response message for responding the message to the party transmitting the message;
the criterion for determining whether the packet sequence number in the packet of the keep packet channel is incorrect is whether the count variable of the party acquiring the packet of the keep packet channel is equal to the acquired packet sequence number of the packet of the keep packet channel.
The arbitrary code is used as a mark when the server transmits a request message towards a party acquiring the message and transmits a response message responding to the request message towards the party transmitting the message from the party acquiring the message, the arbitrary code in the first transmission of the server is used as a mark, the mark is contained in the message transmitted between the background computer end and the server after the first transmission of the server, and the mark is used for determining whether the currently adopted background computer end is a background computer end used when the currently adopted background computer end transmits the request message towards the party acquiring the message from the party transmitting the message and the response message responding to the request message towards the party transmitting the message from the party acquiring the message from the party transmitting the message.
The method can improve the message transmission performance of the background computer end and the server, is more convenient for workers, has good stability during transmission, and can efficiently prevent the transmission from not reaching a stable state.
The sampling information includes information such as a sample number, a sample name, a sampling type, a sampling place, a sampling time, or a body length and a body weight of the sample; the information of the detected party comprises information such as the name of the detected unit, a communication address or a contact person.
The method for calculating the cost of the sampled sample is that a system administrator sets unit prices and maximum limit prices of different aquatic product varieties and different specifications in a background management system. The system obtains the specific cost of the sample by multiplying the unit price of the corresponding variety specification by the sampling weight according to the sample information filled by the staff, and if the specific cost exceeds the maximum limit price, the maximum limit price is taken as the cost of the sample.
In addition, in the step 3, the sample number is obtained according to the interaction with the server, the operation must be carried out under the condition of a network, otherwise, the next operation cannot be carried out due to the fact that no network exists and data cannot be obtained, the unique number is automatically generated by the server system, and the unique number is consistent with the sample number recorded during sampling.
In addition, the first type of staff can only see the information of the sampling list which is not submitted, submitted and distributed.
In addition, the second type of staff can see the sampling list which is not submitted by the second type of staff, and the sampling lists which are submitted by all the first type of staff and the second type of staff; once the sampling lists submitted by the first type staff and the second type staff are distributed to the specific sampling list to be detected by the second type staff, only the second type staff can see the sampling list.
In addition, if a positive or invalid result appears in the detection result, the administrator can send the corresponding sample list to the appointed second-class worker to carry out secondary or even multiple detections until the administrator considers that the reinspection is not needed again. The sample sheet for two or even more tests will be presented again in the sample library to be tested of the designated second type worker.
In addition, the second type of staff or administrator can also combine the detection original record, the detection result report and the detection result into sampling information and print the sampling information through a printer connected with the background computer terminal according to a preset format. The printed detection result report comprises a unique report number generated by the server, basic information of the sample and the examinee contained in the sampling list, and basic information and a final detection result of the detection contained in the original detection record. A sample, such as one that has undergone multiple tests, can be selected by the report printer based on the results of one of the tests. Result report once printed, the detection results cannot be modified.
The administrator has the authority to set the personal and unit information, account number and password and owned functions of the first type of staff and the second type of staff. Meanwhile, the authorities of standardized sample names, specifications, collection unit prices, collection highest prices and the like can be set in the background. In addition, the administrator also has the function of hiding and deleting the sampling and detection information which is considered unnecessary and appears in the operation of the whole system. The hidden information can still be seen by the administrator but not by the first and second types of staff. The deleted information will be completely deleted as spam. Neither the hidden nor the deleted information appears in the final result report.
The present invention has been described above by way of illustration in the drawings, and it will be understood by those skilled in the art that the present disclosure is not limited to the embodiments described above, and various changes, modifications and substitutions may be made without departing from the scope of the present invention.

Claims (1)

1. The utility model provides an aquatic products sampling and intelligent management and control system of medicine residue detection which characterized in that includes: the system comprises a first smart phone with a camera and a GPS module, which is attached to a first type of staff, a second smart phone with a camera and a GPS module, which is attached to a second type of staff, a server and a background computer end;
the first smart phone attached to the first type of staff and the second smart phone attached to the second type of staff are connected with the server through a network;
the server is in communication connection with a background computer end, and the background computer end is also connected with a printer;
the first smart phone comprises a first login module, a first phone App, information including a work number, a name and an identification number of a first type of staff affiliated to the first smart phone, an electronic form serving as a first sampling list, a first electronic signature tool and a first calculation expense module;
the second smart phone comprises a second login module, a second mobile phone App, information including a work number, a name and an identification number of a second type of staff attached to the second smart phone, an electronic form serving as a second sampling list, a second electronic signature tool and a second calculation expense module;
the server comprises a serial number generation module, a first information processing module and a database serving as a sample library to be detected;
the background computer end comprises respective name and password information of a first class of staff, a second class of staff and an administrator, a login module for logging in the background computer end and a second information processing module;
the first type of staff is only responsible for sampling the aquatic product drug residues, and the second type of staff is also responsible for detecting the aquatic product drug residues besides the sampling of the aquatic product drug residues;
the first sampling list comprises an item for inputting a sample number, an item for inputting sampling information, an item for inputting information of a detected party, an item for inputting picture information, an item for inputting sampling expense, an item for inputting an electronic signature, an item for inputting positioning information and an item for inputting a detection result;
the second sampling list comprises an item for inputting a sample number, an item for inputting sampling information, an item for inputting information of a detected party, an item for inputting picture information, an item for inputting sampling expense, an item for inputting an electronic signature, an item for inputting positioning information and an item for inputting a detection result;
the sampling information comprises information such as a sample name, a sample specification, a sampling place, a sample producing area, an authentication condition, a sample length which can be manually input, an individual weight, a sampling quantity and a sampling base number; the information of the detected party comprises information such as the name, the address, the unit legal person and the contact information of a detected unit or person which can be selected or manually input;
the method of the aquatic product sampling and drug residue detection intelligent management and control system comprises the following steps:
step 1: sampling on site, wherein the sampling on site is carried out from a first type of staff or a second type of staff to a unit or an individual needing aquatic product drug residue detection, and the unit or the individual needing aquatic product drug residue detection is the detected party;
step 2: the method comprises the steps that a mobile phone App working state is entered in a login mode, a first type of staff starts a first login module or a second type of staff starts a second login module to enter a login interface in the process of sampling aquatic products, the first type of staff inputs work numbers, names and identification numbers of the first type of staff or the second type of staff inputs the work numbers, the names and the identification numbers of the second type of staff on the login interface, after the first type of staff inputs the work numbers, the names and the identification numbers of the first type of staff, the first login module compares the input work numbers, the names and the identification numbers with the work numbers, the names and the identification numbers of the first type of staff attached to a first smart phone respectively, and if the work numbers, the first mobile phone App is started;
after the second type of staff inputs the work number, the name and the identity card number of the second type of staff, the second login module compares the input work number, the input name and the input identity card number with the work number, the input name and the input identity card number of the second type of staff which are attached to the second smart phone respectively, and if the input work number, the input name and the input identity card number are consistent, the second smart phone App is started;
and step 3: after a first mobile phone App or a second mobile phone App is started, the first mobile phone App or the second mobile phone App sends a request message for requesting a sample number to the server through a network, and after the server receives the request message for requesting the sample number, the server starts the number generation module to automatically generate a unique number and returns the unique number to the first mobile phone or the second mobile phone as the sample number recorded during sampling;
and 4, step 4: filling sampling information, wherein the filling sampling information is that the first mobile phone App automatically fills the returned sample numbers into the items of the first sampling list for inputting the sample numbers, opens the first sampling list or the second mobile phone App automatically fills the returned sample numbers into the items of the second sampling list for inputting the sample numbers and opens, and then the first type of staff inputs the sample information into the items of the first sampling list for inputting the sampling information or the second type of staff inputs the sampling information into the items of the second sampling list for inputting the sampling information; and the first type of staff enters the information of the detected party into the item of the first sampling list for inputting the information of the detected party or the second type of staff enters the information of the detected party into the item of the second sampling list for inputting the information of the detected party;
and 5: shooting records, wherein the shooting records are that the first type of staff uses a camera of a first smart phone to shoot pictures of the farmer, the mouth of the farmer aquatic product and the sampled sample and fills the shot pictures into the item of the first sampling list used for inputting the picture information, or the second type of staff uses a camera of a second smart phone to shoot pictures of the farmer, the mouth of the farmer aquatic product and the sampled sample and fills the shot pictures into the item of the second sampling list used for inputting the picture information;
step 6: the method comprises the following steps of automatically calculating sampling cost, wherein the sampling cost is automatically calculated by starting a first calculation cost module of a first smart phone by a first type of staff to calculate the cost of a sample collected at this time and automatically filling the cost into an item of a first sampling list for inputting the sampling cost or starting a second calculation cost module of a second smart phone by a second type of staff to calculate the cost of the sample collected at this time and automatically fill the cost into an item of a second sampling list for inputting the sampling cost, and then paying the cost of the sample to a farmer;
and 7: the electronic signature is used for starting a first electronic signature tool of a first smart phone to enable the farmer to sign first, enabling the first type of staff to sign, and filling the signature of the farmer and the signature of the first type of staff into an item of a first sampling list for inputting the electronic signature;
or starting a second electronic signature tool of a second smart phone to enable the farmer to sign first, then enabling the first class of staff to sign, and filling the signature of the farmer and the signature of the second class of staff into an item of a second sampling list for inputting the electronic signature;
and 8: the method comprises the steps that address position positioning is carried out, wherein a first type of staff starts a GPS module of a first smart phone to carry out positioning to obtain position information of the first smart phone and fills the position information into an item of a first sampling list, wherein the item is used for inputting positioning information;
or starting a GPS module of a second smart phone for a second type of staff to perform positioning to obtain the position information of the second smart phone and filling the position information into the item of the second sampling list for inputting the positioning information;
and step 9: then, under the condition that the network is not connected, the first mobile phone App stores the first sampling list or the second mobile phone App stores the second sampling list;
under the condition that network communication is normal, the first mobile phone App stores a first sampling list in a first smart mobile phone or the second mobile phone App stores a second sampling list in a second smart mobile phone, then the first sampling list or the second sampling list is sent to a server, so that the first information processing module stores the first sampling list or the second sampling list as a submitted sampling list in a sample to-be-detected library, and before the first sampling list or the second sampling list is sent to the server, the first information processing module takes the sample number of the first sampling list or the sample number in the second sampling list as the identifier of the uncommitted sampling list;
step 10: the first class of working personnel starts a login module of the background computer end for logging in the background computer end to input names and passwords of the working personnel, then the login module for logging in the background computer end compares the input names and passwords with the names and passwords of the first class of working personnel in the background computer end respectively, if the input names and passwords are consistent with the names and passwords of the first class of working personnel in the background computer end, the second information processing module can enter the background computer end to start a second information processing module, so that the second information processing module sends a message for requesting sampling list information to the server through a network, and the first information processing module of the server sends the identification of the sampling list which is not submitted by the first class of working personnel, the submitted sampling list and the distributed sampling list to the background computer end, the allocated sampling list is: the sampling list submitted by the first type of staff is distributed to the second type of staff for the sampling list to be detected and stored in the server;
the second type of staff starts a login module of the background computer end for logging in the background computer end to input names and passwords of the second type of staff, then the login module for logging in the background computer end compares the input names and passwords with the names and passwords of the second type of staff in the background computer end respectively, if the input names and passwords are consistent with the names and passwords of the second type of staff in the background computer end, the second type of staff can enter the background computer end to start a second information processing module, so that the second information processing module sends a message for requesting sampling list information to the server through a network, and a first information processing module of the server sends the identifiers of the first type of staff, the sampling lists which are not submitted by the second type of staff, the submitted sampling lists and the sample lists to be detected to the background computer end, the sample list to be detected is a first sample list which is selected from the sample lists submitted by the first type of staff and distributed to the second type of staff and is stored in the server, or a second sample list which is selected from the sample lists submitted by the second type of staff and distributed to the second type of staff and is stored in the server;
when the identification of the uncommitted sampling list, the distributed sampling list or the submitted sampling list which is sent to the background computer end needs to be printed, the first type of staff or the second type of staff prints the sampling list through a printer connected with the background computer end;
when the sampling cost in the distributed sampling list or the sampling cost in the submitted sampling list which is sent to the background computer end needs to be printed, the first type of staff or the second type of staff prints the sampling cost through a printer connected with the background computer end;
step 11: the administrator starts a login module of the background computer end for logging in the background computer end to input the name and the password of the administrator, then the login module of the background computer end respectively compares the input name and the password with the name and the password of the administrator in the background computer end, if the input name and the password are consistent with the name and the password of the administrator in the background computer end, the administrator can enter the background computer end to start a second information processing module, so that the second information processing module sends a message requesting for sampling list information to the server through a network, and a first information processing module of the server sends the identification of the sampling list which is not submitted by all first-type workers or second-type workers, the submitted sampling list and the distributed sampling list to the background computer end;
thus, the administrator can check the identification of the sampling list which is not submitted by the first type of staff or the second type of staff and is sent to the background computer end and the submitted sampling list, if the identification of the sampling list which is not submitted and the submitted sampling list are wrongly filled, the identification of the sampling list which is not submitted and the submitted sampling list which are wrongly filled are sent to the first smart phone or the computer end of the first type of staff which are wrongly filled, or in a second smart phone or a computer terminal of a second class of staff, so that the first class of staff or the second class of staff modify the identifiers of the uncommitted sampling lists filled with errors and the submitted sampling lists, and the modified identifiers of the uncommitted sampling lists filled with errors and the submitted sampling lists are sent to the server through the first mobile phone App or the second mobile phone App or the computer terminal through the network and are stored in the sample library to be checked again;
step 12: the second class of staff can also select the message of sampling list to the server sending request through starting second information processing module, then first information processing module just sends the sample to examine the submitted sampling list in storehouse to the backstage computer end, and second class of staff just chooses in the sampling list storehouse submitted like this as the assigned sampling list of examining, and second class of staff selects the sample of examining from the assigned sampling list of examining under the account number of oneself again and waits to examine the sample and generate original record list, and original record list information mainly contains: the second type of staff fills in items used for inputting detection information in the original record sheet after the detection is finished, the original record sheet before the filling is a sample sheet to be detected, the manager checks the original record sheet after the filling is finished, if the original record information filled by the second type of staff is unqualified during the checking by the manager, the record is returned to allow the second type of staff to modify the original record sheet until the checking by the manager is not wrong, the original record sheet after the filling is finished before the checking is the original record sheet to be checked by the manager, and the original record sheet without the checking is the checked original record sheet, the second type of staff also sends the audited original record list to the server for storage through the second information processing module;
the sampling list stored in the first smart phone or the sampling list stored in the second smart phone can be modified;
the first class of workers starts a login module of the background computer end for logging in the background computer end to input names and passwords of the first class of workers in a WEB login mode; the second type of staff starts a login module of the background computer end for logging in the background computer end to input the name and the password of the second type of staff in a WEB login mode; the method for calculating the cost of the sampled sample is that the number is multiplied by the unit price of water, summer flower and seeds, when the calculation result does not exceed the highest sampling cost, the calculation result cost is selected, and if the calculation result does not exceed the highest sampling cost, the highest sampling cost is selected;
the second information processing module of the background computer sends a message requesting for sampling list information to the server through a network, and the first information processing module of the server sends all identifiers of sampling lists which are not submitted by first-class workers or second-class workers, allocated sampling lists and submitted sampling lists to the background computer, and the message requesting for sampling list information, the identifiers of the uncommitted sampling lists, the allocated sampling lists and the submitted sampling lists are transmitted and sent between the background computer and the server in the form of message messages, and the transmission process comprises the following steps:
step 1: firstly, a time length statistic module and a counting variable with an initial value of 0 are respectively configured in the background computer end and the server, the background computer end and the server transmit a request message towards a party acquiring the message and transmit a response message responding to the request message towards the party transmitting the message through the background computer end and the party transmitting the message in the server, so as to realize the establishment of a message channel between the background computer end and the server, wherein the request message comprises an error checking code, a message domain for identification and any code; the message comprises a message domain for identification, a message serial number, an arbitrary code and an error checking code;
step 2: determining whether a message needs to be transmitted, if so, turning to the step 3, and if not, turning to the step 5;
and step 3: transmitting a message;
and 4, step 4: transmitting an inquiry message to realize condition retrieval, wherein the inquiry message comprises an arbitrary code and an error checking code;
and 5: transmitting a message for maintaining a message channel to realize the maintenance of the message channel, wherein the message for maintaining the message channel comprises a message serial number, an arbitrary code and an error checking code;
the method of the aquatic product sampling and drug residue detection intelligent management and control system is characterized in that the step 1 comprises the following steps:
step 1-1: under the condition that the request message is not transmitted, the step 1-2 is carried out; if the request message is transmitted, the step 1-3 is carried out;
step 1-2: setting the number of the repeated transmission request messages as the preset number of the highest repeated transmission request messages, and confirming the request messages;
step 1-3: transmitting the request message, and carrying out time length statistics after the request message is transmitted by a synchronous operation time length statistics module;
step 1-4: confirming whether a message domain used for identification in the request message is acquired or not, and if the message domain used for identification is acquired, turning to the step 1-6; if the message domain for identification is not obtained, the step 1-5 is carried out;
step 1-5: determining whether the time length statistics of the time length statistics module reaches the set time length, if the time length statistics of the time length statistics module reaches the set time length, terminating the time length statistics of the time length statistics module and reducing the number of the repeated transmission request messages by one, and then turning to the step 1-1 to carry out, if the time length does not reach the set time length, turning to the step 1-4 to carry out;
step 1-6: checking the error of the request message by the error checking code in the request message, and if no error is checked, executing the step 1-7; if an error is detected, the method goes to the step 1-4;
step 1-7: counting the time length of the termination time length counting module, and setting the number of the repeated transmission request messages as the preset number of the highest repeated transmission request messages;
step 1-8: decoding and determining the request message;
the process of confirming the transmission request packet in step 1-2 includes the following steps:
step 1-2-1: checking the request message;
step 1-2-2: determining whether the request message is matched with the adopted communication standard, and if so, turning to the step 1-3; if not, transmitting the message of the removed message channel to terminate the maintenance of the message channel;
the steps 1-8 comprise the following steps:
step 1-8-1: determining whether any codes in the request message are the same as any codes of the request message when the codes are transmitted at the same time, and if so, turning to the step 1-8-2; if not, the running time length counting module carries out time length counting and then the step 1-4 is carried out;
step 1-8-2: determining whether the response message is acquired or not, and if the response message is acquired, turning to the step 2; if the response message is not acquired, the running time counting module carries out time counting and then the step 1-4 is carried out;
the step 3 comprises the following steps:
step 3-1: transmitting message messages, and carrying out time length statistics by a synchronous operation time length statistics module;
step 3-2: determining whether the message domain used for identification in the message is obtained or not, if the message domain used for identification in the message is obtained, turning to the step 1-6 for execution, and if the message domain used for identification in the message is not obtained, turning to the step 1-5 for execution;
step 3-3: determining whether the time length statistics performed by the time length statistics module reaches the preset time length, if the preset time length is reached, terminating the time length statistics performed by the time length statistics module and turning to the step 3-8 to perform, and if the preset time length is not reached, turning to the step 3-2 to perform;
step 3-4: utilizing the error checking code in the message to check the error of the message, if no error is checked, turning to the step 3-5, and if an error is checked, turning to the step 3-2;
step 3-5: the termination time length counting module carries out time length counting;
step 3-6: decoding and determining the message;
step 3-7: determining whether a response message for responding the message is obtained or not, if the response message for responding the message is obtained, switching to the step 4, and if the response message for responding the message is not obtained, switching to the step 3-8;
step 3-8: transmitting an interception message for interception to carry out interception, wherein the interception message for interception comprises an arbitrary code, an error checking code and a message serial number;
the steps 3-6 comprise the following steps:
step 3-6-1: determining whether any code in the message is the same as any code of the different request messages, if so, switching to the step 3-6-2, and if not, switching to the step 3-8;
step 3-6-2: determining whether the message contains a message serial number or not, and if the message contains the message serial number, switching to the step 3-6-3; if no message serial number exists, the step 3-8 is carried out;
step 3-6-3: determining whether the message serial number in the message is wrong, and if so, turning to the step 3-8; if no error exists, the step 3-6-4 is carried out;
step 3-6-4: determining whether the message is a message or not, if the message is a message, turning to the step 3-6-5, and if the message is not a message, turning to the step 3-7;
step 3-6-5: increasing one counting variable of a party acquiring the message;
determining whether the message serial number in the message is wrong or not according to the standard that whether the counting variable of the party acquiring the message is equal to the message serial number of the acquired message or not;
the steps 3-8 comprise the following steps:
step 3-8-1: transmitting an interception message for interception, and determining the interception message and checking errors by using error checking codes in the interception message in sequence by the party acquiring the interception message;
step 3-8-2: determining whether any code of the intercepted message used for interception is the same as any code of the different request messages, and if so, turning to the step 3-8-3; if not, starting a time length counting module to carry out time length counting and turning to the step 3-8-1 to carry out;
step 3-8-3: determining whether the intercepted message for interception has a message serial number, if so, turning to the step 3-8-4; if not, starting a time length counting module to carry out time length counting and turning to the step 3-8-1 to carry out;
step 3-8-4: determining whether the message serial number in the intercepted message is wrong, if not, turning to the step 3-8-5; if the time is wrong, starting a time counting module to carry out time counting and turning to the step 3-8-1 to carry out;
step 3-8-5: determining whether the message is acquired or not, and if the message is acquired, turning to the step 3-8-6; if the message is not acquired, the step 3-8-7 is carried out;
step 3-8-6: increasing one counting variable of a party acquiring the message;
step 3-8-7: determining whether the previous message is obtained or not, and if the previous message is obtained, turning to the step 4; if the previous message is not acquired, the step 3-1 is carried out;
determining whether the message serial number in the intercepted message is wrong or not according to the standard that whether the counting variable of the party acquiring the intercepted message is equal to the message serial number of the acquired intercepted message or not;
the step 4 comprises the following steps:
step 4-1: transmitting the inquiry message, and determining the acquired inquiry message and checking errors by using error checking codes in the inquiry message in sequence by the party acquiring the inquiry message;
step 4-2: determining whether the random codes in the inquiry message are the same as the random codes of the different request messages, and if so, turning to the step 4-3; if not, starting a time length counting module to carry out time length counting and turning to the step 4-1 to carry out;
step 4-3: determining whether the transmitted inquiry message is an inquiry message or a message, if the transmitted inquiry message is the inquiry message or the message, turning to the step 4-4 to carry out, and if the transmitted inquiry message or the message is not the inquiry message or the message, transmitting a message for removing a message channel to terminate the maintenance of the message channel;
step 4-4: determining whether the transmitted inquiry message is an inquiry message, if so, turning to the step 4-5; if the message is not the inquiry message, increasing one counting variable of the party acquiring the message, and then transmitting a response message for responding the message to the party transmitting the message;
and 4-5: determining whether the transmission of the response message for responding the message fails, and if not, turning to the step 5; if the failure occurs, go to step 4-6;
and 4-6: determining whether the message in the message is lost, if so, transmitting the message of removing the message channel to terminate the maintenance of the message channel; if the time length is not lost, starting a time length counting module to carry out time length counting and turning to the step 4-1 to carry out;
the step 5 comprises the following steps:
step 5-1: transmitting the message of the message keeping channel, and determining the message of the message keeping channel and carrying out error checking by using the error checking code in the message of the message keeping channel in sequence by the party acquiring the message of the message keeping channel;
step 5-2: determining whether any code in the message of the message channel is the same as any code of the request message, and if so, turning to the step 5-3; if not, starting a time length counting module to carry out time length counting, and turning to the step 5-1 to carry out the time length counting after the time length counting reaches two seconds;
step 5-3: determining whether a message serial number exists in a message of a message channel, if so, turning to the step 5-4, if not, starting a time length counting module to count time length, and turning to the step 5-1 after the time length reaches two seconds;
step 5-4: determining whether the message serial number in the message of the message channel is wrong, and if not, turning to the step 5-5; if the time is wrong, starting a time counting module to carry out time counting, and turning to the step 5-1 to carry out the time counting after the time counting reaches two seconds;
step 5-5: determining whether the message is acquired or not, and if the message is acquired, turning to the step 5-6; if the message is not acquired, starting a duration counting module to carry out duration counting, and turning to the step 5-1 after the duration counting reaches two seconds;
and 5-6: increasing one counting variable of a party acquiring the message;
and 5-7: determining whether a message needs to be transmitted, if so, turning to the step 3; if not, transmitting a response message for responding the message to the party transmitting the message;
determining whether the message serial number in the message of the message holding channel is wrong or not, wherein the counting variable of the party acquiring the message of the message holding channel is not equal to the acquired message serial number of the message holding channel;
when the server transmits a request message towards a party acquiring the message and transmits a response message responding to the request message towards a party transmitting the message, the server transmits any code in the first transmission as a mark, the message transmitted between the background computer end and the server after the first transmission of the server contains the mark, and the mark is used for determining whether the currently adopted background computer end transmits the request message towards the party acquiring the message and the background computer end adopted when the party acquiring the message transmits the response message responding to the request message towards the party transmitting the message;
in addition, in the step 3, a sample number is obtained according to interaction with the server, the operation must be carried out under the condition of a network, otherwise, data cannot be obtained due to no network, and the next operation cannot be carried out, wherein the unique number is automatically generated by the server system and is consistent with the sample number recorded during sampling;
in addition, the first type of staff can only see the uncommitted, committed and allocated sampling list information;
in addition, the second type of staff can see the sampling list which is not submitted by the second type of staff, and the sampling lists which are submitted by all the first type of staff and the second type of staff; once the sampling lists submitted by the first type of staff and the second type of staff are distributed to the specific sampling list to be detected by the second type of staff, only the second type of staff can see the sampling list;
in addition, if a positive or invalid result appears in the detection result, the administrator can send the corresponding sample sheet to the appointed second-class worker for secondary or even multiple detections until the administrator considers that the retest is not needed again, and the sample sheet for secondary or even multiple detections will reappear in the sample library to be detected of the appointed second-class worker;
in addition, the second type of staff or administrator can also print the detection original record, the detection result report and the detection result which are aggregated into sampling information according to a preset format through a printer connected with the background computer terminal, the printed detection result report comprises a unique report number generated by a server, basic information of a sample and a person to be detected contained in a sampling list, and basic information of detection and final detection contained in the detection original record, and a certain sample can be selected by a report printer after being detected for multiple times, and the detection result cannot be modified once the result report is printed on the basis of the detection result of one time;
the administrator has the authority to set the personal and unit information, account number and password of the first type of staff and the second type of staff, and the owned functions, and can set the authority of normalized sample name, specification, collection unit price and collection highest price at the background, in addition, the administrator also has the function of hiding and deleting the unnecessary sampling and detection information which appears in the operation of the whole system, the hidden information can still be seen by the administrator, but can not be seen by the first type of staff and the second type of staff, the deleted information is completely deleted as the garbage information, and the hidden or deleted information can not appear in the final result report.
CN201611106328.7A 2016-12-06 2016-12-06 Intelligent management and control system and method for aquatic product sampling and drug residue detection Active CN106790439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611106328.7A CN106790439B (en) 2016-12-06 2016-12-06 Intelligent management and control system and method for aquatic product sampling and drug residue detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611106328.7A CN106790439B (en) 2016-12-06 2016-12-06 Intelligent management and control system and method for aquatic product sampling and drug residue detection

Publications (2)

Publication Number Publication Date
CN106790439A CN106790439A (en) 2017-05-31
CN106790439B true CN106790439B (en) 2020-01-07

Family

ID=58878980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611106328.7A Active CN106790439B (en) 2016-12-06 2016-12-06 Intelligent management and control system and method for aquatic product sampling and drug residue detection

Country Status (1)

Country Link
CN (1) CN106790439B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109100175A (en) * 2018-08-13 2018-12-28 中国环境监测总站 A kind of spot sampling method of surface water
CN109447572A (en) * 2018-09-30 2019-03-08 山东鼎安检测技术有限公司 A kind of sample detection management system and control method based on IMIS

Family Cites Families (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106790439A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN104183027B (en) A kind of User Status determines method and device
CN104484905B (en) Fingerprintattendance checking system
CN108712426A (en) Reptile recognition methods and system a little are buried based on user behavior
CN103177380A (en) Method and device for optimizing advertisement delivery effect by combining user groups and pre-delivery
CN106971002A (en) A kind of data auditing method and system
CN106844204A (en) A kind of utilization mobile terminal generates the method and system of defect report
CN109729044A (en) A kind of general internet data acquisition is counter to climb system and method
CN106790439B (en) Intelligent management and control system and method for aquatic product sampling and drug residue detection
CN111106969B (en) Automatic evaluation method and system of Internet of things platform and storage medium
CN104243220A (en) Method and device for generating inter-system relation graph
CN106686062B (en) Intelligent management and control system and method for aquatic product drug sampling and residue detection
CN109491733A (en) Based on visual interface display method and relevant device
CN102480383B (en) A kind of log information message processing method and device
CN100366002C (en) Shared access testing system of internet
CN106790440B (en) Intelligent aquatic product control method
CN106790449B (en) Aquatic product drug residue management and control system and method
CN107944841A (en) Emolument computing system and method
CN106780081B (en) Aquatic product management and control system and method for enhancing detection function
CN112699264A (en) Wind control management method and system based on chat records
CN106789395A (en) A kind of Distributed PDM system monitoring data transmission method based on Web
CN108053510A (en) Intelligent attendance system and method
CN107196994B (en) Aquatic animal disease sampling method
CN105447752A (en) Information sharing based enterprise credit assessment system
CN106971446A (en) A kind of method of electronic voting
CN102891781B (en) Network shares detection system and network shares detection 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