Nothing Special   »   [go: up one dir, main page]

CN111866097B - Intelligent device-based scanned data aggregation method - Google Patents

Intelligent device-based scanned data aggregation method Download PDF

Info

Publication number
CN111866097B
CN111866097B CN202010635820.3A CN202010635820A CN111866097B CN 111866097 B CN111866097 B CN 111866097B CN 202010635820 A CN202010635820 A CN 202010635820A CN 111866097 B CN111866097 B CN 111866097B
Authority
CN
China
Prior art keywords
information
server
mqtt
intelligent equipment
bar code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010635820.3A
Other languages
Chinese (zh)
Other versions
CN111866097A (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.)
Panda Wisdom Water Business Co ltd
Original Assignee
Panda Wisdom Water Business Co ltd
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 Panda Wisdom Water Business Co ltd filed Critical Panda Wisdom Water Business Co ltd
Priority to CN202010635820.3A priority Critical patent/CN111866097B/en
Publication of CN111866097A publication Critical patent/CN111866097A/en
Application granted granted Critical
Publication of CN111866097B publication Critical patent/CN111866097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06018Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a code scanning data aggregation method based on intelligent equipment, which comprises the steps of scanning and reading bar code information of the intelligent equipment through a mobile terminal, enabling an MQTT client side and an MQTT server to be connected, sending the bar code information to the MQTT server by the MQTT client side, inquiring the intelligent equipment information in the equipment server by the MQTT server based on the bar code information, returning the inquired information to the MQTT client side, sending the inquired intelligent equipment information to a service server by the MQTT client side through an HTTP request, inputting the inquired intelligent equipment information into a service integration database, inquiring data information from a platform corresponding to a channel serial number through the HTTP request, associating the inquired platform data information with the intelligent equipment, and completing access. The invention integrates the dispersed information together to realize the omnibearing monitoring of the equipment.

Description

Intelligent device-based code scanning data aggregation method
Technical Field
The invention relates to the technical field of Internet of things, in particular to a scanning code data aggregation method based on intelligent equipment.
Background
In recent years, bar codes are widely applied in life, and particularly, two-dimensional codes are widely popularized, so that the two-dimensional codes can not only store more information, but also represent more data types. The two-dimensional code scanning refers to acquiring content and information in a two-dimensional code picture through application software in the mobile terminal. The two-dimensional code scanning is divided into an IOS operating system, an Android operating system, a shift operating system and the like according to different operating systems of the mobile terminal, and meanwhile, the two-dimensional code scanning is generally used for bar code scanning, resource scanning downloading, train ticket scanning and the like because the operating systems supported by different operating versions of the mobile terminal are different. The existing code scanning based on the mobile terminal generally directly opens an application (such as WeChat) or a camera displays a text for the scanning result or jumps to a webpage link, and the whole industrial process needs to be further integrated.
Disclosure of Invention
The invention aims to solve the technical problem of providing a code scanning data aggregation method based on intelligent equipment, which realizes the omnibearing supervision of the intelligent equipment through one-key code scanning.
The technical scheme adopted by the invention for solving the technical problems is as follows: the scanning code data set method based on the intelligent device comprises the following steps:
step (1): reading bar code information of intelligent equipment by scanning a code through a mobile terminal, so that a connection is established between an MQTT client side and an MQTT server in the mobile terminal, and the MQTT client side encrypts the acquired bar code information to obtain encrypted bar code information;
step (2): the MQTT client splices the encrypted bar code information according to a preset data format and sends the encrypted bar code information to the MQTT server, and the MQTT server analyzes the obtained encrypted bar code information to obtain bar code information of the intelligent equipment; the MQTT server inquires correspondingly coded intelligent equipment information in the equipment server based on the bar code information, then codes the inquired intelligent equipment information through the MQTT server, and returns the coded intelligent equipment information to the MQTT client;
and (3): the MQTT client sends intelligent equipment information inquired by code scanning to a service server in an HTTP request mode, and inputs the intelligent equipment information inquired in the equipment server into a service integration database in the service server;
and (4): and (2) inquiring the platform channel serial number in the bar code information in the step (1) for the platform server corresponding to the platform channel serial number in an HTTP request mode, and associating the inquired platform data information with the intelligent equipment to finish access.
The barcode information of the intelligent device in the step (1) comprises a product sequence code, a video monitoring channel serial number and an access control channel serial number.
The form of the barcode information of the intelligent device in the step (1) comprises a one-dimensional barcode and a two-dimensional barcode.
The data format preset in the step (2) is a JSON data exchange format.
The platform server in the step (4) comprises a video monitoring server and an entrance guard server.
Advantageous effects
Due to the adoption of the technical scheme, compared with the prior art, the invention has the following advantages and positive effects: the invention integrates the dispersed information of a plurality of servers into one server rapidly in a one-key code scanning mode, establishes an incidence relation, manages in a centralized way, effectively combines resources, saves the resources of the servers and the database, thereby realizing the monitoring of the full life cycle of the intelligent equipment.
Drawings
FIG. 1 is a process flow diagram of an embodiment of the present invention.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
The embodiment of the invention relates to a code scanning data set method based on intelligent equipment, which needs to perform the following preparation process before code scanning access through a mobile terminal, and specifically comprises the following steps:
(1) The user needs to select suitable mobile terminal, and mobile terminal generally is intelligent mobile terminal and can sweep the sign indicating number, on mobile terminal the user can develop the APP of corresponding operating system by oneself or use the sign indicating number interface of sweeping that the WeChat provided.
(2) A communication server is built, wherein the communication server in the embodiment is a server based on a Message Queue Telemetry Transport (MQTT) protocol, and the MQTT protocol is built on a TCP/IP protocol and is a lightweight Message protocol based on a publish/subscribe paradigm; the MQTT protocol is selected mainly because the protocol can better adapt to the development of the environment of the Internet of things, and the MQTT protocol can perform relatively reliable data transmission under the low-bandwidth high-delay unreliable network and the hardware environment with limited resources. In this embodiment, the user may choose to build the MQTT server by himself or directly use the MQTT server provided by a third party, for example, the EMQ server may carry millions of user connections.
(3) The method comprises the steps of setting up a business server, wherein the business server comprises a business integration database and is used for integrating all dispersed data information of intelligent equipment, namely the diversity requirements of users can be met through one business server.
As shown in fig. 1, which is a flow chart of the method according to the embodiment of the present invention, the specific steps of the flow chart of the scheme are as follows:
step (1): reading bar code information of intelligent equipment through code scanning of a mobile terminal, so that connection is established between an MQTT client side and an MQTT server in the mobile terminal, and the MQTT client side encrypts the acquired bar code information to obtain encrypted bar code information; in the embodiment, the bar code information comprises a product sequence code (SN code), a video monitoring channel serial number and an entrance guard channel serial number; the form of barcode information may include one-dimensional barcodes and two-dimensional barcodes.
Step (2): the MQTT client splices the encrypted bar code information (namely SN code encrypted information) according to a preset data format and sends the encrypted bar code information to the MQTT server, and the MQTT server analyzes the acquired encrypted bar code information to obtain bar code information of the intelligent equipment; the MQTT server inquires correspondingly coded intelligent equipment information in the equipment server based on the bar code information, then codes the inquired intelligent equipment information through the MQTT server, and returns the coded intelligent equipment information to the MQTT client. The preset data format in the embodiment is a JSON data exchange format, and the JSON data exchange format is adopted because the JSON data exchange format supports multiple programming languages, is easy for machine analysis and generation, occupies small bandwidth, and has high network transmission rate.
And (3): the MQTT client sends the intelligent equipment information inquired by code scanning to a service server in an HTTP request mode, and inputs the intelligent equipment information inquired in the equipment server into a service integration database in the service server.
And (4): the platform server in the embodiment comprises a video monitoring server and an access control server, and the platform channel serial number in the read bar code information comprises a video monitoring channel serial number and an access control channel serial number; inquiring video data information from a video monitoring server in an HTTP request mode according to the serial number of the video monitoring channel in the barcode information read by scanning in the step (1), and associating the inquired video data information with the intelligent equipment, wherein the association is to associate the video data information with the intelligent equipment which is already recorded into a service integration database; meanwhile, inquiring the entrance guard data information from an entrance guard server in an HTTP request mode according to the entrance guard channel serial number in the bar code information read by scanning in the step (1), and associating the inquired entrance guard data information with the intelligent equipment, wherein the association is to associate the entrance guard data information with the intelligent equipment which is already recorded into the service integration database, so as to complete access. And the accessed service integration database comprises data information of the intelligent equipment, video data information and access control data information.
In the embodiment, the mobile terminal is used for scanning codes, all dispersed data information about the intelligent equipment is integrated into one server, and the intelligent equipment is comprehensively supervised through the database in the server, so that server resources and database resources are saved, and the efficiency is improved.
Therefore, the one-key code scanning mode provided by the invention quickly integrates the dispersed information of a plurality of servers into one server, establishes the association relationship, performs centralized management and effectively combines resources, thereby realizing the monitoring of the whole life cycle of the intelligent equipment and having better practicability.

Claims (5)

1. A scanning code data set method based on an intelligent device is characterized by comprising the following steps:
step (1): reading bar code information of intelligent equipment through code scanning of a mobile terminal, so that connection is established between an MQTT client side and an MQTT server in the mobile terminal, and the MQTT client side encrypts the acquired bar code information to obtain encrypted bar code information;
step (2): the MQTT client splices the encrypted bar code information according to a preset data format and sends the encrypted bar code information to the MQTT server, and the MQTT server analyzes the obtained encrypted bar code information to obtain bar code information of the intelligent equipment; the MQTT server inquires correspondingly coded intelligent equipment information in the equipment server based on the bar code information, then codes the inquired intelligent equipment information through the MQTT server, and returns the coded intelligent equipment information to the MQTT client;
and (3): the MQTT client sends intelligent equipment information inquired by code scanning to a service server in an HTTP request mode, and inputs the intelligent equipment information inquired in the equipment server into a service integration database in the service server;
and (4): and (2) inquiring the platform channel serial number in the bar code information in the step (1) for the platform server corresponding to the platform channel serial number in an HTTP request mode, and associating the inquired platform data information with the intelligent equipment information in the service integration database to finish access.
2. The smart device-based scan data set method of claim 1, wherein the barcode information of the smart device in the step (1) includes a product serial number, a video surveillance channel serial number and a door access channel serial number.
3. The smart device-based scan data set method of claim 1, wherein the form of the barcode information of the smart device in the step (1) includes a one-dimensional barcode and a two-dimensional barcode.
4. The smart device-based scan data set method of claim 1, wherein the data format preset in the step (2) is a JSON data exchange format.
5. The smart device-based scan data set method of claim 1, wherein the platform server in the step (4) comprises a video monitoring server and a gate control server.
CN202010635820.3A 2020-07-03 2020-07-03 Intelligent device-based scanned data aggregation method Active CN111866097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010635820.3A CN111866097B (en) 2020-07-03 2020-07-03 Intelligent device-based scanned data aggregation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010635820.3A CN111866097B (en) 2020-07-03 2020-07-03 Intelligent device-based scanned data aggregation method

Publications (2)

Publication Number Publication Date
CN111866097A CN111866097A (en) 2020-10-30
CN111866097B true CN111866097B (en) 2023-03-24

Family

ID=73153037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010635820.3A Active CN111866097B (en) 2020-07-03 2020-07-03 Intelligent device-based scanned data aggregation method

Country Status (1)

Country Link
CN (1) CN111866097B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217315A (en) * 2014-09-09 2014-12-17 福建升腾资讯有限公司 Method for controlling intelligent express box based on two-dimensional code scanning
CN104901970A (en) * 2015-06-19 2015-09-09 赛肯(北京)科技有限公司 Two dimension code registration method, server and system
CN105117876A (en) * 2015-08-03 2015-12-02 长沙奥科电子科技有限公司 Goods supplying method based on digital bar code and electronic platform and system thereof
WO2016107400A1 (en) * 2014-12-30 2016-07-07 珠海奔图电子有限公司 Method and system for binding user account number to image formation device by mobile terminal
CN105975549A (en) * 2016-05-03 2016-09-28 立德高科(昆山)数码科技有限责任公司 Custom two-dimensional bar code recognition method based on web page

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MY147050A (en) * 2007-02-06 2012-10-15 Nexbis Sdn Bhd Mobile information retrieval over wireless network
CN103065116B (en) * 2012-12-31 2016-03-23 王石磊 A kind of method and system of client identification Quick Response Code
CN203520409U (en) * 2013-08-16 2014-04-02 广东旭龙物联科技股份有限公司 Multichannel bar code scanner capable of mobile communication network transmission
CN104156866A (en) * 2014-08-30 2014-11-19 林志辉 Application platform based on two-dimension code, NFC and mobile clients
WO2016119043A1 (en) * 2015-01-27 2016-08-04 Patricia Boyko System and method for accessing personal data
CN106131199A (en) * 2016-07-15 2016-11-16 深圳市丰巨泰科电子有限公司 A kind of intelligent home control system based on android system and control method
CN106296214A (en) * 2016-07-28 2017-01-04 芜湖市振华戎科智能科技有限公司 Product processing follows the tracks of traceability system
CN106570119A (en) * 2016-10-26 2017-04-19 江苏芯艾科半导体有限公司 Device for quickly obtaining product information and method for obtaining product information
CN107240057A (en) * 2017-05-24 2017-10-10 南京金盾公共安全技术研究院有限公司 Video monitoring residence management system and management method based on Quick Response Code
CN207264446U (en) * 2017-05-24 2018-04-20 中铁建设投资集团有限公司 A kind of Bridge construction monitoring system
CN107590667A (en) * 2017-08-28 2018-01-16 深圳市金天速科技有限公司 False proof source tracing method, system and mobile terminal based on multi-code unification
CN107623613A (en) * 2017-09-13 2018-01-23 微赫智能科技(上海)有限公司 Intelligent household system
CN110209960A (en) * 2019-05-29 2019-09-06 国网浙江电动汽车服务有限公司 A kind of integrated two-dimensional code control technology
CN110598817A (en) * 2019-09-20 2019-12-20 惠州市新一代工业互联网创新研究院 Universal dynamic configuration system and method for two-dimension code of industrial equipment body

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217315A (en) * 2014-09-09 2014-12-17 福建升腾资讯有限公司 Method for controlling intelligent express box based on two-dimensional code scanning
WO2016107400A1 (en) * 2014-12-30 2016-07-07 珠海奔图电子有限公司 Method and system for binding user account number to image formation device by mobile terminal
CN104901970A (en) * 2015-06-19 2015-09-09 赛肯(北京)科技有限公司 Two dimension code registration method, server and system
CN105117876A (en) * 2015-08-03 2015-12-02 长沙奥科电子科技有限公司 Goods supplying method based on digital bar code and electronic platform and system thereof
CN105975549A (en) * 2016-05-03 2016-09-28 立德高科(昆山)数码科技有限责任公司 Custom two-dimensional bar code recognition method based on web page

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于微信小程序扫码考勤系统设计;朱丽进;《电脑知识与技术》;20191125(第33期);全文 *

Also Published As

Publication number Publication date
CN111866097A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
Hejazi et al. Survey of platforms for massive IoT
KR101541263B1 (en) Method and apparatus for executing user action commands
US7966384B2 (en) Real-time interactive system and method for making and updating changes to infrastructure data
CN109327493A (en) A kind of remote medical monitoring system based on cloud and monitoring method
CN111343020A (en) Unified management method and device for multi-protocol Internet of things equipment
US20120244891A1 (en) System and method for enabling a mobile chat session
CN107392031A (en) The scan method and device of leak
US9686420B2 (en) Device, computer-readable medium, and method for retaining services using advanced data collection capabilities
CN113760824B (en) Scanning file acquisition method, computer device and computer readable storage medium
CN108206864B (en) Vehicle information synchronization real-time query system and information synchronization method based on WeChat
CN117478765A (en) Information interaction method based on Internet of things multi-protocol adaptation
US20120117181A1 (en) System for and method of providing mobile applications management
CN101739575A (en) Data processing method for multi-hardware equipment centralized management in radio frequency identification system
CN107368334B (en) Business plug-in interaction system and method
JP2023500905A (en) Smart trigger-initiated collaboration platform
CN111884905A (en) Message management method and system
CN105120207A (en) Sweeping robot video monitoring method and server
CN111866097B (en) Intelligent device-based scanned data aggregation method
CN102904909A (en) OCR (Optical Character Recognition) method based on cloud model
CN101911096A (en) Method of decoding, corresponding terminal and computer program, method of translation, corresponding server and computer program
CN103973648A (en) Application data push method, device and system
CN106097609A (en) The remote control administrative system of intelligence POS terminal and remote monitoring and administration method
CN112511631A (en) Control system and method of intelligent device
CN109100944B (en) IMS-based data acquisition and processing system
Elgazzar Perspectives on M2M protocols

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant