CN116678446A - Accessory identification method and device, electronic equipment and storage medium - Google Patents
Accessory identification method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116678446A CN116678446A CN202310975496.3A CN202310975496A CN116678446A CN 116678446 A CN116678446 A CN 116678446A CN 202310975496 A CN202310975496 A CN 202310975496A CN 116678446 A CN116678446 A CN 116678446A
- Authority
- CN
- China
- Prior art keywords
- wind power
- power control
- accessory
- state information
- determining
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000001514 detection method Methods 0.000 claims abstract description 101
- 238000013507 mapping Methods 0.000 claims description 29
- 230000001960 triggered effect Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 239000000428 dust Substances 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007664 blowing Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000005389 magnetism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000003245 working effect Effects 0.000 description 1
Classifications
-
- 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
- G01D21/00—Measuring or testing not otherwise provided for
-
- A—HUMAN NECESSITIES
- A45—HAND OR TRAVELLING ARTICLES
- A45D—HAIRDRESSING OR SHAVING EQUIPMENT; EQUIPMENT FOR COSMETICS OR COSMETIC TREATMENTS, e.g. FOR MANICURING OR PEDICURING
- A45D20/00—Hair drying devices; Accessories therefor
- A45D20/04—Hot-air producers
- A45D20/08—Hot-air producers heated electrically
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Wind Motors (AREA)
Abstract
The present disclosure relates to a fitting identification method, a device, an electronic apparatus, and a storage medium, the method being applied to a wind power control apparatus having a connection portion provided with a plurality of detection elements, the method comprising: acquiring state information of each detection element on the connecting part, wherein the connecting part is used for connecting an assembling part of a fitting, at least one triggering element matched with the detection element is arranged on the assembling part, and the state information comprises triggering and/or non-triggering; determining the arrangement of the trigger elements on the assembly part according to the state information of each detection element on the connection part; according to the arrangement of the trigger elements on the assembly part, the type of the accessories assembled on the wind power control equipment is determined.
Description
Technical Field
The disclosure relates to the technical field of household appliances, in particular to a fitting identification method, a device, electronic equipment and a storage medium.
Background
In recent years, the types and functions of household appliances are more and more abundant, and more comfort and convenience are brought to the life of users. For example, a blower, a vacuum cleaner, or other wind power equipment can achieve the effect of exhausting or sucking air by adjusting the air pressure difference between the inside and outside of the equipment. In order to make the effect more remarkable in various scenes, the household appliances can be provided with various accessories; due to the large number of types of fittings, it is necessary to adjust the operating mode when assembling different fittings. However, in the related art, the home appliance cannot accurately recognize the type of the assembled accessories.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a storage medium for identifying accessories, which are used for solving the drawbacks in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a fitting identification method applied to a wind power control apparatus having a connection portion provided with a plurality of detection elements, the method including:
acquiring state information of each detection element on the connecting part, wherein the connecting part is used for connecting an assembling part of a fitting, at least one triggering element matched with the detection element is arranged on the assembling part, and the state information comprises triggering and/or non-triggering;
determining the arrangement of the trigger elements on the assembly part according to the state information of each detection element on the connection part;
according to the arrangement of the trigger elements on the assembly part, the type of the accessories assembled on the wind power control equipment is determined.
In one possible embodiment of the present disclosure, the arrangement includes a number and a location;
the determining the arrangement of the trigger elements on the assembly portion according to the state information of each detection element on the connection portion includes:
and determining the number and the positions of the trigger elements on the assembly part according to the number and the positions of the detection elements with the state information as the trigger.
In one possible embodiment of the disclosure, the connecting portion is provided with a first limiting structure, and the assembling portion is provided with a second limiting structure;
the first limiting structure and the second limiting structure are used for limiting the assembling portion to a preset position in the axial direction and/or the radial direction under the condition that the assembling portion is assembled on the connecting portion, wherein each triggering element triggers the matched detecting element when the assembling portion is at the preset position.
In one possible embodiment of the present disclosure, the determining the type of the fitting mounted on the wind power control apparatus according to the arrangement of the trigger elements on the mounting portion includes:
and determining the type of the accessories assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part and a first mapping relation, wherein the first mapping relation is used for representing the arrangement of the trigger elements corresponding to each accessory type.
In one possible embodiment of the present disclosure, the detection element includes at least one of a pressure sensor, a hall sensor, a photoelectric sensor, and a physical switch.
In one possible embodiment of the present disclosure, the at least one detecting element is uniformly distributed on a contact surface of the connection portion, wherein the contact surface is in contact with the fitting portion when the fitting portion is connected with the connection portion.
In one possible embodiment of the present disclosure, the wind power control device has a plurality of detection circuits therein, which are in one-to-one correspondence with a plurality of the detection elements;
the obtaining the state information of each detection element on the connection part includes:
and acquiring state information of the corresponding detection element on the connecting part through each detection circuit.
In one possible embodiment of the present disclosure, the method further comprises:
determining a target parameter set from a plurality of preset working parameter sets according to the type of accessories assembled on the wind power control equipment;
and controlling the wind power control equipment to operate according to the target parameter set.
In one possible embodiment of the present disclosure, the determining a target parameter set from a plurality of preset operation parameter sets according to a type of a fitting mounted on the wind power control apparatus includes:
and determining a target parameter set in a plurality of preset working parameter sets according to the types of accessories assembled on the wind power control equipment and a second mapping relation, wherein the second mapping relation is used for representing the working parameter set corresponding to each accessory type.
In one possible embodiment of the present disclosure, the method further comprises:
and under the condition that the state information of each detection element on the connecting part is not triggered, controlling the wind power control equipment to operate in an energy-saving mode.
According to a second aspect of embodiments of the present disclosure, there is provided a fitting identification device applied to a wind power control apparatus having a connection portion provided with a plurality of detection elements, the device comprising:
the acquisition module is used for acquiring the state information of each detection element on the connecting part, wherein the connecting part is used for connecting an assembling part of the accessory, at least one triggering element matched with the detection element is arranged on the assembling part, and the state information comprises triggering and/or non-triggering;
the determining module is used for determining the arrangement of the trigger elements on the assembling part according to the state information of each detection element on the connecting part;
and the identification module is used for determining the type of the fittings assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part.
In one possible embodiment of the present disclosure, the arrangement includes a number and a location;
the determining module is specifically configured to:
and determining the number and the positions of the trigger elements on the assembly part according to the number and the positions of the detection elements with the state information as the trigger.
In one possible embodiment of the disclosure, the connecting portion is provided with a first limiting structure, and the assembling portion is provided with a second limiting structure;
the first limiting structure and the second limiting structure are used for limiting the assembling portion to a preset position in the axial direction and/or the radial direction under the condition that the assembling portion is assembled on the connecting portion, wherein each triggering element triggers the matched detecting element when the assembling portion is at the preset position.
In one possible embodiment of the disclosure, the identification module is specifically configured to:
and determining the type of the accessories assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part and a first mapping relation, wherein the first mapping relation is used for representing the arrangement of the trigger elements corresponding to each accessory type.
In one possible embodiment of the present disclosure, the detection element includes at least one of a pressure sensor, a hall sensor, a photoelectric sensor, and a physical switch.
In one possible embodiment of the present disclosure, the at least one detecting element is uniformly distributed on a contact surface of the connection portion, wherein the contact surface is in contact with the fitting portion when the fitting portion is connected with the connection portion.
In one possible embodiment of the present disclosure, the wind power control device has a plurality of detection circuits therein, which are in one-to-one correspondence with a plurality of the detection elements;
the acquisition module is specifically configured to:
and acquiring state information of the corresponding detection element on the connecting part through each detection circuit.
In one possible embodiment of the disclosure, the apparatus further includes an operation module configured to:
determining a target parameter set from a plurality of preset working parameter sets according to the type of accessories assembled on the wind power control equipment;
and controlling the wind power control equipment to operate according to the target parameter set.
In one possible embodiment of the disclosure, the operation module is specifically configured to:
and determining a target parameter set in a plurality of preset working parameter sets according to the types of accessories assembled on the wind power control equipment and a second mapping relation, wherein the second mapping relation is used for representing the working parameter set corresponding to each accessory type.
In one possible embodiment of the disclosure, the apparatus further comprises a power saving module for:
and under the condition that the state information of each detection element on the connecting part is not triggered, controlling the wind power control equipment to operate in an energy-saving mode.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device comprising a memory for storing computer instructions executable on a processor for implementing the accessory identification method of the first aspect when the computer instructions are executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the accessory identification method provided by the embodiment of the disclosure, the state information of each detection element on the connecting part is obtained, the arrangement of the trigger elements on the assembling part is determined according to the state information of each detection element on the connecting part, and finally the type of the accessory assembled on the wind power control equipment can be determined according to the arrangement of the trigger elements on the assembling part. The method can determine the arrangement of the triggering elements on the assembling part through whether each detecting element on the connecting part is triggered or not, and then the arrangement is used for identifying the type of the fitting assembled on the wind power control equipment, namely the method can automatically and intelligently identify the type of the fitting based on the detecting elements on the connecting part and the triggering elements on the assembling part; and more accessory types can be identified by combining the characteristics of multiple dimensions in the arrangement, and the identification can be completed by using fewer detection elements under the condition of fixed accessory types, so that the hardware quantity is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow chart of a fitting identification method shown in an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a first mapping relationship shown in an exemplary embodiment of the present disclosure;
fig. 3 is a schematic structural view of a fitting recognition device shown in an exemplary embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
In recent years, the types and functions of household appliances are more and more abundant, and more comfort and convenience are brought to the life of users. For example, a blower, a vacuum cleaner, or other wind power equipment can achieve the effect of exhausting or sucking air by adjusting the air pressure difference between the inside and outside of the equipment. In order to make the effect more remarkable in various scenes, the household appliances can be provided with various accessories; due to the large number of types of fittings, it is necessary to adjust the operating mode when assembling different fittings. However, in the related art, the home appliance cannot accurately recognize the type of the assembled parts, so that the home appliance cannot exert an optimal effect.
Based on this, in a first aspect, at least one embodiment of the present disclosure provides a fitting identification method, which can be applied to a wind power control device having a connection provided with at least one detection element.
The wind power control equipment can be household appliances such as a blower and a dust collector, and can be provided with a plurality of matched accessories, and different functions can be realized by assembling different accessories (matched with corresponding working modes). When the wind power control equipment is a blower, the fittings can be blower blowing nozzles with different shapes and sizes, such as a wind collecting nozzle, a wind dispersing nozzle, a color protection nozzle and the like; when the wind power control device is a dust collector, the accessory can be dust collector brush heads with different shapes and sizes, such as a floor brush, an acarid removing brush, a long and flat gap suction head, a carpet brush, a cloth brush, a rotary floor brush, an extension connecting pipe and the like.
The different fittings each have an assembly part which mates with a connection part of the wind power control device, i.e. the connection part is used for connecting the assembly parts of the fittings. When the wind power control device is a blower or a dust collector, the accessory can be connected with an air outlet of the wind power control device, a pipeline around the air outlet can be a connecting part, and one end of the accessory connected with the wind power control device can be an assembling part. The connecting part is provided with a contact surface, the contact surface is contacted with the assembling part when the assembling part is connected with the connecting part, and a plurality of detection elements arranged on the connecting part can be uniformly distributed on the contact surface of the connecting part. It will be appreciated that the plurality of detecting elements of the connection portion may be distinguished by the number, ID, etc. of the location, for example three detecting elements are provided at location 1, location 2 and location 3, respectively.
The connecting part is provided with a first limiting mechanism, and the assembling part is provided with a second limiting mechanism; the first limiting structure and the second limiting structure are used for limiting the assembling part to a preset position in the axial direction and/or the radial direction under the condition that the assembling part is assembled on the connecting part. The first limiting structure and the second limiting structure can be a key groove structure and the like, and the first limiting structure and the second limiting structure can enable the connecting portion and the assembling portion to form corresponding relation in position, namely, the assembling portion is limited in a specific position in the axial direction when assembled on the connecting portion, for example, the assembling portion is attached to a contact surface of the connecting portion in the axial direction, and the assembling portion is limited in a specific position in the radial direction when assembled on the connecting portion.
The assembly parts of the accessories are provided with at least one trigger element matched with the detection element, and the trigger elements of the different types of accessories are arranged differently, namely, the different types of accessories can be distinguished through the arrangement of the trigger elements. The arrangement may comprise the features of dimensions such as number and position, the position of the trigger element may be characterized by the position in which the detecting element it matches, for example in case the fitting is fitted to the connection and is limited in a preset position by the first and second limiting structures, a certain trigger element matches the detecting element in position 1, and the trigger element is in position 1. It can be understood that, when the fitting is assembled on the connecting portion and is limited by the first limiting structure and the second limiting structure at the preset position, each triggering element of the assembling portion triggers the matched detecting element, and the detecting element is switched from the non-triggered state to the triggered state after being triggered.
The detection element comprises at least one of a pressure sensor, a Hall sensor, a photoelectric sensor and a physical switch. The types of the plurality of detection elements may be the same or different. The type of each trigger element is matched with the type of the matched detection element, for example, the detection element is a pressure sensor, the matched trigger element can be a convex point, and under the condition that the accessory is assembled at the connecting part and limited at a preset position by the first limiting structure and the second limiting structure, the convex point applies pressure to the pressure sensor to trigger the pressure sensor; for example, the detection element is a hall sensor, the matched triggering element can be a magnetic substance, and when the accessory is assembled at the connecting part and limited at a preset position by the first limiting structure and the second limiting structure, the hall sensor senses the magnetism of the magnetic substance to trigger; for another example, the detection element is a photoelectric sensor, the matched triggering element may be an optocoupler element, and when the accessory is assembled at the connecting part and limited at a preset position by the first limiting structure and the second limiting structure, the optocoupler element can change the on-off of the optical path of the photoelectric sensor, so as to trigger the photoelectric sensor; for another example, the detecting element is a physical switch (such as a dome switch, etc.), and the matched triggering element may be a protruding point, where the protruding point applies pressure to the physical switch to change the on-off state thereof under the condition that the accessory is assembled at the connecting portion and is limited at the preset position by the first limiting structure and the second limiting structure, so as to trigger the physical switch.
The main equipment is internally provided with a plurality of detection circuits which are in one-to-one correspondence with the detection elements, and when the detection elements are in a triggered or non-triggered state, the states of the detection circuits are changed.
Referring to fig. 1, a flow of the method is shown, which includes steps S101 to S103.
In step S101, status information of each detection element on the connection portion is acquired, where the status information includes triggered and/or non-triggered.
For example, in the case where a plurality of detection circuits corresponding to a plurality of the detection elements one by one are provided in the wind power control apparatus, the state information of the corresponding detection element on the connection portion may be acquired by each of the detection circuits. Since the state of the detection circuit changes depending on whether the detection element is triggered or not, the state of the detection circuit can be acquired, and the state information of the detection element can be determined based on the correspondence between the state of the detection circuit and whether the detection element is triggered or not.
In step S102, the arrangement of the trigger elements on the fitting portion is determined according to the status information of each detection element on the connection portion.
For example, in the case where the arrangement includes the number and the positions, the number and the positions of the trigger elements on the fitting portion may be determined based on the state information as the number and the positions of the triggered detection elements. Under the condition that the accessory is assembled on the connecting part and limited at a preset position by the first limiting structure and the second limiting structure, each trigger element of the assembling part triggers the matched detection element, and the detection element is switched from an un-triggered state to a triggered state after being triggered. If the state information of the detection element is triggering, the assembly part is provided with a triggering element matched with the detection element. The triggering element can be characterized by the number of the detecting element it matches, for example the detecting element 1, 3 is in the triggered state, while the detecting element 2 triggers the non-triggered state, and then there are 2 triggering elements on the assembly part that match the detecting element 1, 3 respectively.
In step S103, the type of fitting to be mounted on the wind power control apparatus is determined according to the arrangement of the trigger elements on the mounting portion.
The first mapping relation for representing the arrangement of the trigger elements corresponding to each fitting type is pre-established, and the type of the fitting mounted on the wind power control device can be determined according to the arrangement of the trigger elements on the mounting portion and the first mapping relation.
For example, the wind power control device is a dust collector, and the connecting part is provided with 3 detection elements at a position 1, a position 2 and a position 3 respectively; each fitting type is provided with a trigger element in at least one of positions 1, 2 and 3. Reference is specifically made to table 1 below and fig. 2, which shows the number and positions of the trigger elements corresponding to each accessory type, i.e., the first mapping relationship.
Table 1: first mapping relation table
It will be appreciated that if the number of trigger elements on the fitting portion determined in step S102 is 0, it may be determined in this step that the wind power control apparatus is not fitted with a fitting.
According to the accessory identification method provided by the embodiment of the disclosure, the state information of each detection element on the connecting part is obtained, the number and the positions of the trigger elements on the assembling part are determined according to the state information of each detection element on the connecting part, and finally the type of accessories assembled on the wind power control equipment can be determined according to the number and the positions of the trigger elements on the assembling part. The method can determine the number and the position of the triggering elements on the assembling part through whether each detecting element on the connecting part is triggered or not, and further identify the type of the fitting assembled on the wind power control equipment by combining the two dimensions of the number and the position, namely the method can automatically and intelligently identify the type of the fitting based on the detecting elements on the connecting part and the triggering elements on the assembling part; and more accessory types can be identified by combining the number and the position two dimensions, and the identification can be completed by using fewer detection elements under the condition that the accessory types are fixed.
In some embodiments of the present disclosure, after determining the type of the fitting mounted on the wind power control apparatus, the target parameter set may be determined from a plurality of preset operation parameter sets according to the type of the fitting mounted on the wind power control apparatus; and controlling the wind power control equipment to operate according to the target parameter set.
For example, a second mapping relationship for characterizing the working parameter set corresponding to each accessory type is pre-established, and then the target parameter set may be determined in a plurality of preset working parameter sets according to the type of the accessory assembled on the wind power control device and the second mapping relationship.
Referring to table 2 below, the second mapping relationship is shown as the set of operating parameters corresponding to each accessory type in table 1.
Table 2: second mapping relation table
It will be appreciated that in case the status information of each detection element on the connection is not triggered (i.e. the wind power plant is not equipped with any accessories), the wind power plant may be controlled to operate in a power saving mode. That is, the wind power control device can be operated in an energy-saving mode under the condition that no accessory is connected to the wind power control device, so that an energy-saving effect is achieved.
In this embodiment, the wind power control device further automatically determines the working parameter corresponding to the accessory type on the basis of identifying the accessory type, and operates the wind power control device according to the working parameter, so that the wind power control device can work under the optimal working parameter, and compared with the mode of manually adjusting the working parameter in the related technology, the user experience can be improved, the working efficiency and the working effect of the wind power control device are improved, and the energy consumption utilization rate is improved.
According to a second aspect of the embodiments of the present disclosure, there is provided a fitting identification device applied to a wind power control apparatus having a connection portion provided with a plurality of detection elements, referring to fig. 3, the device includes:
the acquiring module 301 is configured to acquire status information of each detection element on the connection portion, where the connection portion is configured to connect with an assembly portion of a fitting, and the assembly portion is provided with at least one trigger element matched with the detection element, and the status information includes triggered and/or non-triggered;
a determining module 302, configured to determine an arrangement of the trigger elements on the assembly portion according to the status information of each detection element on the connection portion;
and the identification module 303 is used for determining the type of the fittings assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part.
In one possible embodiment of the present disclosure, the arrangement includes a number and a location; the determining module is specifically configured to:
and determining the number and the positions of the trigger elements on the assembly part according to the number and the positions of the detection elements with the state information as the trigger.
In one possible embodiment of the disclosure, the connecting portion is provided with a first limiting structure, and the assembling portion is provided with a second limiting structure;
the first limiting structure and the second limiting structure are used for limiting the assembling portion to a preset position in the axial direction and/or the radial direction under the condition that the assembling portion is assembled on the connecting portion, wherein each triggering element triggers the matched detecting element when the assembling portion is at the preset position.
In one possible embodiment of the disclosure, the identification module is specifically configured to:
and determining the type of the accessories assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part and a first mapping relation, wherein the first mapping relation is used for representing the arrangement of the trigger elements corresponding to each accessory type.
In one possible embodiment of the present disclosure, the detection element includes at least one of a pressure sensor, a hall sensor, a photoelectric sensor, and a physical switch.
In one possible embodiment of the present disclosure, the at least one detecting element is uniformly distributed on a contact surface of the connection portion, wherein the contact surface is in contact with the fitting portion when the fitting portion is connected with the connection portion.
In one possible embodiment of the present disclosure, the wind power control device has a plurality of detection circuits therein, which are in one-to-one correspondence with a plurality of the detection elements;
the acquisition module is specifically configured to:
and acquiring state information of the corresponding detection element on the connecting part through each detection circuit.
In one possible embodiment of the disclosure, the apparatus further includes an operation module configured to:
determining a target parameter set from a plurality of preset working parameter sets according to the type of accessories assembled on the wind power control equipment;
and controlling the wind power control equipment to operate according to the target parameter set.
In one possible embodiment of the disclosure, the operation module is specifically configured to:
and determining a target parameter set in a plurality of preset working parameter sets according to the types of accessories assembled on the wind power control equipment and a second mapping relation, wherein the second mapping relation is used for representing the working parameter set corresponding to each accessory type.
In one possible embodiment of the disclosure, the apparatus further comprises a power saving module for:
and under the condition that the state information of each detection element on the connecting part is not triggered, controlling the wind power control equipment to operate in an energy-saving mode.
The specific manner in which the various modules perform the operations in relation to the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method of the first aspect and will not be described in detail here.
In accordance with a third aspect of embodiments of the present disclosure, reference is made to fig. 4, which schematically illustrates a block diagram of an electronic device. For example, apparatus 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 4, apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at device 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 406 provides power to the various components of the device 400. The power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 further includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the apparatus 400. For example, the sensor assembly 414 may detect the on/off state of the device 400, the relative positioning of the components, such as the display and keypad of the device 400, the sensor assembly 414 may also detect the change in position of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration/deceleration of the device 400, and the change in temperature of the device 400. The sensor assembly 414 may also include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the apparatus 400 and other devices in a wired or wireless manner. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication part 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the accessory identification method of an electronic device described above.
In a fourth aspect, the present disclosure also provides, in an exemplary embodiment, a non-transitory computer-readable storage medium, such as memory 404, comprising instructions executable by processor 420 of apparatus 400 to perform the accessory identification method of an electronic device described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (22)
1. A fitting identification method, characterized by being applied to a wind power control apparatus having a connection portion provided with a plurality of detection elements, the method comprising:
acquiring state information of each detection element on the connecting part, wherein the connecting part is used for connecting an assembling part of a fitting, at least one triggering element matched with the detection element is arranged on the assembling part, and the state information comprises triggering and/or non-triggering;
determining the arrangement of the trigger elements on the assembly part according to the state information of each detection element on the connection part;
according to the arrangement of the trigger elements on the assembly part, the type of the accessories assembled on the wind power control equipment is determined.
2. The accessory identification method of claim 1, wherein the arrangement includes a number and a location;
the determining the arrangement of the trigger elements on the assembly portion according to the state information of each detection element on the connection portion includes:
and determining the number and the positions of the trigger elements on the assembly part according to the number and the positions of the detection elements with the state information as the trigger.
3. The fitting identification method according to claim 1, wherein a first limit structure is provided on the connecting portion, and a second limit structure is provided on the assembling portion;
the first limiting structure and the second limiting structure are used for limiting the assembling portion to a preset position in the axial direction and/or the radial direction under the condition that the assembling portion is assembled on the connecting portion, wherein each triggering element triggers the matched detecting element when the assembling portion is at the preset position.
4. The accessory identification method according to claim 1, wherein the determining the type of the accessory mounted on the wind power control apparatus according to the arrangement of the trigger elements on the mounting portion includes:
and determining the type of the accessories assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part and a first mapping relation, wherein the first mapping relation is used for representing the arrangement of the trigger elements corresponding to each accessory type.
5. The accessory identification method of claim 1, wherein the detection element comprises at least one of a pressure sensor, a hall sensor, a photoelectric sensor, a physical switch.
6. The fitting identification method of claim 1, wherein the at least one sensing element is uniformly distributed on a contact surface of the connection portion, wherein the contact surface is in contact with the fitting portion when the fitting portion is connected to the connection portion.
7. The accessory identification method according to claim 1, wherein a plurality of detection circuits are provided in the wind power control apparatus in one-to-one correspondence with a plurality of the detection elements;
the obtaining the state information of each detection element on the connection part includes:
and acquiring state information of the corresponding detection element on the connecting part through each detection circuit.
8. The accessory identification method of claim 1, wherein the method further comprises:
determining a target parameter set from a plurality of preset working parameter sets according to the type of accessories assembled on the wind power control equipment;
and controlling the wind power control equipment to operate according to the target parameter set.
9. The fitting identification method according to claim 8, wherein the determining a target parameter set among a plurality of preset operation parameter sets according to a type of fitting mounted on the wind power control apparatus comprises:
and determining a target parameter set in a plurality of preset working parameter sets according to the types of accessories assembled on the wind power control equipment and a second mapping relation, wherein the second mapping relation is used for representing the working parameter set corresponding to each accessory type.
10. The accessory identification method of claim 1, wherein the method further comprises:
and under the condition that the state information of each detection element on the connecting part is not triggered, controlling the wind power control equipment to operate in an energy-saving mode.
11. A fitting identification device, characterized by being applied to a wind power control apparatus having a connection portion provided with a plurality of detection elements, the device comprising:
the acquisition module is used for acquiring the state information of each detection element on the connecting part, wherein the connecting part is used for connecting an assembling part of the accessory, at least one triggering element matched with the detection element is arranged on the assembling part, and the state information comprises triggering and/or non-triggering;
the determining module is used for determining the arrangement of the trigger elements on the assembling part according to the state information of each detection element on the connecting part;
and the identification module is used for determining the type of the fittings assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part.
12. The accessory identification device of claim 11, wherein the arrangement includes a number and a location;
the determining module is specifically configured to:
and determining the number and the positions of the trigger elements on the assembly part according to the number and the positions of the detection elements with the state information as the trigger.
13. The accessory identification device of claim 11, wherein the connecting portion is provided with a first limit structure and the assembling portion is provided with a second limit structure;
the first limiting structure and the second limiting structure are used for limiting the assembling portion to a preset position in the axial direction and/or the radial direction under the condition that the assembling portion is assembled on the connecting portion, wherein each triggering element triggers the matched detecting element when the assembling portion is at the preset position.
14. The accessory identification device of claim 11, wherein the identification module is specifically configured to:
and determining the type of the accessories assembled on the wind power control equipment according to the arrangement of the trigger elements on the assembly part and a first mapping relation, wherein the first mapping relation is used for representing the arrangement of the trigger elements corresponding to each accessory type.
15. The accessory identification device of claim 11, wherein the detection element comprises at least one of a pressure sensor, a hall sensor, a photoelectric sensor, a physical switch.
16. The accessory identification device of claim 11, wherein the at least one sensing element is evenly distributed across a contact surface of the connection portion, wherein the contact surface contacts the mounting portion when the mounting portion is connected to the connection portion.
17. The accessory identification device of claim 11, wherein the wind power control apparatus has a plurality of detection circuits therein in one-to-one correspondence with a plurality of the detection elements;
the acquisition module is specifically configured to:
and acquiring state information of the corresponding detection element on the connecting part through each detection circuit.
18. The accessory identification device of claim 11, wherein the device further comprises an operation module for:
determining a target parameter set from a plurality of preset working parameter sets according to the type of accessories assembled on the wind power control equipment;
and controlling the wind power control equipment to operate according to the target parameter set.
19. The accessory identification device of claim 18, wherein the run module is specifically configured to:
and determining a target parameter set in a plurality of preset working parameter sets according to the types of accessories assembled on the wind power control equipment and a second mapping relation, wherein the second mapping relation is used for representing the working parameter set corresponding to each accessory type.
20. The accessory identification device of claim 11, wherein the device further comprises an energy saving module for:
and under the condition that the state information of each detection element on the connecting part is not triggered, controlling the wind power control equipment to operate in an energy-saving mode.
21. An electronic device comprising a memory, a processor for storing computer instructions executable on the processor for implementing the accessory identification method of any one of claims 1 to 10 when the computer instructions are executed.
22. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310975496.3A CN116678446A (en) | 2023-08-03 | 2023-08-03 | Accessory identification method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310975496.3A CN116678446A (en) | 2023-08-03 | 2023-08-03 | Accessory identification method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116678446A true CN116678446A (en) | 2023-09-01 |
Family
ID=87789527
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310975496.3A Pending CN116678446A (en) | 2023-08-03 | 2023-08-03 | Accessory identification method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116678446A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104622382A (en) * | 2013-11-13 | 2015-05-20 | 德隆奇电器单一股东有限责任公司 | Vacuum cleaner |
CN113688964A (en) * | 2020-05-18 | 2021-11-23 | 奥布拉马提克股份公司 | Fitting with automatic object recognition and method for controlling a fitting by means of automatic object recognition |
CN115168146A (en) * | 2022-06-30 | 2022-10-11 | 联想(北京)有限公司 | Anomaly detection method and device |
CN115363476A (en) * | 2021-05-21 | 2022-11-22 | 江苏美的清洁电器股份有限公司 | Equipment with detachable accessories, identification method and device |
US20220400827A1 (en) * | 2021-06-16 | 2022-12-22 | Sharkninja Operating Llc | Smart Hair Dryer Accessory Detection |
-
2023
- 2023-08-03 CN CN202310975496.3A patent/CN116678446A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104622382A (en) * | 2013-11-13 | 2015-05-20 | 德隆奇电器单一股东有限责任公司 | Vacuum cleaner |
CN113688964A (en) * | 2020-05-18 | 2021-11-23 | 奥布拉马提克股份公司 | Fitting with automatic object recognition and method for controlling a fitting by means of automatic object recognition |
CN115363476A (en) * | 2021-05-21 | 2022-11-22 | 江苏美的清洁电器股份有限公司 | Equipment with detachable accessories, identification method and device |
US20220400827A1 (en) * | 2021-06-16 | 2022-12-22 | Sharkninja Operating Llc | Smart Hair Dryer Accessory Detection |
CN115915997A (en) * | 2021-06-16 | 2023-04-04 | 尚科宁家运营有限公司 | Intelligent blower accessory detection |
CN115168146A (en) * | 2022-06-30 | 2022-10-11 | 联想(北京)有限公司 | Anomaly detection method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109639970B (en) | Shooting method and terminal equipment | |
CN105049923B (en) | Wake up the method and device of electronic equipment | |
KR101736318B1 (en) | Method, apparatus, program, and recording medium for controlling smart device | |
EP3447599A1 (en) | Timed cleaning method, device and storage medium | |
US8254984B2 (en) | Speaker activation for mobile communication device | |
EP3244597A1 (en) | Method and apparatus for controlling devices | |
CN106406117B (en) | Equipment control method and device | |
EP3125152B1 (en) | Method and device for collecting sounds corresponding to surveillance images | |
CN103927200B (en) | Electronic equipment awakening method and relevant apparatus | |
CN104932276B (en) | The control method and device of home intelligent power supply | |
CN104808500A (en) | Task setting method and device | |
CN104898505A (en) | Smart scene configuration method and device | |
US11743355B2 (en) | Prompting method and device | |
CN112327653A (en) | Device control method, device control apparatus, and storage medium | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN112905035B (en) | Touch screen control method and device and computer storage medium | |
CN105978984A (en) | Method and device used for synchronizing images | |
CN113361305B (en) | Fingerprint acquisition method, electronic device and computer readable storage medium | |
CN106454083B (en) | Image acquisition method and device of mobile terminal and mobile terminal | |
US9865161B2 (en) | Method, remote controller and electrical applicance for releasing a binding of a remote controller | |
CN106210247A (en) | Terminal control method and device | |
CN116678446A (en) | Accessory identification method and device, electronic equipment and storage medium | |
CN106878654A (en) | The method and device of video communication | |
CN103973883B (en) | A kind of method and device controlling voice-input device | |
CN110968155A (en) | Full-screen terminal, operation execution method and device based on full-screen terminal |
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 |