CN109462633B - Sensing equipment for realizing full-stack universal adaptation function - Google Patents
Sensing equipment for realizing full-stack universal adaptation function Download PDFInfo
- Publication number
- CN109462633B CN109462633B CN201811086647.5A CN201811086647A CN109462633B CN 109462633 B CN109462633 B CN 109462633B CN 201811086647 A CN201811086647 A CN 201811086647A CN 109462633 B CN109462633 B CN 109462633B
- Authority
- CN
- China
- Prior art keywords
- sensing
- data transmission
- unit
- data
- sensor
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D11/00—Component parts of measuring arrangements not specially adapted for a specific variable
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
- G06F21/445—Program or device authentication by mutual authentication, e.g. between devices or programs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a sensing device for realizing a full-stack universal adaptation function, which comprises a sensor and a controller, wherein the sensor is used for collecting sensing data, and the controller comprises: the interface adaptation unit is used for converting the interface of the sensor into a standard interface; the communication matching unit is used for establishing wired connection or wireless connection with data transmission equipment at the rear end and establishing wired connection with the sensor through a standard interface; the pairing verification unit is used for sending equipment type information to the data transmission equipment; the service configuration unit is used for receiving a configuration instruction sent by the data transmission equipment, setting a current application scene and operating a sensing algorithm corresponding to the current application scene according to the configuration instruction so as to process the sensing data, wherein the service configuration unit is internally provided with a plurality of sensing algorithms; and the data application unit is used for sending the processing result of the sensing algorithm to the data transmission equipment according to a preset display format. The invention can be compatible with various sensors in the prior art.
Description
Technical Field
The invention relates to the technical field of computers, in particular to sensing equipment for realizing a full-stack universal adaptation function.
Background
With the rapid development of the internet of things, application service systems based on various sensors are in a large number, and the sensors are applied in the aspects of social life in both the traditional fields of industry, agriculture and the like and the emerging fields of smart cities, smart traffic and the like.
However, since the physical and electrical interfaces of the sensors of different types and different manufacturers are different, in actual application and popularization, the sensors of different types need to be compatible, the research and development investment time is increased, and the equipment cost is increased. Therefore, there is a need for a method that can unify physical and electrical interfaces of various sensors, so that research and development investment time can be reduced and overall cost of equipment can be reduced during application of specific projects, and therefore, application of the internet of things is enabled to enter a social life aspect, and more common users can enjoy convenience brought by the internet of things.
Disclosure of Invention
The invention aims to: aiming at the existing problems, the sensing equipment for realizing the full-stack universal adaptation function is provided, and can be compatible with various existing sensors.
In order to solve the technical problems, the invention adopts a technical scheme that: the sensing equipment for realizing the full-stack universal adaptation function comprises a sensor and a controller, wherein the sensor is used for collecting sensing data, and the controller comprises an interface adaptation unit, a communication matching unit, a pairing verification unit, a service configuration unit and a data application unit; the interface adapting unit is used for converting the interface of the sensor into a standard interface; the communication matching unit is used for establishing wired connection or wireless connection with data transmission equipment at the rear end and establishing wired connection with the sensor through the standard interface; the pairing verification unit is used for sending equipment type information to the data transmission equipment so that the data transmission equipment can identify the sensing type, the supported sensing algorithm and equipment firmware information of the sensing equipment according to the equipment type information; the service configuration unit is used for receiving a configuration instruction sent by the data transmission equipment, setting a current application scene according to the configuration instruction and operating a sensing algorithm corresponding to the current application scene so as to process the sensing data, wherein the service configuration unit is internally provided with a plurality of sensing algorithms; the data application unit is used for sending the processing result of the sensing algorithm to the data transmission equipment according to a preset display format, so that the processing result can be displayed on different application terminals.
Preferably, the pairing verification unit is specifically configured to send device identification information to the data transmission device according to a preset data frame format, so that the data transmission device verifies the device identification information, and after the data transmission device passes verification, send device type information to the data transmission device, so that the data transmission device identifies the sensing type of the sensing device, the sensing algorithm supported by the sensing device, and device firmware information according to the device type information.
Preferably, the preset display format includes an HTML page display format, a wechat applet display format, and an APP display format.
In summary, due to the adoption of the technical scheme, the sensing equipment for realizing the full-stack universal adaptation function has the full-stack universal adaptation function by unifying various different physical and electrical interfaces of the existing various sensors into a standard interface and unifying the adaptation mechanism and the display format, so that sensing data of the sensing equipment can be presented at different application terminals in a flexible and intuitive manner through the internet, the existing various sensors can be compatible, a user can conveniently and simply select or replace the sensing equipment, the requirements of various fields and application scenes are met, and the application threshold of the internet of things is lowered.
Drawings
Fig. 1 is a schematic block diagram of a sensing device implementing a full stack generic adaptation function according to an embodiment of the present invention.
Detailed Description
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.
Any feature disclosed in this specification (including any accompanying claims, abstract) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
As shown in fig. 1, in the embodiment of the present invention, a sensing device 10 implementing a full stack universal adaptation function includes a sensor 11 and a controller 12, where the sensor 11 is used to collect sensing data, and the sensor 11 may be any current sensor.
The controller 12 includes an interface adaptation unit 121, a communication matching unit 122, a pairing verification unit 123, a service configuration unit 124, and a data application unit 125.
The interface adapting unit 121 is used to convert the interface of the sensor 11 into a standard interface. The interface adapting unit 121 may unify a plurality of different physical and electrical interfaces of the existing sensors into a standard interface, and may unify the data format of the sensing data after unifying the physical and electrical interfaces into the standard interface.
The communication matching unit 122 is used for establishing wired connection or wireless connection with the data transmission device 20 at the back end, and establishing wired connection with the sensor 11 through a standard interface. The wired connection or the wireless connection established by the communication matching unit 122 and the data transmission device 20 is performed on a physical layer, and the transmission medium involved in the wireless connection includes, but is not limited to, radio frequency, and the transmission medium involved in the wired connection includes, but is not limited to, a wired cable. If the transmission medium is wireless radio frequency, the characteristics of radio frequency, modulation and demodulation modes and the like are required to be specified; if the transmission medium is a wired cable, the connector form, size, and characteristics such as compliance or waterproof rating are specified, and the electrical interface is also defined.
The pairing verification unit 123 is configured to send device type information to the data transmission device 20, so that the data transmission device 20 identifies the sensing class, the supported sensing algorithm, and the device firmware information of the sensing device 10 according to the device type information. The interaction of the pairing verification unit 123 with the data transmission device 20 is performed at the link layer. The link layer needs to specify the format of the data transmission frame, including the format of start bit, stop bit, data bit and check bit.
The service configuration unit 124 is configured to receive a configuration instruction sent by the data transmission device 20, and set a current application scenario and run a sensing algorithm corresponding to the current application scenario according to the configuration instruction, so as to process the sensing data, where the service configuration unit 124 has multiple sensing algorithms built therein. Wherein the interaction of the service configuration unit 124 with the data transmission device 20 is performed at the adaptation layer. The current application scenario is related to the actual working situation of the sensor, and the configuration instruction is set by a user. That is to say, the configuration instruction is issued, so that the sensing device 10 can operate different sensing algorithms according to different application scenes, and the applicability of the sensing device 10 is greatly improved.
The data application unit 125 is configured to send the processing result of the sensing algorithm to the data transmission device 20 according to a preset display format, so that the processing result can be displayed on different application terminals. Wherein the interaction of the service configuration unit 124 with the data transmission device 20 is performed at the application layer. Different application terminals have different application display interfaces, and after the processing result is sent to the data transmission device 20 according to the preset display format, the data transmission device 20 is transmitted to the upper-layer user application system, so that the sensing data of the sensing device 10 can be more easily and correctly understood by the user application systems integrated with the different application terminals, so as to better support front-end application presentation. The preset display format may be predefined by a user, and may include HTML page display format, wechat applet display format, APP display format, and the like.
In this embodiment, the pairing verification unit 123 is specifically configured to send the device identification information to the data transmission device 20 according to a preset data frame format, so that the data transmission device 20 verifies the device identification information, and after the data transmission device 20 passes the verification, send the device type information to the data transmission device 20, so that the data transmission device 20 identifies the sensing type of the sensing device 10, the sensing algorithm supported by the sensing device 10, and the device firmware information according to the device type information. The data transmission device 20 may introduce an asymmetric encryption algorithm, verify the device identification information by using the asymmetric encryption algorithm, transmit data through wired connection or wireless connection after the verification is passed, and disconnect the wired connection or wireless connection to stop receiving data if the verification is not passed. The user may select to turn on or turn off the device identification function according to actual conditions, if the function is turned on, the data transmission device 20 needs to verify the device identification information first, and after the verification is passed, the pairing verification unit 123 may send the device type information, and if the function is turned off, the pairing verification unit 123 may directly send the device type information.
Through the mode, the sensing equipment for realizing the full-stack universal adaptation function can greatly reduce the professional threshold of the application of the Internet of things, and more common users without professional knowledge of the Internet of things can complete personalized Internet of things system construction under simple guidance, so that the application of the Internet of things is deep into the aspect of social life, and more common users can enjoy the convenience brought by the Internet of things.
The invention is not limited to the foregoing embodiments. The invention extends to any novel feature or any novel combination of features disclosed in this specification and any novel method or process steps or any novel combination of features disclosed.
Claims (3)
1. A sensing device for realizing a full-stack universal adaptation function is characterized by comprising a sensor and a controller, wherein the sensor is used for collecting sensing data, and the controller comprises an interface adaptation unit, a communication matching unit, a pairing verification unit, a service configuration unit and a data application unit;
the interface adapting unit is used for converting the interface of the sensor into a standard interface;
the communication matching unit is used for establishing wired connection or wireless connection with data transmission equipment at the rear end and establishing wired connection with the sensor through the standard interface;
the pairing verification unit is used for sending equipment type information to the data transmission equipment so that the data transmission equipment can identify the sensing type, the supported sensing algorithm and equipment firmware information of the sensing equipment according to the equipment type information;
the service configuration unit is used for receiving a configuration instruction sent by the data transmission equipment, setting a current application scene according to the configuration instruction and operating a sensing algorithm corresponding to the current application scene so as to process the sensing data, wherein the service configuration unit is internally provided with a plurality of sensing algorithms;
the data application unit is used for sending the processing result of the sensing algorithm to the data transmission equipment according to a preset display format, so that the processing result can be displayed on different application terminals.
2. The sensing device according to claim 1, wherein the pairing verification unit is specifically configured to send device identification information to the data transmission device according to a preset data frame format, so that the data transmission device verifies the device identification information, and after the data transmission device passes the verification, send device type information to the data transmission device, so that the data transmission device identifies the sensing type, the supported sensing algorithm, and the device firmware information of the sensing device according to the device type information.
3. The sensing device of claim 1 or 2, wherein the predetermined display format comprises an HTML page display format, a wechat applet display format, and an APP display format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811086647.5A CN109462633B (en) | 2018-09-18 | 2018-09-18 | Sensing equipment for realizing full-stack universal adaptation function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811086647.5A CN109462633B (en) | 2018-09-18 | 2018-09-18 | Sensing equipment for realizing full-stack universal adaptation function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109462633A CN109462633A (en) | 2019-03-12 |
CN109462633B true CN109462633B (en) | 2021-09-24 |
Family
ID=65606728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811086647.5A Active CN109462633B (en) | 2018-09-18 | 2018-09-18 | Sensing equipment for realizing full-stack universal adaptation function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109462633B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677838A (en) * | 2013-12-17 | 2014-03-26 | 北京奥特美克科技股份有限公司 | RTU sensor adaptation layer based on virtual sensors and design method of RTU sensor adaptation layer |
CN104203096A (en) * | 2012-01-19 | 2014-12-10 | 耐克创新有限合伙公司 | Multi-activity platform and interface |
CN107274368A (en) * | 2017-06-16 | 2017-10-20 | 大连交通大学 | Compatible vision processing system and method |
CN107566468A (en) * | 2017-08-24 | 2018-01-09 | 北京虹电科技有限公司 | Low power-consumption intelligent wireless senser and its control system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8204585B2 (en) * | 2005-12-20 | 2012-06-19 | Cardiac Pacemakers, Inc. | Bio-impedance sensor and sensing method |
-
2018
- 2018-09-18 CN CN201811086647.5A patent/CN109462633B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104203096A (en) * | 2012-01-19 | 2014-12-10 | 耐克创新有限合伙公司 | Multi-activity platform and interface |
CN103677838A (en) * | 2013-12-17 | 2014-03-26 | 北京奥特美克科技股份有限公司 | RTU sensor adaptation layer based on virtual sensors and design method of RTU sensor adaptation layer |
CN107274368A (en) * | 2017-06-16 | 2017-10-20 | 大连交通大学 | Compatible vision processing system and method |
CN107566468A (en) * | 2017-08-24 | 2018-01-09 | 北京虹电科技有限公司 | Low power-consumption intelligent wireless senser and its control system |
Also Published As
Publication number | Publication date |
---|---|
CN109462633A (en) | 2019-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101690125B (en) | Communication of information between a host device and an accessory via an intermediate device | |
CN102428457B (en) | Mobile computing device capabilities for accessories | |
EP3141974A1 (en) | Personal vehicle diagnosis system and method based on mobile intelligent terminal | |
KR101351575B1 (en) | System and method for data processing using earphone port | |
EP3171245B1 (en) | Method, apparatus, and system for upgrading adapter | |
CN103607710A (en) | Quick connection method and device for wireless devices and intelligent terminal | |
CN105144757A (en) | Communication service in communication modes | |
KR101956574B1 (en) | Apparatus and method for identifying operating system of host device in portable terminal | |
CN102483728A (en) | Device-dependent selection between modes for asymmetric serial protocols | |
WO2013184257A1 (en) | Message-based identification of an electronic device | |
KR101588993B1 (en) | Protocol translating adapter | |
KR20190035076A (en) | Method for registration of internet of things deivce and the appratus thereof | |
CN112233404A (en) | Bluetooth connection method, Bluetooth remote controller, terminal device and storage medium | |
CN111817097A (en) | Charging control method and data line | |
US7975075B2 (en) | Data communication system and method | |
CN109462633B (en) | Sensing equipment for realizing full-stack universal adaptation function | |
CN103220370B (en) | Method and device for achieving single wire protocol (SWP) interface and SWP system | |
CN113766406B (en) | Earphone testing method, system and device | |
KR101704108B1 (en) | Terminal Apparatus and Method for Connecting of Head-Unit for Vehicle | |
CN110446191B (en) | Setting method of data transmission radio station, mobile terminal equipment and storage medium | |
WO2014166255A1 (en) | Method, device, and terminal for determining user interface language display of sim card | |
EP2939404B1 (en) | Obtaining on-line service | |
US20140281756A1 (en) | Method and apparatus for tracking device interaction information | |
CN105142237A (en) | Device pairing method and system | |
CN205430621U (en) | Equipment system of paiing |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210906 Address after: No.9, 21 / F, building 4, NO.666, Jincheng Avenue, hi tech Zone, Chengdu, Sichuan 610041 Applicant after: Sichuan Xiniu Zhibo Technology Co., Ltd Address before: No.40-18, jiulidi North Road, Jinniu District, Chengdu, Sichuan 610000 Applicant before: SICHUAN XINIU MATRIX TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |