CN109165962A - The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce - Google Patents

The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce Download PDF

Info

Publication number
CN109165962A
CN109165962A CN201811071670.7A CN201811071670A CN109165962A CN 109165962 A CN109165962 A CN 109165962A CN 201811071670 A CN201811071670 A CN 201811071670A CN 109165962 A CN109165962 A CN 109165962A
Authority
CN
China
Prior art keywords
data
source
pressure
pressure sensor
tracing
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
CN201811071670.7A
Other languages
Chinese (zh)
Other versions
CN109165962B (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.)
Jiangsu South Salt Electronic Commerce Research Institute LLC
Original Assignee
郑称德
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 郑称德 filed Critical 郑称德
Priority to CN201811071670.7A priority Critical patent/CN109165962B/en
Publication of CN109165962A publication Critical patent/CN109165962A/en
Application granted granted Critical
Publication of CN109165962B publication Critical patent/CN109165962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Biology (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to field of computer technology, more particularly to a kind of data transfer control method and agricultural trade system of the agricultural trade system based on e-commerce, wherein, the method passes through the pressure data for obtaining pressure sensor of tracing to the source, judge whether the pressure data is abnormal, if normal, the label image of product on pressure sensor of then tracing to the source described in shooting carries out product identification, if abnormal, then shooting described in trace to the source pressure sensor sales staff facial image carry out identification, by the pressure data and shooting image be transmitted to server by utilizing big data analysis judgement.Solves agricultural trade system data low efficiency existing in the prior art, the problems such as safety is poor acquires in real time and practises fraud purpose to prevent data to provide source on scale realtime monitoring, transaction data.

Description

The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce
Technical field
The present invention relates to a kind of transmission of the data of field of computer technology more particularly to agricultural trade system based on e-commerce Control method and agricultural trade system.
Background technique
Agricultural product are the sources of human survival, still, in recent years, due to food safety especially agricultural product problem, agricultural product The crises such as residual medicine frequently occur, and have seriously affected the health even life security of people, have caused global extensive pass Note, how to establish and promoted consumer is particularly important the trust of agricultural product.
Intelligent electronic-scale becomes one ring of key in agricultural trade circulation retrospect system, the weighing of intelligent electronic-scale collection, display, connection Net, real-name authentication, e-payment, data upload function realize food by docking with technology of Internet of things in the terminal device of one Product data input, transmitting, record food security information, Transaction Information, and electronic transaction information and printing matter are sent to consumer Voucher of tracing to the source is measured, oneself can be inquired by inquiry terminal machine, internet, mobile phone short messages by this card consumer and be purchased It whether qualified buys food quality, can be widely applied to that quotient is super, the market of farm produce, fruits and vegetables market, seafood marine industry.
In the prior art, intelligent electronic-scale can complete the functions such as weighing, valuation, display, but not with network technology Disconnected development, the rise of Internet of Things science and technology, more and more smart machines liberate work people by apparatus control or long-range control The both hands of member, and then social productive forces are improved, create bigger enterprise value.In many comprehensive food markets or megastore In, platform balance of largely tracing to the source is disposed, and the commodity price or product name in these food markets or market are frequently necessary to It is adjusted with the variation of time or the market price, background system can not carry out the adjustment situation of all platform balances of tracing to the source real-time Monitoring, cannot find the wrong platform balance of tracing to the source of parameter setting, real-time is very low in time.
In conclusion needing to develop a set of food traceability system, to the real-time status data and number of deals of every source on scale According to there is record, can confirm at any time.Quickly corresponding client queries the quality of product and claim demand, another aspect can also have Power urges trade company to ensure that product quality, acquisition source on scale state can effectively eliminate because caused by source on scale operation irregularity Data collection failure, while can reinforce the supervision that source on scale situation is used trade company, safe and reliable data are transmitted to prevent number According to cheating.
Summary of the invention
In view of the deficiencies of the prior art, the data for the agricultural trade system based on e-commerce that the present invention provides a kind of transmit control The problems such as method processed and agricultural trade system solve agricultural trade system data low efficiency existing in the prior art, and safety is poor, thus There is provided source on scale realtime monitoring, transaction data acquires in real time and to prevent data cheating purpose, concrete scheme is as follows:
In a first aspect, the data transfer control method of the present invention provides a kind of agricultural trade system based on e-commerce, comprising:
Obtain the pressure data for pressure sensor of tracing to the source;
Judge whether the pressure data is abnormal, if normal, then the label image of product on pressure sensor of tracing to the source described in shooting, If abnormal, the facial image for the pressure sensor sales staff that traces to the source described in shooting;
The pressure data and shooting image are transmitted to server.
Preferably, before the pressure data for obtaining pressure sensor of tracing to the source, further includes:
The server sends parameter configuration instruction to the pressure sensor of tracing to the source;
The pressure sensor of tracing to the source is instructed according to the parameter configuration of acquisition carries out parameter configuration.
It is preferably, described to judge whether the pressure data is abnormal, comprising:
Judge whether the pressure data obtained is less than or equal to maximum pressure preset threshold, if so, indicating normal, otherwise, indicates different Often;Wherein, the maximum pressure preset threshold is by the pressure sensor factory setting of tracing to the source.
Preferably, described to be transmitted to the pressure data and shooting image when the shooting figure seems label image Server, comprising: after the corresponding coded sequence of pressure sensor label image of tracing to the source is attached to the pressure data, use Server public key encryption is sent to the server.
Preferably, further includes:
The server decrypts the corresponding coded sequence of the label image using privacy key;
Judge whether the coded sequence is that server is issued, if so, the pressure data is transmitted to user terminal, it is no Then, pause trades and prompts the user terminal.
Preferably, when the shooting figure seems label image, which is characterized in that described by the pressure data and shooting Image transmitting is to server, comprising:
The facial image is converted into text data;
The text data is subjected to data block division, obtains multiple data blocks;
Information dimensionality reduction is carried out to each data block, obtains the corresponding dimensionality reduction information content in each data block;
The dimensionality reduction information content corresponding in multiple data blocks is integrated with pressure data, generates structured text data;
Structured text data are transmitted to server.
Preferably, further includes:
The server is by calculating Euclidean distance matching degree traversal search face characteristic library;
Judge whether the facial image is consistent with the sales staff of the pressure sensor registration of tracing to the source, if so, will be described Pressure data is transmitted to user terminal, and otherwise, pause trades and will be prompted to the user terminal.
Second aspect, the present invention provides a kind of agricultural trade systems, comprising:
Receiving module, for obtaining the pressure data for pressure sensor of tracing to the source;
Processing module if normal, then produces on pressure sensor of tracing to the source described in shooting for judging whether the pressure data is abnormal The label image of product, if abnormal, the facial image for the pressure sensor sales staff that traces to the source described in shooting;
Sending module, for the pressure data and shooting image to be transmitted to server.
The third aspect, the present invention provides a kind of agricultural trade equipment, comprising:
Communication bus, for realizing the connection communication between processor and memory;
Memory, for storing computer program;
Processor, for executing the computer program to realize following steps:
Obtain the pressure data for pressure sensor of tracing to the source;
Judge whether the pressure data is abnormal, if normal, then the label image of product on pressure sensor of tracing to the source described in shooting, If abnormal, the facial image for the pressure sensor sales staff that traces to the source described in shooting;
The pressure data and shooting image are transmitted to server.
Fourth aspect, the present invention provides a kind of computer readable storage mediums, are stored thereon with computer program, described The method of above-mentioned first aspect is realized when computer program is executed by processor.
The utility model has the advantages that the information-pushing method and system of the invention based on Internet of Things campus administration, is traced to the source by obtaining The pressure data of pressure sensor judges whether the pressure data is abnormal, if normal, then pressure sensor of tracing to the source described in shooting The label image of upper product carries out product identification, if abnormal, the face figure for the pressure sensor sales staff that traces to the source described in shooting As carrying out identification, the pressure data and shooting image are transmitted to the judgement of server by utilizing big data analysis.It solves The problems such as agricultural trade system data low efficiency existing in the prior art, safety is poor, thus provide source on scale realtime monitoring, Transaction data acquires in real time and to prevent data cheating purpose.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, attached drawing In embodiment do not constitute any limitation of the invention, for those of ordinary skill in the art, do not paying creativeness Under the premise of labour, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the data transfer control method overall procedure schematic diagram of the agricultural trade system the present invention is based on e-commerce.
Fig. 2 is one process of the data transfer control method embodiment signal of the agricultural trade system the present invention is based on e-commerce Figure.
Fig. 3 is two process of the data transfer control method embodiment signal of the agricultural trade system the present invention is based on e-commerce Figure.
Fig. 4 is data transmission one example structure of the agricultural trade system signal of the agricultural trade system the present invention is based on e-commerce Figure.
Fig. 5 is data transmission one example structure of the agricultural trade equipment signal of the agricultural trade system the present invention is based on e-commerce Figure.
Specific embodiment
Technical solution of the present invention is described in further detail with embodiment with reference to the accompanying drawing, this be it is of the invention compared with Good embodiment.It should be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments; It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can be combined with each other.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
The main thought of technical solution of the embodiment of the present invention: the pressure data for pressure sensor of tracing to the source is obtained;Described in judgement Whether pressure data is abnormal, and if normal, then if the label image of product is clapped abnormal on pressure sensor of tracing to the source described in shooting Take the photograph the facial image of the pressure sensor sales staff that traces to the source;The pressure data and shooting image are transmitted to server.
In the specific implementation, terminal device described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the terminal device including display and touch sensitive surface is described.However, should manage Solution, terminal device may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Terminal device supports various application programs, such as one of the following or multiple: drawing application program, demonstration application Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on the terminal device Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example, Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
In order to better understand above-mentioned technical solution as shown in Figure 1, below in conjunction with Figure of description and specifically The above described technique is demenstrated in detail for embodiment.
Embodiment one
One embodiment of the invention provides a kind of data transfer control method of agricultural trade system based on e-commerce, such as Fig. 2 institute Show, the executing subject of each step is specifically as follows the various equipment with touch function, the equipment in following methods embodiment It may include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod, which passes Transmission control method can specifically include following steps:
Step S101, server send parameter configuration instruction to pressure sensor of tracing to the source, wherein the content of parameter includes commodity Name information, commodity price information, server identifier, instruction set.
Step S102, pressure sensor of tracing to the source is instructed according to the parameter configuration of acquisition carries out parameter configuration, specifically, Tracing to the source, weight threshold value is buckled in the product name, commodity price of instruction set configuration agricultural product, setting to pressure sensor based on the received, is verified Server identifier ID.
Step S103 obtains the pressure data for pressure sensor of tracing to the source.
The pressure data that pressure sensor of tracing to the source is traded each time by analog-digital converter acquisition, record, and store commodity Unit price, weight, total price, transaction data, trade market, booth information etc..Specifically, trade company's selection needs the kind of thing of weighing Class, input unit price, after thing of weighing is then put title, source on scale can show the quality total price of thing of weighing by LCD, record pressure Data, and store transaction data and booth information.Wherein, transaction data includes: transaction time of origin, products transactions information (produce The name of an article claims, product number, product type etc.), merchant information (name of firm, merchant number, trade company stand etc.).
Step S104, when the pressure data is normal, the label image of product on pressure sensor of tracing to the source described in shooting.
Judge whether the pressure data is abnormal, specifically judges whether the pressure data obtained is less than or equal to maximum pressure Power preset threshold: when the pressure data is less than or equal to maximum pressure preset threshold, indicate that pressure data is normal, when the pressure When force data is greater than maximum pressure preset threshold, indicate that pressure data is abnormal.Wherein, the maximum pressure preset threshold is by described It traces to the source pressure sensor factory setting.
In the present embodiment, when the pressure data is normal, adjustment traces to the source the capture of the camera on pressure sensor simultaneously Shooting is placed in the label image of product on pressure sensor of tracing to the source.Wherein, the coded sequence of label image corresponds to relevant production Product information.
Information of tracing to the source generally is recorded in product packaging or product itself in the form of bar code, the most common bar code form For two dimensional code, the information of record includes the unique encodings of product, source area and raiser's information.
The pressure data and label image are transmitted to server by step S105.
Specifically, the corresponding coded sequence of pressure sensor label image of tracing to the source is attached to the pressure data Afterwards, it is encrypted with server public key, the server is sent to by RJ45 network interface or RS232 interface.
Step S106, the server decrypt the corresponding coded sequence of the label image using privacy key, judgement Whether the coded sequence is that server is issued, if so, the pressure data is transmitted to user terminal, otherwise, pause is handed over Easily and prompt the user terminal.
In agricultural product, food and medicine supervisory and management department is responsible for the inspection of agricultural product, if qualified, relevant departments can be issued The access certificate and agricultural product for sending out Related product are traced to the source the basic source of information.Remembered in the form of bar code due to tracing to the source information Record can obtain on the server more detailed letter by unique encodings information in product packaging or product itself Breath, such as culturing time, reviewer.
Embodiment two
One embodiment of the invention provides a kind of data transfer control method of agricultural trade system based on e-commerce, such as Fig. 3 institute Show, the executing subject of each step is specifically as follows the various equipment with touch function, the equipment in following methods embodiment It may include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod, which passes Transmission control method can specifically include following steps:
Step S201, server send parameter configuration instruction to pressure sensor of tracing to the source, wherein the content of parameter includes commodity Name information, commodity price information, server identifier, instruction set.
Step S202, pressure sensor of tracing to the source is instructed according to the parameter configuration of acquisition carries out parameter configuration, specifically, Tracing to the source, weight threshold value is buckled in the product name, commodity price of instruction set configuration agricultural product, setting to pressure sensor based on the received, is verified Server identifier ID.
Step S203 obtains the pressure data for pressure sensor of tracing to the source.
The pressure data that pressure sensor of tracing to the source is traded each time by analog-digital converter acquisition, record, and store commodity Unit price, weight, total price, transaction data, trade market, booth information etc..Specifically, trade company's selection needs the kind of thing of weighing Class, input unit price, after thing of weighing is then put title, source on scale can show the quality total price of thing of weighing by LCD, record pressure Data, and store transaction data and booth information.Wherein, transaction data includes: transaction time of origin, products transactions information (produce The name of an article claims, product number, product type etc.), merchant information (name of firm, merchant number, trade company stand etc.).
Step S204, when the pressure data exception, the face figure for the pressure sensor sales staff that traces to the source described in shooting Picture.
Judge whether the pressure data is abnormal, specifically judges whether the pressure data obtained is less than or equal to maximum pressure Power preset threshold: when the pressure data is less than or equal to maximum pressure preset threshold, indicate that pressure data is normal, when the pressure When force data is greater than maximum pressure preset threshold, indicate that pressure data is abnormal.Wherein, the maximum pressure preset threshold is by described It traces to the source pressure sensor factory setting.
In the present embodiment, when the pressure data exception, adjustment traces to the source the capture of the camera on pressure sensor simultaneously Shooting is placed in the facial image for the pressure sensor sales staff that traces to the source.Wherein, sales staff is legal registration, facial image It is stored in the face characteristic library in server.
The pressure data and facial image are transmitted to server by step S205.
Specifically, the facial image is converted into text data first;Secondly the text data is subjected to data block It divides, obtains multiple data blocks;Then information dimensionality reduction is carried out to each data block, obtains corresponding dimensionality reduction letter in each data block Cease content;Then the dimensionality reduction information content corresponding in multiple data blocks is integrated with pressure data, generates structured text Data;Structured text data are finally transmitted to server by RJ45 network interface or RS232 interface.
Step S206, the server utilize big number by calculating Euclidean distance matching degree traversal search face characteristic library According to analyzing and determining whether the facial image is consistent with the sales staff of the pressure sensor registration of tracing to the source, if so, by institute It states pressure data and is transmitted to user terminal, otherwise, pause trades and will be prompted to the user terminal.
By calculating Euclidean distance matching degree traversal search face characteristic library, when the matching degree is matched pre- greater than face If when threshold value, determining that the face information is corresponding sales staff's identity.More specifically, matching the above-mentioned of dimensionality reduction one by one Face information and the sample image prestored then identify success when matching factor is greater than the matched preset threshold of face, otherwise when Then recognition failures when matching factor is less than face matched preset threshold.More specifically, search and facial image to be identified Apart from the smallest sample image prestored, the minimum value of facial image to be identified and all sample image distances prestored is judged Whether given threshold is greater than, if it has, then the recognition result of facial image to be identified is matching object.
The distance for calculating facial image to be identified and all sample images prestored, can be first extract respectively it is to be identified Facial image and all sample images prestored such as gabor feature or LBP (Local binary patterns, part Binary pattern) etc. textural characteristics, then calculate the distance of facial image to be identified and all sample images prestored, such as European Distance.Distance is bigger, and the similitude between facial image to be identified and all sample images prestored is smaller, apart from smaller, Similitude between facial image to be identified and all sample images prestored is bigger;In addition, facial image to be identified and The distance of all sample images prestored can also be characterized by cosine similarity, and cosine similarity is bigger, people to be identified Similitude between face image and all sample images prestored is bigger, and cosine similarity is smaller, facial image to be identified and Similitude between all sample images prestored is smaller.
Embodiment three
One embodiment of the invention provides a kind of agricultural trade system, and in embodiments of the present invention, the agricultural trade system in the present embodiment is The special body of the data transfer control method of the above-mentioned agricultural trade system based on e-commerce is executed, as shown in figure 4, the agricultural trade system System can specifically include following module:
Receiving module, for obtaining the pressure data for pressure sensor of tracing to the source;
Processing module if normal, then produces on pressure sensor of tracing to the source described in shooting for judging whether the pressure data is abnormal The label image of product, if abnormal, the facial image for the pressure sensor sales staff that traces to the source described in shooting;
Sending module, for the pressure data and shooting image to be transmitted to server.
Example IV
One embodiment of the invention provides a kind of agricultural trade equipment, as shown in figure 5, the agricultural trade equipment can specifically include such as lower die Block:
Communication bus, for realizing the connection communication between processor and memory;
Memory, for storing computer program;Memory may include high speed RAM memory, it is also possible to also include non-shakiness Fixed memory (non-volatile memory), for example, at least a magnetic disk storage.Memory optionally may include to A few storage device.
Processor, for executing above-mentioned computer program to realize following steps:
Step S301, server send parameter configuration instruction to pressure sensor of tracing to the source, wherein the content of parameter includes commodity Name information, commodity price information, server identifier, instruction set.
Step S302, pressure sensor of tracing to the source is instructed according to the parameter configuration of acquisition carries out parameter configuration, specifically, Tracing to the source, weight threshold value is buckled in the product name, commodity price of instruction set configuration agricultural product, setting to pressure sensor based on the received, is verified Server identifier ID.
Step S303 obtains the pressure data for pressure sensor of tracing to the source.
The pressure data that pressure sensor of tracing to the source is traded each time by analog-digital converter acquisition, record, and store commodity Unit price, weight, total price, transaction data, trade market, booth information etc..Specifically, trade company's selection needs the kind of thing of weighing Class, input unit price, after thing of weighing is then put title, source on scale can show the quality total price of thing of weighing by LCD, record pressure Data, and store transaction data and booth information.Wherein, transaction data includes: transaction time of origin, products transactions information (produce The name of an article claims, product number, product type etc.), merchant information (name of firm, merchant number, trade company stand etc.).
Judge whether the pressure data is abnormal, specifically judges whether the pressure data obtained is less than or equal to maximum pressure Power preset threshold: when the pressure data is less than or equal to maximum pressure preset threshold, indicate that pressure data is normal, when the pressure When force data is greater than maximum pressure preset threshold, indicate that pressure data is abnormal.Wherein, the maximum pressure preset threshold is by described It traces to the source pressure sensor factory setting.
In an alternative embodiment, it when the pressure data is normal, is produced on pressure sensor of tracing to the source described in shooting The label image of product.Specifically, the camera that adjustment is traced to the source on pressure sensor, which is captured and shot, is placed in pressure sensing of tracing to the source The label image of product on device.Wherein, the coded sequence of label image corresponds to relevant product information.
In another optional embodiment, when the pressure data exception, pressure sensor of tracing to the source described in shooting is sold goods The facial image of personnel.Specifically, the camera that adjustment is traced to the source on pressure sensor, which is captured and shot, is placed in pressure biography of tracing to the source The facial image of sensor sales staff.Wherein, sales staff is legal registration, and facial image is stored in the people in server In face feature database.
The pressure data and shooting image are transmitted to server by step S304.
In an alternative embodiment, when shooting figure seems label image, by the pressure sensor label of tracing to the source It after the corresponding coded sequence of image is attached to the pressure data, is encrypted with server public key, is connect by RJ45 network interface or RS232 Mouth is sent to the server.
Correspondingly, the server decrypts the corresponding coded sequence of the label image using privacy key, judges institute State whether coded sequence is that server is issued, if so, the pressure data is transmitted to user terminal, otherwise, pause is traded And prompt the user terminal.
In another optional embodiment, when shooting figure seems facial image, the facial image is converted to first Text data;Secondly the text data is subjected to data block division, obtains multiple data blocks;Then each data block is carried out Information dimensionality reduction obtains the corresponding dimensionality reduction information content in each data block;Then to dimensionality reduction information corresponding in multiple data blocks Content is integrated with pressure data, generates structured text data;Finally by structured text data by RJ45 network interface or RS232 interface is transmitted to server.
Correspondingly, the server utilizes big data by calculating Euclidean distance matching degree traversal search face characteristic library Analyze and determine whether the facial image is consistent with the sales staff of the pressure sensor registration of tracing to the source, if so, will be described Pressure data is transmitted to user terminal, and otherwise, pause trades and will be prompted to the user terminal.
By calculating Euclidean distance matching degree traversal search face characteristic library, when the matching degree is matched pre- greater than face If when threshold value, determining that the face information is corresponding sales staff's identity.More specifically, matching the above-mentioned of dimensionality reduction one by one Face information and the sample image prestored then identify success when matching factor is greater than the matched preset threshold of face, otherwise when Then recognition failures when matching factor is less than face matched preset threshold.More specifically, search and facial image to be identified Apart from the smallest sample image prestored, the minimum value of facial image to be identified and all sample image distances prestored is judged Whether given threshold is greater than, if it has, then the recognition result of facial image to be identified is matching object.
The distance for calculating facial image to be identified and all sample images prestored, can be first extract respectively it is to be identified Facial image and all sample images prestored such as gabor feature or LBP (Local binary patterns, part Binary pattern) etc. textural characteristics, then calculate the distance of facial image to be identified and all sample images prestored, such as European Distance.Distance is bigger, and the similitude between facial image to be identified and all sample images prestored is smaller, apart from smaller, Similitude between facial image to be identified and all sample images prestored is bigger;In addition, facial image to be identified and The distance of all sample images prestored can also be characterized by cosine similarity, and cosine similarity is bigger, people to be identified Similitude between face image and all sample images prestored is bigger, and cosine similarity is smaller, facial image to be identified and Similitude between all sample images prestored is smaller.
Processor in the present embodiment may be a kind of IC chip, have signal handling capacity.In the process of realization In, each step of the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form At.Above-mentioned processor can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), it is ready-made can Program gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components. It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.Above-mentioned processor can be Microprocessor or above-mentioned processor are also possible to any conventional processor etc..The method in conjunction with disclosed in the embodiment of the present invention The step of can be embodied directly in hardware processor and execute completion, or in processor hardware and software module combination execute It completes.Software module can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically-erasable In the storage medium of this fields such as programmable storage, register maturation.The storage medium is located at memory, and processor reading is deposited Information in reservoir, in conjunction with the step of its hardware completion above method.
Embodiment five
One embodiment of the invention provides a kind of computer readable storage medium, is stored thereon with computer program, above-mentioned calculating Machine program realizes the data transfer control method of the above-mentioned agricultural trade system based on e-commerce when being executed by processor.
It is to sum up above-mentioned, a kind of Data Transmission Controlling side of the agricultural trade system based on e-commerce provided in an embodiment of the present invention Method and system judge whether the pressure data is abnormal, if normal, then by obtaining the pressure data for pressure sensor of tracing to the source The label image of product on pressure sensor of tracing to the source described in shooting carries out product identification, if abnormal, pressure of tracing to the source described in shooting The facial image of sensor sales staff carries out identification, and the pressure data and shooting image are transmitted to server.Institute With the embodiment of the present invention has reached following technical effect: solving agricultural trade system data low efficiency existing in the prior art, pacify The problems such as property is poor entirely acquires and to provide source on scale realtime monitoring, transaction data to prevent data cheating purpose in real time.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to alternative embodiment, and related actions and modules is not necessarily of the invention It is necessary.
Above-described embodiment can be realized wholly or partly by software, hardware, firmware or any other combination.When When using software realization, above-described embodiment can be realized entirely or partly in the form of a computer program product.The computer Program product includes one or more computer instructions.When loading or execute on computers the computer program instructions, all Or partly generate the process or function being somebody's turn to do according to the embodiment of the present application.The computer can be general purpose computer, dedicated computing Machine, computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, Or transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction Wired (such as infrared, wireless, microwave etc.) mode can be passed through from a web-site, computer, server or data center It is transmitted to another web-site, computer, server or data center.The computer readable storage medium can be meter Any usable medium that calculation machine can access either includes server, the data center etc. of one or more usable medium set Data storage device.The usable medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD), Or semiconductor medium.Semiconductor medium can be solid state hard disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The present invention be referring to the embodiment of the present invention method, apparatus (equipment) and computer program product flow chart with/ Or block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/ Or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions To general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one A machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of data transfer control method of the agricultural trade system based on e-commerce characterized by comprising
Obtain the pressure data for pressure sensor of tracing to the source;
Judge whether the pressure data is abnormal, if normal, then the label image of product on pressure sensor of tracing to the source described in shooting, If abnormal, the facial image for the pressure sensor sales staff that traces to the source described in shooting;
The pressure data and shooting image are transmitted to server.
2. the method according to claim 1, wherein it is described acquisition trace to the source pressure sensor pressure data it Before, further includes:
The server sends parameter configuration instruction to the pressure sensor of tracing to the source;
The pressure sensor of tracing to the source is instructed according to the parameter configuration of acquisition carries out parameter configuration.
3. according to the method described in claim 2, it is characterized in that, described judge whether the pressure data is abnormal, comprising:
Judge whether the pressure data obtained is less than or equal to maximum pressure preset threshold, if so, indicating normal, otherwise, indicates different Often;Wherein, the maximum pressure preset threshold is by the pressure sensor factory setting of tracing to the source.
4. method according to claim 1-3, which is characterized in that when the shooting figure seems label image, It is described that the pressure data and shooting image are transmitted to server, comprising: by the pressure sensor label image pair of tracing to the source After the coded sequence answered is attached to the pressure data, the server is sent to server public key encryption.
5. according to the method described in claim 4, it is characterized by further comprising:
The server decrypts the corresponding coded sequence of the label image using privacy key;
Judge whether the coded sequence is that server is issued, if so, the pressure data is transmitted to user terminal, it is no Then, pause trades and prompts the user terminal.
6. method according to claim 1-3, when the shooting figure seems label image, which is characterized in that It is described that the pressure data and shooting image are transmitted to server, comprising:
The facial image is converted into text data;
The text data is subjected to data block division, obtains multiple data blocks;
Information dimensionality reduction is carried out to each data block, obtains the corresponding dimensionality reduction information content in each data block;
The dimensionality reduction information content corresponding in multiple data blocks is integrated with pressure data, generates structured text data;
Structured text data are transmitted to server.
7. according to the method described in claim 6, it is characterized by further comprising:
The server is by calculating Euclidean distance matching degree traversal search face characteristic library;
Judge whether the facial image is consistent with the sales staff of the pressure sensor registration of tracing to the source, if so, will be described Pressure data is transmitted to user terminal, and otherwise, pause trades and will be prompted to the user terminal.
8. a kind of agricultural trade system characterized by comprising
Receiving module, for obtaining the pressure data for pressure sensor of tracing to the source;
Processing module if normal, then produces on pressure sensor of tracing to the source described in shooting for judging whether the pressure data is abnormal The label image of product, if abnormal, the facial image for the pressure sensor sales staff that traces to the source described in shooting;
Sending module, for the pressure data and shooting image to be transmitted to server.
9. a kind of agricultural trade equipment characterized by comprising
Communication bus, for realizing the connection communication between processor and memory;
Memory, for storing computer program;
Processor, for executing the computer program to realize following steps:
Obtain the pressure data for pressure sensor of tracing to the source;
Judge whether the pressure data is abnormal, if normal, then the label image of product on pressure sensor of tracing to the source described in shooting, If abnormal, the facial image for the pressure sensor sales staff that traces to the source described in shooting;
The pressure data and shooting image are transmitted to server.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The method according to claim 1 to 7 is realized when being executed by processor.
CN201811071670.7A 2018-09-14 2018-09-14 The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce Active CN109165962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811071670.7A CN109165962B (en) 2018-09-14 2018-09-14 The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811071670.7A CN109165962B (en) 2018-09-14 2018-09-14 The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce

Publications (2)

Publication Number Publication Date
CN109165962A true CN109165962A (en) 2019-01-08
CN109165962B CN109165962B (en) 2019-10-22

Family

ID=64879331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811071670.7A Active CN109165962B (en) 2018-09-14 2018-09-14 The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce

Country Status (1)

Country Link
CN (1) CN109165962B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115643106A (en) * 2022-12-07 2023-01-24 广东邦盛北斗农业科技有限公司 Agricultural product quality data transmission method based on artificial intelligence and cloud platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105588631A (en) * 2014-10-22 2016-05-18 中联重科股份有限公司 Fault detection device, method, and system for weigher and engineering machinery
CN107818631A (en) * 2017-10-30 2018-03-20 中米(北京)农业科技股份有限公司 A kind of source of early warning and method for early warning based on automatic vending machine
CN207366061U (en) * 2017-10-17 2018-05-15 广州安食通信息科技有限公司 A kind of multi-functional platform balance of tracing to the source
CN108279062A (en) * 2018-01-26 2018-07-13 山东山大新元易通信息科技有限公司 The automatic weighing monitoring system and method for tobacco leaf intelligence

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105588631A (en) * 2014-10-22 2016-05-18 中联重科股份有限公司 Fault detection device, method, and system for weigher and engineering machinery
CN207366061U (en) * 2017-10-17 2018-05-15 广州安食通信息科技有限公司 A kind of multi-functional platform balance of tracing to the source
CN107818631A (en) * 2017-10-30 2018-03-20 中米(北京)农业科技股份有限公司 A kind of source of early warning and method for early warning based on automatic vending machine
CN108279062A (en) * 2018-01-26 2018-07-13 山东山大新元易通信息科技有限公司 The automatic weighing monitoring system and method for tobacco leaf intelligence

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115643106A (en) * 2022-12-07 2023-01-24 广东邦盛北斗农业科技有限公司 Agricultural product quality data transmission method based on artificial intelligence and cloud platform
CN115643106B (en) * 2022-12-07 2023-06-06 广东邦盛北斗农业科技有限公司 Agricultural product quality data transmission method based on artificial intelligence and cloud platform

Also Published As

Publication number Publication date
CN109165962B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
US11195165B2 (en) Modulating mobile-device displays based on ambient signals to reduce the likelihood of fraud
Mason et al. An investigation of biometric authentication in the healthcare environment
US20200210659A1 (en) Authentication Systems and Methods
CN109741181B (en) Transaction matching method, system, server and medium based on intelligent contract
US20190188732A1 (en) System and method for ensuring credibility of items in a supply chain management
US10339511B2 (en) Adjustment of a security level of a transaction system based on a biometric characteristic of a customer
CN107111591A (en) Session and the state of certification are transmitted between devices
TWI534735B (en) Information identification methods and equipment
TWI546755B (en) System for shopping guide and method of using the system thereof
CN110163204A (en) Businessman's monitoring and managing method, device and storage medium based on image recognition
CN110457364B (en) User information view generation method and device
CN110503409B (en) Information processing method and related device
US20190337549A1 (en) Systems and methods for transactions at a shopping cart
CN109615547A (en) Recognition methods, device, terminal and the computer readable storage medium of abnormal purchase medicine
CN111046889A (en) Method and device for processing pressed tea information and electronic equipment
US20180211317A1 (en) Actionable contextualized alerts within an order management system
CN109165962B (en) The data transfer control method and agricultural trade system of agricultural trade system based on e-commerce
JP2021135620A (en) Fraud prevention system and fraud prevention program
CN117114901A (en) Method, device, equipment and medium for processing insurance data based on artificial intelligence
CN112163872A (en) Commodity quality identification method, system, equipment and readable storage medium
WO2016183473A1 (en) Modulating mobile-device displays based on ambient signals to reduce the likelihood of fraud
CN111339920A (en) Cash adding behavior detection method, device and system, storage medium and electronic terminal
Wang et al. An image-based system for measuring workpieces
KR20220065625A (en) electronic system that supports renaming of membership based on electronic documents
TW201901553A (en) Transaction identity warning system and transaction identity warning 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
CB02 Change of applicant information

Address after: 350000 Fuzhou Software Park, 89 Software Avenue, Gulou District, Fuzhou City, Fujian Province

Applicant after: Zheng Chengde

Address before: 430000 Guanggu Software Park No. 1 Guanshan Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Applicant before: Zheng Chengde

CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 1714, Anzhong Building, 16 Jinyin Street, Gulou District, Nanjing City, Jiangsu Province, 210000

Applicant after: Zheng Cheng De

Address before: 350000 Fuzhou Software Park, 89 Software Avenue, Gulou District, Fuzhou City, Fujian Province

Applicant before: Zheng Cheng De

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191223

Address after: No. 163 Qixia Xianlin Avenue District of Nanjing City, Jiangsu province 210023

Patentee after: Nanjing University

Address before: Room 1714, Anzhong Building, 16 Jinyin Street, Gulou District, Nanjing City, Jiangsu Province, 210000

Patentee before: Zheng Chengde

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210616

Address after: 210008 No. 22, Hankou Road, Gulou District, Jiangsu, Nanjing

Patentee after: Nanjing University Asset Management Co.,Ltd.

Address before: 210023 163 Xianlin Road, Qixia District, Nanjing, Jiangsu

Patentee before: NANJING University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210721

Address after: 224000 No. 787 Yandu Road, Yandu District, Yancheng City, Jiangsu Province

Patentee after: Jiangsu South Salt Electronic Commerce Research Institute LLC

Address before: 210008 No. 22, Hankou Road, Gulou District, Jiangsu, Nanjing

Patentee before: Nanjing University Asset Management Co.,Ltd.

TR01 Transfer of patent right