CN114356822B - Modularized data sensing system and method - Google Patents
Modularized data sensing system and method Download PDFInfo
- Publication number
- CN114356822B CN114356822B CN202111641431.2A CN202111641431A CN114356822B CN 114356822 B CN114356822 B CN 114356822B CN 202111641431 A CN202111641431 A CN 202111641431A CN 114356822 B CN114356822 B CN 114356822B
- Authority
- CN
- China
- Prior art keywords
- interface component
- sensing
- data
- detection
- sensing module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 9
- 230000008447 perception Effects 0.000 claims abstract description 14
- 238000001514 detection method Methods 0.000 claims description 42
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a modularized data sensing system and a modularized data sensing method, wherein the system comprises a sensing system, the sensing system is connected with a plurality of sensing modules through a plurality of hot plug interfaces, and the hot plug interfaces comprise an identification interface component part and a data interface component part; the identification interface component is used for identifying the ID information of the sensing module; the data interface component is used for communicating with the sensing module; when the ID information identified by the identification interface component changes, the perception system re-reads the identification interface component and updates the data interface component according to the obtained ID information. The invention can avoid the problem caused by the difference between different data sensing requirements.
Description
Technical Field
The present invention relates to the field of data sensing technologies, and in particular, to a modularized data sensing system and method.
Background
At present, the digital interface generally realizes plug and play and supports the function of hot plug. The existing digital interface can inform the upstream equipment of adding or leaving new equipment according to the hot plug signal, so that the upstream equipment can collect data according to the information, but the existing mode only can know whether the new equipment exists or not and cannot know the type of the new equipment, and thus the problem that a system cannot work possibly occurs when the collected data type of the new equipment changes.
Disclosure of Invention
The invention aims to provide a modularized data sensing system and a modularized data sensing method, which can avoid the problem caused by the difference between different data sensing demands.
The technical scheme adopted for solving the technical problems is as follows: the modularized data sensing system comprises a sensing system, wherein the sensing system is connected with a plurality of sensing modules through a plurality of hot plug interfaces, and each hot plug interface comprises an identification interface component and a data interface component; the identification interface component is used for identifying the ID information of the sensing module; the data interface component is used for communicating with the sensing module; when the ID information identified by the identification interface component changes, the perception system re-reads the identification interface component and updates the data interface component according to the obtained ID information.
The hot plug interface also comprises a detection interface component part, the detection interface component part is used for detecting whether the hot plug interface is inserted into the sensing module, and the sensing system controls the use state of the data interface component part according to the detection result of the detection interface component part.
When the detection result of the detection interface component is that the sensing module is removed, the sensing system controls the data interface component to be in a disabled state; when the detection result of the detection interface component is that the sensing module is inserted, the sensing system controls the data interface component to be in an on state.
The technical scheme adopted for solving the technical problems is as follows: the invention also provides a modularized data sensing method, which adopts the modularized data sensing system and comprises the following steps:
Detecting whether the hot plug interface is changed or not through the detection interface component and the identification interface component;
when the detection result of the detection interface component is unchanged, the identification interface component recognizes that the ID information of the sensing module is changed, the ID state of the sensing module is considered to be changed;
and the perception system re-reads the identification interface component to obtain changed ID information, determines the type of the perception module according to the ID information, and calls the corresponding data interface component according to the type of the perception module to complete dynamic updating configuration.
When the detection result of the detection interface component changes, the sensing system controls the use state of the corresponding data interface component.
When the detection result of the detection interface component is that the sensing module is removed, the sensing system controls the data interface component to be in a disabled state; when the detection result of the detection interface component is that the sensing module is inserted, the sensing system controls the data interface component to be in an on state.
Advantageous effects
Due to the adoption of the technical scheme, compared with the prior art, the invention has the following advantages and positive effects: according to the invention, the identification part is added in the hot plug interface to identify the ID information of the sensing module, when the ID information of the sensing module is changed, the sensing system can read the identification interface component again to obtain the ID information of the corresponding sensing module, and reconfigure the data interface according to the ID information.
Drawings
FIG. 1 is a schematic diagram of an embodiment of the present invention;
Fig. 2 is a flow chart of an embodiment of the present invention.
Detailed Description
The application will be further illustrated with reference to specific examples. It is to be understood that these examples are illustrative of the present application and are not intended to limit the scope of the present application. Furthermore, it should be understood that various changes and modifications can be made by one skilled in the art after reading the teachings of the present application, and such equivalents are intended to fall within the scope of the application as defined in the appended claims.
The embodiment of the invention relates to a modularized data sensing system, as shown in fig. 1, which comprises a sensing system, wherein the sensing system is connected with a plurality of sensing modules through a plurality of hot plug interfaces, and the hot plug interfaces comprise an identification interface component part and a data interface component part; the identification interface component is used for identifying the ID information of the sensing module; the data interface component is used for communicating with the sensing module; and the perception system updates the data interface component according to the ID information identified by the identification interface component.
Specifically, in this embodiment, the ID information of the sensing module is identified by the identification interface component, so as to obtain whether the data type of the sensing module changes, and when the ID information of the sensing module changes, it indicates that the data type of the sensing module changes. After the identification interface component identifies the ID information change of the sensing module, the sensing system can find the corresponding data interface component according to the identified ID information of the sensing module, so that the data interface component is updated, and the problem caused by the difference between different data sensing requirements is avoided.
The hot plug interface in this embodiment further includes a detection interface component, where the detection interface component is configured to detect whether the hot plug interface is inserted into the sensing module, and the sensing system controls a use state of the data interface component according to a detection result of the detection interface component.
When the detection result of the detection interface component is that the sensing module is removed, the sensing system controls the data interface component to be in a disabled state; when the detection result of the detection interface component is that the sensing module is inserted, the sensing system controls the data interface component to be in an on state.
The workflow of the present embodiment, as shown in fig. 2, specifically includes the following steps:
When the system is running, the ID information and interface state of the sensing module are continuously inquired, and when the state of the detection interface component or the identification interface component is found to be changed, the detection interface component is used for detecting whether the plug event of the sensing module is generated or not. If a hot plug change event occurs, the main body or the body respectively performs an enabling or closing operation of the data interface, namely when the sensing module is removed, the sensing interface component detects the removal of the sensing module, the sensing system closes the data interface component corresponding to the sensing module according to the information, when the sensing module is inserted, the sensing system detects the insertion of the sensing module, reads the information of the identification interface component according to the information to obtain the data type of the inserted sensing module, and configures the corresponding data interface component according to the data type of the sensing module, for example, when the data type of the sensing module sensed by the sensing system is a voltage current signal, the sensing system configures the analog interface. If the detection interface component does not change, the detection interface component does not generate a hot plug event, whether the identification interface component changes is detected, when the identification interface component changes, the ID state of the sensing module is changed, the sensing system needs to read the identification interface component again to obtain ID information after the sensing module is changed, the data type of the sensing module is determined according to the ID information, and the data interface component is dynamically updated according to the data type as a main body or a main body, so that dynamic updating configuration is completed. After completion, the sensing system resumes the previous operating state and starts the next poll.
It is easy to find that the identification part is added in the hot plug interface to identify the ID information of the sensing module, when the ID information of the sensing module changes, the sensing system can read the identification interface component again to obtain the ID information of the corresponding sensing module, and reconfigure the data interface according to the ID information.
Claims (5)
1. The modularized data perception system is characterized by comprising a perception system, wherein the perception system is connected with a plurality of perception modules through a plurality of hot plug interfaces, and the hot plug interfaces comprise an identification interface component and a data interface component; the identification interface component is used for identifying the ID information of the sensing module; the data interface component is used for communicating with the sensing module; when the ID information identified by the identification interface component changes, the perception system re-reads the identification interface component and updates the data interface component according to the obtained ID information; the hot plug interface also comprises a detection interface component part, the detection interface component part is used for detecting whether the hot plug interface is inserted into the sensing module, and the sensing system controls the use state of the data interface component part according to the detection result of the detection interface component part.
2. The modular data sensing system of claim 1, wherein the sensing system controls the data interface component to be in a disabled state when the sensing module is removed as a result of the sensing interface component; when the detection result of the detection interface component is that the sensing module is inserted, the sensing system controls the data interface component to be in an on state.
3. A modular data sensing method, characterized in that a modular data sensing system according to any of claims 1-2 is used, comprising the steps of:
Detecting whether the hot plug interface is changed or not through the detection interface component and the identification interface component; when the detection result of the detection interface component is unchanged, the identification interface component recognizes that the ID information of the sensing module is changed, the ID state of the sensing module is considered to be changed;
and the perception system re-reads the identification interface component to obtain changed ID information, determines the type of the perception module according to the ID information, and calls the corresponding data interface component according to the type of the perception module to complete dynamic updating configuration.
4. A modular data sensing method as defined in claim 3, wherein the sensing system controls the usage status of the corresponding data interface component when the detection result of the detection interface component changes.
5. The method of claim 4, wherein the sensing system controls the data interface component to be in a disabled state when the sensing module is removed as a result of the sensing interface component; when the detection result of the detection interface component is that the sensing module is inserted, the sensing system controls the data interface component to be in an on state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111641431.2A CN114356822B (en) | 2021-12-29 | 2021-12-29 | Modularized data sensing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111641431.2A CN114356822B (en) | 2021-12-29 | 2021-12-29 | Modularized data sensing system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114356822A CN114356822A (en) | 2022-04-15 |
CN114356822B true CN114356822B (en) | 2024-04-30 |
Family
ID=81102891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111641431.2A Active CN114356822B (en) | 2021-12-29 | 2021-12-29 | Modularized data sensing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114356822B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030058399A (en) * | 2001-12-31 | 2003-07-07 | 엘지전자 주식회사 | Method And Apparatus for realizing Hot Plug Detection by using Digital Visual Interface |
CN1632774A (en) * | 2004-04-30 | 2005-06-29 | 山东新北洋信息技术股份有限公司 | Identification method for USB interface equipment |
CN101257410A (en) * | 2008-03-13 | 2008-09-03 | 四川长虹电器股份有限公司 | Method for digital interface to automatically perform information collection |
CN101859290A (en) * | 2001-12-19 | 2010-10-13 | 英特尔公司 | Hot plug interface control method and device |
CN102694992A (en) * | 2011-09-23 | 2012-09-26 | 新奥特(北京)视频技术有限公司 | Method, equipment and system for identifying interface type in data safety prevention and control |
CN103702056A (en) * | 2013-12-13 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | HDMI (High-definition Multimedia Interface) signal processing circuit and method |
CN104903879A (en) * | 2012-11-07 | 2015-09-09 | Ati科技无限责任公司 | Flexible implementation of serial bus support over display interface |
CN109254935A (en) * | 2018-08-17 | 2019-01-22 | 青岛海信电器股份有限公司 | The recognition methods of smart television external storage equipment type and device |
CN110750306A (en) * | 2019-10-18 | 2020-02-04 | 厦门亿联网络技术股份有限公司 | Method and system for uniformly identifying hot plug of multi-type equipment |
-
2021
- 2021-12-29 CN CN202111641431.2A patent/CN114356822B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859290A (en) * | 2001-12-19 | 2010-10-13 | 英特尔公司 | Hot plug interface control method and device |
KR20030058399A (en) * | 2001-12-31 | 2003-07-07 | 엘지전자 주식회사 | Method And Apparatus for realizing Hot Plug Detection by using Digital Visual Interface |
CN1632774A (en) * | 2004-04-30 | 2005-06-29 | 山东新北洋信息技术股份有限公司 | Identification method for USB interface equipment |
CN101257410A (en) * | 2008-03-13 | 2008-09-03 | 四川长虹电器股份有限公司 | Method for digital interface to automatically perform information collection |
CN102694992A (en) * | 2011-09-23 | 2012-09-26 | 新奥特(北京)视频技术有限公司 | Method, equipment and system for identifying interface type in data safety prevention and control |
CN104903879A (en) * | 2012-11-07 | 2015-09-09 | Ati科技无限责任公司 | Flexible implementation of serial bus support over display interface |
CN103702056A (en) * | 2013-12-13 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | HDMI (High-definition Multimedia Interface) signal processing circuit and method |
CN109254935A (en) * | 2018-08-17 | 2019-01-22 | 青岛海信电器股份有限公司 | The recognition methods of smart television external storage equipment type and device |
CN110750306A (en) * | 2019-10-18 | 2020-02-04 | 厦门亿联网络技术股份有限公司 | Method and system for uniformly identifying hot plug of multi-type equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114356822A (en) | 2022-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2689632B1 (en) | Mobile terminal and interface method thereof | |
CN101667166B (en) | Equipment identification method and device | |
CN106161706B (en) | SIM card and SD card are total to detection method, device and the mobile terminal of Kato | |
CN109270467A (en) | The battery electricity detection method and device of equipment | |
CN105226779A (en) | Wireless charging device and control method thereof and control device | |
CN104978300A (en) | Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment | |
CN109738719A (en) | Electro-static Driven Comb ESD detection method and Related product | |
CN111868686A (en) | Export method of common application program and export device using same | |
CN105721687A (en) | Battery abnormity detection method and system based on mobile terminal | |
CN114356822B (en) | Modularized data sensing system and method | |
CN106160033A (en) | A kind for the treatment of method and apparatus of terminal charger | |
CN104750814A (en) | Multisensor-based multivariate and heterogeneous data steam automatic storage method | |
CN108881345A (en) | Information push method and routing device | |
CN101582816A (en) | Home gateway, and system and method for collecting diagnosis and maintenance information thereof | |
CN103443736B (en) | The starter gear of electronic equipment, method and user's recognition system | |
CN105354491A (en) | Intelligent terminal standby state detection method and device | |
CN108984422A (en) | A method of memory is saved based on NTFS and FAT32 file system cluster management | |
CN104717092A (en) | Master-slave communication system with standby operation | |
CN105528049A (en) | Configuration method for driving current of CMD pin of SD card, and terminal | |
CN110929819B (en) | Production line management method based on Kpageware OPC communication protocol | |
CN100421354C (en) | Method for controlling the mode of an electronic appliance | |
CN103838592A (en) | Software calling system and method based on version of PCB | |
CN111104994A (en) | Intelligent infrastructure management system and method based on radio frequency identification technology | |
CN114353865B (en) | Temperature and humidity detection circuit and temperature and humidity detection method | |
CN118091224B (en) | Air conditioner brand identification circuit and identification method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |