CN102196382A - Method for uploading log of aquatic products breeding - Google Patents

Method for uploading log of aquatic products breeding Download PDF

Info

Publication number
CN102196382A
CN102196382A CN2011101023558A CN201110102355A CN102196382A CN 102196382 A CN102196382 A CN 102196382A CN 2011101023558 A CN2011101023558 A CN 2011101023558A CN 201110102355 A CN201110102355 A CN 201110102355A CN 102196382 A CN102196382 A CN 102196382A
Authority
CN
China
Prior art keywords
variable
information
daily record
digital coding
gsm module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101023558A
Other languages
Chinese (zh)
Other versions
CN102196382B (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201110102355.8A priority Critical patent/CN102196382B/en
Publication of CN102196382A publication Critical patent/CN102196382A/en
Application granted granted Critical
Publication of CN102196382B publication Critical patent/CN102196382B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method for uploading a log of aquatic products breeding. The traceability system of traditional aquatic products has the defects of low timeliness and low efficiency. According to the invention, based on the breeding log digital coding comparison table, breeding users can utilize the breeding log digital coding user terminal to edit an intraday breeding log digital coding and send to a GSM (global system for mobile communication) short message module; the GSM short message module reads the phone number source, sends time and message content and transfers to the information processing center; the information processing center carries out a series of validity verifications on the phone numbers and message contents transferred from the GSM short message module; the information can be sent to the centre database server after verification, and the centre database server carries out the storage process to finish the data storage. The method in the invention realizes the traceability information entry with single and automatic functions, improves the efficiency and timeliness of breeding information entry, as well as the reliability of the traceability information.

Description

A kind of method of uploading the aquaculture daily record
Technical field
The invention belongs to the informationization technology field of aquatic product supply chain, relate to a kind of method of uploading the aquaculture daily record.
Background technology
China's aquatic products industrial chain is perfect not enough, also accounts for larger proportion as independent on a small scale breed of peasant household, causes the aquaculture process to strictly regulate inadequately, thereby causes potential safety hazard for the aquatic products product, threatens the consumer health.Thereby it is extremely urgent to set up the aquatic products management system of tracing to the source.Realize that by setting up the aquatic products management system of tracing to the source aquatic product quality safety supervises in overall process, in time find the quality safety risk, effectively reduce the aquatic product quality occurrence probability of safety accidents, protect consumers' rights and interests conscientiously.
The information typing form of existing aquatic product quality safety traceability system mainly contains two kinds: a kind of is to fill in papery breed daily record in the breed stage by peasant household, regularly collects and cultures the unified database of tracing to the source of importing of daily record.This information gathering mode needs twice duplicate record, it once is the paper record that peasant household finishes, it once is process by the paper record input database, not only promptness is poor, efficient is low and since twice typing all have manually and finish, the accuracy of information is difficult to guarantee that result's accuracy and reliability reviewed in influence.A kind of is to culture the user directly to enter the management system of tracing to the source by network and carry out the information typing, though this mode has been avoided the secondary record, improve the result's that traces to the source accuracy and reliability, but the support of network must have been arranged, and required breed peasant household to have certain computer operation basis.In view of the production status of China's aquatic products just is difficult under the situation of network environment use not having.
Summary of the invention
The present invention is according to China's aquatic products production status, culture poor, the problems such as efficient is low, poor reliability of secondary typing, dependency network, promptness that the information typing exists at existing aquatic products traceability system, utilization GSM technology, database technique are cultured in time uploading of daily record, automatically warehouse-in.
The technical solution used in the present invention is as follows:
A kind of method of promptly and accurately uploading the aquaculture daily record is as follows:
(1) gsm module is set: the short message mode of setting gsm module is the Text pattern, sets the Text mode parameter, elects the GSM character set as;
(2) editor cultures the daily record digital coding: the raiser is according to culturing daily record digital coding design, with reference to every day actual breed situation edit out breed daily record digital coding on the daily record digital coding client culturing, and be sent to gsm module by short message mode;
(3) connection state of testing GSM module and information processing centre: after gsm module receives new short message, test itself and the situation that is connected of information processing centre, if successful connection, execution in step (4) then, if failure then shows the connection failure information, require to check and test once more;
(4) gsm module is uploaded the information content: gsm module is listed unread short messages, comprises note source telephone number, note transmitting time and short message content, and with these information uploadings to information processing centre;
(5) authorization information source validity: the information source telephone number that information processing centre uploads gsm module is temporary to variable phoneNum, the note transmitting time is temporary to variable mesTime, short message content is temporary to variable logCode, and data format is character string forms; Information centre passes to central database with variable phoneNum, and whether checking phoneNum is present in the table of database, if exist, and execution in step (6) then, otherwise return null value, data processing centre sends delete instruction to gsm module, deletes this note;
(6) daily record digital coding figure place validity is cultured in checking: data processing centre is judged the figure place of variable logCode, whether the length of checking logCode is 18 or 22, if be proved to be successful then, execution in step (7) then, otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(7) split breed daily record digital coding: according to culturing daily record digital coding design, logCode splits to variable, if variable logCode length is 18, then be split into pond numbering, weather code name, temperature, water temperature, feed numbering, feed consumption, fishing medicine service marking, and deposit in dependent variable pondNum, variable wheather, variable temp, variable waterTemp, variable feedNum, variable feedQua and variable drugFlag according to culturing daily record digital coding design; If logCode length is 22, then be split into pond numbering, weather code name, temperature, water temperature, feed numbering, feed consumption, fishing medicine service marking, fishing medicine numbering and fishing survival dose, and deposit in dependent variable pondNum, variable wheather, variable temp, variable waterTemp, variable feedNum, variable feedQua, variable drugFlag, variable drugNum and variable drugQua according to culturing daily record digital coding design;
(8) fishing medicine service marking position checking: if variable logCode length is 18 and variable drugFlag value is 0, perhaps variable logCode length is that 22 and variable drugFlag value are 1, then by checking, execution in step (9), otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(9) other coded message checking: information processing centre is with variable pondNum, whether the value of variable feedNum and variable drugNum sends to the central database checking and all exists, if all exist then by information processing centre with variable pondNum, variable feedNum, variable drugNum, variable wheather, variable temp, variable waterTemp, variable feedNum, variable feedQua, variable drugFlag, the value of variable drugNum and variable drugQua sends to corresponding each storing process of central database, otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(10) culture the log information warehouse-in: carry out each storing process, finish pond numbering, weather conditions, temperature, water temperature, feed numbering, feed consumption, whether use the fishing medicine, the data loading of fishing medicine numbering and fishing survival dose, if put in storage successfully, then central database announcement information processing center is put in storage successfully, information processing centre operation gsm module is deleted this information, and SMS notification breed daily record digital coding client-side information is put in storage successfully; Otherwise, the failure of central database announcement information processing center warehouse-in, and ask warehouse-in again, finish until warehouse-in.
Described breed daily record digital coding design is:
Pond coding: by the processing of aquatic products field raw material sources pond is numbered, numbering is divided into 6, represent the culturing area code for preceding 3, and back 3 is pond code in the same culturing area, encodes and be made up of 6 Arabic numerals in the pond.
Weather coding: to the same day weather encode, weather conditions are made up of 2 Arabic numerals.Represent weather conditions before noon for preceding 1, represent weather conditions afternoon for back 1.Numeral is 0 in the corresponding relation of weather conditions: fine; 1: cloudy; 2: the moon; 3: light rain; 4: moderate rain; 5: heavy rain; 6: slight snow; 7: moderate snow; 8: heavy snow; 9: rain and snow mixed; If the same day, weather was that fine then weather is encoded to 00, if clear to overcast then weather is encoded to 02.
The temperature coding: the temperature coding is made up of 3 Arabic numerals, and first only allows is 0 or 1; The positive Celsius temperature of 0 representative, the negative Celsius temperature of 1 representative, back two is actual temperature value on the same day.
Pond water temperature: form by 2 Arabic numerals, be actual pond water temperature.
The feed numbering: the feed that can use in the actual production is numbered differentiation, and numbering is simple correspondence and distinguishes herein, can once encode to different feeds since 01, and the feed numbering is made up of 2 Arabic numerals.
The consumption of feeding: be made up of 2 Arabic numerals, the consumption of feeding for the same day is actual, unit are Kg.
Whether use the fishing medicine: represent by 1 Arabic numerals, can only get 0 or 1; The fishing medicine is not used in 0 representative, and the fishing medicine is used in 1 representative.
Fishing medicine numbering: the fishing medicine that can use in the actual production is numbered differentiation, and numbering is simple correspondence and distinguishes herein, can once encode to different fishing medicines since 01, and fishing medicine numbering is made up of 2 Arabic numerals.
The fishing survival dose: be made up of 2 Arabic numerals, be actual fishing survival dose on the same day, unit is Kg.
Culture the daily record digital coding and form, be followed successively by in proper order: pond coding (6)+weather coding (2)+temperature coding (3)+pond water temperature (2)+feed numbering (2 the)+consumption of feeding (2)+whether use fishing medicine (1)+fishing medicine to number (2)+fishing survival dose (2) by above-mentioned 9 numberings; Whether when wherein when using fishing medicine position to be 0, culturing digital coding is 18, does not have fishing medicine numbering and fishing survival dose; Whether when when using fishing medicine position to be 1, culturing digital coding is 22, comprises fishing medicine numbering and fishing survival dose.
Realize that system for carrying out said process comprises the breed daily record coded digital table of comparisons, cultures daily record digital coding client, gsm module, information processing centre, the information centre's database of tracing to the source.
The beneficial effect that the present invention has is: overcome problems such as culturing the secondary typing, dependency network, the efficient that exist in the log information typing process are low, reliability deficiency in the existing aquatic products traceability system by comprehensive use GSM technology, database technology, information typing singleization, automation have realized tracing to the source, improved the efficient of culturing the information typing, the reliability of the promptness and the data of tracing to the source.
Description of drawings
Fig. 1 is a system schematic of the present invention;
Fig. 2 is a system signal flow graph of the present invention;
Fig. 3 is a flow chart of the present invention;
Wherein, 1, raiser; 2, culture daily record digital coding client; 3, GSM SMS module; 4, information processing centre; 5, central database server.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
As shown in Figure 1, system of the present invention mainly is made up of breed daily record digital coding client 2, GSM SMS module 3, information processing centre 4, central database server 5; Culture user 1 according to culturing the daily record digital coding table of comparisons, with reference to table 1, utilize and culture the breed daily record digital coding that daily record digital coding client 2 is edited the same day, and send to GSM SMS module 3 with the note form, GSM SMS module 3 is read note source telephone number, transmitting time and short message content, and be transferred to information processing centre 4, information source telephone number and short message content that 4 pairs of GSM SMS module 3 of information processing centre transmit carry out a series of validation verifications, after checking is passed through the pond is numbered, weather conditions, temperature, water temperature, the feed numbering, the feed consumption, whether use the fishing medicine, fishing medicine numbering and fishing survival dose pass to the storing process of central database server 5 ends, central database server 5 is carried out storing process, finishes data loading.
As shown in Figure 2, the information flow path of system is: culture the daily record digital coding and be sent to the GSM SMS module from culturing the daily record client, gsm module is listed note source telephone number, transmitting time and short message content, be sent to information processing centre, information processing centre is through checking, split and query manipulation, operating result is stored in variable pondNum respectively, variable feedNum, variable drugNum, variable wheather, variable temp, variable waterTemp, variable feedNum, variable feedQua, variable drugFlag, among variable drugNum and the variable drugQua, and pass to central database server; Central database server is returned the signal that reports an error and is given information processing centre if carry out the storing process failure; If authentication failed is then called AT instruction manipulation gsm module, the notice gsm module sends the information that reports an error to culturing the daily record client at Qualify Phase in information processing centre.
As shown in table 1, culture the user and must culture the daily record digital coding client-side editing breed daily record digital coding of every day, and be sent to the GSM SMS module in the short message mode according to culturing daily record digital coding rule, using;
Culturing daily record digital coding rule is:
Pond coding: by the processing of aquatic products field raw material sources pond is numbered, numbering is divided into 6, represent the culturing area code for preceding 3, and back 3 is pond code in the same culturing area, encodes and be made up of 6 Arabic numerals in the pond.
Weather coding: to the same day weather encode, weather conditions are made up of 2 Arabic numerals.Represent weather conditions before noon for preceding 1, represent weather conditions afternoon for back 1.Numeral is 0 in the corresponding relation of weather conditions: fine; 1: cloudy; 2: the moon; 3: light rain; 4: moderate rain; 5: heavy rain; 6: slight snow; 7: moderate snow; 8: heavy snow; 9: rain and snow mixed; If the same day, weather was that fine then weather is encoded to 00, if clear to overcast then weather is encoded to 02.
The temperature coding: the temperature coding is made up of 3 Arabic numerals, and first only allows is 0 or 1; The positive Celsius temperature of 0 representative, the negative Celsius temperature of 1 representative, back two is actual temperature value on the same day.
Pond water temperature: form by 2 Arabic numerals, be actual pond water temperature.
The feed numbering: the feed that can use in the actual production is numbered differentiation, and numbering is simple correspondence and distinguishes herein, can once encode to different feeds since 01, and the feed numbering is made up of 2 Arabic numerals.
The consumption of feeding: be made up of 2 Arabic numerals, the consumption of feeding for the same day is actual, unit are Kg.
Whether use the fishing medicine: represent by 1 Arabic numerals, can only get 0 or 1; 0 representative is not used, and 1 representative is used.
Fishing medicine numbering: the fishing medicine that can use in the actual production is numbered differentiation, and numbering is simple correspondence and distinguishes herein, can once encode to different fishing medicines since 01, and fishing medicine numbering is made up of 2 Arabic numerals.
The fishing survival dose: be made up of 2 Arabic numerals, be actual fishing survival dose on the same day, unit is Kg.
Culture the daily record digital coding and form, be followed successively by in proper order: pond coding (6)+weather coding (2)+temperature coding (3)+pond water temperature (2)+feed numbering (2 the)+consumption of feeding (2)+whether use fishing medicine (1)+fishing medicine to number (2)+fishing survival dose (2) by above-mentioned 9 numberings; Whether when wherein when using fishing medicine position to be 0, culturing digital coding is 18, does not have fishing medicine numbering and fishing survival dose; Whether when when using fishing medicine position to be 1, culturing digital coding is 22, comprises fishing medicine numbering and fishing survival dose.
Table 1 is cultured the daily record digital coding table of comparisons
Figure place 0 to 5 6 to 7 8 to 10 11 to 12 13 to 14 15 to 16 17 18 to 19 20 to 21
Content The pond numbering Weather conditions Work as daily temperature The pond water temperature The feed numbering The feed consumption The medication flag bit Fishing medicine numbering The fishing survival dose
As shown in Figure 3, culture the user and edit breed daily record digital coding and be sent to the GSM information module with short message mode, the step of finishing data verification, decoding, warehouse-in is:
(1) gsm module is set: the short message mode of setting gsm module is the Text pattern, sets the Text mode parameter, elects the GSM character set as;
AT+CMGF=1<CR 〉; Be set to the Text pattern
AT+CSMP=17,167,0,0<CR 〉; The Text mode parameter is set
AT+CSCS=GSM<CR 〉; Be set to the GSM character set
(2) editor cultures the daily record digital coding: the raiser is according to above-mentioned breed daily record digital coding design, with reference to every day actual breed situation culture the daily record digital coding culturing to edit out on the daily record digital coding client, and be sent to gsm module by short message mode;
(3) connection state of testing GSM module and information processing centre: after gsm module receives new short message, test itself and the situation that is connected of information processing centre, if successful connection, then enter next link, if failure then shows the connection failure information, require to check and test once more;
AT<CR 〉; Test connects
(4) gsm module is uploaded the information content: gsm module is listed unread short messages, comprises note source telephone number, note transmitting time, short message content, and with these information uploadings to information processing centre;
AT+CMGL=REC UNREAD<CR 〉; List the unread short messages content
(5) authorization information source validity: the information source telephone number that information processing centre uploads gsm module is temporary to variable phoneNum, the note transmitting time is temporary to variable mesTime, short message content is temporary to variable logCode, and data format is character string forms; Information centre passes to central database with phoneNum, and whether checking phoneNum is present in the table of database, if exist, then enters next link, otherwise returns null value, and data processing centre sends delete instruction to gsm module, deletes this note;
(6) daily record digital coding figure place validity is cultured in checking: data processing centre is judged the figure place of logCode, whether the length of checking logCode is 18 or 22, then enter next link if be proved to be successful, otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(7) split breed daily record digital coding: according to culturing daily record digital coding rule, logCode is split, if logCode length is 18, then is split into pond numbering, weather code name, temperature, water temperature, feed numbering, feed consumption, fishing medicine service marking etc., and deposits in dependent variable pondNum according to coding schedule, wheather, temp, waterTemp, feedNum, feedQua, drugFlag; If logCode length is 22, then be split into pond numbering, weather code name, temperature, water temperature, feed numbering, feed consumption, fishing medicine service marking, fishing medicine numbering, fishing survival dose etc. according to coding schedule, and deposit in dependent variable pondNum, wheather, temp, waterTemp, feedNum, feedQua, drugFlag, drugNum, drugQua;
(8) fishing medicine service marking position checking: if logCode length is 18 and drugFlag value is 0, perhaps logCode length is that 22 and drugFlag value are 1, then by checking, enter next link, otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(9) other coded message checkings: information processing centre is with pondNum, feedNum, whether the value of drugNum sends to central database 7 checkings and all exists, if exist then by information processing centre with pondNum, feedNum, drugNum, wheather, temp, waterTemp, feedNum, feedQua, drugFlag, drugNum, the value of drugQua sends to corresponding each storing process of central database, otherwise ejects the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more.
(10) culture the log information warehouse-in: carry out each storing process, finish pond numbering, weather conditions, temperature, water temperature, feed numbering, feed consumption, whether use the fishing medicine, the data loading warehouse-in of fishing medicine numbering and fishing survival dose, if put in storage successfully, then central database announcement information processing center is put in storage successfully, information processing centre operation gsm module is deleted this information, and SMS notification breed daily record digital coding client-side information is put in storage successfully; Otherwise, the failure of central database announcement information processing center warehouse-in, and ask warehouse-in again, finish until warehouse-in.
Be an example below:
The culturing area that certain raiser is responsible for is No. 001 pond in 001 district, and the same day, weather was clear to cloudy, and temperature is 16 ℃, and the pond water temperature is 20 ℃, and the feed of use is No. 01 feed, and consumption is 23kg, does not use the fishing medicine.The GSM information service module is selected Siemens TC35i GSM SMS module for use, number is 13712345678, it is connected with information processing centre by the RS232 interface, information processing centre selects for use common PC to get final product, central database is selected the perfectly sound T168 of association for use, and the database develop platform is selected SQL server 2005 for use.
Uploading breed daily record digital coding step is:
(1) TC35i is carried out initializing set: the short message mode of setting gsm module is the Text pattern, sets the Text mode parameter, elects the GSM character set as;
AT+CMGF=1<CR 〉; Be set to the Text pattern
AT+CSMP=17,167,0,0<CR 〉; The Text mode parameter is set
AT+CSCS=GSM<CR 〉; Be set to the GSM character set
(2) editor cultures the daily record digital coding: the raiser contrasts the breed daily record digital coding table of comparisons and uses breed daily record digital coding client-side editing note (promptly culturing the daily record digital coding) 001001010162001230 to be sent to 13712345678, culture daily record digital coding client and use regular handset to get final product, suppose that raiser's phone number is 15812345678;
(3) connection state of testing GSM module and information processing centre: after gsm module receives new short message, test itself and the situation that is connected of information processing centre, if successful connection, execution in step (4) then, if failure then shows the connection failure information, require to check and test once more;
AT<CR 〉; Test connects
(4) gsm module is uploaded the information content: TC35i receives note, and with short message content (promptly culturing the daily record digital coding), source phone number (promptly 15812345678) and reception note time are uploaded to information processing centre;
AT+CMGL=REC UNREAD<CR 〉; List the unread short messages content
(5) authorization information source validity: the information source telephone number 15812345678 that information processing centre uploads gsm module is temporary to variable phoneNum, the note transmitting time is temporary to variable mesTime, it is temporary to variable logCode to culture daily record digital coding 001001010162001230, and data format is character string forms; Information centre passes to central database with variable phoneNum, and whether checking phoneNum is present in the table of database, if exist, and execution in step (6) then, otherwise return null value, data processing centre sends delete instruction to gsm module, deletes this note;
(6) daily record digital coding figure place validity is cultured in checking: data processing centre is to variable logCode(promptly 001001010162001230) figure place judge, whether the length of checking logCode is 18 or 22, if be proved to be successful then, execution in step (7) then, otherwise eject the miscue dialog box, and the operation gsm module sends miscue information for corresponding raiser's mobile phone (promptly 15812345678), and request is verified and transmission once more;
(7) split breed daily record digital coding: according to culturing daily record digital coding design, logCode splits to variable, because logCode length is 18, then be split into the pond numbering according to culturing daily record digital coding design, the weather code name, temperature, water temperature, the feed numbering, the feed consumption, fishing medicine service marking, and to deposit in dependent variable pondNum(value be 001001), variable wheather(value is 01), variable temp(value is 016), variable waterTemp(value is 20), variable feedNum(value is 01), variable feedQua(value is 23) and variable drugFlag(value be 0);
(8) fishing medicine service marking position checking: whether checking drugFlag is 0, if 0 execution in step (9), otherwise eject the miscue dialog box, and operate gsm module TC35i and send miscue information for raiser's mobile phone, request is verified also to send once more and is cultured the daily record digital coding;
(9) other coded message checking: the information processing centre PC is 001001 with variable pondNum(value) and variable feedNum(value be 01) send to central database and verify whether all exist, if all exist is 001001 by information processing centre with variable pondNum(value then), variable feedNum(value is 01), variable wheather(value is 01), variable temp(value is 016), variable waterTemp(value is 20), send to corresponding each storing process of central database, otherwise eject the miscue dialog box, and operation gsm module TC35i asks to verify also transmission once more to breed user mobile phone transmission miscue information;
(10) culture the log information warehouse-in: carry out each storing process, finish pond numbering, weather conditions, temperature, water temperature, feed numbering, feed consumption, whether use the fishing medicine, the data loading of fishing medicine numbering and fishing survival dose, if put in storage successfully, then SQL server 2005 announcement information processing center PCs are put in storage successfully, the PC operation gsm module TC35i of information processing centre deletes this information, and the daily record of SMS notification raiser mobile phone is put in storage successfully; Otherwise, the failure of SQL server 2005 announcement information processing center PCs warehouse-in, and ask warehouse-in again, finish until warehouse-in.

Claims (1)

1. method of uploading the aquaculture daily record is characterized in that this method may further comprise the steps:
(1) gsm module is set: the short message mode of setting gsm module is the Text pattern, sets the Text mode parameter, elects the GSM character set as;
(2) editor cultures the daily record digital coding: the raiser is according to culturing daily record digital coding design, with reference to every day actual breed situation edit out breed daily record digital coding on the daily record digital coding client culturing, and be sent to gsm module by short message mode;
(3) connection state of testing GSM module and information processing centre: after gsm module receives new short message, test itself and the situation that is connected of information processing centre, if successful connection, execution in step (4) then, if failure then shows the connection failure information, require to check and test once more;
(4) gsm module is uploaded the information content: gsm module is listed unread short messages, comprises note source telephone number, note transmitting time and short message content, and with these information uploadings to information processing centre;
(5) authorization information source validity: the information source telephone number that information processing centre uploads gsm module is temporary to variable phoneNum, the note transmitting time is temporary to variable mesTime, short message content is temporary to variable logCode, and data format is character string forms; Information centre passes to central database with variable phoneNum, and whether checking phoneNum is present in the table of database, if exist, and execution in step (6) then, otherwise return null value, data processing centre sends delete instruction to gsm module, deletes this note;
(6) daily record digital coding figure place validity is cultured in checking: data processing centre is judged the figure place of variable logCode, whether the length of checking logCode is 18 or 22, if be proved to be successful then, execution in step (7) then, otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(7) split breed daily record digital coding: according to culturing daily record digital coding design, logCode splits to variable, if variable logCode length is 18, then be split into pond numbering, weather code name, temperature, water temperature, feed numbering, feed consumption, fishing medicine service marking, and deposit in dependent variable pondNum, variable wheather, variable temp, variable waterTemp, variable feedNum, variable feedQua and variable drugFlag according to culturing daily record digital coding design; If logCode length is 22, then be split into pond numbering, weather code name, temperature, water temperature, feed numbering, feed consumption, fishing medicine service marking, fishing medicine numbering and fishing survival dose, and deposit in dependent variable pondNum, variable wheather, variable temp, variable waterTemp, variable feedNum, variable feedQua, variable drugFlag, variable drugNum and variable drugQua according to culturing daily record digital coding design;
(8) fishing medicine service marking position checking: if variable logCode length is 18 and variable drugFlag value is 0, perhaps variable logCode length is that 22 and variable drugFlag value are 1, then by checking, execution in step (9), otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(9) other coded message checking: information processing centre is with variable pondNum, whether the value of variable feedNum and variable drugNum sends to the central database checking and all exists, if all exist then by information processing centre with variable pondNum, variable feedNum, variable drugNum, variable wheather, variable temp, variable waterTemp, variable feedNum, variable feedQua, variable drugFlag, the value of variable drugNum and variable drugQua sends to corresponding each storing process of central database, otherwise eject the miscue dialog box, and the operation gsm module sends miscue information to corresponding breed daily record digital coding client, request verification and transmission once more;
(10) culture the log information warehouse-in: carry out each storing process, finish pond numbering, weather conditions, temperature, water temperature, feed numbering, feed consumption, whether use the fishing medicine, the data loading of fishing medicine numbering and fishing survival dose, if put in storage successfully, then central database announcement information processing center is put in storage successfully, information processing centre operation gsm module is deleted this information, and SMS notification breed daily record digital coding client-side information is put in storage successfully; Otherwise, the failure of central database announcement information processing center warehouse-in, and ask warehouse-in again, finish until warehouse-in.
CN201110102355.8A 2011-04-24 2011-04-24 Method for uploading log of aquatic products breeding Expired - Fee Related CN102196382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110102355.8A CN102196382B (en) 2011-04-24 2011-04-24 Method for uploading log of aquatic products breeding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110102355.8A CN102196382B (en) 2011-04-24 2011-04-24 Method for uploading log of aquatic products breeding

Publications (2)

Publication Number Publication Date
CN102196382A true CN102196382A (en) 2011-09-21
CN102196382B CN102196382B (en) 2014-06-04

Family

ID=44603628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110102355.8A Expired - Fee Related CN102196382B (en) 2011-04-24 2011-04-24 Method for uploading log of aquatic products breeding

Country Status (1)

Country Link
CN (1) CN102196382B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106133726A (en) * 2014-04-04 2016-11-16 西门子公司 For the method automatically processing multiple journal files of automated system
CN108665205A (en) * 2018-01-05 2018-10-16 浙江华安安全设备有限公司 A kind of police equipment management system
CN108764615A (en) * 2018-01-05 2018-11-06 浙江华安安全设备有限公司 A kind of police material information of public security bureau and policeman's approaches to IM

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211453A (en) * 2006-12-25 2008-07-02 厦门雅迅网络股份有限公司 Vehicle scheduling data processing method
CN101464977A (en) * 2009-01-09 2009-06-24 北京农业信息技术研究中心 Method for encoding agricultural product backdate code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211453A (en) * 2006-12-25 2008-07-02 厦门雅迅网络股份有限公司 Vehicle scheduling data processing method
CN101464977A (en) * 2009-01-09 2009-06-24 北京农业信息技术研究中心 Method for encoding agricultural product backdate code

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孟浩: "短信通信技术及其在农业数据无线传输与远程监控中的应用", 《中国数字农业与农村信息化学术研究研讨会论文集》, 31 December 2005 (2005-12-31) *
胡顺安 等: "智能化农业信息远程数据采集系统", 《机械》, no. 6, 30 June 2005 (2005-06-30) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106133726A (en) * 2014-04-04 2016-11-16 西门子公司 For the method automatically processing multiple journal files of automated system
US11068486B2 (en) 2014-04-04 2021-07-20 Siemens Aktiengesellschaft Method for automatically processing a number of log files of an automation system
CN108665205A (en) * 2018-01-05 2018-10-16 浙江华安安全设备有限公司 A kind of police equipment management system
CN108764615A (en) * 2018-01-05 2018-11-06 浙江华安安全设备有限公司 A kind of police material information of public security bureau and policeman's approaches to IM

Also Published As

Publication number Publication date
CN102196382B (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103916835B (en) A kind of patent information sending short messages in groups method
CN101141754B (en) Value-added service analysis system and method thereof
CN103369097A (en) Mobile communication terminal and method for managing telephone numbers
CN103501349A (en) Two-dimensional code cloud service system and method capable of accurately counting access data based on release positions
CN102196382B (en) Method for uploading log of aquatic products breeding
CN108229913A (en) Factory's manufacturing execution system based on mobile terminal
CN102170405B (en) A kind of email processing method, mail server and system
MXPA02008319A (en) Method for workflow processing through computer network.
CN104915217A (en) Compiling and publishing method of aviation weather terminal forecast
CN106330661A (en) Data centralized processing method
CN101192976A (en) Automatic generation method for standard report of value-added service
CN101001212B (en) Multisystem message interaction managing and control system and method
CN106503958A (en) A kind of smart office system and method based on Internet of Things
CN204203994U (en) information tracing system
CN102567837A (en) Science and technology project management system
CN104796872A (en) Personalized short message group sending method and personalized short message group sending system
CN110138755A (en) A kind of gateway communication interactive service method of multi-protocols Beidou data acquisition
CN201465172U (en) Logistics system with speech recognition function
CN112784126B (en) Building material management method with classified quick query function
CN113946878B (en) Accounting method
CN104703154B (en) A kind of short message storage method and system of LTE uplinks home gateway
CN203104779U (en) Business processing system
CN108345645A (en) Biomass fuel supply chain decision system based on big data and decision-making technique
Tambo PLM or ERP, the chicken or the EGG: Towards an enterprise level master data management approach for improving innovation and supply chain collaboration
Oi India: Bengaluru Smart Energy Efficient Power Distribution Project

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140604

Termination date: 20160424

CF01 Termination of patent right due to non-payment of annual fee