CN114356822A - Modular data sensing system and method - Google Patents

Modular data sensing system and method Download PDF

Info

Publication number
CN114356822A
CN114356822A CN202111641431.2A CN202111641431A CN114356822A CN 114356822 A CN114356822 A CN 114356822A CN 202111641431 A CN202111641431 A CN 202111641431A CN 114356822 A CN114356822 A CN 114356822A
Authority
CN
China
Prior art keywords
interface component
sensing
sensing system
data
information
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.)
Pending
Application number
CN202111641431.2A
Other languages
Chinese (zh)
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.)
Shuocheng Xiamen Technology Co ltd
Original Assignee
Shuocheng Xiamen Technology 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 Shuocheng Xiamen Technology Co ltd filed Critical Shuocheng Xiamen Technology Co ltd
Priority to CN202111641431.2A priority Critical patent/CN114356822A/en
Publication of CN114356822A publication Critical patent/CN114356822A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging

Abstract

The invention relates to a modularized data sensing system and a 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 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 perception module; the data interface component is used for communicating with the perception module; and when the ID information identified by the identification interface component is changed, the sensing system reads the identification interface component again 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 perception requirements.

Description

Modular data sensing system and method
Technical Field
The present invention relates to the field of data sensing technologies, and in particular, to a modular data sensing system and method.
Background
At present, digital interfaces are generally plug and play and support hot plug functions. The existing digital interface can inform the upstream equipment of adding or leaving of new equipment according to a hot plug signal, so that the upstream equipment can acquire data according to the information, but the existing mode can only know whether the new equipment exists or not and cannot know the type of the new equipment, so that the problem that a system cannot work possibly occurs when the type of the data acquired by the new equipment changes.
Disclosure of Invention
The invention aims to provide a modular data sensing system and a method, which can avoid the problem caused by the difference between different data sensing requirements.
The technical scheme adopted by the invention for solving the technical problems is as follows: 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 perception module; the data interface component is used for communicating with the perception module; and when the ID information identified by the identification interface component is changed, the sensing system reads the identification interface component again and updates the data interface component according to the obtained ID information.
The hot plug interface also comprises a detection interface component, the detection interface component 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 according to the 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 forbidden state; and 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 open state.
The technical scheme adopted by the invention for solving the technical problems is as follows: the modularized data sensing system comprises the following steps:
detecting whether the hot plug interface changes or not through the detection interface component and the identification interface component;
when the detection result of the detection interface component does not change and the identification interface component identifies that the ID information of the sensing module changes, the ID state of the sensing module is considered to be changed;
and the perception system reads the identification interface component part again to obtain the changed ID information, determines the type of the perception module according to the ID information, and calls the corresponding data interface component part according to the type of the perception module to complete dynamic update configuration.
And 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 forbidden state; and 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 open 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 part again to obtain the ID information of the corresponding sensing module, and the data interface is reconfigured according to the ID information.
Drawings
FIG. 1 is a schematic structural diagram of an embodiment of the present invention;
fig. 2 is a flow chart 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 modularized data sensing system, 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 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 perception module; the data interface component is used for communicating with the perception module; and the perception system updates the data interface component according to the ID information identified by the identification interface component.
Specifically, in the embodiment, the ID information of the sensing module is identified by the identification interface component, so as to know whether the data type of the sensing module changes, and when the ID information of the sensing module changes, 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 among 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 used to detect whether the hot plug interface is inserted into the sensing module, and the sensing system controls the use state of the data interface component according to the 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 forbidden state; and 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 open state.
The work flow of the present embodiment is shown in fig. 2, and specifically includes the following steps:
when the system runs, the ID information and the interface state of the sensing module are continuously inquired, and when the state of the detection interface component or the identification interface component is changed, each changed interface is firstly detected whether the plugging event of the sensing module is generated or not through the detection interface component. If a hot plug change event occurs, the main body or the body respectively performs starting or closing operation of the data interface, namely when the sensing module is removed, the detection interface component detects that the sensing module is removed, the sensing system closes the data interface component corresponding to the sensing module according to the information, when the sensing module is inserted, the detection interface component detects that the sensing module is inserted, the sensing system 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 analog interface is configured. If the detection interface component does not change, the hot plug event does not occur at the moment, 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 the 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 for the main body or the body according to the data type, so that the dynamic updating configuration is completed. After completion, the sensing system resumes the previous run state and begins the next round of polling.
It is not difficult to find that the invention adds an identification part 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 part again to obtain the ID information of the corresponding sensing module, and reconfigures the data interface according to the ID information, in this way, the main body or the body can dynamically update the data interface configuration, thereby avoiding the problem caused by the difference between different data sensing requirements, and greatly improving the usability and the efficiency of the device.

Claims (6)

1. A modularized data sensing system is characterized by comprising 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 perception module; the data interface component is used for communicating with the perception module; and when the ID information identified by the identification interface component is changed, the sensing system reads the identification interface component again and updates the data interface component according to the obtained ID information.
2. The modular data sensing system of claim 1, wherein the hot plug interface further comprises a detection interface component for detecting whether the hot plug interface is inserted into the sensing module, and the sensing system controls the use status of the data interface component according to the detection result of the detection interface component.
3. The modular data sensing system of claim 2, wherein the sensing system controls the data interface component to be disabled when the sensing result of the sensing interface component is sensing module removal; and 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 open state.
4. A modular data sensing method, using the modular data sensing system of any of claims 1-3, comprising the steps of:
detecting whether the hot plug interface changes or not through the detection interface component and the identification interface component; when the detection result of the detection interface component does not change and the identification interface component identifies that the ID information of the sensing module changes, the ID state of the sensing module is considered to be changed;
and the perception system reads the identification interface component part again to obtain the changed ID information, determines the type of the perception module according to the ID information, and calls the corresponding data interface component part according to the type of the perception module to complete dynamic update configuration.
5. The modular data sensing system of claim 4, wherein the sensing system controls the usage status of the corresponding data interface component when the detection result of the detection interface component changes.
6. The modular data sensing system of claim 5, wherein the sensing system controls the data interface component to be disabled when the sensing result of the sensing interface component is sensing module removal; and 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 open state.
CN202111641431.2A 2021-12-29 2021-12-29 Modular data sensing system and method Pending CN114356822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111641431.2A CN114356822A (en) 2021-12-29 2021-12-29 Modular data sensing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111641431.2A CN114356822A (en) 2021-12-29 2021-12-29 Modular data sensing system and method

Publications (1)

Publication Number Publication Date
CN114356822A true CN114356822A (en) 2022-04-15

Family

ID=81102891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111641431.2A Pending CN114356822A (en) 2021-12-29 2021-12-29 Modular data sensing system and method

Country Status (1)

Country Link
CN (1) CN114356822A (en)

Citations (9)

* Cited by examiner, † Cited by third party
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
US10002061B2 (en) USB interface detector
CN103444258B (en) Mobile terminal and its method that connects
CN101667166B (en) Equipment identification method and device
US7293118B1 (en) Apparatus and method for dynamically providing hub or host operations
EP2849023A1 (en) Electronic device and control method therefor
CN101526930A (en) USB interface master-slave machine detection device and detection method
CN105226779A (en) Wireless charging device and control method thereof and control device
CN107003974B (en) Interface detection method and device
CN106161706B (en) SIM card and SD card are total to detection method, device and the mobile terminal of Kato
EP2602696A2 (en) Method and apparatus for configuring touch sensing parameters
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN103324344A (en) Method and mobile terminal for processing break line during touch screen sliding process
CN104688003A (en) Cooking device
CN104932962A (en) USB (Universal Serial Bus) plug testing system and method thereof
CN109738719A (en) Electro-static Driven Comb ESD detection method and Related product
CN105516510A (en) Mobile terminal awakening method and device
CN105048018B (en) The charging method and device of a kind of terminal with data exchanging function
CN107544876A (en) CAN test system and method
CN110970970A (en) Processing method and device of terminal charger
CN204146830U (en) Cooking apparatus
CN114356822A (en) Modular data sensing system and method
CN104459376B (en) A kind of interface circuit and peripherals detecting method, outer sensor based on the circuit
CN111458654A (en) Input signal diagnosis circuit
CN101923521B (en) Electronic device with function of protecting universal serial bus ports thereof and method
CN108924325A (en) Data processing method and relevant apparatus

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